Update LOCAL_PATCHES after libsanitizer merge.
[official-gcc.git] / Makefile.in
blob899f4332ce01320eeb411f609091e1656188d453
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
157 GOC="$(GOC_FOR_BUILD)"; export GOC; \
158 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
159 GDC="$(GDC_FOR_BUILD)"; export GDC; \
160 GDCFLAGS="$(GDCFLAGS_FOR_BUILD)"; export GDCFLAGS; \
161 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
162 LD="$(LD_FOR_BUILD)"; export LD; \
163 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
164 NM="$(NM_FOR_BUILD)"; export NM; \
165 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
166 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
167 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
169 # These variables must be set on the make command line for directories
170 # built for the build system to override those in BASE_FLAGS_TO_PASS.
171 EXTRA_BUILD_FLAGS = \
172 CFLAGS="$(CFLAGS_FOR_BUILD)" \
173 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
175 # This is the list of directories to built for the host system.
176 SUBDIRS = @configdirs@
177 TARGET_CONFIGDIRS = @target_configdirs@
178 # This is set by the configure script to the arguments to use when configuring
179 # directories built for the host system.
180 HOST_CONFIGARGS = @host_configargs@
181 # Host programs are put under this directory, which is . except if building
182 # with srcdir=..
183 HOST_SUBDIR = @host_subdir@
184 # This is the list of variables to export in the environment when
185 # configuring subdirectories for the host system. We need to pass
186 # some to the GCC configure because of its hybrid host/target nature.
187 HOST_EXPORTS = \
188 $(BASE_EXPORTS) \
189 CC="$(CC)"; export CC; \
190 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
191 CFLAGS="$(CFLAGS)"; export CFLAGS; \
192 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
193 CXX="$(CXX)"; export CXX; \
194 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 GDC="$(GDC)"; export GDC; \
198 AR="$(AR)"; export AR; \
199 AS="$(AS)"; export AS; \
200 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
201 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
202 LD="$(LD)"; export LD; \
203 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
204 NM="$(NM)"; export NM; \
205 RANLIB="$(RANLIB)"; export RANLIB; \
206 WINDRES="$(WINDRES)"; export WINDRES; \
207 WINDMC="$(WINDMC)"; export WINDMC; \
208 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
209 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
210 READELF="$(READELF)"; export READELF; \
211 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
212 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
213 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
214 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
215 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
216 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
217 OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
218 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
219 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
220 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
221 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
222 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
223 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
224 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
225 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
226 LIBELFLIBS="$(HOST_LIBELFLIBS)"; export LIBELFLIBS; \
227 LIBELFINC="$(HOST_LIBELFINC)"; export LIBELFINC; \
228 XGCC_FLAGS_FOR_TARGET="$(XGCC_FLAGS_FOR_TARGET)"; export XGCC_FLAGS_FOR_TARGET; \
229 @if gcc-bootstrap
230 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
231 @endif gcc-bootstrap
232 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
234 POSTSTAGE1_CXX_EXPORT = \
235 CXX='$(CXX)'; export CXX; \
236 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
237 @if target-libstdc++-v3-bootstrap
238 # Override the above if we're bootstrapping C++.
239 POSTSTAGE1_CXX_EXPORT = \
240 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
241 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
242 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
243 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
244 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
245 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
246 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
247 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
248 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
249 export CXX; \
250 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
251 @endif target-libstdc++-v3-bootstrap
253 # Similar, for later GCC stages.
254 POSTSTAGE1_HOST_EXPORTS = \
255 $(HOST_EXPORTS) \
256 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
257 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
258 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
259 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
260 $(POSTSTAGE1_CXX_EXPORT) \
261 $(LTO_EXPORTS) \
262 GDC="$$r/$(HOST_SUBDIR)/prev-gcc/gdc$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
263 -B$(build_tooldir)/bin/ $(GDC_FLAGS_FOR_TARGET) \
264 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/src \
265 -I$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime -I$$s/libphobos/libdruntime \
266 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/src/.libs \
267 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime/.libs"; \
268 export GDC; \
269 GDC_FOR_BUILD="$$GDC"; export GDC_FOR_BUILD; \
270 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
271 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
272 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
274 # Target libraries are put under this directory:
275 TARGET_SUBDIR = @target_subdir@
276 # This is set by the configure script to the arguments to use when configuring
277 # directories built for the target.
278 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
279 # This is the list of variables to export in the environment when
280 # configuring subdirectories for the target system.
281 BASE_TARGET_EXPORTS = \
282 $(BASE_EXPORTS) \
283 AR="$(AR_FOR_TARGET)"; export AR; \
284 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
285 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
286 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
287 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
288 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
289 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
290 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
291 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
292 GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
293 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
294 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
295 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
296 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
297 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
298 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
299 OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
300 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
301 READELF="$(READELF_FOR_TARGET)"; export READELF; \
302 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
303 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
304 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
305 @if gcc-bootstrap
306 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
307 @endif gcc-bootstrap
308 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
309 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
311 RAW_CXX_TARGET_EXPORTS = \
312 $(BASE_TARGET_EXPORTS) \
313 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
314 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
316 NORMAL_TARGET_EXPORTS = \
317 $(BASE_TARGET_EXPORTS) \
318 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
320 # Where to find GMP
321 HOST_GMPLIBS = @gmplibs@
322 HOST_GMPINC = @gmpinc@
324 # Where to find isl
325 HOST_ISLLIBS = @isllibs@
326 HOST_ISLINC = @islinc@
328 # Where to find libelf
329 HOST_LIBELFLIBS = @libelflibs@
330 HOST_LIBELFINC = @libelfinc@
332 # ----------------------------------------------
333 # Programs producing files for the BUILD machine
334 # ----------------------------------------------
336 SHELL = @SHELL@
338 # pwd command to use. Allow user to override default by setting PWDCMD in
339 # the environment to account for automounters. The make variable must not
340 # be called PWDCMD, otherwise the value set here is passed to make
341 # subprocesses and overrides the setting from the user's environment.
342 # Don't use PWD since it is a common shell environment variable and we
343 # don't want to corrupt it.
344 PWD_COMMAND = $${PWDCMD-pwd}
346 # compilers to use to create programs which must be run in the build
347 # environment.
348 AR_FOR_BUILD = @AR_FOR_BUILD@
349 AS_FOR_BUILD = @AS_FOR_BUILD@
350 CC_FOR_BUILD = @CC_FOR_BUILD@
351 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
352 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
353 CXX_FOR_BUILD = @CXX_FOR_BUILD@
354 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
355 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
356 GOC_FOR_BUILD = @GOC_FOR_BUILD@
357 GDC_FOR_BUILD = @GDC_FOR_BUILD@
358 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
359 LD_FOR_BUILD = @LD_FOR_BUILD@
360 NM_FOR_BUILD = @NM_FOR_BUILD@
361 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
362 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
363 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
365 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
366 # here so that they can be overridden by Makefile fragments.
367 BUILD_PREFIX = @BUILD_PREFIX@
368 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
370 # Flags to pass to stage2 and later makes. They are defined
371 # here so that they can be overridden by Makefile fragments.
372 BOOT_CFLAGS= -g -O2
373 BOOT_LDFLAGS=
374 BOOT_ADAFLAGS= -gnatpg
376 AWK = @AWK@
377 SED = @SED@
378 BISON = @BISON@
379 YACC = @YACC@
380 FLEX = @FLEX@
381 LEX = @LEX@
382 M4 = @M4@
383 MAKEINFO = @MAKEINFO@
384 EXPECT = @EXPECT@
385 RUNTEST = @RUNTEST@
387 AUTO_PROFILE = gcc-auto-profile -c 1000000
389 # This just becomes part of the MAKEINFO definition passed down to
390 # sub-makes. It lets flags be given on the command line while still
391 # using the makeinfo from the object tree.
392 # (Default to avoid splitting info files by setting the threshold high.)
393 MAKEINFOFLAGS = --split-size=5000000
395 # ---------------------------------------------
396 # Programs producing files for the HOST machine
397 # ---------------------------------------------
399 AS = @AS@
400 AR = @AR@
401 AR_FLAGS = rc
402 CC = @CC@
403 CXX = @CXX@
404 DLLTOOL = @DLLTOOL@
405 LD = @LD@
406 LIPO = @LIPO@
407 NM = @NM@
408 OBJDUMP = @OBJDUMP@
409 RANLIB = @RANLIB@
410 READELF = @READELF@
411 STRIP = @STRIP@
412 WINDRES = @WINDRES@
413 WINDMC = @WINDMC@
415 GDC = @GDC@
416 GNATBIND = @GNATBIND@
417 GNATMAKE = @GNATMAKE@
419 CFLAGS = @CFLAGS@
420 LDFLAGS = @LDFLAGS@
421 LIBCFLAGS = $(CFLAGS)
422 CXXFLAGS = @CXXFLAGS@
423 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
424 GOCFLAGS = $(CFLAGS)
425 GDCFLAGS = $(CFLAGS)
427 CREATE_GCOV = create_gcov
429 TFLAGS =
431 # Defaults for all stages; some are overridden below.
433 STAGE_CFLAGS = $(BOOT_CFLAGS)
434 STAGE_TFLAGS = $(TFLAGS)
435 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
438 # Defaults for stage 1; some are overridden below.
439 STAGE1_CFLAGS = $(STAGE_CFLAGS)
440 STAGE1_CXXFLAGS = $(CXXFLAGS)
441 @if target-libstdc++-v3-bootstrap
442 # Override the above if we're bootstrapping C++.
443 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
444 @endif target-libstdc++-v3-bootstrap
445 STAGE1_TFLAGS = $(STAGE_TFLAGS)
446 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
448 # Defaults for stage 2; some are overridden below.
449 STAGE2_CFLAGS = $(STAGE_CFLAGS)
450 STAGE2_CXXFLAGS = $(CXXFLAGS)
451 @if target-libstdc++-v3-bootstrap
452 # Override the above if we're bootstrapping C++.
453 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
454 @endif target-libstdc++-v3-bootstrap
455 STAGE2_TFLAGS = $(STAGE_TFLAGS)
456 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
458 # Defaults for stage 3; some are overridden below.
459 STAGE3_CFLAGS = $(STAGE_CFLAGS)
460 STAGE3_CXXFLAGS = $(CXXFLAGS)
461 @if target-libstdc++-v3-bootstrap
462 # Override the above if we're bootstrapping C++.
463 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
464 @endif target-libstdc++-v3-bootstrap
465 STAGE3_TFLAGS = $(STAGE_TFLAGS)
466 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
468 # Defaults for stage 4; some are overridden below.
469 STAGE4_CFLAGS = $(STAGE_CFLAGS)
470 STAGE4_CXXFLAGS = $(CXXFLAGS)
471 @if target-libstdc++-v3-bootstrap
472 # Override the above if we're bootstrapping C++.
473 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
474 @endif target-libstdc++-v3-bootstrap
475 STAGE4_TFLAGS = $(STAGE_TFLAGS)
476 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
478 # Defaults for stage profile; some are overridden below.
479 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
480 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
481 @if target-libstdc++-v3-bootstrap
482 # Override the above if we're bootstrapping C++.
483 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
484 @endif target-libstdc++-v3-bootstrap
485 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
486 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
488 # Defaults for stage train; some are overridden below.
489 STAGEtrain_CFLAGS = $(STAGE_CFLAGS)
490 STAGEtrain_CXXFLAGS = $(CXXFLAGS)
491 @if target-libstdc++-v3-bootstrap
492 # Override the above if we're bootstrapping C++.
493 STAGEtrain_CXXFLAGS = $(STAGEtrain_CFLAGS)
494 @endif target-libstdc++-v3-bootstrap
495 STAGEtrain_TFLAGS = $(STAGE_TFLAGS)
496 STAGEtrain_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
498 # Defaults for stage feedback; some are overridden below.
499 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
500 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
501 @if target-libstdc++-v3-bootstrap
502 # Override the above if we're bootstrapping C++.
503 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
504 @endif target-libstdc++-v3-bootstrap
505 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
506 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
508 # Defaults for stage autoprofile; some are overridden below.
509 STAGEautoprofile_CFLAGS = $(STAGE_CFLAGS)
510 STAGEautoprofile_CXXFLAGS = $(CXXFLAGS)
511 @if target-libstdc++-v3-bootstrap
512 # Override the above if we're bootstrapping C++.
513 STAGEautoprofile_CXXFLAGS = $(STAGEautoprofile_CFLAGS)
514 @endif target-libstdc++-v3-bootstrap
515 STAGEautoprofile_TFLAGS = $(STAGE_TFLAGS)
516 STAGEautoprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
518 # Defaults for stage autofeedback; some are overridden below.
519 STAGEautofeedback_CFLAGS = $(STAGE_CFLAGS)
520 STAGEautofeedback_CXXFLAGS = $(CXXFLAGS)
521 @if target-libstdc++-v3-bootstrap
522 # Override the above if we're bootstrapping C++.
523 STAGEautofeedback_CXXFLAGS = $(STAGEautofeedback_CFLAGS)
524 @endif target-libstdc++-v3-bootstrap
525 STAGEautofeedback_TFLAGS = $(STAGE_TFLAGS)
526 STAGEautofeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
529 # By default, C and C++ are the only stage1 languages, because they are the
530 # only ones we require to build with the bootstrap compiler, and also the
531 # only ones useful for building stage2.
533 STAGE1_CFLAGS = @stage1_cflags@
534 STAGE1_CHECKING = @stage1_checking@
535 STAGE1_LANGUAGES = @stage1_languages@
536 # * We force-disable intermodule optimizations, even if
537 # --enable-intermodule was passed, since the installed compiler
538 # probably can't handle them. Luckily, autoconf always respects
539 # the last argument when conflicting --enable arguments are passed.
540 # * Likewise, we force-disable coverage flags, since the installed
541 # compiler probably has never heard of them.
542 # * We also disable -Wformat, since older GCCs don't understand newer %s.
543 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
544 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
545 --disable-build-format-warnings
547 # When using the slow stage1 compiler disable IL verification and forcefully
548 # enable it when using the stage2 compiler instead. As we later compare
549 # stage2 and stage3 we are merely avoid doing redundant work, plus we apply
550 # checking when building all target libraries for release builds.
551 STAGE1_TFLAGS += -fno-checking
552 STAGE2_CFLAGS += -fno-checking
553 STAGE2_TFLAGS += -fno-checking
554 STAGE3_CFLAGS += -fchecking=1
555 STAGE3_TFLAGS += -fchecking=1
557 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
558 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
560 STAGEtrain_CFLAGS = $(filter-out -fchecking=1,$(STAGE3_CFLAGS))
561 STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS))
563 STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use
564 STAGEfeedback_TFLAGS = $(STAGE4_TFLAGS)
566 STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g
567 STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
569 STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
570 STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS)
572 do-compare = @do_compare@
573 do-compare3 = $(do-compare)
575 # -----------------------------------------------
576 # Programs producing files for the TARGET machine
577 # -----------------------------------------------
579 AR_FOR_TARGET=@AR_FOR_TARGET@
580 AS_FOR_TARGET=@AS_FOR_TARGET@
581 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
583 # If GCC_FOR_TARGET is not overriden on the command line, then this
584 # variable is passed down to the gcc Makefile, where it is used to
585 # build libgcc2.a. We define it here so that it can itself be
586 # overridden on the command line.
587 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
588 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
589 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
590 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
591 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
592 GDC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GDC_FOR_TARGET@
593 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
594 LD_FOR_TARGET=@LD_FOR_TARGET@
596 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
597 NM_FOR_TARGET=@NM_FOR_TARGET@
598 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
599 OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
600 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
601 READELF_FOR_TARGET=@READELF_FOR_TARGET@
602 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
603 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
604 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
606 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
607 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
608 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
610 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
611 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
613 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
614 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
615 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
616 GOCFLAGS_FOR_TARGET = -O2 -g
617 GDCFLAGS_FOR_TARGET = -O2 -g
619 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
620 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
621 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
623 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
625 # ------------------------------------
626 # Miscellaneous targets and flag lists
627 # ------------------------------------
629 # The first rule in the file had better be this one. Don't put any above it.
630 # This lives here to allow makefile fragments to contain dependencies.
631 all:
633 #### host and target specific makefile fragments come in here.
634 @target_makefile_frag@
635 @alphaieee_frag@
636 @ospace_frag@
637 @host_makefile_frag@
640 # This is the list of directories that may be needed in RPATH_ENVVAR
641 # so that programs built for the target machine work.
642 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libphobos)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
644 @if target-libstdc++-v3
645 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
646 @endif target-libstdc++-v3
648 @if target-libsanitizer
649 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
650 @endif target-libsanitizer
652 @if target-libvtv
653 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
654 @endif target-libvtv
656 @if target-liboffloadmic
657 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
658 @endif target-liboffloadmic
660 @if target-libssp
661 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
662 @endif target-libssp
664 @if target-libphobos
665 TARGET_LIB_PATH_libphobos = $$r/$(TARGET_SUBDIR)/libphobos/src/.libs:
666 @endif target-libphobos
668 @if target-libgomp
669 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
670 @endif target-libgomp
672 @if target-libitm
673 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
674 @endif target-libitm
676 @if target-libatomic
677 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
678 @endif target-libatomic
682 # This is the list of directories that may be needed in RPATH_ENVVAR
683 # so that programs built for the host machine work.
684 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
686 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
687 @if gcc
688 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
689 @endif gcc
692 @if gmp
693 HOST_LIB_PATH_gmp = \
694 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
695 @endif gmp
697 @if mpfr
698 HOST_LIB_PATH_mpfr = \
699 $$r/$(HOST_SUBDIR)/mpfr/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
700 @endif mpfr
702 @if mpc
703 HOST_LIB_PATH_mpc = \
704 $$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
705 @endif mpc
707 @if isl
708 HOST_LIB_PATH_isl = \
709 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
710 @endif isl
712 @if libelf
713 HOST_LIB_PATH_libelf = \
714 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
715 @endif libelf
718 CXX_FOR_TARGET_FLAG_TO_PASS = \
719 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
720 @if target-libstdc++-v3
721 # CXX_FOR_TARGET is tricky to get right for target libs that require a
722 # functional C++ compiler. When we recurse, if we expand
723 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
724 # libstdc++ include flags from the script. Instead, we get an
725 # -funconfigured-* word, so that we'll get errors if this invalid C++
726 # command line is used for anything, but also so that we can use the
727 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
728 # don't pass it on, sub-make will use the default definition, that
729 # re-expands it at the time of use, so we'll get it right when we need
730 # it. One potential exception is the expansion of CXX_FOR_TARGET
731 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
732 # really work, for C++ host programs can't depend on the current-stage
733 # C++ target library.
734 CXX_FOR_TARGET_FLAG_TO_PASS = \
735 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
736 @endif target-libstdc++-v3
738 # Flags to pass down to all sub-makes. STAGE*FLAGS,
739 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
740 # overrideable (for a bootstrap build stage1 also builds gcc.info).
741 BASE_FLAGS_TO_PASS = \
742 "DESTDIR=$(DESTDIR)" \
743 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
744 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
745 "bindir=$(bindir)" \
746 "datadir=$(datadir)" \
747 "exec_prefix=$(exec_prefix)" \
748 "includedir=$(includedir)" \
749 "datarootdir=$(datarootdir)" \
750 "docdir=$(docdir)" \
751 "infodir=$(infodir)" \
752 "pdfdir=$(pdfdir)" \
753 "htmldir=$(htmldir)" \
754 "libdir=$(libdir)" \
755 "libexecdir=$(libexecdir)" \
756 "lispdir=$(lispdir)" \
757 "localstatedir=$(localstatedir)" \
758 "mandir=$(mandir)" \
759 "oldincludedir=$(oldincludedir)" \
760 "prefix=$(prefix)" \
761 "sbindir=$(sbindir)" \
762 "sharedstatedir=$(sharedstatedir)" \
763 "sysconfdir=$(sysconfdir)" \
764 "tooldir=$(tooldir)" \
765 "build_tooldir=$(build_tooldir)" \
766 "target_alias=$(target_alias)" \
767 "AWK=$(AWK)" \
768 "BISON=$(BISON)" \
769 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
770 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
771 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
772 "EXPECT=$(EXPECT)" \
773 "FLEX=$(FLEX)" \
774 "INSTALL=$(INSTALL)" \
775 "INSTALL_DATA=$(INSTALL_DATA)" \
776 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
777 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
778 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
779 "LEX=$(LEX)" \
780 "M4=$(M4)" \
781 "MAKE=$(MAKE)" \
782 "RUNTEST=$(RUNTEST)" \
783 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
784 "SED=$(SED)" \
785 "SHELL=$(SHELL)" \
786 "YACC=$(YACC)" \
787 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
788 "ADA_CFLAGS=$(ADA_CFLAGS)" \
789 "AR_FLAGS=$(AR_FLAGS)" \
790 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
791 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
792 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
793 "CFLAGS=$(CFLAGS)" \
794 "CXXFLAGS=$(CXXFLAGS)" \
795 "LDFLAGS=$(LDFLAGS)" \
796 "LIBCFLAGS=$(LIBCFLAGS)" \
797 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
798 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
799 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
800 "GNATBIND=$(GNATBIND)" \
801 "GNATMAKE=$(GNATMAKE)" \
802 "GDC=$(GDC)" \
803 "GDCFLAGS=$(GDCFLAGS)" \
804 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
805 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
806 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
807 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
808 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
809 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
810 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
811 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
812 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
813 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
814 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
815 "GDC_FOR_TARGET=$(GDC_FOR_TARGET)" \
816 "GDCFLAGS_FOR_TARGET=$(GDCFLAGS_FOR_TARGET)" \
817 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
818 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
819 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
820 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
821 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
822 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
823 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
824 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
825 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
826 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
827 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
828 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
829 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
830 "BUILD_CONFIG=$(BUILD_CONFIG)" \
831 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
832 "LEAN=$(LEAN)" \
833 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
834 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
835 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
836 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
837 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
838 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
839 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
840 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
841 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
842 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
843 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
844 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
845 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
846 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
847 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
848 "STAGEtrain_CFLAGS=$(STAGEtrain_CFLAGS)" \
849 "STAGEtrain_CXXFLAGS=$(STAGEtrain_CXXFLAGS)" \
850 "STAGEtrain_TFLAGS=$(STAGEtrain_TFLAGS)" \
851 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
852 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
853 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
854 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
855 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
856 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
857 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
858 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
859 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
860 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
861 "TFLAGS=$(TFLAGS)" \
862 "CONFIG_SHELL=$(SHELL)" \
863 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
864 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
866 # We leave this in just in case, but it is not needed anymore.
867 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
869 # Flags to pass down to most sub-makes, in which we're building with
870 # the host environment.
871 EXTRA_HOST_FLAGS = \
872 'AR=$(AR)' \
873 'AS=$(AS)' \
874 'CC=$(CC)' \
875 'CXX=$(CXX)' \
876 'DLLTOOL=$(DLLTOOL)' \
877 'GFORTRAN=$(GFORTRAN)' \
878 'GOC=$(GOC)' \
879 'GDC=$(GDC)' \
880 'LD=$(LD)' \
881 'LIPO=$(LIPO)' \
882 'NM=$(NM)' \
883 'OBJDUMP=$(OBJDUMP)' \
884 'RANLIB=$(RANLIB)' \
885 'READELF=$(READELF)' \
886 'STRIP=$(STRIP)' \
887 'WINDRES=$(WINDRES)' \
888 'WINDMC=$(WINDMC)' \
889 'CREATE_GCOV=$(CREATE_GCOV)'
891 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
893 # Flags to pass to stage1 or when not bootstrapping.
895 STAGE1_FLAGS_TO_PASS = \
896 LDFLAGS="$${LDFLAGS}" \
897 HOST_LIBS="$${HOST_LIBS}"
899 # Flags to pass to stage2 and later makes.
901 POSTSTAGE1_FLAGS_TO_PASS = \
902 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
903 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
904 GDC="$${GDC}" GDC_FOR_BUILD="$${GDC_FOR_BUILD}" \
905 GNATBIND="$${GNATBIND}" \
906 LDFLAGS="$${LDFLAGS}" \
907 HOST_LIBS="$${HOST_LIBS}" \
908 $(LTO_FLAGS_TO_PASS) \
909 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
911 @if gcc-bootstrap
912 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
913 $(POSTSTAGE1_HOST_EXPORTS) \
916 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
917 @endif gcc-bootstrap
919 # Flags to pass down to makes which are built with the target environment.
920 # The double $ decreases the length of the command line; those variables
921 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
922 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
923 # so we expand them here.
924 EXTRA_TARGET_FLAGS = \
925 'AR=$$(AR_FOR_TARGET)' \
926 'AS=$(COMPILER_AS_FOR_TARGET)' \
927 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
928 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
929 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
930 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
931 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
932 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
933 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
934 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
935 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
936 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
937 'GDC=$$(GDC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
938 'GDCFLAGS=$$(GDCFLAGS_FOR_TARGET)' \
939 'LD=$(COMPILER_LD_FOR_TARGET)' \
940 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
941 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
942 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
943 'NM=$(COMPILER_NM_FOR_TARGET)' \
944 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
945 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
946 'RANLIB=$$(RANLIB_FOR_TARGET)' \
947 'READELF=$$(READELF_FOR_TARGET)' \
948 'WINDRES=$$(WINDRES_FOR_TARGET)' \
949 'WINDMC=$$(WINDMC_FOR_TARGET)' \
950 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
951 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
952 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
953 "TFLAGS=$$TFLAGS"
955 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
957 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
958 # unfortunately needs the native compiler and the target ar and
959 # ranlib.
960 # If any variables are added here, they must be added to do-*, below.
961 # The BUILD_* variables are a special case, which are used for the gcc
962 # cross-building scheme.
963 EXTRA_GCC_FLAGS = \
964 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
965 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
966 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
968 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
970 @if gcc
971 BUILD_CONFIG = @BUILD_CONFIG@
972 ifneq ($(BUILD_CONFIG),)
973 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
974 endif
975 @endif gcc
977 .PHONY: configure-host
978 configure-host: \
979 maybe-configure-bfd \
980 maybe-configure-opcodes \
981 maybe-configure-binutils \
982 maybe-configure-bison \
983 maybe-configure-cgen \
984 maybe-configure-dejagnu \
985 maybe-configure-etc \
986 maybe-configure-fastjar \
987 maybe-configure-fixincludes \
988 maybe-configure-flex \
989 maybe-configure-gas \
990 maybe-configure-gcc \
991 maybe-configure-gmp \
992 maybe-configure-mpfr \
993 maybe-configure-mpc \
994 maybe-configure-isl \
995 maybe-configure-libelf \
996 maybe-configure-gold \
997 maybe-configure-gprof \
998 maybe-configure-intl \
999 maybe-configure-tcl \
1000 maybe-configure-itcl \
1001 maybe-configure-ld \
1002 maybe-configure-libbacktrace \
1003 maybe-configure-libcpp \
1004 maybe-configure-libdecnumber \
1005 maybe-configure-libgui \
1006 maybe-configure-libiberty \
1007 maybe-configure-libiberty-linker-plugin \
1008 maybe-configure-libiconv \
1009 maybe-configure-m4 \
1010 maybe-configure-readline \
1011 maybe-configure-sid \
1012 maybe-configure-sim \
1013 maybe-configure-texinfo \
1014 maybe-configure-zlib \
1015 maybe-configure-gdb \
1016 maybe-configure-expect \
1017 maybe-configure-guile \
1018 maybe-configure-tk \
1019 maybe-configure-libtermcap \
1020 maybe-configure-utils \
1021 maybe-configure-gnattools \
1022 maybe-configure-lto-plugin \
1023 maybe-configure-libcc1 \
1024 maybe-configure-gotools
1025 .PHONY: configure-target
1026 configure-target: \
1027 maybe-configure-target-libstdc++-v3 \
1028 maybe-configure-target-libsanitizer \
1029 maybe-configure-target-libvtv \
1030 maybe-configure-target-liboffloadmic \
1031 maybe-configure-target-libssp \
1032 maybe-configure-target-newlib \
1033 maybe-configure-target-libgcc \
1034 maybe-configure-target-libbacktrace \
1035 maybe-configure-target-libquadmath \
1036 maybe-configure-target-libgfortran \
1037 maybe-configure-target-libobjc \
1038 maybe-configure-target-libgo \
1039 maybe-configure-target-libhsail-rt \
1040 maybe-configure-target-libphobos \
1041 maybe-configure-target-libtermcap \
1042 maybe-configure-target-winsup \
1043 maybe-configure-target-libgloss \
1044 maybe-configure-target-libffi \
1045 maybe-configure-target-zlib \
1046 maybe-configure-target-rda \
1047 maybe-configure-target-libada \
1048 maybe-configure-target-libgomp \
1049 maybe-configure-target-libitm \
1050 maybe-configure-target-libatomic
1052 # The target built for a native non-bootstrap build.
1053 .PHONY: all
1054 all:
1055 @if gcc-bootstrap
1056 [ -f stage_final ] || echo stage3 > stage_final
1057 @r=`${PWD_COMMAND}`; export r; \
1058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1059 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
1060 @endif gcc-bootstrap
1061 @: $(MAKE); $(unstage)
1062 @r=`${PWD_COMMAND}`; export r; \
1063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1064 @if gcc-bootstrap
1065 if [ -f stage_last ]; then \
1066 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
1067 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
1068 else \
1069 @endif gcc-bootstrap
1070 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
1071 @if gcc-bootstrap
1073 fi \
1074 @endif gcc-bootstrap
1075 && :
1077 .PHONY: all-build
1079 all-build: maybe-all-build-libiberty
1080 all-build: maybe-all-build-bison
1081 all-build: maybe-all-build-flex
1082 all-build: maybe-all-build-m4
1083 all-build: maybe-all-build-texinfo
1084 all-build: maybe-all-build-fixincludes
1085 all-build: maybe-all-build-libcpp
1087 .PHONY: all-host
1089 @if bfd-no-bootstrap
1090 all-host: maybe-all-bfd
1091 @endif bfd-no-bootstrap
1092 @if opcodes-no-bootstrap
1093 all-host: maybe-all-opcodes
1094 @endif opcodes-no-bootstrap
1095 @if binutils-no-bootstrap
1096 all-host: maybe-all-binutils
1097 @endif binutils-no-bootstrap
1098 all-host: maybe-all-bison
1099 all-host: maybe-all-cgen
1100 all-host: maybe-all-dejagnu
1101 all-host: maybe-all-etc
1102 all-host: maybe-all-fastjar
1103 @if fixincludes-no-bootstrap
1104 all-host: maybe-all-fixincludes
1105 @endif fixincludes-no-bootstrap
1106 all-host: maybe-all-flex
1107 @if gas-no-bootstrap
1108 all-host: maybe-all-gas
1109 @endif gas-no-bootstrap
1110 @if gcc-no-bootstrap
1111 all-host: maybe-all-gcc
1112 @endif gcc-no-bootstrap
1113 @if gmp-no-bootstrap
1114 all-host: maybe-all-gmp
1115 @endif gmp-no-bootstrap
1116 @if mpfr-no-bootstrap
1117 all-host: maybe-all-mpfr
1118 @endif mpfr-no-bootstrap
1119 @if mpc-no-bootstrap
1120 all-host: maybe-all-mpc
1121 @endif mpc-no-bootstrap
1122 @if isl-no-bootstrap
1123 all-host: maybe-all-isl
1124 @endif isl-no-bootstrap
1125 @if libelf-no-bootstrap
1126 all-host: maybe-all-libelf
1127 @endif libelf-no-bootstrap
1128 @if gold-no-bootstrap
1129 all-host: maybe-all-gold
1130 @endif gold-no-bootstrap
1131 all-host: maybe-all-gprof
1132 @if intl-no-bootstrap
1133 all-host: maybe-all-intl
1134 @endif intl-no-bootstrap
1135 all-host: maybe-all-tcl
1136 all-host: maybe-all-itcl
1137 @if ld-no-bootstrap
1138 all-host: maybe-all-ld
1139 @endif ld-no-bootstrap
1140 @if libbacktrace-no-bootstrap
1141 all-host: maybe-all-libbacktrace
1142 @endif libbacktrace-no-bootstrap
1143 @if libcpp-no-bootstrap
1144 all-host: maybe-all-libcpp
1145 @endif libcpp-no-bootstrap
1146 @if libdecnumber-no-bootstrap
1147 all-host: maybe-all-libdecnumber
1148 @endif libdecnumber-no-bootstrap
1149 all-host: maybe-all-libgui
1150 @if libiberty-no-bootstrap
1151 all-host: maybe-all-libiberty
1152 @endif libiberty-no-bootstrap
1153 @if libiberty-linker-plugin-no-bootstrap
1154 all-host: maybe-all-libiberty-linker-plugin
1155 @endif libiberty-linker-plugin-no-bootstrap
1156 @if libiconv-no-bootstrap
1157 all-host: maybe-all-libiconv
1158 @endif libiconv-no-bootstrap
1159 all-host: maybe-all-m4
1160 all-host: maybe-all-readline
1161 all-host: maybe-all-sid
1162 all-host: maybe-all-sim
1163 all-host: maybe-all-texinfo
1164 @if zlib-no-bootstrap
1165 all-host: maybe-all-zlib
1166 @endif zlib-no-bootstrap
1167 all-host: maybe-all-gdb
1168 all-host: maybe-all-expect
1169 all-host: maybe-all-guile
1170 all-host: maybe-all-tk
1171 all-host: maybe-all-libtermcap
1172 all-host: maybe-all-utils
1173 all-host: maybe-all-gnattools
1174 @if lto-plugin-no-bootstrap
1175 all-host: maybe-all-lto-plugin
1176 @endif lto-plugin-no-bootstrap
1177 all-host: maybe-all-libcc1
1178 all-host: maybe-all-gotools
1180 .PHONY: all-target
1182 @if target-libstdc++-v3-no-bootstrap
1183 all-target: maybe-all-target-libstdc++-v3
1184 @endif target-libstdc++-v3-no-bootstrap
1185 @if target-libsanitizer-no-bootstrap
1186 all-target: maybe-all-target-libsanitizer
1187 @endif target-libsanitizer-no-bootstrap
1188 @if target-libvtv-no-bootstrap
1189 all-target: maybe-all-target-libvtv
1190 @endif target-libvtv-no-bootstrap
1191 all-target: maybe-all-target-liboffloadmic
1192 all-target: maybe-all-target-libssp
1193 all-target: maybe-all-target-newlib
1194 @if target-libgcc-no-bootstrap
1195 all-target: maybe-all-target-libgcc
1196 @endif target-libgcc-no-bootstrap
1197 all-target: maybe-all-target-libbacktrace
1198 all-target: maybe-all-target-libquadmath
1199 all-target: maybe-all-target-libgfortran
1200 all-target: maybe-all-target-libobjc
1201 all-target: maybe-all-target-libgo
1202 all-target: maybe-all-target-libhsail-rt
1203 all-target: maybe-all-target-libphobos
1204 all-target: maybe-all-target-libtermcap
1205 all-target: maybe-all-target-winsup
1206 all-target: maybe-all-target-libgloss
1207 all-target: maybe-all-target-libffi
1208 all-target: maybe-all-target-zlib
1209 all-target: maybe-all-target-rda
1210 all-target: maybe-all-target-libada
1211 @if target-libgomp-no-bootstrap
1212 all-target: maybe-all-target-libgomp
1213 @endif target-libgomp-no-bootstrap
1214 all-target: maybe-all-target-libitm
1215 all-target: maybe-all-target-libatomic
1217 # Do a target for all the subdirectories. A ``make do-X'' will do a
1218 # ``make X'' in all subdirectories (because, in general, there is a
1219 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1220 # but it may do additional work as well).
1222 .PHONY: do-info
1223 do-info:
1224 @: $(MAKE); $(unstage)
1225 @r=`${PWD_COMMAND}`; export r; \
1226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1227 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1228 info-target
1231 .PHONY: info-host
1233 info-host: maybe-info-bfd
1234 info-host: maybe-info-opcodes
1235 info-host: maybe-info-binutils
1236 info-host: maybe-info-bison
1237 info-host: maybe-info-cgen
1238 info-host: maybe-info-dejagnu
1239 info-host: maybe-info-etc
1240 info-host: maybe-info-fastjar
1241 info-host: maybe-info-fixincludes
1242 info-host: maybe-info-flex
1243 info-host: maybe-info-gas
1244 info-host: maybe-info-gcc
1245 info-host: maybe-info-gmp
1246 info-host: maybe-info-mpfr
1247 info-host: maybe-info-mpc
1248 info-host: maybe-info-isl
1249 info-host: maybe-info-libelf
1250 info-host: maybe-info-gold
1251 info-host: maybe-info-gprof
1252 info-host: maybe-info-intl
1253 info-host: maybe-info-tcl
1254 info-host: maybe-info-itcl
1255 info-host: maybe-info-ld
1256 info-host: maybe-info-libbacktrace
1257 info-host: maybe-info-libcpp
1258 info-host: maybe-info-libdecnumber
1259 info-host: maybe-info-libgui
1260 info-host: maybe-info-libiberty
1261 info-host: maybe-info-libiberty-linker-plugin
1262 info-host: maybe-info-libiconv
1263 info-host: maybe-info-m4
1264 info-host: maybe-info-readline
1265 info-host: maybe-info-sid
1266 info-host: maybe-info-sim
1267 info-host: maybe-info-texinfo
1268 info-host: maybe-info-zlib
1269 info-host: maybe-info-gdb
1270 info-host: maybe-info-expect
1271 info-host: maybe-info-guile
1272 info-host: maybe-info-tk
1273 info-host: maybe-info-libtermcap
1274 info-host: maybe-info-utils
1275 info-host: maybe-info-gnattools
1276 info-host: maybe-info-lto-plugin
1277 info-host: maybe-info-libcc1
1278 info-host: maybe-info-gotools
1280 .PHONY: info-target
1282 info-target: maybe-info-target-libstdc++-v3
1283 info-target: maybe-info-target-libsanitizer
1284 info-target: maybe-info-target-libvtv
1285 info-target: maybe-info-target-liboffloadmic
1286 info-target: maybe-info-target-libssp
1287 info-target: maybe-info-target-newlib
1288 info-target: maybe-info-target-libgcc
1289 info-target: maybe-info-target-libbacktrace
1290 info-target: maybe-info-target-libquadmath
1291 info-target: maybe-info-target-libgfortran
1292 info-target: maybe-info-target-libobjc
1293 info-target: maybe-info-target-libgo
1294 info-target: maybe-info-target-libhsail-rt
1295 info-target: maybe-info-target-libphobos
1296 info-target: maybe-info-target-libtermcap
1297 info-target: maybe-info-target-winsup
1298 info-target: maybe-info-target-libgloss
1299 info-target: maybe-info-target-libffi
1300 info-target: maybe-info-target-zlib
1301 info-target: maybe-info-target-rda
1302 info-target: maybe-info-target-libada
1303 info-target: maybe-info-target-libgomp
1304 info-target: maybe-info-target-libitm
1305 info-target: maybe-info-target-libatomic
1307 .PHONY: do-dvi
1308 do-dvi:
1309 @: $(MAKE); $(unstage)
1310 @r=`${PWD_COMMAND}`; export r; \
1311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1312 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1313 dvi-target
1316 .PHONY: dvi-host
1318 dvi-host: maybe-dvi-bfd
1319 dvi-host: maybe-dvi-opcodes
1320 dvi-host: maybe-dvi-binutils
1321 dvi-host: maybe-dvi-bison
1322 dvi-host: maybe-dvi-cgen
1323 dvi-host: maybe-dvi-dejagnu
1324 dvi-host: maybe-dvi-etc
1325 dvi-host: maybe-dvi-fastjar
1326 dvi-host: maybe-dvi-fixincludes
1327 dvi-host: maybe-dvi-flex
1328 dvi-host: maybe-dvi-gas
1329 dvi-host: maybe-dvi-gcc
1330 dvi-host: maybe-dvi-gmp
1331 dvi-host: maybe-dvi-mpfr
1332 dvi-host: maybe-dvi-mpc
1333 dvi-host: maybe-dvi-isl
1334 dvi-host: maybe-dvi-libelf
1335 dvi-host: maybe-dvi-gold
1336 dvi-host: maybe-dvi-gprof
1337 dvi-host: maybe-dvi-intl
1338 dvi-host: maybe-dvi-tcl
1339 dvi-host: maybe-dvi-itcl
1340 dvi-host: maybe-dvi-ld
1341 dvi-host: maybe-dvi-libbacktrace
1342 dvi-host: maybe-dvi-libcpp
1343 dvi-host: maybe-dvi-libdecnumber
1344 dvi-host: maybe-dvi-libgui
1345 dvi-host: maybe-dvi-libiberty
1346 dvi-host: maybe-dvi-libiberty-linker-plugin
1347 dvi-host: maybe-dvi-libiconv
1348 dvi-host: maybe-dvi-m4
1349 dvi-host: maybe-dvi-readline
1350 dvi-host: maybe-dvi-sid
1351 dvi-host: maybe-dvi-sim
1352 dvi-host: maybe-dvi-texinfo
1353 dvi-host: maybe-dvi-zlib
1354 dvi-host: maybe-dvi-gdb
1355 dvi-host: maybe-dvi-expect
1356 dvi-host: maybe-dvi-guile
1357 dvi-host: maybe-dvi-tk
1358 dvi-host: maybe-dvi-libtermcap
1359 dvi-host: maybe-dvi-utils
1360 dvi-host: maybe-dvi-gnattools
1361 dvi-host: maybe-dvi-lto-plugin
1362 dvi-host: maybe-dvi-libcc1
1363 dvi-host: maybe-dvi-gotools
1365 .PHONY: dvi-target
1367 dvi-target: maybe-dvi-target-libstdc++-v3
1368 dvi-target: maybe-dvi-target-libsanitizer
1369 dvi-target: maybe-dvi-target-libvtv
1370 dvi-target: maybe-dvi-target-liboffloadmic
1371 dvi-target: maybe-dvi-target-libssp
1372 dvi-target: maybe-dvi-target-newlib
1373 dvi-target: maybe-dvi-target-libgcc
1374 dvi-target: maybe-dvi-target-libbacktrace
1375 dvi-target: maybe-dvi-target-libquadmath
1376 dvi-target: maybe-dvi-target-libgfortran
1377 dvi-target: maybe-dvi-target-libobjc
1378 dvi-target: maybe-dvi-target-libgo
1379 dvi-target: maybe-dvi-target-libhsail-rt
1380 dvi-target: maybe-dvi-target-libphobos
1381 dvi-target: maybe-dvi-target-libtermcap
1382 dvi-target: maybe-dvi-target-winsup
1383 dvi-target: maybe-dvi-target-libgloss
1384 dvi-target: maybe-dvi-target-libffi
1385 dvi-target: maybe-dvi-target-zlib
1386 dvi-target: maybe-dvi-target-rda
1387 dvi-target: maybe-dvi-target-libada
1388 dvi-target: maybe-dvi-target-libgomp
1389 dvi-target: maybe-dvi-target-libitm
1390 dvi-target: maybe-dvi-target-libatomic
1392 .PHONY: do-pdf
1393 do-pdf:
1394 @: $(MAKE); $(unstage)
1395 @r=`${PWD_COMMAND}`; export r; \
1396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1397 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1398 pdf-target
1401 .PHONY: pdf-host
1403 pdf-host: maybe-pdf-bfd
1404 pdf-host: maybe-pdf-opcodes
1405 pdf-host: maybe-pdf-binutils
1406 pdf-host: maybe-pdf-bison
1407 pdf-host: maybe-pdf-cgen
1408 pdf-host: maybe-pdf-dejagnu
1409 pdf-host: maybe-pdf-etc
1410 pdf-host: maybe-pdf-fastjar
1411 pdf-host: maybe-pdf-fixincludes
1412 pdf-host: maybe-pdf-flex
1413 pdf-host: maybe-pdf-gas
1414 pdf-host: maybe-pdf-gcc
1415 pdf-host: maybe-pdf-gmp
1416 pdf-host: maybe-pdf-mpfr
1417 pdf-host: maybe-pdf-mpc
1418 pdf-host: maybe-pdf-isl
1419 pdf-host: maybe-pdf-libelf
1420 pdf-host: maybe-pdf-gold
1421 pdf-host: maybe-pdf-gprof
1422 pdf-host: maybe-pdf-intl
1423 pdf-host: maybe-pdf-tcl
1424 pdf-host: maybe-pdf-itcl
1425 pdf-host: maybe-pdf-ld
1426 pdf-host: maybe-pdf-libbacktrace
1427 pdf-host: maybe-pdf-libcpp
1428 pdf-host: maybe-pdf-libdecnumber
1429 pdf-host: maybe-pdf-libgui
1430 pdf-host: maybe-pdf-libiberty
1431 pdf-host: maybe-pdf-libiberty-linker-plugin
1432 pdf-host: maybe-pdf-libiconv
1433 pdf-host: maybe-pdf-m4
1434 pdf-host: maybe-pdf-readline
1435 pdf-host: maybe-pdf-sid
1436 pdf-host: maybe-pdf-sim
1437 pdf-host: maybe-pdf-texinfo
1438 pdf-host: maybe-pdf-zlib
1439 pdf-host: maybe-pdf-gdb
1440 pdf-host: maybe-pdf-expect
1441 pdf-host: maybe-pdf-guile
1442 pdf-host: maybe-pdf-tk
1443 pdf-host: maybe-pdf-libtermcap
1444 pdf-host: maybe-pdf-utils
1445 pdf-host: maybe-pdf-gnattools
1446 pdf-host: maybe-pdf-lto-plugin
1447 pdf-host: maybe-pdf-libcc1
1448 pdf-host: maybe-pdf-gotools
1450 .PHONY: pdf-target
1452 pdf-target: maybe-pdf-target-libstdc++-v3
1453 pdf-target: maybe-pdf-target-libsanitizer
1454 pdf-target: maybe-pdf-target-libvtv
1455 pdf-target: maybe-pdf-target-liboffloadmic
1456 pdf-target: maybe-pdf-target-libssp
1457 pdf-target: maybe-pdf-target-newlib
1458 pdf-target: maybe-pdf-target-libgcc
1459 pdf-target: maybe-pdf-target-libbacktrace
1460 pdf-target: maybe-pdf-target-libquadmath
1461 pdf-target: maybe-pdf-target-libgfortran
1462 pdf-target: maybe-pdf-target-libobjc
1463 pdf-target: maybe-pdf-target-libgo
1464 pdf-target: maybe-pdf-target-libhsail-rt
1465 pdf-target: maybe-pdf-target-libphobos
1466 pdf-target: maybe-pdf-target-libtermcap
1467 pdf-target: maybe-pdf-target-winsup
1468 pdf-target: maybe-pdf-target-libgloss
1469 pdf-target: maybe-pdf-target-libffi
1470 pdf-target: maybe-pdf-target-zlib
1471 pdf-target: maybe-pdf-target-rda
1472 pdf-target: maybe-pdf-target-libada
1473 pdf-target: maybe-pdf-target-libgomp
1474 pdf-target: maybe-pdf-target-libitm
1475 pdf-target: maybe-pdf-target-libatomic
1477 .PHONY: do-html
1478 do-html:
1479 @: $(MAKE); $(unstage)
1480 @r=`${PWD_COMMAND}`; export r; \
1481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1482 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1483 html-target
1486 .PHONY: html-host
1488 html-host: maybe-html-bfd
1489 html-host: maybe-html-opcodes
1490 html-host: maybe-html-binutils
1491 html-host: maybe-html-bison
1492 html-host: maybe-html-cgen
1493 html-host: maybe-html-dejagnu
1494 html-host: maybe-html-etc
1495 html-host: maybe-html-fastjar
1496 html-host: maybe-html-fixincludes
1497 html-host: maybe-html-flex
1498 html-host: maybe-html-gas
1499 html-host: maybe-html-gcc
1500 html-host: maybe-html-gmp
1501 html-host: maybe-html-mpfr
1502 html-host: maybe-html-mpc
1503 html-host: maybe-html-isl
1504 html-host: maybe-html-libelf
1505 html-host: maybe-html-gold
1506 html-host: maybe-html-gprof
1507 html-host: maybe-html-intl
1508 html-host: maybe-html-tcl
1509 html-host: maybe-html-itcl
1510 html-host: maybe-html-ld
1511 html-host: maybe-html-libbacktrace
1512 html-host: maybe-html-libcpp
1513 html-host: maybe-html-libdecnumber
1514 html-host: maybe-html-libgui
1515 html-host: maybe-html-libiberty
1516 html-host: maybe-html-libiberty-linker-plugin
1517 html-host: maybe-html-libiconv
1518 html-host: maybe-html-m4
1519 html-host: maybe-html-readline
1520 html-host: maybe-html-sid
1521 html-host: maybe-html-sim
1522 html-host: maybe-html-texinfo
1523 html-host: maybe-html-zlib
1524 html-host: maybe-html-gdb
1525 html-host: maybe-html-expect
1526 html-host: maybe-html-guile
1527 html-host: maybe-html-tk
1528 html-host: maybe-html-libtermcap
1529 html-host: maybe-html-utils
1530 html-host: maybe-html-gnattools
1531 html-host: maybe-html-lto-plugin
1532 html-host: maybe-html-libcc1
1533 html-host: maybe-html-gotools
1535 .PHONY: html-target
1537 html-target: maybe-html-target-libstdc++-v3
1538 html-target: maybe-html-target-libsanitizer
1539 html-target: maybe-html-target-libvtv
1540 html-target: maybe-html-target-liboffloadmic
1541 html-target: maybe-html-target-libssp
1542 html-target: maybe-html-target-newlib
1543 html-target: maybe-html-target-libgcc
1544 html-target: maybe-html-target-libbacktrace
1545 html-target: maybe-html-target-libquadmath
1546 html-target: maybe-html-target-libgfortran
1547 html-target: maybe-html-target-libobjc
1548 html-target: maybe-html-target-libgo
1549 html-target: maybe-html-target-libhsail-rt
1550 html-target: maybe-html-target-libphobos
1551 html-target: maybe-html-target-libtermcap
1552 html-target: maybe-html-target-winsup
1553 html-target: maybe-html-target-libgloss
1554 html-target: maybe-html-target-libffi
1555 html-target: maybe-html-target-zlib
1556 html-target: maybe-html-target-rda
1557 html-target: maybe-html-target-libada
1558 html-target: maybe-html-target-libgomp
1559 html-target: maybe-html-target-libitm
1560 html-target: maybe-html-target-libatomic
1562 .PHONY: do-TAGS
1563 do-TAGS:
1564 @: $(MAKE); $(unstage)
1565 @r=`${PWD_COMMAND}`; export r; \
1566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1567 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1568 TAGS-target
1571 .PHONY: TAGS-host
1573 TAGS-host: maybe-TAGS-bfd
1574 TAGS-host: maybe-TAGS-opcodes
1575 TAGS-host: maybe-TAGS-binutils
1576 TAGS-host: maybe-TAGS-bison
1577 TAGS-host: maybe-TAGS-cgen
1578 TAGS-host: maybe-TAGS-dejagnu
1579 TAGS-host: maybe-TAGS-etc
1580 TAGS-host: maybe-TAGS-fastjar
1581 TAGS-host: maybe-TAGS-fixincludes
1582 TAGS-host: maybe-TAGS-flex
1583 TAGS-host: maybe-TAGS-gas
1584 TAGS-host: maybe-TAGS-gcc
1585 TAGS-host: maybe-TAGS-gmp
1586 TAGS-host: maybe-TAGS-mpfr
1587 TAGS-host: maybe-TAGS-mpc
1588 TAGS-host: maybe-TAGS-isl
1589 TAGS-host: maybe-TAGS-libelf
1590 TAGS-host: maybe-TAGS-gold
1591 TAGS-host: maybe-TAGS-gprof
1592 TAGS-host: maybe-TAGS-intl
1593 TAGS-host: maybe-TAGS-tcl
1594 TAGS-host: maybe-TAGS-itcl
1595 TAGS-host: maybe-TAGS-ld
1596 TAGS-host: maybe-TAGS-libbacktrace
1597 TAGS-host: maybe-TAGS-libcpp
1598 TAGS-host: maybe-TAGS-libdecnumber
1599 TAGS-host: maybe-TAGS-libgui
1600 TAGS-host: maybe-TAGS-libiberty
1601 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1602 TAGS-host: maybe-TAGS-libiconv
1603 TAGS-host: maybe-TAGS-m4
1604 TAGS-host: maybe-TAGS-readline
1605 TAGS-host: maybe-TAGS-sid
1606 TAGS-host: maybe-TAGS-sim
1607 TAGS-host: maybe-TAGS-texinfo
1608 TAGS-host: maybe-TAGS-zlib
1609 TAGS-host: maybe-TAGS-gdb
1610 TAGS-host: maybe-TAGS-expect
1611 TAGS-host: maybe-TAGS-guile
1612 TAGS-host: maybe-TAGS-tk
1613 TAGS-host: maybe-TAGS-libtermcap
1614 TAGS-host: maybe-TAGS-utils
1615 TAGS-host: maybe-TAGS-gnattools
1616 TAGS-host: maybe-TAGS-lto-plugin
1617 TAGS-host: maybe-TAGS-libcc1
1618 TAGS-host: maybe-TAGS-gotools
1620 .PHONY: TAGS-target
1622 TAGS-target: maybe-TAGS-target-libstdc++-v3
1623 TAGS-target: maybe-TAGS-target-libsanitizer
1624 TAGS-target: maybe-TAGS-target-libvtv
1625 TAGS-target: maybe-TAGS-target-liboffloadmic
1626 TAGS-target: maybe-TAGS-target-libssp
1627 TAGS-target: maybe-TAGS-target-newlib
1628 TAGS-target: maybe-TAGS-target-libgcc
1629 TAGS-target: maybe-TAGS-target-libbacktrace
1630 TAGS-target: maybe-TAGS-target-libquadmath
1631 TAGS-target: maybe-TAGS-target-libgfortran
1632 TAGS-target: maybe-TAGS-target-libobjc
1633 TAGS-target: maybe-TAGS-target-libgo
1634 TAGS-target: maybe-TAGS-target-libhsail-rt
1635 TAGS-target: maybe-TAGS-target-libphobos
1636 TAGS-target: maybe-TAGS-target-libtermcap
1637 TAGS-target: maybe-TAGS-target-winsup
1638 TAGS-target: maybe-TAGS-target-libgloss
1639 TAGS-target: maybe-TAGS-target-libffi
1640 TAGS-target: maybe-TAGS-target-zlib
1641 TAGS-target: maybe-TAGS-target-rda
1642 TAGS-target: maybe-TAGS-target-libada
1643 TAGS-target: maybe-TAGS-target-libgomp
1644 TAGS-target: maybe-TAGS-target-libitm
1645 TAGS-target: maybe-TAGS-target-libatomic
1647 .PHONY: do-install-info
1648 do-install-info:
1649 @: $(MAKE); $(unstage)
1650 @r=`${PWD_COMMAND}`; export r; \
1651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1652 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1653 install-info-target
1656 .PHONY: install-info-host
1658 install-info-host: maybe-install-info-bfd
1659 install-info-host: maybe-install-info-opcodes
1660 install-info-host: maybe-install-info-binutils
1661 install-info-host: maybe-install-info-bison
1662 install-info-host: maybe-install-info-cgen
1663 install-info-host: maybe-install-info-dejagnu
1664 install-info-host: maybe-install-info-etc
1665 install-info-host: maybe-install-info-fastjar
1666 install-info-host: maybe-install-info-fixincludes
1667 install-info-host: maybe-install-info-flex
1668 install-info-host: maybe-install-info-gas
1669 install-info-host: maybe-install-info-gcc
1670 install-info-host: maybe-install-info-gmp
1671 install-info-host: maybe-install-info-mpfr
1672 install-info-host: maybe-install-info-mpc
1673 install-info-host: maybe-install-info-isl
1674 install-info-host: maybe-install-info-libelf
1675 install-info-host: maybe-install-info-gold
1676 install-info-host: maybe-install-info-gprof
1677 install-info-host: maybe-install-info-intl
1678 install-info-host: maybe-install-info-tcl
1679 install-info-host: maybe-install-info-itcl
1680 install-info-host: maybe-install-info-ld
1681 install-info-host: maybe-install-info-libbacktrace
1682 install-info-host: maybe-install-info-libcpp
1683 install-info-host: maybe-install-info-libdecnumber
1684 install-info-host: maybe-install-info-libgui
1685 install-info-host: maybe-install-info-libiberty
1686 install-info-host: maybe-install-info-libiberty-linker-plugin
1687 install-info-host: maybe-install-info-libiconv
1688 install-info-host: maybe-install-info-m4
1689 install-info-host: maybe-install-info-readline
1690 install-info-host: maybe-install-info-sid
1691 install-info-host: maybe-install-info-sim
1692 install-info-host: maybe-install-info-texinfo
1693 install-info-host: maybe-install-info-zlib
1694 install-info-host: maybe-install-info-gdb
1695 install-info-host: maybe-install-info-expect
1696 install-info-host: maybe-install-info-guile
1697 install-info-host: maybe-install-info-tk
1698 install-info-host: maybe-install-info-libtermcap
1699 install-info-host: maybe-install-info-utils
1700 install-info-host: maybe-install-info-gnattools
1701 install-info-host: maybe-install-info-lto-plugin
1702 install-info-host: maybe-install-info-libcc1
1703 install-info-host: maybe-install-info-gotools
1705 .PHONY: install-info-target
1707 install-info-target: maybe-install-info-target-libstdc++-v3
1708 install-info-target: maybe-install-info-target-libsanitizer
1709 install-info-target: maybe-install-info-target-libvtv
1710 install-info-target: maybe-install-info-target-liboffloadmic
1711 install-info-target: maybe-install-info-target-libssp
1712 install-info-target: maybe-install-info-target-newlib
1713 install-info-target: maybe-install-info-target-libgcc
1714 install-info-target: maybe-install-info-target-libbacktrace
1715 install-info-target: maybe-install-info-target-libquadmath
1716 install-info-target: maybe-install-info-target-libgfortran
1717 install-info-target: maybe-install-info-target-libobjc
1718 install-info-target: maybe-install-info-target-libgo
1719 install-info-target: maybe-install-info-target-libhsail-rt
1720 install-info-target: maybe-install-info-target-libphobos
1721 install-info-target: maybe-install-info-target-libtermcap
1722 install-info-target: maybe-install-info-target-winsup
1723 install-info-target: maybe-install-info-target-libgloss
1724 install-info-target: maybe-install-info-target-libffi
1725 install-info-target: maybe-install-info-target-zlib
1726 install-info-target: maybe-install-info-target-rda
1727 install-info-target: maybe-install-info-target-libada
1728 install-info-target: maybe-install-info-target-libgomp
1729 install-info-target: maybe-install-info-target-libitm
1730 install-info-target: maybe-install-info-target-libatomic
1732 .PHONY: do-install-pdf
1733 do-install-pdf:
1734 @: $(MAKE); $(unstage)
1735 @r=`${PWD_COMMAND}`; export r; \
1736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1737 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1738 install-pdf-target
1741 .PHONY: install-pdf-host
1743 install-pdf-host: maybe-install-pdf-bfd
1744 install-pdf-host: maybe-install-pdf-opcodes
1745 install-pdf-host: maybe-install-pdf-binutils
1746 install-pdf-host: maybe-install-pdf-bison
1747 install-pdf-host: maybe-install-pdf-cgen
1748 install-pdf-host: maybe-install-pdf-dejagnu
1749 install-pdf-host: maybe-install-pdf-etc
1750 install-pdf-host: maybe-install-pdf-fastjar
1751 install-pdf-host: maybe-install-pdf-fixincludes
1752 install-pdf-host: maybe-install-pdf-flex
1753 install-pdf-host: maybe-install-pdf-gas
1754 install-pdf-host: maybe-install-pdf-gcc
1755 install-pdf-host: maybe-install-pdf-gmp
1756 install-pdf-host: maybe-install-pdf-mpfr
1757 install-pdf-host: maybe-install-pdf-mpc
1758 install-pdf-host: maybe-install-pdf-isl
1759 install-pdf-host: maybe-install-pdf-libelf
1760 install-pdf-host: maybe-install-pdf-gold
1761 install-pdf-host: maybe-install-pdf-gprof
1762 install-pdf-host: maybe-install-pdf-intl
1763 install-pdf-host: maybe-install-pdf-tcl
1764 install-pdf-host: maybe-install-pdf-itcl
1765 install-pdf-host: maybe-install-pdf-ld
1766 install-pdf-host: maybe-install-pdf-libbacktrace
1767 install-pdf-host: maybe-install-pdf-libcpp
1768 install-pdf-host: maybe-install-pdf-libdecnumber
1769 install-pdf-host: maybe-install-pdf-libgui
1770 install-pdf-host: maybe-install-pdf-libiberty
1771 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1772 install-pdf-host: maybe-install-pdf-libiconv
1773 install-pdf-host: maybe-install-pdf-m4
1774 install-pdf-host: maybe-install-pdf-readline
1775 install-pdf-host: maybe-install-pdf-sid
1776 install-pdf-host: maybe-install-pdf-sim
1777 install-pdf-host: maybe-install-pdf-texinfo
1778 install-pdf-host: maybe-install-pdf-zlib
1779 install-pdf-host: maybe-install-pdf-gdb
1780 install-pdf-host: maybe-install-pdf-expect
1781 install-pdf-host: maybe-install-pdf-guile
1782 install-pdf-host: maybe-install-pdf-tk
1783 install-pdf-host: maybe-install-pdf-libtermcap
1784 install-pdf-host: maybe-install-pdf-utils
1785 install-pdf-host: maybe-install-pdf-gnattools
1786 install-pdf-host: maybe-install-pdf-lto-plugin
1787 install-pdf-host: maybe-install-pdf-libcc1
1788 install-pdf-host: maybe-install-pdf-gotools
1790 .PHONY: install-pdf-target
1792 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1793 install-pdf-target: maybe-install-pdf-target-libsanitizer
1794 install-pdf-target: maybe-install-pdf-target-libvtv
1795 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1796 install-pdf-target: maybe-install-pdf-target-libssp
1797 install-pdf-target: maybe-install-pdf-target-newlib
1798 install-pdf-target: maybe-install-pdf-target-libgcc
1799 install-pdf-target: maybe-install-pdf-target-libbacktrace
1800 install-pdf-target: maybe-install-pdf-target-libquadmath
1801 install-pdf-target: maybe-install-pdf-target-libgfortran
1802 install-pdf-target: maybe-install-pdf-target-libobjc
1803 install-pdf-target: maybe-install-pdf-target-libgo
1804 install-pdf-target: maybe-install-pdf-target-libhsail-rt
1805 install-pdf-target: maybe-install-pdf-target-libphobos
1806 install-pdf-target: maybe-install-pdf-target-libtermcap
1807 install-pdf-target: maybe-install-pdf-target-winsup
1808 install-pdf-target: maybe-install-pdf-target-libgloss
1809 install-pdf-target: maybe-install-pdf-target-libffi
1810 install-pdf-target: maybe-install-pdf-target-zlib
1811 install-pdf-target: maybe-install-pdf-target-rda
1812 install-pdf-target: maybe-install-pdf-target-libada
1813 install-pdf-target: maybe-install-pdf-target-libgomp
1814 install-pdf-target: maybe-install-pdf-target-libitm
1815 install-pdf-target: maybe-install-pdf-target-libatomic
1817 .PHONY: do-install-html
1818 do-install-html:
1819 @: $(MAKE); $(unstage)
1820 @r=`${PWD_COMMAND}`; export r; \
1821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1822 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1823 install-html-target
1826 .PHONY: install-html-host
1828 install-html-host: maybe-install-html-bfd
1829 install-html-host: maybe-install-html-opcodes
1830 install-html-host: maybe-install-html-binutils
1831 install-html-host: maybe-install-html-bison
1832 install-html-host: maybe-install-html-cgen
1833 install-html-host: maybe-install-html-dejagnu
1834 install-html-host: maybe-install-html-etc
1835 install-html-host: maybe-install-html-fastjar
1836 install-html-host: maybe-install-html-fixincludes
1837 install-html-host: maybe-install-html-flex
1838 install-html-host: maybe-install-html-gas
1839 install-html-host: maybe-install-html-gcc
1840 install-html-host: maybe-install-html-gmp
1841 install-html-host: maybe-install-html-mpfr
1842 install-html-host: maybe-install-html-mpc
1843 install-html-host: maybe-install-html-isl
1844 install-html-host: maybe-install-html-libelf
1845 install-html-host: maybe-install-html-gold
1846 install-html-host: maybe-install-html-gprof
1847 install-html-host: maybe-install-html-intl
1848 install-html-host: maybe-install-html-tcl
1849 install-html-host: maybe-install-html-itcl
1850 install-html-host: maybe-install-html-ld
1851 install-html-host: maybe-install-html-libbacktrace
1852 install-html-host: maybe-install-html-libcpp
1853 install-html-host: maybe-install-html-libdecnumber
1854 install-html-host: maybe-install-html-libgui
1855 install-html-host: maybe-install-html-libiberty
1856 install-html-host: maybe-install-html-libiberty-linker-plugin
1857 install-html-host: maybe-install-html-libiconv
1858 install-html-host: maybe-install-html-m4
1859 install-html-host: maybe-install-html-readline
1860 install-html-host: maybe-install-html-sid
1861 install-html-host: maybe-install-html-sim
1862 install-html-host: maybe-install-html-texinfo
1863 install-html-host: maybe-install-html-zlib
1864 install-html-host: maybe-install-html-gdb
1865 install-html-host: maybe-install-html-expect
1866 install-html-host: maybe-install-html-guile
1867 install-html-host: maybe-install-html-tk
1868 install-html-host: maybe-install-html-libtermcap
1869 install-html-host: maybe-install-html-utils
1870 install-html-host: maybe-install-html-gnattools
1871 install-html-host: maybe-install-html-lto-plugin
1872 install-html-host: maybe-install-html-libcc1
1873 install-html-host: maybe-install-html-gotools
1875 .PHONY: install-html-target
1877 install-html-target: maybe-install-html-target-libstdc++-v3
1878 install-html-target: maybe-install-html-target-libsanitizer
1879 install-html-target: maybe-install-html-target-libvtv
1880 install-html-target: maybe-install-html-target-liboffloadmic
1881 install-html-target: maybe-install-html-target-libssp
1882 install-html-target: maybe-install-html-target-newlib
1883 install-html-target: maybe-install-html-target-libgcc
1884 install-html-target: maybe-install-html-target-libbacktrace
1885 install-html-target: maybe-install-html-target-libquadmath
1886 install-html-target: maybe-install-html-target-libgfortran
1887 install-html-target: maybe-install-html-target-libobjc
1888 install-html-target: maybe-install-html-target-libgo
1889 install-html-target: maybe-install-html-target-libhsail-rt
1890 install-html-target: maybe-install-html-target-libphobos
1891 install-html-target: maybe-install-html-target-libtermcap
1892 install-html-target: maybe-install-html-target-winsup
1893 install-html-target: maybe-install-html-target-libgloss
1894 install-html-target: maybe-install-html-target-libffi
1895 install-html-target: maybe-install-html-target-zlib
1896 install-html-target: maybe-install-html-target-rda
1897 install-html-target: maybe-install-html-target-libada
1898 install-html-target: maybe-install-html-target-libgomp
1899 install-html-target: maybe-install-html-target-libitm
1900 install-html-target: maybe-install-html-target-libatomic
1902 .PHONY: do-installcheck
1903 do-installcheck:
1904 @: $(MAKE); $(unstage)
1905 @r=`${PWD_COMMAND}`; export r; \
1906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1907 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1908 installcheck-target
1911 .PHONY: installcheck-host
1913 installcheck-host: maybe-installcheck-bfd
1914 installcheck-host: maybe-installcheck-opcodes
1915 installcheck-host: maybe-installcheck-binutils
1916 installcheck-host: maybe-installcheck-bison
1917 installcheck-host: maybe-installcheck-cgen
1918 installcheck-host: maybe-installcheck-dejagnu
1919 installcheck-host: maybe-installcheck-etc
1920 installcheck-host: maybe-installcheck-fastjar
1921 installcheck-host: maybe-installcheck-fixincludes
1922 installcheck-host: maybe-installcheck-flex
1923 installcheck-host: maybe-installcheck-gas
1924 installcheck-host: maybe-installcheck-gcc
1925 installcheck-host: maybe-installcheck-gmp
1926 installcheck-host: maybe-installcheck-mpfr
1927 installcheck-host: maybe-installcheck-mpc
1928 installcheck-host: maybe-installcheck-isl
1929 installcheck-host: maybe-installcheck-libelf
1930 installcheck-host: maybe-installcheck-gold
1931 installcheck-host: maybe-installcheck-gprof
1932 installcheck-host: maybe-installcheck-intl
1933 installcheck-host: maybe-installcheck-tcl
1934 installcheck-host: maybe-installcheck-itcl
1935 installcheck-host: maybe-installcheck-ld
1936 installcheck-host: maybe-installcheck-libbacktrace
1937 installcheck-host: maybe-installcheck-libcpp
1938 installcheck-host: maybe-installcheck-libdecnumber
1939 installcheck-host: maybe-installcheck-libgui
1940 installcheck-host: maybe-installcheck-libiberty
1941 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1942 installcheck-host: maybe-installcheck-libiconv
1943 installcheck-host: maybe-installcheck-m4
1944 installcheck-host: maybe-installcheck-readline
1945 installcheck-host: maybe-installcheck-sid
1946 installcheck-host: maybe-installcheck-sim
1947 installcheck-host: maybe-installcheck-texinfo
1948 installcheck-host: maybe-installcheck-zlib
1949 installcheck-host: maybe-installcheck-gdb
1950 installcheck-host: maybe-installcheck-expect
1951 installcheck-host: maybe-installcheck-guile
1952 installcheck-host: maybe-installcheck-tk
1953 installcheck-host: maybe-installcheck-libtermcap
1954 installcheck-host: maybe-installcheck-utils
1955 installcheck-host: maybe-installcheck-gnattools
1956 installcheck-host: maybe-installcheck-lto-plugin
1957 installcheck-host: maybe-installcheck-libcc1
1958 installcheck-host: maybe-installcheck-gotools
1960 .PHONY: installcheck-target
1962 installcheck-target: maybe-installcheck-target-libstdc++-v3
1963 installcheck-target: maybe-installcheck-target-libsanitizer
1964 installcheck-target: maybe-installcheck-target-libvtv
1965 installcheck-target: maybe-installcheck-target-liboffloadmic
1966 installcheck-target: maybe-installcheck-target-libssp
1967 installcheck-target: maybe-installcheck-target-newlib
1968 installcheck-target: maybe-installcheck-target-libgcc
1969 installcheck-target: maybe-installcheck-target-libbacktrace
1970 installcheck-target: maybe-installcheck-target-libquadmath
1971 installcheck-target: maybe-installcheck-target-libgfortran
1972 installcheck-target: maybe-installcheck-target-libobjc
1973 installcheck-target: maybe-installcheck-target-libgo
1974 installcheck-target: maybe-installcheck-target-libhsail-rt
1975 installcheck-target: maybe-installcheck-target-libphobos
1976 installcheck-target: maybe-installcheck-target-libtermcap
1977 installcheck-target: maybe-installcheck-target-winsup
1978 installcheck-target: maybe-installcheck-target-libgloss
1979 installcheck-target: maybe-installcheck-target-libffi
1980 installcheck-target: maybe-installcheck-target-zlib
1981 installcheck-target: maybe-installcheck-target-rda
1982 installcheck-target: maybe-installcheck-target-libada
1983 installcheck-target: maybe-installcheck-target-libgomp
1984 installcheck-target: maybe-installcheck-target-libitm
1985 installcheck-target: maybe-installcheck-target-libatomic
1987 .PHONY: do-mostlyclean
1988 do-mostlyclean:
1989 @: $(MAKE); $(unstage)
1990 @r=`${PWD_COMMAND}`; export r; \
1991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1992 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1993 mostlyclean-target
1996 .PHONY: mostlyclean-host
1998 mostlyclean-host: maybe-mostlyclean-bfd
1999 mostlyclean-host: maybe-mostlyclean-opcodes
2000 mostlyclean-host: maybe-mostlyclean-binutils
2001 mostlyclean-host: maybe-mostlyclean-bison
2002 mostlyclean-host: maybe-mostlyclean-cgen
2003 mostlyclean-host: maybe-mostlyclean-dejagnu
2004 mostlyclean-host: maybe-mostlyclean-etc
2005 mostlyclean-host: maybe-mostlyclean-fastjar
2006 mostlyclean-host: maybe-mostlyclean-fixincludes
2007 mostlyclean-host: maybe-mostlyclean-flex
2008 mostlyclean-host: maybe-mostlyclean-gas
2009 mostlyclean-host: maybe-mostlyclean-gcc
2010 mostlyclean-host: maybe-mostlyclean-gmp
2011 mostlyclean-host: maybe-mostlyclean-mpfr
2012 mostlyclean-host: maybe-mostlyclean-mpc
2013 mostlyclean-host: maybe-mostlyclean-isl
2014 mostlyclean-host: maybe-mostlyclean-libelf
2015 mostlyclean-host: maybe-mostlyclean-gold
2016 mostlyclean-host: maybe-mostlyclean-gprof
2017 mostlyclean-host: maybe-mostlyclean-intl
2018 mostlyclean-host: maybe-mostlyclean-tcl
2019 mostlyclean-host: maybe-mostlyclean-itcl
2020 mostlyclean-host: maybe-mostlyclean-ld
2021 mostlyclean-host: maybe-mostlyclean-libbacktrace
2022 mostlyclean-host: maybe-mostlyclean-libcpp
2023 mostlyclean-host: maybe-mostlyclean-libdecnumber
2024 mostlyclean-host: maybe-mostlyclean-libgui
2025 mostlyclean-host: maybe-mostlyclean-libiberty
2026 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
2027 mostlyclean-host: maybe-mostlyclean-libiconv
2028 mostlyclean-host: maybe-mostlyclean-m4
2029 mostlyclean-host: maybe-mostlyclean-readline
2030 mostlyclean-host: maybe-mostlyclean-sid
2031 mostlyclean-host: maybe-mostlyclean-sim
2032 mostlyclean-host: maybe-mostlyclean-texinfo
2033 mostlyclean-host: maybe-mostlyclean-zlib
2034 mostlyclean-host: maybe-mostlyclean-gdb
2035 mostlyclean-host: maybe-mostlyclean-expect
2036 mostlyclean-host: maybe-mostlyclean-guile
2037 mostlyclean-host: maybe-mostlyclean-tk
2038 mostlyclean-host: maybe-mostlyclean-libtermcap
2039 mostlyclean-host: maybe-mostlyclean-utils
2040 mostlyclean-host: maybe-mostlyclean-gnattools
2041 mostlyclean-host: maybe-mostlyclean-lto-plugin
2042 mostlyclean-host: maybe-mostlyclean-libcc1
2043 mostlyclean-host: maybe-mostlyclean-gotools
2045 .PHONY: mostlyclean-target
2047 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2048 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2049 mostlyclean-target: maybe-mostlyclean-target-libvtv
2050 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2051 mostlyclean-target: maybe-mostlyclean-target-libssp
2052 mostlyclean-target: maybe-mostlyclean-target-newlib
2053 mostlyclean-target: maybe-mostlyclean-target-libgcc
2054 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2055 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2056 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2057 mostlyclean-target: maybe-mostlyclean-target-libobjc
2058 mostlyclean-target: maybe-mostlyclean-target-libgo
2059 mostlyclean-target: maybe-mostlyclean-target-libhsail-rt
2060 mostlyclean-target: maybe-mostlyclean-target-libphobos
2061 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2062 mostlyclean-target: maybe-mostlyclean-target-winsup
2063 mostlyclean-target: maybe-mostlyclean-target-libgloss
2064 mostlyclean-target: maybe-mostlyclean-target-libffi
2065 mostlyclean-target: maybe-mostlyclean-target-zlib
2066 mostlyclean-target: maybe-mostlyclean-target-rda
2067 mostlyclean-target: maybe-mostlyclean-target-libada
2068 mostlyclean-target: maybe-mostlyclean-target-libgomp
2069 mostlyclean-target: maybe-mostlyclean-target-libitm
2070 mostlyclean-target: maybe-mostlyclean-target-libatomic
2072 .PHONY: do-clean
2073 do-clean:
2074 @: $(MAKE); $(unstage)
2075 @r=`${PWD_COMMAND}`; export r; \
2076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2077 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2078 clean-target
2081 .PHONY: clean-host
2083 clean-host: maybe-clean-bfd
2084 clean-host: maybe-clean-opcodes
2085 clean-host: maybe-clean-binutils
2086 clean-host: maybe-clean-bison
2087 clean-host: maybe-clean-cgen
2088 clean-host: maybe-clean-dejagnu
2089 clean-host: maybe-clean-etc
2090 clean-host: maybe-clean-fastjar
2091 clean-host: maybe-clean-fixincludes
2092 clean-host: maybe-clean-flex
2093 clean-host: maybe-clean-gas
2094 clean-host: maybe-clean-gcc
2095 clean-host: maybe-clean-gmp
2096 clean-host: maybe-clean-mpfr
2097 clean-host: maybe-clean-mpc
2098 clean-host: maybe-clean-isl
2099 clean-host: maybe-clean-libelf
2100 clean-host: maybe-clean-gold
2101 clean-host: maybe-clean-gprof
2102 clean-host: maybe-clean-intl
2103 clean-host: maybe-clean-tcl
2104 clean-host: maybe-clean-itcl
2105 clean-host: maybe-clean-ld
2106 clean-host: maybe-clean-libbacktrace
2107 clean-host: maybe-clean-libcpp
2108 clean-host: maybe-clean-libdecnumber
2109 clean-host: maybe-clean-libgui
2110 clean-host: maybe-clean-libiberty
2111 clean-host: maybe-clean-libiberty-linker-plugin
2112 clean-host: maybe-clean-libiconv
2113 clean-host: maybe-clean-m4
2114 clean-host: maybe-clean-readline
2115 clean-host: maybe-clean-sid
2116 clean-host: maybe-clean-sim
2117 clean-host: maybe-clean-texinfo
2118 clean-host: maybe-clean-zlib
2119 clean-host: maybe-clean-gdb
2120 clean-host: maybe-clean-expect
2121 clean-host: maybe-clean-guile
2122 clean-host: maybe-clean-tk
2123 clean-host: maybe-clean-libtermcap
2124 clean-host: maybe-clean-utils
2125 clean-host: maybe-clean-gnattools
2126 clean-host: maybe-clean-lto-plugin
2127 clean-host: maybe-clean-libcc1
2128 clean-host: maybe-clean-gotools
2130 .PHONY: clean-target
2132 clean-target: maybe-clean-target-libstdc++-v3
2133 clean-target: maybe-clean-target-libsanitizer
2134 clean-target: maybe-clean-target-libvtv
2135 clean-target: maybe-clean-target-liboffloadmic
2136 clean-target: maybe-clean-target-libssp
2137 clean-target: maybe-clean-target-newlib
2138 clean-target: maybe-clean-target-libgcc
2139 clean-target: maybe-clean-target-libbacktrace
2140 clean-target: maybe-clean-target-libquadmath
2141 clean-target: maybe-clean-target-libgfortran
2142 clean-target: maybe-clean-target-libobjc
2143 clean-target: maybe-clean-target-libgo
2144 clean-target: maybe-clean-target-libhsail-rt
2145 clean-target: maybe-clean-target-libphobos
2146 clean-target: maybe-clean-target-libtermcap
2147 clean-target: maybe-clean-target-winsup
2148 clean-target: maybe-clean-target-libgloss
2149 clean-target: maybe-clean-target-libffi
2150 clean-target: maybe-clean-target-zlib
2151 clean-target: maybe-clean-target-rda
2152 clean-target: maybe-clean-target-libada
2153 clean-target: maybe-clean-target-libgomp
2154 clean-target: maybe-clean-target-libitm
2155 clean-target: maybe-clean-target-libatomic
2157 .PHONY: do-distclean
2158 do-distclean:
2159 @: $(MAKE); $(unstage)
2160 @r=`${PWD_COMMAND}`; export r; \
2161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2162 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2163 distclean-target
2166 .PHONY: distclean-host
2168 distclean-host: maybe-distclean-bfd
2169 distclean-host: maybe-distclean-opcodes
2170 distclean-host: maybe-distclean-binutils
2171 distclean-host: maybe-distclean-bison
2172 distclean-host: maybe-distclean-cgen
2173 distclean-host: maybe-distclean-dejagnu
2174 distclean-host: maybe-distclean-etc
2175 distclean-host: maybe-distclean-fastjar
2176 distclean-host: maybe-distclean-fixincludes
2177 distclean-host: maybe-distclean-flex
2178 distclean-host: maybe-distclean-gas
2179 distclean-host: maybe-distclean-gcc
2180 distclean-host: maybe-distclean-gmp
2181 distclean-host: maybe-distclean-mpfr
2182 distclean-host: maybe-distclean-mpc
2183 distclean-host: maybe-distclean-isl
2184 distclean-host: maybe-distclean-libelf
2185 distclean-host: maybe-distclean-gold
2186 distclean-host: maybe-distclean-gprof
2187 distclean-host: maybe-distclean-intl
2188 distclean-host: maybe-distclean-tcl
2189 distclean-host: maybe-distclean-itcl
2190 distclean-host: maybe-distclean-ld
2191 distclean-host: maybe-distclean-libbacktrace
2192 distclean-host: maybe-distclean-libcpp
2193 distclean-host: maybe-distclean-libdecnumber
2194 distclean-host: maybe-distclean-libgui
2195 distclean-host: maybe-distclean-libiberty
2196 distclean-host: maybe-distclean-libiberty-linker-plugin
2197 distclean-host: maybe-distclean-libiconv
2198 distclean-host: maybe-distclean-m4
2199 distclean-host: maybe-distclean-readline
2200 distclean-host: maybe-distclean-sid
2201 distclean-host: maybe-distclean-sim
2202 distclean-host: maybe-distclean-texinfo
2203 distclean-host: maybe-distclean-zlib
2204 distclean-host: maybe-distclean-gdb
2205 distclean-host: maybe-distclean-expect
2206 distclean-host: maybe-distclean-guile
2207 distclean-host: maybe-distclean-tk
2208 distclean-host: maybe-distclean-libtermcap
2209 distclean-host: maybe-distclean-utils
2210 distclean-host: maybe-distclean-gnattools
2211 distclean-host: maybe-distclean-lto-plugin
2212 distclean-host: maybe-distclean-libcc1
2213 distclean-host: maybe-distclean-gotools
2215 .PHONY: distclean-target
2217 distclean-target: maybe-distclean-target-libstdc++-v3
2218 distclean-target: maybe-distclean-target-libsanitizer
2219 distclean-target: maybe-distclean-target-libvtv
2220 distclean-target: maybe-distclean-target-liboffloadmic
2221 distclean-target: maybe-distclean-target-libssp
2222 distclean-target: maybe-distclean-target-newlib
2223 distclean-target: maybe-distclean-target-libgcc
2224 distclean-target: maybe-distclean-target-libbacktrace
2225 distclean-target: maybe-distclean-target-libquadmath
2226 distclean-target: maybe-distclean-target-libgfortran
2227 distclean-target: maybe-distclean-target-libobjc
2228 distclean-target: maybe-distclean-target-libgo
2229 distclean-target: maybe-distclean-target-libhsail-rt
2230 distclean-target: maybe-distclean-target-libphobos
2231 distclean-target: maybe-distclean-target-libtermcap
2232 distclean-target: maybe-distclean-target-winsup
2233 distclean-target: maybe-distclean-target-libgloss
2234 distclean-target: maybe-distclean-target-libffi
2235 distclean-target: maybe-distclean-target-zlib
2236 distclean-target: maybe-distclean-target-rda
2237 distclean-target: maybe-distclean-target-libada
2238 distclean-target: maybe-distclean-target-libgomp
2239 distclean-target: maybe-distclean-target-libitm
2240 distclean-target: maybe-distclean-target-libatomic
2242 .PHONY: do-maintainer-clean
2243 do-maintainer-clean:
2244 @: $(MAKE); $(unstage)
2245 @r=`${PWD_COMMAND}`; export r; \
2246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2247 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2248 maintainer-clean-target
2251 .PHONY: maintainer-clean-host
2253 maintainer-clean-host: maybe-maintainer-clean-bfd
2254 maintainer-clean-host: maybe-maintainer-clean-opcodes
2255 maintainer-clean-host: maybe-maintainer-clean-binutils
2256 maintainer-clean-host: maybe-maintainer-clean-bison
2257 maintainer-clean-host: maybe-maintainer-clean-cgen
2258 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2259 maintainer-clean-host: maybe-maintainer-clean-etc
2260 maintainer-clean-host: maybe-maintainer-clean-fastjar
2261 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2262 maintainer-clean-host: maybe-maintainer-clean-flex
2263 maintainer-clean-host: maybe-maintainer-clean-gas
2264 maintainer-clean-host: maybe-maintainer-clean-gcc
2265 maintainer-clean-host: maybe-maintainer-clean-gmp
2266 maintainer-clean-host: maybe-maintainer-clean-mpfr
2267 maintainer-clean-host: maybe-maintainer-clean-mpc
2268 maintainer-clean-host: maybe-maintainer-clean-isl
2269 maintainer-clean-host: maybe-maintainer-clean-libelf
2270 maintainer-clean-host: maybe-maintainer-clean-gold
2271 maintainer-clean-host: maybe-maintainer-clean-gprof
2272 maintainer-clean-host: maybe-maintainer-clean-intl
2273 maintainer-clean-host: maybe-maintainer-clean-tcl
2274 maintainer-clean-host: maybe-maintainer-clean-itcl
2275 maintainer-clean-host: maybe-maintainer-clean-ld
2276 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2277 maintainer-clean-host: maybe-maintainer-clean-libcpp
2278 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2279 maintainer-clean-host: maybe-maintainer-clean-libgui
2280 maintainer-clean-host: maybe-maintainer-clean-libiberty
2281 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2282 maintainer-clean-host: maybe-maintainer-clean-libiconv
2283 maintainer-clean-host: maybe-maintainer-clean-m4
2284 maintainer-clean-host: maybe-maintainer-clean-readline
2285 maintainer-clean-host: maybe-maintainer-clean-sid
2286 maintainer-clean-host: maybe-maintainer-clean-sim
2287 maintainer-clean-host: maybe-maintainer-clean-texinfo
2288 maintainer-clean-host: maybe-maintainer-clean-zlib
2289 maintainer-clean-host: maybe-maintainer-clean-gdb
2290 maintainer-clean-host: maybe-maintainer-clean-expect
2291 maintainer-clean-host: maybe-maintainer-clean-guile
2292 maintainer-clean-host: maybe-maintainer-clean-tk
2293 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2294 maintainer-clean-host: maybe-maintainer-clean-utils
2295 maintainer-clean-host: maybe-maintainer-clean-gnattools
2296 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2297 maintainer-clean-host: maybe-maintainer-clean-libcc1
2298 maintainer-clean-host: maybe-maintainer-clean-gotools
2300 .PHONY: maintainer-clean-target
2302 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2303 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2304 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2305 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2306 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2307 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2308 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2309 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2310 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2311 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2312 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2313 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2314 maintainer-clean-target: maybe-maintainer-clean-target-libhsail-rt
2315 maintainer-clean-target: maybe-maintainer-clean-target-libphobos
2316 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2317 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2318 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2319 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2320 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2321 maintainer-clean-target: maybe-maintainer-clean-target-rda
2322 maintainer-clean-target: maybe-maintainer-clean-target-libada
2323 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2324 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2325 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2328 # Here are the targets which correspond to the do-X targets.
2330 .PHONY: info installcheck dvi pdf html
2331 .PHONY: install-info install-pdf install-html
2332 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2333 .PHONY: local-clean local-distclean local-maintainer-clean
2334 info: do-info
2335 installcheck: do-installcheck
2336 dvi: do-dvi
2337 pdf: do-pdf
2338 html: do-html
2340 # Make sure makeinfo is built before we do a `make info', if we're
2341 # in fact building texinfo.
2342 do-info: maybe-all-texinfo
2344 install-info: do-install-info dir.info
2345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2346 if [ -f dir.info ]; then \
2347 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2348 else true; fi
2350 install-pdf: do-install-pdf
2352 install-html: do-install-html
2354 local-clean:
2355 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2357 local-distclean:
2358 -rm -f Makefile config.status config.cache mh-frag mt-frag
2359 -rm -f maybedep.tmp serdep.tmp stage_final
2360 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2361 rm -rf $(TARGET_SUBDIR); \
2362 else true; fi
2363 -rm -rf $(BUILD_SUBDIR)
2364 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2365 rm -rf $(HOST_SUBDIR); \
2366 else true; fi
2367 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2368 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2369 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2370 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2371 -rmdir fastjar gcc gnattools gotools libcc1 libiberty 2>/dev/null
2372 -rmdir texinfo zlib 2>/dev/null
2373 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2375 local-maintainer-clean:
2376 @echo "This command is intended for maintainers to use;"
2377 @echo "it deletes files that may require special tools to rebuild."
2379 clean: do-clean local-clean
2380 mostlyclean: do-mostlyclean local-clean
2381 distclean: do-distclean local-clean local-distclean
2382 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2383 maintainer-clean: local-distclean
2384 realclean: maintainer-clean
2386 # Check target.
2388 .PHONY: check do-check
2389 check: do-check
2391 # Only include modules actually being configured and built.
2392 .PHONY: check-host
2393 check-host: \
2394 maybe-check-bfd \
2395 maybe-check-opcodes \
2396 maybe-check-binutils \
2397 maybe-check-bison \
2398 maybe-check-cgen \
2399 maybe-check-dejagnu \
2400 maybe-check-etc \
2401 maybe-check-fastjar \
2402 maybe-check-fixincludes \
2403 maybe-check-flex \
2404 maybe-check-gas \
2405 maybe-check-gcc \
2406 maybe-check-gmp \
2407 maybe-check-mpfr \
2408 maybe-check-mpc \
2409 maybe-check-isl \
2410 maybe-check-libelf \
2411 maybe-check-gold \
2412 maybe-check-gprof \
2413 maybe-check-intl \
2414 maybe-check-tcl \
2415 maybe-check-itcl \
2416 maybe-check-ld \
2417 maybe-check-libbacktrace \
2418 maybe-check-libcpp \
2419 maybe-check-libdecnumber \
2420 maybe-check-libgui \
2421 maybe-check-libiberty \
2422 maybe-check-libiberty-linker-plugin \
2423 maybe-check-libiconv \
2424 maybe-check-m4 \
2425 maybe-check-readline \
2426 maybe-check-sid \
2427 maybe-check-sim \
2428 maybe-check-texinfo \
2429 maybe-check-zlib \
2430 maybe-check-gdb \
2431 maybe-check-expect \
2432 maybe-check-guile \
2433 maybe-check-tk \
2434 maybe-check-libtermcap \
2435 maybe-check-utils \
2436 maybe-check-gnattools \
2437 maybe-check-lto-plugin \
2438 maybe-check-libcc1 \
2439 maybe-check-gotools
2441 .PHONY: check-target
2442 check-target: \
2443 maybe-check-target-libstdc++-v3 \
2444 maybe-check-target-libsanitizer \
2445 maybe-check-target-libvtv \
2446 maybe-check-target-liboffloadmic \
2447 maybe-check-target-libssp \
2448 maybe-check-target-newlib \
2449 maybe-check-target-libgcc \
2450 maybe-check-target-libbacktrace \
2451 maybe-check-target-libquadmath \
2452 maybe-check-target-libgfortran \
2453 maybe-check-target-libobjc \
2454 maybe-check-target-libgo \
2455 maybe-check-target-libhsail-rt \
2456 maybe-check-target-libphobos \
2457 maybe-check-target-libtermcap \
2458 maybe-check-target-winsup \
2459 maybe-check-target-libgloss \
2460 maybe-check-target-libffi \
2461 maybe-check-target-zlib \
2462 maybe-check-target-rda \
2463 maybe-check-target-libada \
2464 maybe-check-target-libgomp \
2465 maybe-check-target-libitm \
2466 maybe-check-target-libatomic
2468 do-check:
2469 @: $(MAKE); $(unstage)
2470 @r=`${PWD_COMMAND}`; export r; \
2471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2472 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2474 # Automated reporting of test results.
2476 warning.log: build.log
2477 $(srcdir)/contrib/warn_summary build.log > $@
2479 mail-report.log:
2480 if test x'$(BOOT_CFLAGS)' != x''; then \
2481 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2482 fi; \
2483 $(srcdir)/contrib/test_summary -t >$@
2484 chmod +x $@
2485 echo If you really want to send e-mail, run ./$@ now
2487 mail-report-with-warnings.log: warning.log
2488 if test x'$(BOOT_CFLAGS)' != x''; then \
2489 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2490 fi; \
2491 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2492 chmod +x $@
2493 echo If you really want to send e-mail, run ./$@ now
2495 # Local Vim config
2497 $(srcdir)/.local.vimrc:
2498 $(LN_S) contrib/vimrc $@
2500 $(srcdir)/.lvimrc:
2501 $(LN_S) contrib/vimrc $@
2503 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2505 .PHONY: vimrc
2507 # clang-format config
2509 $(srcdir)/.clang-format:
2510 $(LN_S) contrib/clang-format $@
2512 clang-format: $(srcdir)/.clang-format
2514 .PHONY: clang-format
2516 # Installation targets.
2518 .PHONY: install uninstall
2519 install:
2520 @: $(MAKE); $(unstage)
2521 @r=`${PWD_COMMAND}`; export r; \
2522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2523 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2525 .PHONY: install-host-nogcc
2526 install-host-nogcc: \
2527 maybe-install-bfd \
2528 maybe-install-opcodes \
2529 maybe-install-binutils \
2530 maybe-install-bison \
2531 maybe-install-cgen \
2532 maybe-install-dejagnu \
2533 maybe-install-etc \
2534 maybe-install-fastjar \
2535 maybe-install-fixincludes \
2536 maybe-install-flex \
2537 maybe-install-gas \
2538 maybe-install-gmp \
2539 maybe-install-mpfr \
2540 maybe-install-mpc \
2541 maybe-install-isl \
2542 maybe-install-libelf \
2543 maybe-install-gold \
2544 maybe-install-gprof \
2545 maybe-install-intl \
2546 maybe-install-tcl \
2547 maybe-install-itcl \
2548 maybe-install-ld \
2549 maybe-install-libbacktrace \
2550 maybe-install-libcpp \
2551 maybe-install-libdecnumber \
2552 maybe-install-libgui \
2553 maybe-install-libiberty \
2554 maybe-install-libiberty-linker-plugin \
2555 maybe-install-libiconv \
2556 maybe-install-m4 \
2557 maybe-install-readline \
2558 maybe-install-sid \
2559 maybe-install-sim \
2560 maybe-install-texinfo \
2561 maybe-install-zlib \
2562 maybe-install-gdb \
2563 maybe-install-expect \
2564 maybe-install-guile \
2565 maybe-install-tk \
2566 maybe-install-libtermcap \
2567 maybe-install-utils \
2568 maybe-install-gnattools \
2569 maybe-install-lto-plugin \
2570 maybe-install-libcc1 \
2571 maybe-install-gotools
2573 .PHONY: install-host
2574 install-host: \
2575 maybe-install-bfd \
2576 maybe-install-opcodes \
2577 maybe-install-binutils \
2578 maybe-install-bison \
2579 maybe-install-cgen \
2580 maybe-install-dejagnu \
2581 maybe-install-etc \
2582 maybe-install-fastjar \
2583 maybe-install-fixincludes \
2584 maybe-install-flex \
2585 maybe-install-gas \
2586 maybe-install-gcc \
2587 maybe-install-gmp \
2588 maybe-install-mpfr \
2589 maybe-install-mpc \
2590 maybe-install-isl \
2591 maybe-install-libelf \
2592 maybe-install-gold \
2593 maybe-install-gprof \
2594 maybe-install-intl \
2595 maybe-install-tcl \
2596 maybe-install-itcl \
2597 maybe-install-ld \
2598 maybe-install-libbacktrace \
2599 maybe-install-libcpp \
2600 maybe-install-libdecnumber \
2601 maybe-install-libgui \
2602 maybe-install-libiberty \
2603 maybe-install-libiberty-linker-plugin \
2604 maybe-install-libiconv \
2605 maybe-install-m4 \
2606 maybe-install-readline \
2607 maybe-install-sid \
2608 maybe-install-sim \
2609 maybe-install-texinfo \
2610 maybe-install-zlib \
2611 maybe-install-gdb \
2612 maybe-install-expect \
2613 maybe-install-guile \
2614 maybe-install-tk \
2615 maybe-install-libtermcap \
2616 maybe-install-utils \
2617 maybe-install-gnattools \
2618 maybe-install-lto-plugin \
2619 maybe-install-libcc1 \
2620 maybe-install-gotools
2622 .PHONY: install-target
2623 install-target: \
2624 maybe-install-target-libstdc++-v3 \
2625 maybe-install-target-libsanitizer \
2626 maybe-install-target-libvtv \
2627 maybe-install-target-liboffloadmic \
2628 maybe-install-target-libssp \
2629 maybe-install-target-newlib \
2630 maybe-install-target-libgcc \
2631 maybe-install-target-libbacktrace \
2632 maybe-install-target-libquadmath \
2633 maybe-install-target-libgfortran \
2634 maybe-install-target-libobjc \
2635 maybe-install-target-libgo \
2636 maybe-install-target-libhsail-rt \
2637 maybe-install-target-libphobos \
2638 maybe-install-target-libtermcap \
2639 maybe-install-target-winsup \
2640 maybe-install-target-libgloss \
2641 maybe-install-target-libffi \
2642 maybe-install-target-zlib \
2643 maybe-install-target-rda \
2644 maybe-install-target-libada \
2645 maybe-install-target-libgomp \
2646 maybe-install-target-libitm \
2647 maybe-install-target-libatomic
2649 uninstall:
2650 @echo "the uninstall target is not supported in this tree"
2652 .PHONY: install.all
2653 install.all: install-no-fixedincludes
2654 @if [ -f ./gcc/Makefile ]; then \
2655 r=`${PWD_COMMAND}`; export r; \
2656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2657 $(HOST_EXPORTS) \
2658 (cd ./gcc && \
2659 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2660 else \
2661 true; \
2664 # install-no-fixedincludes is used to allow the elaboration of binary packages
2665 # suitable for distribution, where we cannot include the fixed system header
2666 # files.
2667 .PHONY: install-no-fixedincludes
2668 install-no-fixedincludes: installdirs install-host-nogcc \
2669 install-target gcc-install-no-fixedincludes
2671 .PHONY: install-strip
2672 install-strip:
2673 @: $(MAKE); $(unstage)
2674 @r=`${PWD_COMMAND}`; export r; \
2675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2676 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2678 .PHONY: install-strip-host
2679 install-strip-host: \
2680 maybe-install-strip-bfd \
2681 maybe-install-strip-opcodes \
2682 maybe-install-strip-binutils \
2683 maybe-install-strip-bison \
2684 maybe-install-strip-cgen \
2685 maybe-install-strip-dejagnu \
2686 maybe-install-strip-etc \
2687 maybe-install-strip-fastjar \
2688 maybe-install-strip-fixincludes \
2689 maybe-install-strip-flex \
2690 maybe-install-strip-gas \
2691 maybe-install-strip-gcc \
2692 maybe-install-strip-gmp \
2693 maybe-install-strip-mpfr \
2694 maybe-install-strip-mpc \
2695 maybe-install-strip-isl \
2696 maybe-install-strip-libelf \
2697 maybe-install-strip-gold \
2698 maybe-install-strip-gprof \
2699 maybe-install-strip-intl \
2700 maybe-install-strip-tcl \
2701 maybe-install-strip-itcl \
2702 maybe-install-strip-ld \
2703 maybe-install-strip-libbacktrace \
2704 maybe-install-strip-libcpp \
2705 maybe-install-strip-libdecnumber \
2706 maybe-install-strip-libgui \
2707 maybe-install-strip-libiberty \
2708 maybe-install-strip-libiberty-linker-plugin \
2709 maybe-install-strip-libiconv \
2710 maybe-install-strip-m4 \
2711 maybe-install-strip-readline \
2712 maybe-install-strip-sid \
2713 maybe-install-strip-sim \
2714 maybe-install-strip-texinfo \
2715 maybe-install-strip-zlib \
2716 maybe-install-strip-gdb \
2717 maybe-install-strip-expect \
2718 maybe-install-strip-guile \
2719 maybe-install-strip-tk \
2720 maybe-install-strip-libtermcap \
2721 maybe-install-strip-utils \
2722 maybe-install-strip-gnattools \
2723 maybe-install-strip-lto-plugin \
2724 maybe-install-strip-libcc1 \
2725 maybe-install-strip-gotools
2727 .PHONY: install-strip-target
2728 install-strip-target: \
2729 maybe-install-strip-target-libstdc++-v3 \
2730 maybe-install-strip-target-libsanitizer \
2731 maybe-install-strip-target-libvtv \
2732 maybe-install-strip-target-liboffloadmic \
2733 maybe-install-strip-target-libssp \
2734 maybe-install-strip-target-newlib \
2735 maybe-install-strip-target-libgcc \
2736 maybe-install-strip-target-libbacktrace \
2737 maybe-install-strip-target-libquadmath \
2738 maybe-install-strip-target-libgfortran \
2739 maybe-install-strip-target-libobjc \
2740 maybe-install-strip-target-libgo \
2741 maybe-install-strip-target-libhsail-rt \
2742 maybe-install-strip-target-libphobos \
2743 maybe-install-strip-target-libtermcap \
2744 maybe-install-strip-target-winsup \
2745 maybe-install-strip-target-libgloss \
2746 maybe-install-strip-target-libffi \
2747 maybe-install-strip-target-zlib \
2748 maybe-install-strip-target-rda \
2749 maybe-install-strip-target-libada \
2750 maybe-install-strip-target-libgomp \
2751 maybe-install-strip-target-libitm \
2752 maybe-install-strip-target-libatomic
2755 ### other supporting targets
2757 MAKEDIRS= \
2758 $(DESTDIR)$(prefix) \
2759 $(DESTDIR)$(exec_prefix)
2760 .PHONY: installdirs
2761 installdirs: mkinstalldirs
2762 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2764 dir.info: do-install-info
2765 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
2766 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
2767 mv -f dir.info.new dir.info; \
2768 else true; \
2771 dist:
2772 @echo "Building a full distribution of this tree isn't done"
2773 @echo "via 'make dist'. Check out the etc/ subdirectory"
2775 etags tags: TAGS
2777 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2778 # ability to use several tags files at once, so there is probably no need
2779 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2780 # (if we felt like it) have this Makefile write a piece of elisp which
2781 # the user could load to tell emacs19 where all the TAGS files we just
2782 # built are.
2783 TAGS: do-TAGS
2785 # ------------------------------------
2786 # Macros for configure and all targets
2787 # ------------------------------------
2793 # --------------------------------------
2794 # Modules which run on the build machine
2795 # --------------------------------------
2798 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2799 maybe-configure-build-libiberty:
2800 @if gcc-bootstrap
2801 configure-build-libiberty: stage_current
2802 @endif gcc-bootstrap
2803 @if build-libiberty
2804 maybe-configure-build-libiberty: configure-build-libiberty
2805 configure-build-libiberty:
2806 @: $(MAKE); $(unstage)
2807 @r=`${PWD_COMMAND}`; export r; \
2808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2809 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2810 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
2811 $(BUILD_EXPORTS) \
2812 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2813 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2814 case $(srcdir) in \
2815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2816 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2818 esac; \
2819 module_srcdir=libiberty; \
2820 rm -f no-such-file || : ; \
2821 CONFIG_SITE=no-such-file $(SHELL) \
2822 $$s/$$module_srcdir/configure \
2823 --srcdir=$${topdir}/$$module_srcdir \
2824 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2825 --target=${target_alias} \
2826 || exit 1
2827 @endif build-libiberty
2833 .PHONY: all-build-libiberty maybe-all-build-libiberty
2834 maybe-all-build-libiberty:
2835 @if gcc-bootstrap
2836 all-build-libiberty: stage_current
2837 @endif gcc-bootstrap
2838 @if build-libiberty
2839 TARGET-build-libiberty=all
2840 maybe-all-build-libiberty: all-build-libiberty
2841 all-build-libiberty: configure-build-libiberty
2842 @: $(MAKE); $(unstage)
2843 @r=`${PWD_COMMAND}`; export r; \
2844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2845 $(BUILD_EXPORTS) \
2846 (cd $(BUILD_SUBDIR)/libiberty && \
2847 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2848 $(TARGET-build-libiberty))
2849 @endif build-libiberty
2855 .PHONY: configure-build-bison maybe-configure-build-bison
2856 maybe-configure-build-bison:
2857 @if gcc-bootstrap
2858 configure-build-bison: stage_current
2859 @endif gcc-bootstrap
2860 @if build-bison
2861 maybe-configure-build-bison: configure-build-bison
2862 configure-build-bison:
2863 @: $(MAKE); $(unstage)
2864 @r=`${PWD_COMMAND}`; export r; \
2865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2866 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2867 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
2868 $(BUILD_EXPORTS) \
2869 echo Configuring in $(BUILD_SUBDIR)/bison; \
2870 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2871 case $(srcdir) in \
2872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2873 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2875 esac; \
2876 module_srcdir=bison; \
2877 rm -f no-such-file || : ; \
2878 CONFIG_SITE=no-such-file $(SHELL) \
2879 $$s/$$module_srcdir/configure \
2880 --srcdir=$${topdir}/$$module_srcdir \
2881 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2882 --target=${target_alias} \
2883 || exit 1
2884 @endif build-bison
2890 .PHONY: all-build-bison maybe-all-build-bison
2891 maybe-all-build-bison:
2892 @if gcc-bootstrap
2893 all-build-bison: stage_current
2894 @endif gcc-bootstrap
2895 @if build-bison
2896 TARGET-build-bison=all
2897 maybe-all-build-bison: all-build-bison
2898 all-build-bison: configure-build-bison
2899 @: $(MAKE); $(unstage)
2900 @r=`${PWD_COMMAND}`; export r; \
2901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2902 $(BUILD_EXPORTS) \
2903 (cd $(BUILD_SUBDIR)/bison && \
2904 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2905 $(TARGET-build-bison))
2906 @endif build-bison
2912 .PHONY: configure-build-flex maybe-configure-build-flex
2913 maybe-configure-build-flex:
2914 @if gcc-bootstrap
2915 configure-build-flex: stage_current
2916 @endif gcc-bootstrap
2917 @if build-flex
2918 maybe-configure-build-flex: configure-build-flex
2919 configure-build-flex:
2920 @: $(MAKE); $(unstage)
2921 @r=`${PWD_COMMAND}`; export r; \
2922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2923 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2924 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
2925 $(BUILD_EXPORTS) \
2926 echo Configuring in $(BUILD_SUBDIR)/flex; \
2927 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2928 case $(srcdir) in \
2929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2930 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2932 esac; \
2933 module_srcdir=flex; \
2934 rm -f no-such-file || : ; \
2935 CONFIG_SITE=no-such-file $(SHELL) \
2936 $$s/$$module_srcdir/configure \
2937 --srcdir=$${topdir}/$$module_srcdir \
2938 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2939 --target=${target_alias} \
2940 || exit 1
2941 @endif build-flex
2947 .PHONY: all-build-flex maybe-all-build-flex
2948 maybe-all-build-flex:
2949 @if gcc-bootstrap
2950 all-build-flex: stage_current
2951 @endif gcc-bootstrap
2952 @if build-flex
2953 TARGET-build-flex=all
2954 maybe-all-build-flex: all-build-flex
2955 all-build-flex: configure-build-flex
2956 @: $(MAKE); $(unstage)
2957 @r=`${PWD_COMMAND}`; export r; \
2958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2959 $(BUILD_EXPORTS) \
2960 (cd $(BUILD_SUBDIR)/flex && \
2961 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2962 $(TARGET-build-flex))
2963 @endif build-flex
2969 .PHONY: configure-build-m4 maybe-configure-build-m4
2970 maybe-configure-build-m4:
2971 @if gcc-bootstrap
2972 configure-build-m4: stage_current
2973 @endif gcc-bootstrap
2974 @if build-m4
2975 maybe-configure-build-m4: configure-build-m4
2976 configure-build-m4:
2977 @: $(MAKE); $(unstage)
2978 @r=`${PWD_COMMAND}`; export r; \
2979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2980 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2981 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
2982 $(BUILD_EXPORTS) \
2983 echo Configuring in $(BUILD_SUBDIR)/m4; \
2984 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2985 case $(srcdir) in \
2986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2987 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2989 esac; \
2990 module_srcdir=m4; \
2991 rm -f no-such-file || : ; \
2992 CONFIG_SITE=no-such-file $(SHELL) \
2993 $$s/$$module_srcdir/configure \
2994 --srcdir=$${topdir}/$$module_srcdir \
2995 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2996 --target=${target_alias} \
2997 || exit 1
2998 @endif build-m4
3004 .PHONY: all-build-m4 maybe-all-build-m4
3005 maybe-all-build-m4:
3006 @if gcc-bootstrap
3007 all-build-m4: stage_current
3008 @endif gcc-bootstrap
3009 @if build-m4
3010 TARGET-build-m4=all
3011 maybe-all-build-m4: all-build-m4
3012 all-build-m4: configure-build-m4
3013 @: $(MAKE); $(unstage)
3014 @r=`${PWD_COMMAND}`; export r; \
3015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3016 $(BUILD_EXPORTS) \
3017 (cd $(BUILD_SUBDIR)/m4 && \
3018 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3019 $(TARGET-build-m4))
3020 @endif build-m4
3026 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3027 maybe-configure-build-texinfo:
3028 @if gcc-bootstrap
3029 configure-build-texinfo: stage_current
3030 @endif gcc-bootstrap
3031 @if build-texinfo
3032 maybe-configure-build-texinfo: configure-build-texinfo
3033 configure-build-texinfo:
3034 @: $(MAKE); $(unstage)
3035 @r=`${PWD_COMMAND}`; export r; \
3036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3037 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3038 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
3039 $(BUILD_EXPORTS) \
3040 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3041 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3042 case $(srcdir) in \
3043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3044 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3046 esac; \
3047 module_srcdir=texinfo; \
3048 rm -f no-such-file || : ; \
3049 CONFIG_SITE=no-such-file $(SHELL) \
3050 $$s/$$module_srcdir/configure \
3051 --srcdir=$${topdir}/$$module_srcdir \
3052 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3053 --target=${target_alias} \
3054 || exit 1
3055 @endif build-texinfo
3061 .PHONY: all-build-texinfo maybe-all-build-texinfo
3062 maybe-all-build-texinfo:
3063 @if gcc-bootstrap
3064 all-build-texinfo: stage_current
3065 @endif gcc-bootstrap
3066 @if build-texinfo
3067 TARGET-build-texinfo=all
3068 maybe-all-build-texinfo: all-build-texinfo
3069 all-build-texinfo: configure-build-texinfo
3070 @: $(MAKE); $(unstage)
3071 @r=`${PWD_COMMAND}`; export r; \
3072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3073 $(BUILD_EXPORTS) \
3074 (cd $(BUILD_SUBDIR)/texinfo && \
3075 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3076 $(TARGET-build-texinfo))
3077 @endif build-texinfo
3083 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3084 maybe-configure-build-fixincludes:
3085 @if gcc-bootstrap
3086 configure-build-fixincludes: stage_current
3087 @endif gcc-bootstrap
3088 @if build-fixincludes
3089 maybe-configure-build-fixincludes: configure-build-fixincludes
3090 configure-build-fixincludes:
3091 @: $(MAKE); $(unstage)
3092 @r=`${PWD_COMMAND}`; export r; \
3093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3094 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3095 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3096 $(BUILD_EXPORTS) \
3097 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3098 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3099 case $(srcdir) in \
3100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3101 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3103 esac; \
3104 module_srcdir=fixincludes; \
3105 rm -f no-such-file || : ; \
3106 CONFIG_SITE=no-such-file $(SHELL) \
3107 $$s/$$module_srcdir/configure \
3108 --srcdir=$${topdir}/$$module_srcdir \
3109 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3110 --target=${target_alias} \
3111 || exit 1
3112 @endif build-fixincludes
3118 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3119 maybe-all-build-fixincludes:
3120 @if gcc-bootstrap
3121 all-build-fixincludes: stage_current
3122 @endif gcc-bootstrap
3123 @if build-fixincludes
3124 TARGET-build-fixincludes=all
3125 maybe-all-build-fixincludes: all-build-fixincludes
3126 all-build-fixincludes: configure-build-fixincludes
3127 @: $(MAKE); $(unstage)
3128 @r=`${PWD_COMMAND}`; export r; \
3129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3130 $(BUILD_EXPORTS) \
3131 (cd $(BUILD_SUBDIR)/fixincludes && \
3132 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3133 $(TARGET-build-fixincludes))
3134 @endif build-fixincludes
3140 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3141 maybe-configure-build-libcpp:
3142 @if gcc-bootstrap
3143 configure-build-libcpp: stage_current
3144 @endif gcc-bootstrap
3145 @if build-libcpp
3146 maybe-configure-build-libcpp: configure-build-libcpp
3147 configure-build-libcpp:
3148 @: $(MAKE); $(unstage)
3149 @r=`${PWD_COMMAND}`; export r; \
3150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3151 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3152 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3153 $(BUILD_EXPORTS) \
3154 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3155 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3156 case $(srcdir) in \
3157 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3158 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3159 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3160 esac; \
3161 module_srcdir=libcpp; \
3162 rm -f no-such-file || : ; \
3163 CONFIG_SITE=no-such-file $(SHELL) \
3164 $$s/$$module_srcdir/configure \
3165 --srcdir=$${topdir}/$$module_srcdir \
3166 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3167 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3168 || exit 1
3169 @endif build-libcpp
3175 .PHONY: all-build-libcpp maybe-all-build-libcpp
3176 maybe-all-build-libcpp:
3177 @if gcc-bootstrap
3178 all-build-libcpp: stage_current
3179 @endif gcc-bootstrap
3180 @if build-libcpp
3181 TARGET-build-libcpp=all
3182 maybe-all-build-libcpp: all-build-libcpp
3183 all-build-libcpp: configure-build-libcpp
3184 @: $(MAKE); $(unstage)
3185 @r=`${PWD_COMMAND}`; export r; \
3186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3187 $(BUILD_EXPORTS) \
3188 (cd $(BUILD_SUBDIR)/libcpp && \
3189 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3190 $(TARGET-build-libcpp))
3191 @endif build-libcpp
3197 # --------------------------------------
3198 # Modules which run on the host machine
3199 # --------------------------------------
3202 .PHONY: configure-bfd maybe-configure-bfd
3203 maybe-configure-bfd:
3204 @if gcc-bootstrap
3205 configure-bfd: stage_current
3206 @endif gcc-bootstrap
3207 @if bfd
3208 maybe-configure-bfd: configure-bfd
3209 configure-bfd:
3210 @r=`${PWD_COMMAND}`; export r; \
3211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3212 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3214 $(HOST_EXPORTS) \
3215 echo Configuring in $(HOST_SUBDIR)/bfd; \
3216 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3217 case $(srcdir) in \
3218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3219 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3221 esac; \
3222 module_srcdir=bfd; \
3223 $(SHELL) \
3224 $$s/$$module_srcdir/configure \
3225 --srcdir=$${topdir}/$$module_srcdir \
3226 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3227 --target=${target_alias} \
3228 || exit 1
3229 @endif bfd
3233 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3234 maybe-configure-stage1-bfd:
3235 @if bfd-bootstrap
3236 maybe-configure-stage1-bfd: configure-stage1-bfd
3237 configure-stage1-bfd:
3238 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3239 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3240 @r=`${PWD_COMMAND}`; export r; \
3241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3242 TFLAGS="$(STAGE1_TFLAGS)"; \
3243 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3244 $(HOST_EXPORTS) \
3245 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3246 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3247 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3248 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3250 cd $(HOST_SUBDIR)/bfd || exit 1; \
3251 case $(srcdir) in \
3252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3253 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3255 esac; \
3256 module_srcdir=bfd; \
3257 $(SHELL) $$s/$$module_srcdir/configure \
3258 --srcdir=$${topdir}/$$module_srcdir \
3259 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3260 --target=${target_alias} \
3262 $(STAGE1_CONFIGURE_FLAGS)
3263 @endif bfd-bootstrap
3265 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3266 maybe-configure-stage2-bfd:
3267 @if bfd-bootstrap
3268 maybe-configure-stage2-bfd: configure-stage2-bfd
3269 configure-stage2-bfd:
3270 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3271 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3272 @r=`${PWD_COMMAND}`; export r; \
3273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3274 TFLAGS="$(STAGE2_TFLAGS)"; \
3275 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3276 $(HOST_EXPORTS) \
3277 $(POSTSTAGE1_HOST_EXPORTS) \
3278 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3279 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3280 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3281 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3282 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3283 cd $(HOST_SUBDIR)/bfd || exit 1; \
3284 case $(srcdir) in \
3285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3286 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3288 esac; \
3289 module_srcdir=bfd; \
3290 $(SHELL) $$s/$$module_srcdir/configure \
3291 --srcdir=$${topdir}/$$module_srcdir \
3292 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3293 --target=${target_alias} \
3294 --with-build-libsubdir=$(HOST_SUBDIR) \
3295 $(STAGE2_CONFIGURE_FLAGS)
3296 @endif bfd-bootstrap
3298 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3299 maybe-configure-stage3-bfd:
3300 @if bfd-bootstrap
3301 maybe-configure-stage3-bfd: configure-stage3-bfd
3302 configure-stage3-bfd:
3303 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3304 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3305 @r=`${PWD_COMMAND}`; export r; \
3306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3307 TFLAGS="$(STAGE3_TFLAGS)"; \
3308 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3309 $(HOST_EXPORTS) \
3310 $(POSTSTAGE1_HOST_EXPORTS) \
3311 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3312 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3313 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3314 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3316 cd $(HOST_SUBDIR)/bfd || exit 1; \
3317 case $(srcdir) in \
3318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3319 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3321 esac; \
3322 module_srcdir=bfd; \
3323 $(SHELL) $$s/$$module_srcdir/configure \
3324 --srcdir=$${topdir}/$$module_srcdir \
3325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3326 --target=${target_alias} \
3327 --with-build-libsubdir=$(HOST_SUBDIR) \
3328 $(STAGE3_CONFIGURE_FLAGS)
3329 @endif bfd-bootstrap
3331 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3332 maybe-configure-stage4-bfd:
3333 @if bfd-bootstrap
3334 maybe-configure-stage4-bfd: configure-stage4-bfd
3335 configure-stage4-bfd:
3336 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3337 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3338 @r=`${PWD_COMMAND}`; export r; \
3339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3340 TFLAGS="$(STAGE4_TFLAGS)"; \
3341 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3342 $(HOST_EXPORTS) \
3343 $(POSTSTAGE1_HOST_EXPORTS) \
3344 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3345 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3346 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3347 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3349 cd $(HOST_SUBDIR)/bfd || exit 1; \
3350 case $(srcdir) in \
3351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3352 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3354 esac; \
3355 module_srcdir=bfd; \
3356 $(SHELL) $$s/$$module_srcdir/configure \
3357 --srcdir=$${topdir}/$$module_srcdir \
3358 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3359 --target=${target_alias} \
3360 --with-build-libsubdir=$(HOST_SUBDIR) \
3361 $(STAGE4_CONFIGURE_FLAGS)
3362 @endif bfd-bootstrap
3364 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3365 maybe-configure-stageprofile-bfd:
3366 @if bfd-bootstrap
3367 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3368 configure-stageprofile-bfd:
3369 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3370 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3371 @r=`${PWD_COMMAND}`; export r; \
3372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3373 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3374 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3375 $(HOST_EXPORTS) \
3376 $(POSTSTAGE1_HOST_EXPORTS) \
3377 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3378 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3379 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3380 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3382 cd $(HOST_SUBDIR)/bfd || exit 1; \
3383 case $(srcdir) in \
3384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3385 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3387 esac; \
3388 module_srcdir=bfd; \
3389 $(SHELL) $$s/$$module_srcdir/configure \
3390 --srcdir=$${topdir}/$$module_srcdir \
3391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3392 --target=${target_alias} \
3393 --with-build-libsubdir=$(HOST_SUBDIR) \
3394 $(STAGEprofile_CONFIGURE_FLAGS)
3395 @endif bfd-bootstrap
3397 .PHONY: configure-stagetrain-bfd maybe-configure-stagetrain-bfd
3398 maybe-configure-stagetrain-bfd:
3399 @if bfd-bootstrap
3400 maybe-configure-stagetrain-bfd: configure-stagetrain-bfd
3401 configure-stagetrain-bfd:
3402 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3403 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3404 @r=`${PWD_COMMAND}`; export r; \
3405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3406 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3407 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3408 $(HOST_EXPORTS) \
3409 $(POSTSTAGE1_HOST_EXPORTS) \
3410 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
3411 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
3412 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
3413 echo Configuring stage train in $(HOST_SUBDIR)/bfd; \
3414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3415 cd $(HOST_SUBDIR)/bfd || exit 1; \
3416 case $(srcdir) in \
3417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3418 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3420 esac; \
3421 module_srcdir=bfd; \
3422 $(SHELL) $$s/$$module_srcdir/configure \
3423 --srcdir=$${topdir}/$$module_srcdir \
3424 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3425 --target=${target_alias} \
3426 --with-build-libsubdir=$(HOST_SUBDIR) \
3427 $(STAGEtrain_CONFIGURE_FLAGS)
3428 @endif bfd-bootstrap
3430 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3431 maybe-configure-stagefeedback-bfd:
3432 @if bfd-bootstrap
3433 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3434 configure-stagefeedback-bfd:
3435 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3436 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3437 @r=`${PWD_COMMAND}`; export r; \
3438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3439 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3440 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3441 $(HOST_EXPORTS) \
3442 $(POSTSTAGE1_HOST_EXPORTS) \
3443 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3444 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3445 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3446 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3448 cd $(HOST_SUBDIR)/bfd || exit 1; \
3449 case $(srcdir) in \
3450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3451 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3453 esac; \
3454 module_srcdir=bfd; \
3455 $(SHELL) $$s/$$module_srcdir/configure \
3456 --srcdir=$${topdir}/$$module_srcdir \
3457 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3458 --target=${target_alias} \
3459 --with-build-libsubdir=$(HOST_SUBDIR) \
3460 $(STAGEfeedback_CONFIGURE_FLAGS)
3461 @endif bfd-bootstrap
3463 .PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3464 maybe-configure-stageautoprofile-bfd:
3465 @if bfd-bootstrap
3466 maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3467 configure-stageautoprofile-bfd:
3468 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3469 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3470 @r=`${PWD_COMMAND}`; export r; \
3471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3472 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3473 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3474 $(HOST_EXPORTS) \
3475 $(POSTSTAGE1_HOST_EXPORTS) \
3476 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3477 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3478 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3479 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3481 cd $(HOST_SUBDIR)/bfd || exit 1; \
3482 case $(srcdir) in \
3483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3484 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3486 esac; \
3487 module_srcdir=bfd; \
3488 $(SHELL) $$s/$$module_srcdir/configure \
3489 --srcdir=$${topdir}/$$module_srcdir \
3490 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3491 --target=${target_alias} \
3492 --with-build-libsubdir=$(HOST_SUBDIR) \
3493 $(STAGEautoprofile_CONFIGURE_FLAGS)
3494 @endif bfd-bootstrap
3496 .PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3497 maybe-configure-stageautofeedback-bfd:
3498 @if bfd-bootstrap
3499 maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3500 configure-stageautofeedback-bfd:
3501 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3502 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3503 @r=`${PWD_COMMAND}`; export r; \
3504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3505 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3506 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3507 $(HOST_EXPORTS) \
3508 $(POSTSTAGE1_HOST_EXPORTS) \
3509 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3510 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3511 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3512 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3514 cd $(HOST_SUBDIR)/bfd || exit 1; \
3515 case $(srcdir) in \
3516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3517 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3519 esac; \
3520 module_srcdir=bfd; \
3521 $(SHELL) $$s/$$module_srcdir/configure \
3522 --srcdir=$${topdir}/$$module_srcdir \
3523 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3524 --target=${target_alias} \
3525 --with-build-libsubdir=$(HOST_SUBDIR) \
3526 $(STAGEautofeedback_CONFIGURE_FLAGS)
3527 @endif bfd-bootstrap
3533 .PHONY: all-bfd maybe-all-bfd
3534 maybe-all-bfd:
3535 @if gcc-bootstrap
3536 all-bfd: stage_current
3537 @endif gcc-bootstrap
3538 @if bfd
3539 TARGET-bfd=all
3540 maybe-all-bfd: all-bfd
3541 all-bfd: configure-bfd
3542 @r=`${PWD_COMMAND}`; export r; \
3543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3544 $(HOST_EXPORTS) \
3545 (cd $(HOST_SUBDIR)/bfd && \
3546 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3547 $(TARGET-bfd))
3548 @endif bfd
3552 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3553 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3554 maybe-all-stage1-bfd:
3555 maybe-clean-stage1-bfd:
3556 @if bfd-bootstrap
3557 maybe-all-stage1-bfd: all-stage1-bfd
3558 all-stage1: all-stage1-bfd
3559 TARGET-stage1-bfd = $(TARGET-bfd)
3560 all-stage1-bfd: configure-stage1-bfd
3561 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3562 @r=`${PWD_COMMAND}`; export r; \
3563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3564 TFLAGS="$(STAGE1_TFLAGS)"; \
3565 $(HOST_EXPORTS) \
3566 cd $(HOST_SUBDIR)/bfd && \
3568 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3569 CFLAGS="$(STAGE1_CFLAGS)" \
3570 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3571 LIBCFLAGS="$(LIBCFLAGS)" \
3572 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3573 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3574 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3575 $(EXTRA_HOST_FLAGS) \
3576 $(STAGE1_FLAGS_TO_PASS) \
3577 TFLAGS="$(STAGE1_TFLAGS)" \
3578 $(TARGET-stage1-bfd)
3580 maybe-clean-stage1-bfd: clean-stage1-bfd
3581 clean-stage1: clean-stage1-bfd
3582 clean-stage1-bfd:
3583 @if [ $(current_stage) = stage1 ]; then \
3584 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3585 else \
3586 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3587 $(MAKE) stage1-start; \
3588 fi; \
3589 cd $(HOST_SUBDIR)/bfd && \
3590 $(MAKE) $(EXTRA_HOST_FLAGS) \
3591 $(STAGE1_FLAGS_TO_PASS) clean
3592 @endif bfd-bootstrap
3595 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3596 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3597 maybe-all-stage2-bfd:
3598 maybe-clean-stage2-bfd:
3599 @if bfd-bootstrap
3600 maybe-all-stage2-bfd: all-stage2-bfd
3601 all-stage2: all-stage2-bfd
3602 TARGET-stage2-bfd = $(TARGET-bfd)
3603 all-stage2-bfd: configure-stage2-bfd
3604 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3605 @r=`${PWD_COMMAND}`; export r; \
3606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3607 TFLAGS="$(STAGE2_TFLAGS)"; \
3608 $(HOST_EXPORTS) \
3609 $(POSTSTAGE1_HOST_EXPORTS) \
3610 cd $(HOST_SUBDIR)/bfd && \
3612 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3613 CFLAGS="$(STAGE2_CFLAGS)" \
3614 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3615 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3616 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3617 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3618 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3619 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3620 TFLAGS="$(STAGE2_TFLAGS)" \
3621 $(TARGET-stage2-bfd)
3623 maybe-clean-stage2-bfd: clean-stage2-bfd
3624 clean-stage2: clean-stage2-bfd
3625 clean-stage2-bfd:
3626 @if [ $(current_stage) = stage2 ]; then \
3627 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3628 else \
3629 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3630 $(MAKE) stage2-start; \
3631 fi; \
3632 cd $(HOST_SUBDIR)/bfd && \
3633 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3634 @endif bfd-bootstrap
3637 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3638 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3639 maybe-all-stage3-bfd:
3640 maybe-clean-stage3-bfd:
3641 @if bfd-bootstrap
3642 maybe-all-stage3-bfd: all-stage3-bfd
3643 all-stage3: all-stage3-bfd
3644 TARGET-stage3-bfd = $(TARGET-bfd)
3645 all-stage3-bfd: configure-stage3-bfd
3646 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3647 @r=`${PWD_COMMAND}`; export r; \
3648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3649 TFLAGS="$(STAGE3_TFLAGS)"; \
3650 $(HOST_EXPORTS) \
3651 $(POSTSTAGE1_HOST_EXPORTS) \
3652 cd $(HOST_SUBDIR)/bfd && \
3654 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3655 CFLAGS="$(STAGE3_CFLAGS)" \
3656 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3657 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3658 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3659 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3660 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3661 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3662 TFLAGS="$(STAGE3_TFLAGS)" \
3663 $(TARGET-stage3-bfd)
3665 maybe-clean-stage3-bfd: clean-stage3-bfd
3666 clean-stage3: clean-stage3-bfd
3667 clean-stage3-bfd:
3668 @if [ $(current_stage) = stage3 ]; then \
3669 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3670 else \
3671 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3672 $(MAKE) stage3-start; \
3673 fi; \
3674 cd $(HOST_SUBDIR)/bfd && \
3675 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3676 @endif bfd-bootstrap
3679 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3680 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3681 maybe-all-stage4-bfd:
3682 maybe-clean-stage4-bfd:
3683 @if bfd-bootstrap
3684 maybe-all-stage4-bfd: all-stage4-bfd
3685 all-stage4: all-stage4-bfd
3686 TARGET-stage4-bfd = $(TARGET-bfd)
3687 all-stage4-bfd: configure-stage4-bfd
3688 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3689 @r=`${PWD_COMMAND}`; export r; \
3690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3691 TFLAGS="$(STAGE4_TFLAGS)"; \
3692 $(HOST_EXPORTS) \
3693 $(POSTSTAGE1_HOST_EXPORTS) \
3694 cd $(HOST_SUBDIR)/bfd && \
3696 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3697 CFLAGS="$(STAGE4_CFLAGS)" \
3698 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3699 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3700 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3701 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3702 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3703 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3704 TFLAGS="$(STAGE4_TFLAGS)" \
3705 $(TARGET-stage4-bfd)
3707 maybe-clean-stage4-bfd: clean-stage4-bfd
3708 clean-stage4: clean-stage4-bfd
3709 clean-stage4-bfd:
3710 @if [ $(current_stage) = stage4 ]; then \
3711 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3712 else \
3713 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3714 $(MAKE) stage4-start; \
3715 fi; \
3716 cd $(HOST_SUBDIR)/bfd && \
3717 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3718 @endif bfd-bootstrap
3721 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3722 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3723 maybe-all-stageprofile-bfd:
3724 maybe-clean-stageprofile-bfd:
3725 @if bfd-bootstrap
3726 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3727 all-stageprofile: all-stageprofile-bfd
3728 TARGET-stageprofile-bfd = $(TARGET-bfd)
3729 all-stageprofile-bfd: configure-stageprofile-bfd
3730 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3731 @r=`${PWD_COMMAND}`; export r; \
3732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3733 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3734 $(HOST_EXPORTS) \
3735 $(POSTSTAGE1_HOST_EXPORTS) \
3736 cd $(HOST_SUBDIR)/bfd && \
3738 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3739 CFLAGS="$(STAGEprofile_CFLAGS)" \
3740 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3741 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3742 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3743 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3744 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3745 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3746 TFLAGS="$(STAGEprofile_TFLAGS)" \
3747 $(TARGET-stageprofile-bfd)
3749 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3750 clean-stageprofile: clean-stageprofile-bfd
3751 clean-stageprofile-bfd:
3752 @if [ $(current_stage) = stageprofile ]; then \
3753 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3754 else \
3755 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3756 $(MAKE) stageprofile-start; \
3757 fi; \
3758 cd $(HOST_SUBDIR)/bfd && \
3759 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3760 @endif bfd-bootstrap
3763 .PHONY: all-stagetrain-bfd maybe-all-stagetrain-bfd
3764 .PHONY: clean-stagetrain-bfd maybe-clean-stagetrain-bfd
3765 maybe-all-stagetrain-bfd:
3766 maybe-clean-stagetrain-bfd:
3767 @if bfd-bootstrap
3768 maybe-all-stagetrain-bfd: all-stagetrain-bfd
3769 all-stagetrain: all-stagetrain-bfd
3770 TARGET-stagetrain-bfd = $(TARGET-bfd)
3771 all-stagetrain-bfd: configure-stagetrain-bfd
3772 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3773 @r=`${PWD_COMMAND}`; export r; \
3774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3775 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3776 $(HOST_EXPORTS) \
3777 $(POSTSTAGE1_HOST_EXPORTS) \
3778 cd $(HOST_SUBDIR)/bfd && \
3780 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3781 CFLAGS="$(STAGEtrain_CFLAGS)" \
3782 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
3783 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
3784 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3785 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3786 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3787 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3788 TFLAGS="$(STAGEtrain_TFLAGS)" \
3789 $(TARGET-stagetrain-bfd)
3791 maybe-clean-stagetrain-bfd: clean-stagetrain-bfd
3792 clean-stagetrain: clean-stagetrain-bfd
3793 clean-stagetrain-bfd:
3794 @if [ $(current_stage) = stagetrain ]; then \
3795 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3796 else \
3797 [ -f $(HOST_SUBDIR)/stagetrain-bfd/Makefile ] || exit 0; \
3798 $(MAKE) stagetrain-start; \
3799 fi; \
3800 cd $(HOST_SUBDIR)/bfd && \
3801 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3802 @endif bfd-bootstrap
3805 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3806 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3807 maybe-all-stagefeedback-bfd:
3808 maybe-clean-stagefeedback-bfd:
3809 @if bfd-bootstrap
3810 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3811 all-stagefeedback: all-stagefeedback-bfd
3812 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3813 all-stagefeedback-bfd: configure-stagefeedback-bfd
3814 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3815 @r=`${PWD_COMMAND}`; export r; \
3816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3817 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3818 $(HOST_EXPORTS) \
3819 $(POSTSTAGE1_HOST_EXPORTS) \
3820 cd $(HOST_SUBDIR)/bfd && \
3822 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3823 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3824 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3825 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3826 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3827 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3828 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3829 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3830 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3831 $(TARGET-stagefeedback-bfd)
3833 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3834 clean-stagefeedback: clean-stagefeedback-bfd
3835 clean-stagefeedback-bfd:
3836 @if [ $(current_stage) = stagefeedback ]; then \
3837 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3838 else \
3839 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3840 $(MAKE) stagefeedback-start; \
3841 fi; \
3842 cd $(HOST_SUBDIR)/bfd && \
3843 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3844 @endif bfd-bootstrap
3847 .PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
3848 .PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
3849 maybe-all-stageautoprofile-bfd:
3850 maybe-clean-stageautoprofile-bfd:
3851 @if bfd-bootstrap
3852 maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
3853 all-stageautoprofile: all-stageautoprofile-bfd
3854 TARGET-stageautoprofile-bfd = $(TARGET-bfd)
3855 all-stageautoprofile-bfd: configure-stageautoprofile-bfd
3856 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3857 @r=`${PWD_COMMAND}`; export r; \
3858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3859 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3860 $(HOST_EXPORTS) \
3861 $(POSTSTAGE1_HOST_EXPORTS) \
3862 cd $(HOST_SUBDIR)/bfd && \
3863 $$s/gcc/config/i386/$(AUTO_PROFILE) \
3864 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3865 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
3866 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
3867 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
3868 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3869 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3870 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3871 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3872 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
3873 $(TARGET-stageautoprofile-bfd)
3875 maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
3876 clean-stageautoprofile: clean-stageautoprofile-bfd
3877 clean-stageautoprofile-bfd:
3878 @if [ $(current_stage) = stageautoprofile ]; then \
3879 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3880 else \
3881 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
3882 $(MAKE) stageautoprofile-start; \
3883 fi; \
3884 cd $(HOST_SUBDIR)/bfd && \
3885 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3886 @endif bfd-bootstrap
3889 .PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
3890 .PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
3891 maybe-all-stageautofeedback-bfd:
3892 maybe-clean-stageautofeedback-bfd:
3893 @if bfd-bootstrap
3894 maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
3895 all-stageautofeedback: all-stageautofeedback-bfd
3896 TARGET-stageautofeedback-bfd = $(TARGET-bfd)
3897 all-stageautofeedback-bfd: configure-stageautofeedback-bfd
3898 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3899 @r=`${PWD_COMMAND}`; export r; \
3900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3901 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3902 $(HOST_EXPORTS) \
3903 $(POSTSTAGE1_HOST_EXPORTS) \
3904 cd $(HOST_SUBDIR)/bfd && \
3906 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3907 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
3908 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
3909 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
3910 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3911 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3912 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3913 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3914 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
3915 $(TARGET-stageautofeedback-bfd)
3917 maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
3918 clean-stageautofeedback: clean-stageautofeedback-bfd
3919 clean-stageautofeedback-bfd:
3920 @if [ $(current_stage) = stageautofeedback ]; then \
3921 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3922 else \
3923 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
3924 $(MAKE) stageautofeedback-start; \
3925 fi; \
3926 cd $(HOST_SUBDIR)/bfd && \
3927 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3928 @endif bfd-bootstrap
3934 .PHONY: check-bfd maybe-check-bfd
3935 maybe-check-bfd:
3936 @if bfd
3937 maybe-check-bfd: check-bfd
3939 check-bfd:
3940 @: $(MAKE); $(unstage)
3941 @r=`${PWD_COMMAND}`; export r; \
3942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3943 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
3944 (cd $(HOST_SUBDIR)/bfd && \
3945 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
3947 @endif bfd
3949 .PHONY: install-bfd maybe-install-bfd
3950 maybe-install-bfd:
3951 @if bfd
3952 maybe-install-bfd: install-bfd
3954 install-bfd: installdirs
3955 @: $(MAKE); $(unstage)
3956 @r=`${PWD_COMMAND}`; export r; \
3957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3958 $(HOST_EXPORTS) \
3959 (cd $(HOST_SUBDIR)/bfd && \
3960 $(MAKE) $(FLAGS_TO_PASS) install)
3962 @endif bfd
3964 .PHONY: install-strip-bfd maybe-install-strip-bfd
3965 maybe-install-strip-bfd:
3966 @if bfd
3967 maybe-install-strip-bfd: install-strip-bfd
3969 install-strip-bfd: installdirs
3970 @: $(MAKE); $(unstage)
3971 @r=`${PWD_COMMAND}`; export r; \
3972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3973 $(HOST_EXPORTS) \
3974 (cd $(HOST_SUBDIR)/bfd && \
3975 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3977 @endif bfd
3979 # Other targets (info, dvi, pdf, etc.)
3981 .PHONY: maybe-info-bfd info-bfd
3982 maybe-info-bfd:
3983 @if bfd
3984 maybe-info-bfd: info-bfd
3986 info-bfd: \
3987 configure-bfd
3988 @[ -f ./bfd/Makefile ] || exit 0; \
3989 r=`${PWD_COMMAND}`; export r; \
3990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3991 $(HOST_EXPORTS) \
3992 for flag in $(EXTRA_HOST_FLAGS) ; do \
3993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3994 done; \
3995 echo "Doing info in bfd"; \
3996 (cd $(HOST_SUBDIR)/bfd && \
3997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3999 "RANLIB=$${RANLIB}" \
4000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4001 info) \
4002 || exit 1
4004 @endif bfd
4006 .PHONY: maybe-dvi-bfd dvi-bfd
4007 maybe-dvi-bfd:
4008 @if bfd
4009 maybe-dvi-bfd: dvi-bfd
4011 dvi-bfd: \
4012 configure-bfd
4013 @[ -f ./bfd/Makefile ] || exit 0; \
4014 r=`${PWD_COMMAND}`; export r; \
4015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4016 $(HOST_EXPORTS) \
4017 for flag in $(EXTRA_HOST_FLAGS) ; do \
4018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4019 done; \
4020 echo "Doing dvi in bfd"; \
4021 (cd $(HOST_SUBDIR)/bfd && \
4022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4024 "RANLIB=$${RANLIB}" \
4025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4026 dvi) \
4027 || exit 1
4029 @endif bfd
4031 .PHONY: maybe-pdf-bfd pdf-bfd
4032 maybe-pdf-bfd:
4033 @if bfd
4034 maybe-pdf-bfd: pdf-bfd
4036 pdf-bfd: \
4037 configure-bfd
4038 @[ -f ./bfd/Makefile ] || exit 0; \
4039 r=`${PWD_COMMAND}`; export r; \
4040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4041 $(HOST_EXPORTS) \
4042 for flag in $(EXTRA_HOST_FLAGS) ; do \
4043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4044 done; \
4045 echo "Doing pdf in bfd"; \
4046 (cd $(HOST_SUBDIR)/bfd && \
4047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4049 "RANLIB=$${RANLIB}" \
4050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4051 pdf) \
4052 || exit 1
4054 @endif bfd
4056 .PHONY: maybe-html-bfd html-bfd
4057 maybe-html-bfd:
4058 @if bfd
4059 maybe-html-bfd: html-bfd
4061 html-bfd: \
4062 configure-bfd
4063 @[ -f ./bfd/Makefile ] || exit 0; \
4064 r=`${PWD_COMMAND}`; export r; \
4065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4066 $(HOST_EXPORTS) \
4067 for flag in $(EXTRA_HOST_FLAGS) ; do \
4068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4069 done; \
4070 echo "Doing html in bfd"; \
4071 (cd $(HOST_SUBDIR)/bfd && \
4072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4074 "RANLIB=$${RANLIB}" \
4075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4076 html) \
4077 || exit 1
4079 @endif bfd
4081 .PHONY: maybe-TAGS-bfd TAGS-bfd
4082 maybe-TAGS-bfd:
4083 @if bfd
4084 maybe-TAGS-bfd: TAGS-bfd
4086 TAGS-bfd: \
4087 configure-bfd
4088 @[ -f ./bfd/Makefile ] || exit 0; \
4089 r=`${PWD_COMMAND}`; export r; \
4090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4091 $(HOST_EXPORTS) \
4092 for flag in $(EXTRA_HOST_FLAGS) ; do \
4093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4094 done; \
4095 echo "Doing TAGS in bfd"; \
4096 (cd $(HOST_SUBDIR)/bfd && \
4097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4099 "RANLIB=$${RANLIB}" \
4100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4101 TAGS) \
4102 || exit 1
4104 @endif bfd
4106 .PHONY: maybe-install-info-bfd install-info-bfd
4107 maybe-install-info-bfd:
4108 @if bfd
4109 maybe-install-info-bfd: install-info-bfd
4111 install-info-bfd: \
4112 configure-bfd \
4113 info-bfd
4114 @[ -f ./bfd/Makefile ] || exit 0; \
4115 r=`${PWD_COMMAND}`; export r; \
4116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4117 $(HOST_EXPORTS) \
4118 for flag in $(EXTRA_HOST_FLAGS) ; do \
4119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4120 done; \
4121 echo "Doing install-info in bfd"; \
4122 (cd $(HOST_SUBDIR)/bfd && \
4123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4125 "RANLIB=$${RANLIB}" \
4126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4127 install-info) \
4128 || exit 1
4130 @endif bfd
4132 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
4133 maybe-install-pdf-bfd:
4134 @if bfd
4135 maybe-install-pdf-bfd: install-pdf-bfd
4137 install-pdf-bfd: \
4138 configure-bfd \
4139 pdf-bfd
4140 @[ -f ./bfd/Makefile ] || exit 0; \
4141 r=`${PWD_COMMAND}`; export r; \
4142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4143 $(HOST_EXPORTS) \
4144 for flag in $(EXTRA_HOST_FLAGS) ; do \
4145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4146 done; \
4147 echo "Doing install-pdf in bfd"; \
4148 (cd $(HOST_SUBDIR)/bfd && \
4149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4151 "RANLIB=$${RANLIB}" \
4152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4153 install-pdf) \
4154 || exit 1
4156 @endif bfd
4158 .PHONY: maybe-install-html-bfd install-html-bfd
4159 maybe-install-html-bfd:
4160 @if bfd
4161 maybe-install-html-bfd: install-html-bfd
4163 install-html-bfd: \
4164 configure-bfd \
4165 html-bfd
4166 @[ -f ./bfd/Makefile ] || exit 0; \
4167 r=`${PWD_COMMAND}`; export r; \
4168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4169 $(HOST_EXPORTS) \
4170 for flag in $(EXTRA_HOST_FLAGS) ; do \
4171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4172 done; \
4173 echo "Doing install-html in bfd"; \
4174 (cd $(HOST_SUBDIR)/bfd && \
4175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4177 "RANLIB=$${RANLIB}" \
4178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4179 install-html) \
4180 || exit 1
4182 @endif bfd
4184 .PHONY: maybe-installcheck-bfd installcheck-bfd
4185 maybe-installcheck-bfd:
4186 @if bfd
4187 maybe-installcheck-bfd: installcheck-bfd
4189 installcheck-bfd: \
4190 configure-bfd
4191 @[ -f ./bfd/Makefile ] || exit 0; \
4192 r=`${PWD_COMMAND}`; export r; \
4193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4194 $(HOST_EXPORTS) \
4195 for flag in $(EXTRA_HOST_FLAGS) ; do \
4196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4197 done; \
4198 echo "Doing installcheck in bfd"; \
4199 (cd $(HOST_SUBDIR)/bfd && \
4200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4202 "RANLIB=$${RANLIB}" \
4203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4204 installcheck) \
4205 || exit 1
4207 @endif bfd
4209 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4210 maybe-mostlyclean-bfd:
4211 @if bfd
4212 maybe-mostlyclean-bfd: mostlyclean-bfd
4214 mostlyclean-bfd:
4215 @[ -f ./bfd/Makefile ] || exit 0; \
4216 r=`${PWD_COMMAND}`; export r; \
4217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4218 $(HOST_EXPORTS) \
4219 for flag in $(EXTRA_HOST_FLAGS) ; do \
4220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4221 done; \
4222 echo "Doing mostlyclean in bfd"; \
4223 (cd $(HOST_SUBDIR)/bfd && \
4224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4226 "RANLIB=$${RANLIB}" \
4227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4228 mostlyclean) \
4229 || exit 1
4231 @endif bfd
4233 .PHONY: maybe-clean-bfd clean-bfd
4234 maybe-clean-bfd:
4235 @if bfd
4236 maybe-clean-bfd: clean-bfd
4238 clean-bfd:
4239 @[ -f ./bfd/Makefile ] || exit 0; \
4240 r=`${PWD_COMMAND}`; export r; \
4241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4242 $(HOST_EXPORTS) \
4243 for flag in $(EXTRA_HOST_FLAGS) ; do \
4244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4245 done; \
4246 echo "Doing clean in bfd"; \
4247 (cd $(HOST_SUBDIR)/bfd && \
4248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4250 "RANLIB=$${RANLIB}" \
4251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4252 clean) \
4253 || exit 1
4255 @endif bfd
4257 .PHONY: maybe-distclean-bfd distclean-bfd
4258 maybe-distclean-bfd:
4259 @if bfd
4260 maybe-distclean-bfd: distclean-bfd
4262 distclean-bfd:
4263 @[ -f ./bfd/Makefile ] || exit 0; \
4264 r=`${PWD_COMMAND}`; export r; \
4265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4266 $(HOST_EXPORTS) \
4267 for flag in $(EXTRA_HOST_FLAGS) ; do \
4268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4269 done; \
4270 echo "Doing distclean in bfd"; \
4271 (cd $(HOST_SUBDIR)/bfd && \
4272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4274 "RANLIB=$${RANLIB}" \
4275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4276 distclean) \
4277 || exit 1
4279 @endif bfd
4281 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4282 maybe-maintainer-clean-bfd:
4283 @if bfd
4284 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4286 maintainer-clean-bfd:
4287 @[ -f ./bfd/Makefile ] || exit 0; \
4288 r=`${PWD_COMMAND}`; export r; \
4289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4290 $(HOST_EXPORTS) \
4291 for flag in $(EXTRA_HOST_FLAGS) ; do \
4292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4293 done; \
4294 echo "Doing maintainer-clean in bfd"; \
4295 (cd $(HOST_SUBDIR)/bfd && \
4296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4298 "RANLIB=$${RANLIB}" \
4299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4300 maintainer-clean) \
4301 || exit 1
4303 @endif bfd
4307 .PHONY: configure-opcodes maybe-configure-opcodes
4308 maybe-configure-opcodes:
4309 @if gcc-bootstrap
4310 configure-opcodes: stage_current
4311 @endif gcc-bootstrap
4312 @if opcodes
4313 maybe-configure-opcodes: configure-opcodes
4314 configure-opcodes:
4315 @r=`${PWD_COMMAND}`; export r; \
4316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4317 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4318 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4319 $(HOST_EXPORTS) \
4320 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4321 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4322 case $(srcdir) in \
4323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4324 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4326 esac; \
4327 module_srcdir=opcodes; \
4328 $(SHELL) \
4329 $$s/$$module_srcdir/configure \
4330 --srcdir=$${topdir}/$$module_srcdir \
4331 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4332 --target=${target_alias} \
4333 || exit 1
4334 @endif opcodes
4338 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4339 maybe-configure-stage1-opcodes:
4340 @if opcodes-bootstrap
4341 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4342 configure-stage1-opcodes:
4343 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4344 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4345 @r=`${PWD_COMMAND}`; export r; \
4346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4347 TFLAGS="$(STAGE1_TFLAGS)"; \
4348 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4349 $(HOST_EXPORTS) \
4350 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4351 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4352 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4353 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4354 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4355 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4356 case $(srcdir) in \
4357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4358 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4360 esac; \
4361 module_srcdir=opcodes; \
4362 $(SHELL) $$s/$$module_srcdir/configure \
4363 --srcdir=$${topdir}/$$module_srcdir \
4364 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4365 --target=${target_alias} \
4367 $(STAGE1_CONFIGURE_FLAGS)
4368 @endif opcodes-bootstrap
4370 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4371 maybe-configure-stage2-opcodes:
4372 @if opcodes-bootstrap
4373 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4374 configure-stage2-opcodes:
4375 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4376 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4377 @r=`${PWD_COMMAND}`; export r; \
4378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4379 TFLAGS="$(STAGE2_TFLAGS)"; \
4380 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4381 $(HOST_EXPORTS) \
4382 $(POSTSTAGE1_HOST_EXPORTS) \
4383 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4384 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4385 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4386 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4387 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4388 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4389 case $(srcdir) in \
4390 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4391 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4392 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4393 esac; \
4394 module_srcdir=opcodes; \
4395 $(SHELL) $$s/$$module_srcdir/configure \
4396 --srcdir=$${topdir}/$$module_srcdir \
4397 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4398 --target=${target_alias} \
4399 --with-build-libsubdir=$(HOST_SUBDIR) \
4400 $(STAGE2_CONFIGURE_FLAGS)
4401 @endif opcodes-bootstrap
4403 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4404 maybe-configure-stage3-opcodes:
4405 @if opcodes-bootstrap
4406 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4407 configure-stage3-opcodes:
4408 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4409 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4410 @r=`${PWD_COMMAND}`; export r; \
4411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4412 TFLAGS="$(STAGE3_TFLAGS)"; \
4413 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4414 $(HOST_EXPORTS) \
4415 $(POSTSTAGE1_HOST_EXPORTS) \
4416 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4417 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4418 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4419 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4421 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4422 case $(srcdir) in \
4423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4424 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4426 esac; \
4427 module_srcdir=opcodes; \
4428 $(SHELL) $$s/$$module_srcdir/configure \
4429 --srcdir=$${topdir}/$$module_srcdir \
4430 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4431 --target=${target_alias} \
4432 --with-build-libsubdir=$(HOST_SUBDIR) \
4433 $(STAGE3_CONFIGURE_FLAGS)
4434 @endif opcodes-bootstrap
4436 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4437 maybe-configure-stage4-opcodes:
4438 @if opcodes-bootstrap
4439 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4440 configure-stage4-opcodes:
4441 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4442 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4443 @r=`${PWD_COMMAND}`; export r; \
4444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4445 TFLAGS="$(STAGE4_TFLAGS)"; \
4446 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4447 $(HOST_EXPORTS) \
4448 $(POSTSTAGE1_HOST_EXPORTS) \
4449 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4450 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4451 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4452 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4454 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4455 case $(srcdir) in \
4456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4457 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4459 esac; \
4460 module_srcdir=opcodes; \
4461 $(SHELL) $$s/$$module_srcdir/configure \
4462 --srcdir=$${topdir}/$$module_srcdir \
4463 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4464 --target=${target_alias} \
4465 --with-build-libsubdir=$(HOST_SUBDIR) \
4466 $(STAGE4_CONFIGURE_FLAGS)
4467 @endif opcodes-bootstrap
4469 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4470 maybe-configure-stageprofile-opcodes:
4471 @if opcodes-bootstrap
4472 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4473 configure-stageprofile-opcodes:
4474 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4475 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4476 @r=`${PWD_COMMAND}`; export r; \
4477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4478 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4479 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4480 $(HOST_EXPORTS) \
4481 $(POSTSTAGE1_HOST_EXPORTS) \
4482 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4483 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4484 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4485 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4487 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4488 case $(srcdir) in \
4489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4490 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4492 esac; \
4493 module_srcdir=opcodes; \
4494 $(SHELL) $$s/$$module_srcdir/configure \
4495 --srcdir=$${topdir}/$$module_srcdir \
4496 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4497 --target=${target_alias} \
4498 --with-build-libsubdir=$(HOST_SUBDIR) \
4499 $(STAGEprofile_CONFIGURE_FLAGS)
4500 @endif opcodes-bootstrap
4502 .PHONY: configure-stagetrain-opcodes maybe-configure-stagetrain-opcodes
4503 maybe-configure-stagetrain-opcodes:
4504 @if opcodes-bootstrap
4505 maybe-configure-stagetrain-opcodes: configure-stagetrain-opcodes
4506 configure-stagetrain-opcodes:
4507 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4508 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4509 @r=`${PWD_COMMAND}`; export r; \
4510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4511 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4512 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4513 $(HOST_EXPORTS) \
4514 $(POSTSTAGE1_HOST_EXPORTS) \
4515 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
4516 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
4517 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
4518 echo Configuring stage train in $(HOST_SUBDIR)/opcodes; \
4519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4520 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4521 case $(srcdir) in \
4522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4523 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4525 esac; \
4526 module_srcdir=opcodes; \
4527 $(SHELL) $$s/$$module_srcdir/configure \
4528 --srcdir=$${topdir}/$$module_srcdir \
4529 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4530 --target=${target_alias} \
4531 --with-build-libsubdir=$(HOST_SUBDIR) \
4532 $(STAGEtrain_CONFIGURE_FLAGS)
4533 @endif opcodes-bootstrap
4535 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4536 maybe-configure-stagefeedback-opcodes:
4537 @if opcodes-bootstrap
4538 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4539 configure-stagefeedback-opcodes:
4540 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4541 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4542 @r=`${PWD_COMMAND}`; export r; \
4543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4544 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4545 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4546 $(HOST_EXPORTS) \
4547 $(POSTSTAGE1_HOST_EXPORTS) \
4548 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4549 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4550 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4551 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4553 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4554 case $(srcdir) in \
4555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4556 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4558 esac; \
4559 module_srcdir=opcodes; \
4560 $(SHELL) $$s/$$module_srcdir/configure \
4561 --srcdir=$${topdir}/$$module_srcdir \
4562 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4563 --target=${target_alias} \
4564 --with-build-libsubdir=$(HOST_SUBDIR) \
4565 $(STAGEfeedback_CONFIGURE_FLAGS)
4566 @endif opcodes-bootstrap
4568 .PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4569 maybe-configure-stageautoprofile-opcodes:
4570 @if opcodes-bootstrap
4571 maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4572 configure-stageautoprofile-opcodes:
4573 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4574 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4575 @r=`${PWD_COMMAND}`; export r; \
4576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4577 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4578 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4579 $(HOST_EXPORTS) \
4580 $(POSTSTAGE1_HOST_EXPORTS) \
4581 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4582 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4583 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4584 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4586 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4587 case $(srcdir) in \
4588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4589 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4591 esac; \
4592 module_srcdir=opcodes; \
4593 $(SHELL) $$s/$$module_srcdir/configure \
4594 --srcdir=$${topdir}/$$module_srcdir \
4595 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4596 --target=${target_alias} \
4597 --with-build-libsubdir=$(HOST_SUBDIR) \
4598 $(STAGEautoprofile_CONFIGURE_FLAGS)
4599 @endif opcodes-bootstrap
4601 .PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4602 maybe-configure-stageautofeedback-opcodes:
4603 @if opcodes-bootstrap
4604 maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4605 configure-stageautofeedback-opcodes:
4606 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4607 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4608 @r=`${PWD_COMMAND}`; export r; \
4609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4610 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4611 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4612 $(HOST_EXPORTS) \
4613 $(POSTSTAGE1_HOST_EXPORTS) \
4614 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4615 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4616 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4617 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4618 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4619 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4620 case $(srcdir) in \
4621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4622 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4624 esac; \
4625 module_srcdir=opcodes; \
4626 $(SHELL) $$s/$$module_srcdir/configure \
4627 --srcdir=$${topdir}/$$module_srcdir \
4628 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4629 --target=${target_alias} \
4630 --with-build-libsubdir=$(HOST_SUBDIR) \
4631 $(STAGEautofeedback_CONFIGURE_FLAGS)
4632 @endif opcodes-bootstrap
4638 .PHONY: all-opcodes maybe-all-opcodes
4639 maybe-all-opcodes:
4640 @if gcc-bootstrap
4641 all-opcodes: stage_current
4642 @endif gcc-bootstrap
4643 @if opcodes
4644 TARGET-opcodes=all
4645 maybe-all-opcodes: all-opcodes
4646 all-opcodes: configure-opcodes
4647 @r=`${PWD_COMMAND}`; export r; \
4648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4649 $(HOST_EXPORTS) \
4650 (cd $(HOST_SUBDIR)/opcodes && \
4651 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4652 $(TARGET-opcodes))
4653 @endif opcodes
4657 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4658 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4659 maybe-all-stage1-opcodes:
4660 maybe-clean-stage1-opcodes:
4661 @if opcodes-bootstrap
4662 maybe-all-stage1-opcodes: all-stage1-opcodes
4663 all-stage1: all-stage1-opcodes
4664 TARGET-stage1-opcodes = $(TARGET-opcodes)
4665 all-stage1-opcodes: configure-stage1-opcodes
4666 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4667 @r=`${PWD_COMMAND}`; export r; \
4668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4669 TFLAGS="$(STAGE1_TFLAGS)"; \
4670 $(HOST_EXPORTS) \
4671 cd $(HOST_SUBDIR)/opcodes && \
4673 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4674 CFLAGS="$(STAGE1_CFLAGS)" \
4675 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4676 LIBCFLAGS="$(LIBCFLAGS)" \
4677 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4678 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4679 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4680 $(EXTRA_HOST_FLAGS) \
4681 $(STAGE1_FLAGS_TO_PASS) \
4682 TFLAGS="$(STAGE1_TFLAGS)" \
4683 $(TARGET-stage1-opcodes)
4685 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4686 clean-stage1: clean-stage1-opcodes
4687 clean-stage1-opcodes:
4688 @if [ $(current_stage) = stage1 ]; then \
4689 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4690 else \
4691 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4692 $(MAKE) stage1-start; \
4693 fi; \
4694 cd $(HOST_SUBDIR)/opcodes && \
4695 $(MAKE) $(EXTRA_HOST_FLAGS) \
4696 $(STAGE1_FLAGS_TO_PASS) clean
4697 @endif opcodes-bootstrap
4700 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4701 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4702 maybe-all-stage2-opcodes:
4703 maybe-clean-stage2-opcodes:
4704 @if opcodes-bootstrap
4705 maybe-all-stage2-opcodes: all-stage2-opcodes
4706 all-stage2: all-stage2-opcodes
4707 TARGET-stage2-opcodes = $(TARGET-opcodes)
4708 all-stage2-opcodes: configure-stage2-opcodes
4709 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4710 @r=`${PWD_COMMAND}`; export r; \
4711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4712 TFLAGS="$(STAGE2_TFLAGS)"; \
4713 $(HOST_EXPORTS) \
4714 $(POSTSTAGE1_HOST_EXPORTS) \
4715 cd $(HOST_SUBDIR)/opcodes && \
4717 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4718 CFLAGS="$(STAGE2_CFLAGS)" \
4719 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4720 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4721 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4722 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4723 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4724 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4725 TFLAGS="$(STAGE2_TFLAGS)" \
4726 $(TARGET-stage2-opcodes)
4728 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4729 clean-stage2: clean-stage2-opcodes
4730 clean-stage2-opcodes:
4731 @if [ $(current_stage) = stage2 ]; then \
4732 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4733 else \
4734 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4735 $(MAKE) stage2-start; \
4736 fi; \
4737 cd $(HOST_SUBDIR)/opcodes && \
4738 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4739 @endif opcodes-bootstrap
4742 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4743 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4744 maybe-all-stage3-opcodes:
4745 maybe-clean-stage3-opcodes:
4746 @if opcodes-bootstrap
4747 maybe-all-stage3-opcodes: all-stage3-opcodes
4748 all-stage3: all-stage3-opcodes
4749 TARGET-stage3-opcodes = $(TARGET-opcodes)
4750 all-stage3-opcodes: configure-stage3-opcodes
4751 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4752 @r=`${PWD_COMMAND}`; export r; \
4753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4754 TFLAGS="$(STAGE3_TFLAGS)"; \
4755 $(HOST_EXPORTS) \
4756 $(POSTSTAGE1_HOST_EXPORTS) \
4757 cd $(HOST_SUBDIR)/opcodes && \
4759 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4760 CFLAGS="$(STAGE3_CFLAGS)" \
4761 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4762 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4763 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4764 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4765 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4766 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4767 TFLAGS="$(STAGE3_TFLAGS)" \
4768 $(TARGET-stage3-opcodes)
4770 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4771 clean-stage3: clean-stage3-opcodes
4772 clean-stage3-opcodes:
4773 @if [ $(current_stage) = stage3 ]; then \
4774 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4775 else \
4776 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4777 $(MAKE) stage3-start; \
4778 fi; \
4779 cd $(HOST_SUBDIR)/opcodes && \
4780 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4781 @endif opcodes-bootstrap
4784 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4785 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4786 maybe-all-stage4-opcodes:
4787 maybe-clean-stage4-opcodes:
4788 @if opcodes-bootstrap
4789 maybe-all-stage4-opcodes: all-stage4-opcodes
4790 all-stage4: all-stage4-opcodes
4791 TARGET-stage4-opcodes = $(TARGET-opcodes)
4792 all-stage4-opcodes: configure-stage4-opcodes
4793 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4794 @r=`${PWD_COMMAND}`; export r; \
4795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4796 TFLAGS="$(STAGE4_TFLAGS)"; \
4797 $(HOST_EXPORTS) \
4798 $(POSTSTAGE1_HOST_EXPORTS) \
4799 cd $(HOST_SUBDIR)/opcodes && \
4801 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4802 CFLAGS="$(STAGE4_CFLAGS)" \
4803 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4804 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4805 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4806 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4807 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4808 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4809 TFLAGS="$(STAGE4_TFLAGS)" \
4810 $(TARGET-stage4-opcodes)
4812 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4813 clean-stage4: clean-stage4-opcodes
4814 clean-stage4-opcodes:
4815 @if [ $(current_stage) = stage4 ]; then \
4816 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4817 else \
4818 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4819 $(MAKE) stage4-start; \
4820 fi; \
4821 cd $(HOST_SUBDIR)/opcodes && \
4822 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4823 @endif opcodes-bootstrap
4826 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4827 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4828 maybe-all-stageprofile-opcodes:
4829 maybe-clean-stageprofile-opcodes:
4830 @if opcodes-bootstrap
4831 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4832 all-stageprofile: all-stageprofile-opcodes
4833 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4834 all-stageprofile-opcodes: configure-stageprofile-opcodes
4835 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4836 @r=`${PWD_COMMAND}`; export r; \
4837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4838 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4839 $(HOST_EXPORTS) \
4840 $(POSTSTAGE1_HOST_EXPORTS) \
4841 cd $(HOST_SUBDIR)/opcodes && \
4843 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4844 CFLAGS="$(STAGEprofile_CFLAGS)" \
4845 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4846 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4847 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4848 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4849 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4850 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4851 TFLAGS="$(STAGEprofile_TFLAGS)" \
4852 $(TARGET-stageprofile-opcodes)
4854 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4855 clean-stageprofile: clean-stageprofile-opcodes
4856 clean-stageprofile-opcodes:
4857 @if [ $(current_stage) = stageprofile ]; then \
4858 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4859 else \
4860 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4861 $(MAKE) stageprofile-start; \
4862 fi; \
4863 cd $(HOST_SUBDIR)/opcodes && \
4864 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4865 @endif opcodes-bootstrap
4868 .PHONY: all-stagetrain-opcodes maybe-all-stagetrain-opcodes
4869 .PHONY: clean-stagetrain-opcodes maybe-clean-stagetrain-opcodes
4870 maybe-all-stagetrain-opcodes:
4871 maybe-clean-stagetrain-opcodes:
4872 @if opcodes-bootstrap
4873 maybe-all-stagetrain-opcodes: all-stagetrain-opcodes
4874 all-stagetrain: all-stagetrain-opcodes
4875 TARGET-stagetrain-opcodes = $(TARGET-opcodes)
4876 all-stagetrain-opcodes: configure-stagetrain-opcodes
4877 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4878 @r=`${PWD_COMMAND}`; export r; \
4879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4880 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4881 $(HOST_EXPORTS) \
4882 $(POSTSTAGE1_HOST_EXPORTS) \
4883 cd $(HOST_SUBDIR)/opcodes && \
4885 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4886 CFLAGS="$(STAGEtrain_CFLAGS)" \
4887 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
4888 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
4889 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4890 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4891 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4892 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4893 TFLAGS="$(STAGEtrain_TFLAGS)" \
4894 $(TARGET-stagetrain-opcodes)
4896 maybe-clean-stagetrain-opcodes: clean-stagetrain-opcodes
4897 clean-stagetrain: clean-stagetrain-opcodes
4898 clean-stagetrain-opcodes:
4899 @if [ $(current_stage) = stagetrain ]; then \
4900 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4901 else \
4902 [ -f $(HOST_SUBDIR)/stagetrain-opcodes/Makefile ] || exit 0; \
4903 $(MAKE) stagetrain-start; \
4904 fi; \
4905 cd $(HOST_SUBDIR)/opcodes && \
4906 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4907 @endif opcodes-bootstrap
4910 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4911 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4912 maybe-all-stagefeedback-opcodes:
4913 maybe-clean-stagefeedback-opcodes:
4914 @if opcodes-bootstrap
4915 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4916 all-stagefeedback: all-stagefeedback-opcodes
4917 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4918 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4919 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4920 @r=`${PWD_COMMAND}`; export r; \
4921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4922 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4923 $(HOST_EXPORTS) \
4924 $(POSTSTAGE1_HOST_EXPORTS) \
4925 cd $(HOST_SUBDIR)/opcodes && \
4927 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4928 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4929 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4930 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4931 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4932 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4933 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4934 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4935 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4936 $(TARGET-stagefeedback-opcodes)
4938 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4939 clean-stagefeedback: clean-stagefeedback-opcodes
4940 clean-stagefeedback-opcodes:
4941 @if [ $(current_stage) = stagefeedback ]; then \
4942 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4943 else \
4944 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4945 $(MAKE) stagefeedback-start; \
4946 fi; \
4947 cd $(HOST_SUBDIR)/opcodes && \
4948 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4949 @endif opcodes-bootstrap
4952 .PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
4953 .PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
4954 maybe-all-stageautoprofile-opcodes:
4955 maybe-clean-stageautoprofile-opcodes:
4956 @if opcodes-bootstrap
4957 maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
4958 all-stageautoprofile: all-stageautoprofile-opcodes
4959 TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
4960 all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4961 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4962 @r=`${PWD_COMMAND}`; export r; \
4963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4964 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4965 $(HOST_EXPORTS) \
4966 $(POSTSTAGE1_HOST_EXPORTS) \
4967 cd $(HOST_SUBDIR)/opcodes && \
4968 $$s/gcc/config/i386/$(AUTO_PROFILE) \
4969 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4970 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
4971 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
4972 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
4973 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4974 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4975 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4976 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4977 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
4978 $(TARGET-stageautoprofile-opcodes)
4980 maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
4981 clean-stageautoprofile: clean-stageautoprofile-opcodes
4982 clean-stageautoprofile-opcodes:
4983 @if [ $(current_stage) = stageautoprofile ]; then \
4984 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4985 else \
4986 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
4987 $(MAKE) stageautoprofile-start; \
4988 fi; \
4989 cd $(HOST_SUBDIR)/opcodes && \
4990 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4991 @endif opcodes-bootstrap
4994 .PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
4995 .PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
4996 maybe-all-stageautofeedback-opcodes:
4997 maybe-clean-stageautofeedback-opcodes:
4998 @if opcodes-bootstrap
4999 maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
5000 all-stageautofeedback: all-stageautofeedback-opcodes
5001 TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
5002 all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
5003 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5004 @r=`${PWD_COMMAND}`; export r; \
5005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5006 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5007 $(HOST_EXPORTS) \
5008 $(POSTSTAGE1_HOST_EXPORTS) \
5009 cd $(HOST_SUBDIR)/opcodes && \
5011 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5012 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
5013 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
5014 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
5015 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5016 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5017 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5018 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5019 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
5020 $(TARGET-stageautofeedback-opcodes)
5022 maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
5023 clean-stageautofeedback: clean-stageautofeedback-opcodes
5024 clean-stageautofeedback-opcodes:
5025 @if [ $(current_stage) = stageautofeedback ]; then \
5026 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5027 else \
5028 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
5029 $(MAKE) stageautofeedback-start; \
5030 fi; \
5031 cd $(HOST_SUBDIR)/opcodes && \
5032 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5033 @endif opcodes-bootstrap
5039 .PHONY: check-opcodes maybe-check-opcodes
5040 maybe-check-opcodes:
5041 @if opcodes
5042 maybe-check-opcodes: check-opcodes
5044 check-opcodes:
5045 @: $(MAKE); $(unstage)
5046 @r=`${PWD_COMMAND}`; export r; \
5047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5048 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5049 (cd $(HOST_SUBDIR)/opcodes && \
5050 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5052 @endif opcodes
5054 .PHONY: install-opcodes maybe-install-opcodes
5055 maybe-install-opcodes:
5056 @if opcodes
5057 maybe-install-opcodes: install-opcodes
5059 install-opcodes: installdirs
5060 @: $(MAKE); $(unstage)
5061 @r=`${PWD_COMMAND}`; export r; \
5062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5063 $(HOST_EXPORTS) \
5064 (cd $(HOST_SUBDIR)/opcodes && \
5065 $(MAKE) $(FLAGS_TO_PASS) install)
5067 @endif opcodes
5069 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
5070 maybe-install-strip-opcodes:
5071 @if opcodes
5072 maybe-install-strip-opcodes: install-strip-opcodes
5074 install-strip-opcodes: installdirs
5075 @: $(MAKE); $(unstage)
5076 @r=`${PWD_COMMAND}`; export r; \
5077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5078 $(HOST_EXPORTS) \
5079 (cd $(HOST_SUBDIR)/opcodes && \
5080 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5082 @endif opcodes
5084 # Other targets (info, dvi, pdf, etc.)
5086 .PHONY: maybe-info-opcodes info-opcodes
5087 maybe-info-opcodes:
5088 @if opcodes
5089 maybe-info-opcodes: info-opcodes
5091 info-opcodes: \
5092 configure-opcodes
5093 @[ -f ./opcodes/Makefile ] || exit 0; \
5094 r=`${PWD_COMMAND}`; export r; \
5095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5096 $(HOST_EXPORTS) \
5097 for flag in $(EXTRA_HOST_FLAGS) ; do \
5098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5099 done; \
5100 echo "Doing info in opcodes"; \
5101 (cd $(HOST_SUBDIR)/opcodes && \
5102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5104 "RANLIB=$${RANLIB}" \
5105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5106 info) \
5107 || exit 1
5109 @endif opcodes
5111 .PHONY: maybe-dvi-opcodes dvi-opcodes
5112 maybe-dvi-opcodes:
5113 @if opcodes
5114 maybe-dvi-opcodes: dvi-opcodes
5116 dvi-opcodes: \
5117 configure-opcodes
5118 @[ -f ./opcodes/Makefile ] || exit 0; \
5119 r=`${PWD_COMMAND}`; export r; \
5120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5121 $(HOST_EXPORTS) \
5122 for flag in $(EXTRA_HOST_FLAGS) ; do \
5123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5124 done; \
5125 echo "Doing dvi in opcodes"; \
5126 (cd $(HOST_SUBDIR)/opcodes && \
5127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5129 "RANLIB=$${RANLIB}" \
5130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5131 dvi) \
5132 || exit 1
5134 @endif opcodes
5136 .PHONY: maybe-pdf-opcodes pdf-opcodes
5137 maybe-pdf-opcodes:
5138 @if opcodes
5139 maybe-pdf-opcodes: pdf-opcodes
5141 pdf-opcodes: \
5142 configure-opcodes
5143 @[ -f ./opcodes/Makefile ] || exit 0; \
5144 r=`${PWD_COMMAND}`; export r; \
5145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5146 $(HOST_EXPORTS) \
5147 for flag in $(EXTRA_HOST_FLAGS) ; do \
5148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5149 done; \
5150 echo "Doing pdf in opcodes"; \
5151 (cd $(HOST_SUBDIR)/opcodes && \
5152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5154 "RANLIB=$${RANLIB}" \
5155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5156 pdf) \
5157 || exit 1
5159 @endif opcodes
5161 .PHONY: maybe-html-opcodes html-opcodes
5162 maybe-html-opcodes:
5163 @if opcodes
5164 maybe-html-opcodes: html-opcodes
5166 html-opcodes: \
5167 configure-opcodes
5168 @[ -f ./opcodes/Makefile ] || exit 0; \
5169 r=`${PWD_COMMAND}`; export r; \
5170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5171 $(HOST_EXPORTS) \
5172 for flag in $(EXTRA_HOST_FLAGS) ; do \
5173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5174 done; \
5175 echo "Doing html in opcodes"; \
5176 (cd $(HOST_SUBDIR)/opcodes && \
5177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5179 "RANLIB=$${RANLIB}" \
5180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5181 html) \
5182 || exit 1
5184 @endif opcodes
5186 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5187 maybe-TAGS-opcodes:
5188 @if opcodes
5189 maybe-TAGS-opcodes: TAGS-opcodes
5191 TAGS-opcodes: \
5192 configure-opcodes
5193 @[ -f ./opcodes/Makefile ] || exit 0; \
5194 r=`${PWD_COMMAND}`; export r; \
5195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5196 $(HOST_EXPORTS) \
5197 for flag in $(EXTRA_HOST_FLAGS) ; do \
5198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5199 done; \
5200 echo "Doing TAGS in opcodes"; \
5201 (cd $(HOST_SUBDIR)/opcodes && \
5202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5204 "RANLIB=$${RANLIB}" \
5205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5206 TAGS) \
5207 || exit 1
5209 @endif opcodes
5211 .PHONY: maybe-install-info-opcodes install-info-opcodes
5212 maybe-install-info-opcodes:
5213 @if opcodes
5214 maybe-install-info-opcodes: install-info-opcodes
5216 install-info-opcodes: \
5217 configure-opcodes \
5218 info-opcodes
5219 @[ -f ./opcodes/Makefile ] || exit 0; \
5220 r=`${PWD_COMMAND}`; export r; \
5221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5222 $(HOST_EXPORTS) \
5223 for flag in $(EXTRA_HOST_FLAGS) ; do \
5224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5225 done; \
5226 echo "Doing install-info in opcodes"; \
5227 (cd $(HOST_SUBDIR)/opcodes && \
5228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5230 "RANLIB=$${RANLIB}" \
5231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5232 install-info) \
5233 || exit 1
5235 @endif opcodes
5237 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
5238 maybe-install-pdf-opcodes:
5239 @if opcodes
5240 maybe-install-pdf-opcodes: install-pdf-opcodes
5242 install-pdf-opcodes: \
5243 configure-opcodes \
5244 pdf-opcodes
5245 @[ -f ./opcodes/Makefile ] || exit 0; \
5246 r=`${PWD_COMMAND}`; export r; \
5247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5248 $(HOST_EXPORTS) \
5249 for flag in $(EXTRA_HOST_FLAGS) ; do \
5250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5251 done; \
5252 echo "Doing install-pdf in opcodes"; \
5253 (cd $(HOST_SUBDIR)/opcodes && \
5254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5256 "RANLIB=$${RANLIB}" \
5257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5258 install-pdf) \
5259 || exit 1
5261 @endif opcodes
5263 .PHONY: maybe-install-html-opcodes install-html-opcodes
5264 maybe-install-html-opcodes:
5265 @if opcodes
5266 maybe-install-html-opcodes: install-html-opcodes
5268 install-html-opcodes: \
5269 configure-opcodes \
5270 html-opcodes
5271 @[ -f ./opcodes/Makefile ] || exit 0; \
5272 r=`${PWD_COMMAND}`; export r; \
5273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5274 $(HOST_EXPORTS) \
5275 for flag in $(EXTRA_HOST_FLAGS) ; do \
5276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5277 done; \
5278 echo "Doing install-html in opcodes"; \
5279 (cd $(HOST_SUBDIR)/opcodes && \
5280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5282 "RANLIB=$${RANLIB}" \
5283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5284 install-html) \
5285 || exit 1
5287 @endif opcodes
5289 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5290 maybe-installcheck-opcodes:
5291 @if opcodes
5292 maybe-installcheck-opcodes: installcheck-opcodes
5294 installcheck-opcodes: \
5295 configure-opcodes
5296 @[ -f ./opcodes/Makefile ] || exit 0; \
5297 r=`${PWD_COMMAND}`; export r; \
5298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5299 $(HOST_EXPORTS) \
5300 for flag in $(EXTRA_HOST_FLAGS) ; do \
5301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5302 done; \
5303 echo "Doing installcheck in opcodes"; \
5304 (cd $(HOST_SUBDIR)/opcodes && \
5305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5307 "RANLIB=$${RANLIB}" \
5308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5309 installcheck) \
5310 || exit 1
5312 @endif opcodes
5314 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5315 maybe-mostlyclean-opcodes:
5316 @if opcodes
5317 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5319 mostlyclean-opcodes:
5320 @[ -f ./opcodes/Makefile ] || exit 0; \
5321 r=`${PWD_COMMAND}`; export r; \
5322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5323 $(HOST_EXPORTS) \
5324 for flag in $(EXTRA_HOST_FLAGS) ; do \
5325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5326 done; \
5327 echo "Doing mostlyclean in opcodes"; \
5328 (cd $(HOST_SUBDIR)/opcodes && \
5329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5331 "RANLIB=$${RANLIB}" \
5332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5333 mostlyclean) \
5334 || exit 1
5336 @endif opcodes
5338 .PHONY: maybe-clean-opcodes clean-opcodes
5339 maybe-clean-opcodes:
5340 @if opcodes
5341 maybe-clean-opcodes: clean-opcodes
5343 clean-opcodes:
5344 @[ -f ./opcodes/Makefile ] || exit 0; \
5345 r=`${PWD_COMMAND}`; export r; \
5346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5347 $(HOST_EXPORTS) \
5348 for flag in $(EXTRA_HOST_FLAGS) ; do \
5349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5350 done; \
5351 echo "Doing clean in opcodes"; \
5352 (cd $(HOST_SUBDIR)/opcodes && \
5353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5355 "RANLIB=$${RANLIB}" \
5356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5357 clean) \
5358 || exit 1
5360 @endif opcodes
5362 .PHONY: maybe-distclean-opcodes distclean-opcodes
5363 maybe-distclean-opcodes:
5364 @if opcodes
5365 maybe-distclean-opcodes: distclean-opcodes
5367 distclean-opcodes:
5368 @[ -f ./opcodes/Makefile ] || exit 0; \
5369 r=`${PWD_COMMAND}`; export r; \
5370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5371 $(HOST_EXPORTS) \
5372 for flag in $(EXTRA_HOST_FLAGS) ; do \
5373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5374 done; \
5375 echo "Doing distclean in opcodes"; \
5376 (cd $(HOST_SUBDIR)/opcodes && \
5377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5379 "RANLIB=$${RANLIB}" \
5380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5381 distclean) \
5382 || exit 1
5384 @endif opcodes
5386 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5387 maybe-maintainer-clean-opcodes:
5388 @if opcodes
5389 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5391 maintainer-clean-opcodes:
5392 @[ -f ./opcodes/Makefile ] || exit 0; \
5393 r=`${PWD_COMMAND}`; export r; \
5394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5395 $(HOST_EXPORTS) \
5396 for flag in $(EXTRA_HOST_FLAGS) ; do \
5397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5398 done; \
5399 echo "Doing maintainer-clean in opcodes"; \
5400 (cd $(HOST_SUBDIR)/opcodes && \
5401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5403 "RANLIB=$${RANLIB}" \
5404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5405 maintainer-clean) \
5406 || exit 1
5408 @endif opcodes
5412 .PHONY: configure-binutils maybe-configure-binutils
5413 maybe-configure-binutils:
5414 @if gcc-bootstrap
5415 configure-binutils: stage_current
5416 @endif gcc-bootstrap
5417 @if binutils
5418 maybe-configure-binutils: configure-binutils
5419 configure-binutils:
5420 @r=`${PWD_COMMAND}`; export r; \
5421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5422 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5423 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5424 $(HOST_EXPORTS) \
5425 echo Configuring in $(HOST_SUBDIR)/binutils; \
5426 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5427 case $(srcdir) in \
5428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5429 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5431 esac; \
5432 module_srcdir=binutils; \
5433 $(SHELL) \
5434 $$s/$$module_srcdir/configure \
5435 --srcdir=$${topdir}/$$module_srcdir \
5436 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5437 --target=${target_alias} \
5438 || exit 1
5439 @endif binutils
5443 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5444 maybe-configure-stage1-binutils:
5445 @if binutils-bootstrap
5446 maybe-configure-stage1-binutils: configure-stage1-binutils
5447 configure-stage1-binutils:
5448 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5449 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5450 @r=`${PWD_COMMAND}`; export r; \
5451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5452 TFLAGS="$(STAGE1_TFLAGS)"; \
5453 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5454 $(HOST_EXPORTS) \
5455 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5456 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5457 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5458 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
5459 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5460 cd $(HOST_SUBDIR)/binutils || exit 1; \
5461 case $(srcdir) in \
5462 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5463 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5464 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5465 esac; \
5466 module_srcdir=binutils; \
5467 $(SHELL) $$s/$$module_srcdir/configure \
5468 --srcdir=$${topdir}/$$module_srcdir \
5469 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5470 --target=${target_alias} \
5472 $(STAGE1_CONFIGURE_FLAGS)
5473 @endif binutils-bootstrap
5475 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5476 maybe-configure-stage2-binutils:
5477 @if binutils-bootstrap
5478 maybe-configure-stage2-binutils: configure-stage2-binutils
5479 configure-stage2-binutils:
5480 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5481 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5482 @r=`${PWD_COMMAND}`; export r; \
5483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5484 TFLAGS="$(STAGE2_TFLAGS)"; \
5485 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5486 $(HOST_EXPORTS) \
5487 $(POSTSTAGE1_HOST_EXPORTS) \
5488 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5489 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5490 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5491 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
5492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5493 cd $(HOST_SUBDIR)/binutils || exit 1; \
5494 case $(srcdir) in \
5495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5496 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5498 esac; \
5499 module_srcdir=binutils; \
5500 $(SHELL) $$s/$$module_srcdir/configure \
5501 --srcdir=$${topdir}/$$module_srcdir \
5502 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5503 --target=${target_alias} \
5504 --with-build-libsubdir=$(HOST_SUBDIR) \
5505 $(STAGE2_CONFIGURE_FLAGS)
5506 @endif binutils-bootstrap
5508 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5509 maybe-configure-stage3-binutils:
5510 @if binutils-bootstrap
5511 maybe-configure-stage3-binutils: configure-stage3-binutils
5512 configure-stage3-binutils:
5513 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5514 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5515 @r=`${PWD_COMMAND}`; export r; \
5516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5517 TFLAGS="$(STAGE3_TFLAGS)"; \
5518 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5519 $(HOST_EXPORTS) \
5520 $(POSTSTAGE1_HOST_EXPORTS) \
5521 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5522 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5523 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5524 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5525 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5526 cd $(HOST_SUBDIR)/binutils || exit 1; \
5527 case $(srcdir) in \
5528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5529 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5531 esac; \
5532 module_srcdir=binutils; \
5533 $(SHELL) $$s/$$module_srcdir/configure \
5534 --srcdir=$${topdir}/$$module_srcdir \
5535 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5536 --target=${target_alias} \
5537 --with-build-libsubdir=$(HOST_SUBDIR) \
5538 $(STAGE3_CONFIGURE_FLAGS)
5539 @endif binutils-bootstrap
5541 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5542 maybe-configure-stage4-binutils:
5543 @if binutils-bootstrap
5544 maybe-configure-stage4-binutils: configure-stage4-binutils
5545 configure-stage4-binutils:
5546 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5547 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5548 @r=`${PWD_COMMAND}`; export r; \
5549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5550 TFLAGS="$(STAGE4_TFLAGS)"; \
5551 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5552 $(HOST_EXPORTS) \
5553 $(POSTSTAGE1_HOST_EXPORTS) \
5554 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5555 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5556 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5557 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5558 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5559 cd $(HOST_SUBDIR)/binutils || exit 1; \
5560 case $(srcdir) in \
5561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5562 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5564 esac; \
5565 module_srcdir=binutils; \
5566 $(SHELL) $$s/$$module_srcdir/configure \
5567 --srcdir=$${topdir}/$$module_srcdir \
5568 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5569 --target=${target_alias} \
5570 --with-build-libsubdir=$(HOST_SUBDIR) \
5571 $(STAGE4_CONFIGURE_FLAGS)
5572 @endif binutils-bootstrap
5574 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5575 maybe-configure-stageprofile-binutils:
5576 @if binutils-bootstrap
5577 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5578 configure-stageprofile-binutils:
5579 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5580 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5581 @r=`${PWD_COMMAND}`; export r; \
5582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5583 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5584 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5585 $(HOST_EXPORTS) \
5586 $(POSTSTAGE1_HOST_EXPORTS) \
5587 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5588 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5589 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5590 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5592 cd $(HOST_SUBDIR)/binutils || exit 1; \
5593 case $(srcdir) in \
5594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5595 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5597 esac; \
5598 module_srcdir=binutils; \
5599 $(SHELL) $$s/$$module_srcdir/configure \
5600 --srcdir=$${topdir}/$$module_srcdir \
5601 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5602 --target=${target_alias} \
5603 --with-build-libsubdir=$(HOST_SUBDIR) \
5604 $(STAGEprofile_CONFIGURE_FLAGS)
5605 @endif binutils-bootstrap
5607 .PHONY: configure-stagetrain-binutils maybe-configure-stagetrain-binutils
5608 maybe-configure-stagetrain-binutils:
5609 @if binutils-bootstrap
5610 maybe-configure-stagetrain-binutils: configure-stagetrain-binutils
5611 configure-stagetrain-binutils:
5612 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5613 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5614 @r=`${PWD_COMMAND}`; export r; \
5615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5616 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5617 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5618 $(HOST_EXPORTS) \
5619 $(POSTSTAGE1_HOST_EXPORTS) \
5620 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
5621 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
5622 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
5623 echo Configuring stage train in $(HOST_SUBDIR)/binutils; \
5624 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5625 cd $(HOST_SUBDIR)/binutils || exit 1; \
5626 case $(srcdir) in \
5627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5628 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5630 esac; \
5631 module_srcdir=binutils; \
5632 $(SHELL) $$s/$$module_srcdir/configure \
5633 --srcdir=$${topdir}/$$module_srcdir \
5634 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5635 --target=${target_alias} \
5636 --with-build-libsubdir=$(HOST_SUBDIR) \
5637 $(STAGEtrain_CONFIGURE_FLAGS)
5638 @endif binutils-bootstrap
5640 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5641 maybe-configure-stagefeedback-binutils:
5642 @if binutils-bootstrap
5643 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5644 configure-stagefeedback-binutils:
5645 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5646 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5647 @r=`${PWD_COMMAND}`; export r; \
5648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5649 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5650 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5651 $(HOST_EXPORTS) \
5652 $(POSTSTAGE1_HOST_EXPORTS) \
5653 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5654 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5655 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5656 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
5657 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5658 cd $(HOST_SUBDIR)/binutils || exit 1; \
5659 case $(srcdir) in \
5660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5661 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5663 esac; \
5664 module_srcdir=binutils; \
5665 $(SHELL) $$s/$$module_srcdir/configure \
5666 --srcdir=$${topdir}/$$module_srcdir \
5667 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5668 --target=${target_alias} \
5669 --with-build-libsubdir=$(HOST_SUBDIR) \
5670 $(STAGEfeedback_CONFIGURE_FLAGS)
5671 @endif binutils-bootstrap
5673 .PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
5674 maybe-configure-stageautoprofile-binutils:
5675 @if binutils-bootstrap
5676 maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
5677 configure-stageautoprofile-binutils:
5678 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5679 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5680 @r=`${PWD_COMMAND}`; export r; \
5681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5682 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5683 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5684 $(HOST_EXPORTS) \
5685 $(POSTSTAGE1_HOST_EXPORTS) \
5686 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
5687 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
5688 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
5689 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
5690 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5691 cd $(HOST_SUBDIR)/binutils || exit 1; \
5692 case $(srcdir) in \
5693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5694 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5696 esac; \
5697 module_srcdir=binutils; \
5698 $(SHELL) $$s/$$module_srcdir/configure \
5699 --srcdir=$${topdir}/$$module_srcdir \
5700 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5701 --target=${target_alias} \
5702 --with-build-libsubdir=$(HOST_SUBDIR) \
5703 $(STAGEautoprofile_CONFIGURE_FLAGS)
5704 @endif binutils-bootstrap
5706 .PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
5707 maybe-configure-stageautofeedback-binutils:
5708 @if binutils-bootstrap
5709 maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
5710 configure-stageautofeedback-binutils:
5711 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5712 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5713 @r=`${PWD_COMMAND}`; export r; \
5714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5715 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5716 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5717 $(HOST_EXPORTS) \
5718 $(POSTSTAGE1_HOST_EXPORTS) \
5719 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
5720 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
5721 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
5722 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
5723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5724 cd $(HOST_SUBDIR)/binutils || exit 1; \
5725 case $(srcdir) in \
5726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5727 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5729 esac; \
5730 module_srcdir=binutils; \
5731 $(SHELL) $$s/$$module_srcdir/configure \
5732 --srcdir=$${topdir}/$$module_srcdir \
5733 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5734 --target=${target_alias} \
5735 --with-build-libsubdir=$(HOST_SUBDIR) \
5736 $(STAGEautofeedback_CONFIGURE_FLAGS)
5737 @endif binutils-bootstrap
5743 .PHONY: all-binutils maybe-all-binutils
5744 maybe-all-binutils:
5745 @if gcc-bootstrap
5746 all-binutils: stage_current
5747 @endif gcc-bootstrap
5748 @if binutils
5749 TARGET-binutils=all
5750 maybe-all-binutils: all-binutils
5751 all-binutils: configure-binutils
5752 @r=`${PWD_COMMAND}`; export r; \
5753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5754 $(HOST_EXPORTS) \
5755 (cd $(HOST_SUBDIR)/binutils && \
5756 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5757 $(TARGET-binutils))
5758 @endif binutils
5762 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5763 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5764 maybe-all-stage1-binutils:
5765 maybe-clean-stage1-binutils:
5766 @if binutils-bootstrap
5767 maybe-all-stage1-binutils: all-stage1-binutils
5768 all-stage1: all-stage1-binutils
5769 TARGET-stage1-binutils = $(TARGET-binutils)
5770 all-stage1-binutils: configure-stage1-binutils
5771 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5772 @r=`${PWD_COMMAND}`; export r; \
5773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5774 TFLAGS="$(STAGE1_TFLAGS)"; \
5775 $(HOST_EXPORTS) \
5776 cd $(HOST_SUBDIR)/binutils && \
5778 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5779 CFLAGS="$(STAGE1_CFLAGS)" \
5780 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5781 LIBCFLAGS="$(LIBCFLAGS)" \
5782 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5783 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5784 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5785 $(EXTRA_HOST_FLAGS) \
5786 $(STAGE1_FLAGS_TO_PASS) \
5787 TFLAGS="$(STAGE1_TFLAGS)" \
5788 $(TARGET-stage1-binutils)
5790 maybe-clean-stage1-binutils: clean-stage1-binutils
5791 clean-stage1: clean-stage1-binutils
5792 clean-stage1-binutils:
5793 @if [ $(current_stage) = stage1 ]; then \
5794 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5795 else \
5796 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5797 $(MAKE) stage1-start; \
5798 fi; \
5799 cd $(HOST_SUBDIR)/binutils && \
5800 $(MAKE) $(EXTRA_HOST_FLAGS) \
5801 $(STAGE1_FLAGS_TO_PASS) clean
5802 @endif binutils-bootstrap
5805 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5806 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5807 maybe-all-stage2-binutils:
5808 maybe-clean-stage2-binutils:
5809 @if binutils-bootstrap
5810 maybe-all-stage2-binutils: all-stage2-binutils
5811 all-stage2: all-stage2-binutils
5812 TARGET-stage2-binutils = $(TARGET-binutils)
5813 all-stage2-binutils: configure-stage2-binutils
5814 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5815 @r=`${PWD_COMMAND}`; export r; \
5816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5817 TFLAGS="$(STAGE2_TFLAGS)"; \
5818 $(HOST_EXPORTS) \
5819 $(POSTSTAGE1_HOST_EXPORTS) \
5820 cd $(HOST_SUBDIR)/binutils && \
5822 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5823 CFLAGS="$(STAGE2_CFLAGS)" \
5824 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5825 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5826 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5827 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5828 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5829 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5830 TFLAGS="$(STAGE2_TFLAGS)" \
5831 $(TARGET-stage2-binutils)
5833 maybe-clean-stage2-binutils: clean-stage2-binutils
5834 clean-stage2: clean-stage2-binutils
5835 clean-stage2-binutils:
5836 @if [ $(current_stage) = stage2 ]; then \
5837 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5838 else \
5839 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5840 $(MAKE) stage2-start; \
5841 fi; \
5842 cd $(HOST_SUBDIR)/binutils && \
5843 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5844 @endif binutils-bootstrap
5847 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5848 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5849 maybe-all-stage3-binutils:
5850 maybe-clean-stage3-binutils:
5851 @if binutils-bootstrap
5852 maybe-all-stage3-binutils: all-stage3-binutils
5853 all-stage3: all-stage3-binutils
5854 TARGET-stage3-binutils = $(TARGET-binutils)
5855 all-stage3-binutils: configure-stage3-binutils
5856 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5857 @r=`${PWD_COMMAND}`; export r; \
5858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5859 TFLAGS="$(STAGE3_TFLAGS)"; \
5860 $(HOST_EXPORTS) \
5861 $(POSTSTAGE1_HOST_EXPORTS) \
5862 cd $(HOST_SUBDIR)/binutils && \
5864 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5865 CFLAGS="$(STAGE3_CFLAGS)" \
5866 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5867 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5868 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5869 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5870 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5871 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5872 TFLAGS="$(STAGE3_TFLAGS)" \
5873 $(TARGET-stage3-binutils)
5875 maybe-clean-stage3-binutils: clean-stage3-binutils
5876 clean-stage3: clean-stage3-binutils
5877 clean-stage3-binutils:
5878 @if [ $(current_stage) = stage3 ]; then \
5879 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5880 else \
5881 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5882 $(MAKE) stage3-start; \
5883 fi; \
5884 cd $(HOST_SUBDIR)/binutils && \
5885 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5886 @endif binutils-bootstrap
5889 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5890 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5891 maybe-all-stage4-binutils:
5892 maybe-clean-stage4-binutils:
5893 @if binutils-bootstrap
5894 maybe-all-stage4-binutils: all-stage4-binutils
5895 all-stage4: all-stage4-binutils
5896 TARGET-stage4-binutils = $(TARGET-binutils)
5897 all-stage4-binutils: configure-stage4-binutils
5898 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5899 @r=`${PWD_COMMAND}`; export r; \
5900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5901 TFLAGS="$(STAGE4_TFLAGS)"; \
5902 $(HOST_EXPORTS) \
5903 $(POSTSTAGE1_HOST_EXPORTS) \
5904 cd $(HOST_SUBDIR)/binutils && \
5906 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5907 CFLAGS="$(STAGE4_CFLAGS)" \
5908 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5909 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5910 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5911 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5912 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5913 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5914 TFLAGS="$(STAGE4_TFLAGS)" \
5915 $(TARGET-stage4-binutils)
5917 maybe-clean-stage4-binutils: clean-stage4-binutils
5918 clean-stage4: clean-stage4-binutils
5919 clean-stage4-binutils:
5920 @if [ $(current_stage) = stage4 ]; then \
5921 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5922 else \
5923 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5924 $(MAKE) stage4-start; \
5925 fi; \
5926 cd $(HOST_SUBDIR)/binutils && \
5927 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5928 @endif binutils-bootstrap
5931 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5932 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5933 maybe-all-stageprofile-binutils:
5934 maybe-clean-stageprofile-binutils:
5935 @if binutils-bootstrap
5936 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5937 all-stageprofile: all-stageprofile-binutils
5938 TARGET-stageprofile-binutils = $(TARGET-binutils)
5939 all-stageprofile-binutils: configure-stageprofile-binutils
5940 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5941 @r=`${PWD_COMMAND}`; export r; \
5942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5943 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5944 $(HOST_EXPORTS) \
5945 $(POSTSTAGE1_HOST_EXPORTS) \
5946 cd $(HOST_SUBDIR)/binutils && \
5948 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5949 CFLAGS="$(STAGEprofile_CFLAGS)" \
5950 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5951 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5952 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5953 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5954 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5955 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5956 TFLAGS="$(STAGEprofile_TFLAGS)" \
5957 $(TARGET-stageprofile-binutils)
5959 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5960 clean-stageprofile: clean-stageprofile-binutils
5961 clean-stageprofile-binutils:
5962 @if [ $(current_stage) = stageprofile ]; then \
5963 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5964 else \
5965 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5966 $(MAKE) stageprofile-start; \
5967 fi; \
5968 cd $(HOST_SUBDIR)/binutils && \
5969 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5970 @endif binutils-bootstrap
5973 .PHONY: all-stagetrain-binutils maybe-all-stagetrain-binutils
5974 .PHONY: clean-stagetrain-binutils maybe-clean-stagetrain-binutils
5975 maybe-all-stagetrain-binutils:
5976 maybe-clean-stagetrain-binutils:
5977 @if binutils-bootstrap
5978 maybe-all-stagetrain-binutils: all-stagetrain-binutils
5979 all-stagetrain: all-stagetrain-binutils
5980 TARGET-stagetrain-binutils = $(TARGET-binutils)
5981 all-stagetrain-binutils: configure-stagetrain-binutils
5982 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5983 @r=`${PWD_COMMAND}`; export r; \
5984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5985 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5986 $(HOST_EXPORTS) \
5987 $(POSTSTAGE1_HOST_EXPORTS) \
5988 cd $(HOST_SUBDIR)/binutils && \
5990 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5991 CFLAGS="$(STAGEtrain_CFLAGS)" \
5992 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
5993 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
5994 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5995 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5996 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5997 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5998 TFLAGS="$(STAGEtrain_TFLAGS)" \
5999 $(TARGET-stagetrain-binutils)
6001 maybe-clean-stagetrain-binutils: clean-stagetrain-binutils
6002 clean-stagetrain: clean-stagetrain-binutils
6003 clean-stagetrain-binutils:
6004 @if [ $(current_stage) = stagetrain ]; then \
6005 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6006 else \
6007 [ -f $(HOST_SUBDIR)/stagetrain-binutils/Makefile ] || exit 0; \
6008 $(MAKE) stagetrain-start; \
6009 fi; \
6010 cd $(HOST_SUBDIR)/binutils && \
6011 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6012 @endif binutils-bootstrap
6015 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6016 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6017 maybe-all-stagefeedback-binutils:
6018 maybe-clean-stagefeedback-binutils:
6019 @if binutils-bootstrap
6020 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6021 all-stagefeedback: all-stagefeedback-binutils
6022 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6023 all-stagefeedback-binutils: configure-stagefeedback-binutils
6024 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6025 @r=`${PWD_COMMAND}`; export r; \
6026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6027 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6028 $(HOST_EXPORTS) \
6029 $(POSTSTAGE1_HOST_EXPORTS) \
6030 cd $(HOST_SUBDIR)/binutils && \
6032 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6033 CFLAGS="$(STAGEfeedback_CFLAGS)" \
6034 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
6035 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
6036 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6037 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6038 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6039 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6040 TFLAGS="$(STAGEfeedback_TFLAGS)" \
6041 $(TARGET-stagefeedback-binutils)
6043 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6044 clean-stagefeedback: clean-stagefeedback-binutils
6045 clean-stagefeedback-binutils:
6046 @if [ $(current_stage) = stagefeedback ]; then \
6047 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6048 else \
6049 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6050 $(MAKE) stagefeedback-start; \
6051 fi; \
6052 cd $(HOST_SUBDIR)/binutils && \
6053 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6054 @endif binutils-bootstrap
6057 .PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
6058 .PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
6059 maybe-all-stageautoprofile-binutils:
6060 maybe-clean-stageautoprofile-binutils:
6061 @if binutils-bootstrap
6062 maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
6063 all-stageautoprofile: all-stageautoprofile-binutils
6064 TARGET-stageautoprofile-binutils = $(TARGET-binutils)
6065 all-stageautoprofile-binutils: configure-stageautoprofile-binutils
6066 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
6067 @r=`${PWD_COMMAND}`; export r; \
6068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6069 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
6070 $(HOST_EXPORTS) \
6071 $(POSTSTAGE1_HOST_EXPORTS) \
6072 cd $(HOST_SUBDIR)/binutils && \
6073 $$s/gcc/config/i386/$(AUTO_PROFILE) \
6074 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6075 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
6076 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
6077 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
6078 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6079 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6080 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6081 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6082 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
6083 $(TARGET-stageautoprofile-binutils)
6085 maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
6086 clean-stageautoprofile: clean-stageautoprofile-binutils
6087 clean-stageautoprofile-binutils:
6088 @if [ $(current_stage) = stageautoprofile ]; then \
6089 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6090 else \
6091 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
6092 $(MAKE) stageautoprofile-start; \
6093 fi; \
6094 cd $(HOST_SUBDIR)/binutils && \
6095 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6096 @endif binutils-bootstrap
6099 .PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
6100 .PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
6101 maybe-all-stageautofeedback-binutils:
6102 maybe-clean-stageautofeedback-binutils:
6103 @if binutils-bootstrap
6104 maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
6105 all-stageautofeedback: all-stageautofeedback-binutils
6106 TARGET-stageautofeedback-binutils = $(TARGET-binutils)
6107 all-stageautofeedback-binutils: configure-stageautofeedback-binutils
6108 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
6109 @r=`${PWD_COMMAND}`; export r; \
6110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6111 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
6112 $(HOST_EXPORTS) \
6113 $(POSTSTAGE1_HOST_EXPORTS) \
6114 cd $(HOST_SUBDIR)/binutils && \
6116 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6117 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
6118 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
6119 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
6120 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6121 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6122 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6123 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6124 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
6125 $(TARGET-stageautofeedback-binutils)
6127 maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
6128 clean-stageautofeedback: clean-stageautofeedback-binutils
6129 clean-stageautofeedback-binutils:
6130 @if [ $(current_stage) = stageautofeedback ]; then \
6131 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6132 else \
6133 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
6134 $(MAKE) stageautofeedback-start; \
6135 fi; \
6136 cd $(HOST_SUBDIR)/binutils && \
6137 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6138 @endif binutils-bootstrap
6144 .PHONY: check-binutils maybe-check-binutils
6145 maybe-check-binutils:
6146 @if binutils
6147 maybe-check-binutils: check-binutils
6149 check-binutils:
6150 @: $(MAKE); $(unstage)
6151 @r=`${PWD_COMMAND}`; export r; \
6152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6153 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
6154 (cd $(HOST_SUBDIR)/binutils && \
6155 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
6157 @endif binutils
6159 .PHONY: install-binutils maybe-install-binutils
6160 maybe-install-binutils:
6161 @if binutils
6162 maybe-install-binutils: install-binutils
6164 install-binutils: installdirs
6165 @: $(MAKE); $(unstage)
6166 @r=`${PWD_COMMAND}`; export r; \
6167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6168 $(HOST_EXPORTS) \
6169 (cd $(HOST_SUBDIR)/binutils && \
6170 $(MAKE) $(FLAGS_TO_PASS) install)
6172 @endif binutils
6174 .PHONY: install-strip-binutils maybe-install-strip-binutils
6175 maybe-install-strip-binutils:
6176 @if binutils
6177 maybe-install-strip-binutils: install-strip-binutils
6179 install-strip-binutils: installdirs
6180 @: $(MAKE); $(unstage)
6181 @r=`${PWD_COMMAND}`; export r; \
6182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6183 $(HOST_EXPORTS) \
6184 (cd $(HOST_SUBDIR)/binutils && \
6185 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6187 @endif binutils
6189 # Other targets (info, dvi, pdf, etc.)
6191 .PHONY: maybe-info-binutils info-binutils
6192 maybe-info-binutils:
6193 @if binutils
6194 maybe-info-binutils: info-binutils
6196 info-binutils: \
6197 configure-binutils
6198 @[ -f ./binutils/Makefile ] || exit 0; \
6199 r=`${PWD_COMMAND}`; export r; \
6200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6201 $(HOST_EXPORTS) \
6202 for flag in $(EXTRA_HOST_FLAGS) ; do \
6203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6204 done; \
6205 echo "Doing info in binutils"; \
6206 (cd $(HOST_SUBDIR)/binutils && \
6207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6209 "RANLIB=$${RANLIB}" \
6210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6211 info) \
6212 || exit 1
6214 @endif binutils
6216 .PHONY: maybe-dvi-binutils dvi-binutils
6217 maybe-dvi-binutils:
6218 @if binutils
6219 maybe-dvi-binutils: dvi-binutils
6221 dvi-binutils: \
6222 configure-binutils
6223 @[ -f ./binutils/Makefile ] || exit 0; \
6224 r=`${PWD_COMMAND}`; export r; \
6225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6226 $(HOST_EXPORTS) \
6227 for flag in $(EXTRA_HOST_FLAGS) ; do \
6228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6229 done; \
6230 echo "Doing dvi in binutils"; \
6231 (cd $(HOST_SUBDIR)/binutils && \
6232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6234 "RANLIB=$${RANLIB}" \
6235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6236 dvi) \
6237 || exit 1
6239 @endif binutils
6241 .PHONY: maybe-pdf-binutils pdf-binutils
6242 maybe-pdf-binutils:
6243 @if binutils
6244 maybe-pdf-binutils: pdf-binutils
6246 pdf-binutils: \
6247 configure-binutils
6248 @[ -f ./binutils/Makefile ] || exit 0; \
6249 r=`${PWD_COMMAND}`; export r; \
6250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6251 $(HOST_EXPORTS) \
6252 for flag in $(EXTRA_HOST_FLAGS) ; do \
6253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6254 done; \
6255 echo "Doing pdf in binutils"; \
6256 (cd $(HOST_SUBDIR)/binutils && \
6257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6259 "RANLIB=$${RANLIB}" \
6260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6261 pdf) \
6262 || exit 1
6264 @endif binutils
6266 .PHONY: maybe-html-binutils html-binutils
6267 maybe-html-binutils:
6268 @if binutils
6269 maybe-html-binutils: html-binutils
6271 html-binutils: \
6272 configure-binutils
6273 @[ -f ./binutils/Makefile ] || exit 0; \
6274 r=`${PWD_COMMAND}`; export r; \
6275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6276 $(HOST_EXPORTS) \
6277 for flag in $(EXTRA_HOST_FLAGS) ; do \
6278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6279 done; \
6280 echo "Doing html in binutils"; \
6281 (cd $(HOST_SUBDIR)/binutils && \
6282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6284 "RANLIB=$${RANLIB}" \
6285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6286 html) \
6287 || exit 1
6289 @endif binutils
6291 .PHONY: maybe-TAGS-binutils TAGS-binutils
6292 maybe-TAGS-binutils:
6293 @if binutils
6294 maybe-TAGS-binutils: TAGS-binutils
6296 TAGS-binutils: \
6297 configure-binutils
6298 @[ -f ./binutils/Makefile ] || exit 0; \
6299 r=`${PWD_COMMAND}`; export r; \
6300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6301 $(HOST_EXPORTS) \
6302 for flag in $(EXTRA_HOST_FLAGS) ; do \
6303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6304 done; \
6305 echo "Doing TAGS in binutils"; \
6306 (cd $(HOST_SUBDIR)/binutils && \
6307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6309 "RANLIB=$${RANLIB}" \
6310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6311 TAGS) \
6312 || exit 1
6314 @endif binutils
6316 .PHONY: maybe-install-info-binutils install-info-binutils
6317 maybe-install-info-binutils:
6318 @if binutils
6319 maybe-install-info-binutils: install-info-binutils
6321 install-info-binutils: \
6322 configure-binutils \
6323 info-binutils
6324 @[ -f ./binutils/Makefile ] || exit 0; \
6325 r=`${PWD_COMMAND}`; export r; \
6326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6327 $(HOST_EXPORTS) \
6328 for flag in $(EXTRA_HOST_FLAGS) ; do \
6329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6330 done; \
6331 echo "Doing install-info in binutils"; \
6332 (cd $(HOST_SUBDIR)/binutils && \
6333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6335 "RANLIB=$${RANLIB}" \
6336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6337 install-info) \
6338 || exit 1
6340 @endif binutils
6342 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6343 maybe-install-pdf-binutils:
6344 @if binutils
6345 maybe-install-pdf-binutils: install-pdf-binutils
6347 install-pdf-binutils: \
6348 configure-binutils \
6349 pdf-binutils
6350 @[ -f ./binutils/Makefile ] || exit 0; \
6351 r=`${PWD_COMMAND}`; export r; \
6352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6353 $(HOST_EXPORTS) \
6354 for flag in $(EXTRA_HOST_FLAGS) ; do \
6355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6356 done; \
6357 echo "Doing install-pdf in binutils"; \
6358 (cd $(HOST_SUBDIR)/binutils && \
6359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6361 "RANLIB=$${RANLIB}" \
6362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6363 install-pdf) \
6364 || exit 1
6366 @endif binutils
6368 .PHONY: maybe-install-html-binutils install-html-binutils
6369 maybe-install-html-binutils:
6370 @if binutils
6371 maybe-install-html-binutils: install-html-binutils
6373 install-html-binutils: \
6374 configure-binutils \
6375 html-binutils
6376 @[ -f ./binutils/Makefile ] || exit 0; \
6377 r=`${PWD_COMMAND}`; export r; \
6378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6379 $(HOST_EXPORTS) \
6380 for flag in $(EXTRA_HOST_FLAGS) ; do \
6381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6382 done; \
6383 echo "Doing install-html in binutils"; \
6384 (cd $(HOST_SUBDIR)/binutils && \
6385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6387 "RANLIB=$${RANLIB}" \
6388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6389 install-html) \
6390 || exit 1
6392 @endif binutils
6394 .PHONY: maybe-installcheck-binutils installcheck-binutils
6395 maybe-installcheck-binutils:
6396 @if binutils
6397 maybe-installcheck-binutils: installcheck-binutils
6399 installcheck-binutils: \
6400 configure-binutils
6401 @[ -f ./binutils/Makefile ] || exit 0; \
6402 r=`${PWD_COMMAND}`; export r; \
6403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6404 $(HOST_EXPORTS) \
6405 for flag in $(EXTRA_HOST_FLAGS) ; do \
6406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6407 done; \
6408 echo "Doing installcheck in binutils"; \
6409 (cd $(HOST_SUBDIR)/binutils && \
6410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6412 "RANLIB=$${RANLIB}" \
6413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6414 installcheck) \
6415 || exit 1
6417 @endif binutils
6419 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6420 maybe-mostlyclean-binutils:
6421 @if binutils
6422 maybe-mostlyclean-binutils: mostlyclean-binutils
6424 mostlyclean-binutils:
6425 @[ -f ./binutils/Makefile ] || exit 0; \
6426 r=`${PWD_COMMAND}`; export r; \
6427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6428 $(HOST_EXPORTS) \
6429 for flag in $(EXTRA_HOST_FLAGS) ; do \
6430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6431 done; \
6432 echo "Doing mostlyclean in binutils"; \
6433 (cd $(HOST_SUBDIR)/binutils && \
6434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6436 "RANLIB=$${RANLIB}" \
6437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6438 mostlyclean) \
6439 || exit 1
6441 @endif binutils
6443 .PHONY: maybe-clean-binutils clean-binutils
6444 maybe-clean-binutils:
6445 @if binutils
6446 maybe-clean-binutils: clean-binutils
6448 clean-binutils:
6449 @[ -f ./binutils/Makefile ] || exit 0; \
6450 r=`${PWD_COMMAND}`; export r; \
6451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6452 $(HOST_EXPORTS) \
6453 for flag in $(EXTRA_HOST_FLAGS) ; do \
6454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6455 done; \
6456 echo "Doing clean in binutils"; \
6457 (cd $(HOST_SUBDIR)/binutils && \
6458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6460 "RANLIB=$${RANLIB}" \
6461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6462 clean) \
6463 || exit 1
6465 @endif binutils
6467 .PHONY: maybe-distclean-binutils distclean-binutils
6468 maybe-distclean-binutils:
6469 @if binutils
6470 maybe-distclean-binutils: distclean-binutils
6472 distclean-binutils:
6473 @[ -f ./binutils/Makefile ] || exit 0; \
6474 r=`${PWD_COMMAND}`; export r; \
6475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6476 $(HOST_EXPORTS) \
6477 for flag in $(EXTRA_HOST_FLAGS) ; do \
6478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6479 done; \
6480 echo "Doing distclean in binutils"; \
6481 (cd $(HOST_SUBDIR)/binutils && \
6482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6484 "RANLIB=$${RANLIB}" \
6485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6486 distclean) \
6487 || exit 1
6489 @endif binutils
6491 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6492 maybe-maintainer-clean-binutils:
6493 @if binutils
6494 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6496 maintainer-clean-binutils:
6497 @[ -f ./binutils/Makefile ] || exit 0; \
6498 r=`${PWD_COMMAND}`; export r; \
6499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6500 $(HOST_EXPORTS) \
6501 for flag in $(EXTRA_HOST_FLAGS) ; do \
6502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6503 done; \
6504 echo "Doing maintainer-clean in binutils"; \
6505 (cd $(HOST_SUBDIR)/binutils && \
6506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6508 "RANLIB=$${RANLIB}" \
6509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6510 maintainer-clean) \
6511 || exit 1
6513 @endif binutils
6517 .PHONY: configure-bison maybe-configure-bison
6518 maybe-configure-bison:
6519 @if gcc-bootstrap
6520 configure-bison: stage_current
6521 @endif gcc-bootstrap
6522 @if bison
6523 maybe-configure-bison: configure-bison
6524 configure-bison:
6525 @: $(MAKE); $(unstage)
6526 @r=`${PWD_COMMAND}`; export r; \
6527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6528 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
6530 $(HOST_EXPORTS) \
6531 echo Configuring in $(HOST_SUBDIR)/bison; \
6532 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6533 case $(srcdir) in \
6534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6535 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6537 esac; \
6538 module_srcdir=bison; \
6539 $(SHELL) \
6540 $$s/$$module_srcdir/configure \
6541 --srcdir=$${topdir}/$$module_srcdir \
6542 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6543 --target=${target_alias} \
6544 || exit 1
6545 @endif bison
6551 .PHONY: all-bison maybe-all-bison
6552 maybe-all-bison:
6553 @if gcc-bootstrap
6554 all-bison: stage_current
6555 @endif gcc-bootstrap
6556 @if bison
6557 TARGET-bison=all
6558 maybe-all-bison: all-bison
6559 all-bison: configure-bison
6560 @: $(MAKE); $(unstage)
6561 @r=`${PWD_COMMAND}`; export r; \
6562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6563 $(HOST_EXPORTS) \
6564 (cd $(HOST_SUBDIR)/bison && \
6565 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6566 $(TARGET-bison))
6567 @endif bison
6572 .PHONY: check-bison maybe-check-bison
6573 maybe-check-bison:
6574 @if bison
6575 maybe-check-bison: check-bison
6577 # This module is only tested in a native toolchain.
6578 check-bison:
6579 @: $(MAKE); $(unstage)
6580 @if [ '$(host)' = '$(target)' ]; then \
6581 r=`${PWD_COMMAND}`; export r; \
6582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6583 $(HOST_EXPORTS) \
6584 (cd $(HOST_SUBDIR)/bison && \
6585 $(MAKE) $(FLAGS_TO_PASS) check)
6588 @endif bison
6590 .PHONY: install-bison maybe-install-bison
6591 maybe-install-bison:
6592 @if bison
6593 maybe-install-bison: install-bison
6595 install-bison: installdirs
6596 @: $(MAKE); $(unstage)
6597 @r=`${PWD_COMMAND}`; export r; \
6598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6599 $(HOST_EXPORTS) \
6600 (cd $(HOST_SUBDIR)/bison && \
6601 $(MAKE) $(FLAGS_TO_PASS) install)
6603 @endif bison
6605 .PHONY: install-strip-bison maybe-install-strip-bison
6606 maybe-install-strip-bison:
6607 @if bison
6608 maybe-install-strip-bison: install-strip-bison
6610 install-strip-bison: installdirs
6611 @: $(MAKE); $(unstage)
6612 @r=`${PWD_COMMAND}`; export r; \
6613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6614 $(HOST_EXPORTS) \
6615 (cd $(HOST_SUBDIR)/bison && \
6616 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6618 @endif bison
6620 # Other targets (info, dvi, pdf, etc.)
6622 .PHONY: maybe-info-bison info-bison
6623 maybe-info-bison:
6624 @if bison
6625 maybe-info-bison: info-bison
6627 info-bison: \
6628 configure-bison
6629 @: $(MAKE); $(unstage)
6630 @[ -f ./bison/Makefile ] || exit 0; \
6631 r=`${PWD_COMMAND}`; export r; \
6632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6633 $(HOST_EXPORTS) \
6634 for flag in $(EXTRA_HOST_FLAGS) ; do \
6635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6636 done; \
6637 echo "Doing info in bison"; \
6638 (cd $(HOST_SUBDIR)/bison && \
6639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6641 "RANLIB=$${RANLIB}" \
6642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6643 info) \
6644 || exit 1
6646 @endif bison
6648 .PHONY: maybe-dvi-bison dvi-bison
6649 maybe-dvi-bison:
6650 @if bison
6651 maybe-dvi-bison: dvi-bison
6653 dvi-bison: \
6654 configure-bison
6655 @: $(MAKE); $(unstage)
6656 @[ -f ./bison/Makefile ] || exit 0; \
6657 r=`${PWD_COMMAND}`; export r; \
6658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6659 $(HOST_EXPORTS) \
6660 for flag in $(EXTRA_HOST_FLAGS) ; do \
6661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6662 done; \
6663 echo "Doing dvi in bison"; \
6664 (cd $(HOST_SUBDIR)/bison && \
6665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6667 "RANLIB=$${RANLIB}" \
6668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6669 dvi) \
6670 || exit 1
6672 @endif bison
6674 .PHONY: maybe-pdf-bison pdf-bison
6675 maybe-pdf-bison:
6676 @if bison
6677 maybe-pdf-bison: pdf-bison
6679 pdf-bison: \
6680 configure-bison
6681 @: $(MAKE); $(unstage)
6682 @[ -f ./bison/Makefile ] || exit 0; \
6683 r=`${PWD_COMMAND}`; export r; \
6684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6685 $(HOST_EXPORTS) \
6686 for flag in $(EXTRA_HOST_FLAGS) ; do \
6687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6688 done; \
6689 echo "Doing pdf in bison"; \
6690 (cd $(HOST_SUBDIR)/bison && \
6691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6693 "RANLIB=$${RANLIB}" \
6694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6695 pdf) \
6696 || exit 1
6698 @endif bison
6700 .PHONY: maybe-html-bison html-bison
6701 maybe-html-bison:
6702 @if bison
6703 maybe-html-bison: html-bison
6705 html-bison: \
6706 configure-bison
6707 @: $(MAKE); $(unstage)
6708 @[ -f ./bison/Makefile ] || exit 0; \
6709 r=`${PWD_COMMAND}`; export r; \
6710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6711 $(HOST_EXPORTS) \
6712 for flag in $(EXTRA_HOST_FLAGS) ; do \
6713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6714 done; \
6715 echo "Doing html in bison"; \
6716 (cd $(HOST_SUBDIR)/bison && \
6717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6719 "RANLIB=$${RANLIB}" \
6720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6721 html) \
6722 || exit 1
6724 @endif bison
6726 .PHONY: maybe-TAGS-bison TAGS-bison
6727 maybe-TAGS-bison:
6728 @if bison
6729 maybe-TAGS-bison: TAGS-bison
6731 TAGS-bison: \
6732 configure-bison
6733 @: $(MAKE); $(unstage)
6734 @[ -f ./bison/Makefile ] || exit 0; \
6735 r=`${PWD_COMMAND}`; export r; \
6736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6737 $(HOST_EXPORTS) \
6738 for flag in $(EXTRA_HOST_FLAGS) ; do \
6739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6740 done; \
6741 echo "Doing TAGS in bison"; \
6742 (cd $(HOST_SUBDIR)/bison && \
6743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6745 "RANLIB=$${RANLIB}" \
6746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6747 TAGS) \
6748 || exit 1
6750 @endif bison
6752 .PHONY: maybe-install-info-bison install-info-bison
6753 maybe-install-info-bison:
6754 @if bison
6755 maybe-install-info-bison: install-info-bison
6757 install-info-bison: \
6758 configure-bison \
6759 info-bison
6760 @: $(MAKE); $(unstage)
6761 @[ -f ./bison/Makefile ] || exit 0; \
6762 r=`${PWD_COMMAND}`; export r; \
6763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6764 $(HOST_EXPORTS) \
6765 for flag in $(EXTRA_HOST_FLAGS) ; do \
6766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6767 done; \
6768 echo "Doing install-info in bison"; \
6769 (cd $(HOST_SUBDIR)/bison && \
6770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6772 "RANLIB=$${RANLIB}" \
6773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6774 install-info) \
6775 || exit 1
6777 @endif bison
6779 .PHONY: maybe-install-pdf-bison install-pdf-bison
6780 maybe-install-pdf-bison:
6781 @if bison
6782 maybe-install-pdf-bison: install-pdf-bison
6784 install-pdf-bison: \
6785 configure-bison \
6786 pdf-bison
6787 @: $(MAKE); $(unstage)
6788 @[ -f ./bison/Makefile ] || exit 0; \
6789 r=`${PWD_COMMAND}`; export r; \
6790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6791 $(HOST_EXPORTS) \
6792 for flag in $(EXTRA_HOST_FLAGS) ; do \
6793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6794 done; \
6795 echo "Doing install-pdf in bison"; \
6796 (cd $(HOST_SUBDIR)/bison && \
6797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6799 "RANLIB=$${RANLIB}" \
6800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6801 install-pdf) \
6802 || exit 1
6804 @endif bison
6806 .PHONY: maybe-install-html-bison install-html-bison
6807 maybe-install-html-bison:
6808 @if bison
6809 maybe-install-html-bison: install-html-bison
6811 install-html-bison: \
6812 configure-bison \
6813 html-bison
6814 @: $(MAKE); $(unstage)
6815 @[ -f ./bison/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 bison"; \
6823 (cd $(HOST_SUBDIR)/bison && \
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 bison
6833 .PHONY: maybe-installcheck-bison installcheck-bison
6834 maybe-installcheck-bison:
6835 @if bison
6836 maybe-installcheck-bison: installcheck-bison
6838 installcheck-bison: \
6839 configure-bison
6840 @: $(MAKE); $(unstage)
6841 @[ -f ./bison/Makefile ] || exit 0; \
6842 r=`${PWD_COMMAND}`; export r; \
6843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6844 $(HOST_EXPORTS) \
6845 for flag in $(EXTRA_HOST_FLAGS) ; do \
6846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6847 done; \
6848 echo "Doing installcheck in bison"; \
6849 (cd $(HOST_SUBDIR)/bison && \
6850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6852 "RANLIB=$${RANLIB}" \
6853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6854 installcheck) \
6855 || exit 1
6857 @endif bison
6859 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6860 maybe-mostlyclean-bison:
6861 @if bison
6862 maybe-mostlyclean-bison: mostlyclean-bison
6864 mostlyclean-bison:
6865 @: $(MAKE); $(unstage)
6866 @[ -f ./bison/Makefile ] || exit 0; \
6867 r=`${PWD_COMMAND}`; export r; \
6868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6869 $(HOST_EXPORTS) \
6870 for flag in $(EXTRA_HOST_FLAGS) ; do \
6871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6872 done; \
6873 echo "Doing mostlyclean in bison"; \
6874 (cd $(HOST_SUBDIR)/bison && \
6875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6877 "RANLIB=$${RANLIB}" \
6878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6879 mostlyclean) \
6880 || exit 1
6882 @endif bison
6884 .PHONY: maybe-clean-bison clean-bison
6885 maybe-clean-bison:
6886 @if bison
6887 maybe-clean-bison: clean-bison
6889 clean-bison:
6890 @: $(MAKE); $(unstage)
6891 @[ -f ./bison/Makefile ] || exit 0; \
6892 r=`${PWD_COMMAND}`; export r; \
6893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6894 $(HOST_EXPORTS) \
6895 for flag in $(EXTRA_HOST_FLAGS) ; do \
6896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6897 done; \
6898 echo "Doing clean in bison"; \
6899 (cd $(HOST_SUBDIR)/bison && \
6900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6902 "RANLIB=$${RANLIB}" \
6903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6904 clean) \
6905 || exit 1
6907 @endif bison
6909 .PHONY: maybe-distclean-bison distclean-bison
6910 maybe-distclean-bison:
6911 @if bison
6912 maybe-distclean-bison: distclean-bison
6914 distclean-bison:
6915 @: $(MAKE); $(unstage)
6916 @[ -f ./bison/Makefile ] || exit 0; \
6917 r=`${PWD_COMMAND}`; export r; \
6918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6919 $(HOST_EXPORTS) \
6920 for flag in $(EXTRA_HOST_FLAGS) ; do \
6921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6922 done; \
6923 echo "Doing distclean in bison"; \
6924 (cd $(HOST_SUBDIR)/bison && \
6925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6927 "RANLIB=$${RANLIB}" \
6928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6929 distclean) \
6930 || exit 1
6932 @endif bison
6934 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6935 maybe-maintainer-clean-bison:
6936 @if bison
6937 maybe-maintainer-clean-bison: maintainer-clean-bison
6939 maintainer-clean-bison:
6940 @: $(MAKE); $(unstage)
6941 @[ -f ./bison/Makefile ] || exit 0; \
6942 r=`${PWD_COMMAND}`; export r; \
6943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6944 $(HOST_EXPORTS) \
6945 for flag in $(EXTRA_HOST_FLAGS) ; do \
6946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6947 done; \
6948 echo "Doing maintainer-clean in bison"; \
6949 (cd $(HOST_SUBDIR)/bison && \
6950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6952 "RANLIB=$${RANLIB}" \
6953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6954 maintainer-clean) \
6955 || exit 1
6957 @endif bison
6961 .PHONY: configure-cgen maybe-configure-cgen
6962 maybe-configure-cgen:
6963 @if gcc-bootstrap
6964 configure-cgen: stage_current
6965 @endif gcc-bootstrap
6966 @if cgen
6967 maybe-configure-cgen: configure-cgen
6968 configure-cgen:
6969 @: $(MAKE); $(unstage)
6970 @r=`${PWD_COMMAND}`; export r; \
6971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6972 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6973 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
6974 $(HOST_EXPORTS) \
6975 echo Configuring in $(HOST_SUBDIR)/cgen; \
6976 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6977 case $(srcdir) in \
6978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6979 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6981 esac; \
6982 module_srcdir=cgen; \
6983 $(SHELL) \
6984 $$s/$$module_srcdir/configure \
6985 --srcdir=$${topdir}/$$module_srcdir \
6986 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6987 --target=${target_alias} \
6988 || exit 1
6989 @endif cgen
6995 .PHONY: all-cgen maybe-all-cgen
6996 maybe-all-cgen:
6997 @if gcc-bootstrap
6998 all-cgen: stage_current
6999 @endif gcc-bootstrap
7000 @if cgen
7001 TARGET-cgen=all
7002 maybe-all-cgen: all-cgen
7003 all-cgen: configure-cgen
7004 @: $(MAKE); $(unstage)
7005 @r=`${PWD_COMMAND}`; export r; \
7006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7007 $(HOST_EXPORTS) \
7008 (cd $(HOST_SUBDIR)/cgen && \
7009 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7010 $(TARGET-cgen))
7011 @endif cgen
7016 .PHONY: check-cgen maybe-check-cgen
7017 maybe-check-cgen:
7018 @if cgen
7019 maybe-check-cgen: check-cgen
7021 check-cgen:
7022 @: $(MAKE); $(unstage)
7023 @r=`${PWD_COMMAND}`; export r; \
7024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7025 $(HOST_EXPORTS) \
7026 (cd $(HOST_SUBDIR)/cgen && \
7027 $(MAKE) $(FLAGS_TO_PASS) check)
7029 @endif cgen
7031 .PHONY: install-cgen maybe-install-cgen
7032 maybe-install-cgen:
7033 @if cgen
7034 maybe-install-cgen: install-cgen
7036 install-cgen: installdirs
7037 @: $(MAKE); $(unstage)
7038 @r=`${PWD_COMMAND}`; export r; \
7039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7040 $(HOST_EXPORTS) \
7041 (cd $(HOST_SUBDIR)/cgen && \
7042 $(MAKE) $(FLAGS_TO_PASS) install)
7044 @endif cgen
7046 .PHONY: install-strip-cgen maybe-install-strip-cgen
7047 maybe-install-strip-cgen:
7048 @if cgen
7049 maybe-install-strip-cgen: install-strip-cgen
7051 install-strip-cgen: installdirs
7052 @: $(MAKE); $(unstage)
7053 @r=`${PWD_COMMAND}`; export r; \
7054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7055 $(HOST_EXPORTS) \
7056 (cd $(HOST_SUBDIR)/cgen && \
7057 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7059 @endif cgen
7061 # Other targets (info, dvi, pdf, etc.)
7063 .PHONY: maybe-info-cgen info-cgen
7064 maybe-info-cgen:
7065 @if cgen
7066 maybe-info-cgen: info-cgen
7068 info-cgen: \
7069 configure-cgen
7070 @: $(MAKE); $(unstage)
7071 @[ -f ./cgen/Makefile ] || exit 0; \
7072 r=`${PWD_COMMAND}`; export r; \
7073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7074 $(HOST_EXPORTS) \
7075 for flag in $(EXTRA_HOST_FLAGS) ; do \
7076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7077 done; \
7078 echo "Doing info in cgen"; \
7079 (cd $(HOST_SUBDIR)/cgen && \
7080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7082 "RANLIB=$${RANLIB}" \
7083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7084 info) \
7085 || exit 1
7087 @endif cgen
7089 .PHONY: maybe-dvi-cgen dvi-cgen
7090 maybe-dvi-cgen:
7091 @if cgen
7092 maybe-dvi-cgen: dvi-cgen
7094 dvi-cgen: \
7095 configure-cgen
7096 @: $(MAKE); $(unstage)
7097 @[ -f ./cgen/Makefile ] || exit 0; \
7098 r=`${PWD_COMMAND}`; export r; \
7099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7100 $(HOST_EXPORTS) \
7101 for flag in $(EXTRA_HOST_FLAGS) ; do \
7102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7103 done; \
7104 echo "Doing dvi in cgen"; \
7105 (cd $(HOST_SUBDIR)/cgen && \
7106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7108 "RANLIB=$${RANLIB}" \
7109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7110 dvi) \
7111 || exit 1
7113 @endif cgen
7115 .PHONY: maybe-pdf-cgen pdf-cgen
7116 maybe-pdf-cgen:
7117 @if cgen
7118 maybe-pdf-cgen: pdf-cgen
7120 pdf-cgen: \
7121 configure-cgen
7122 @: $(MAKE); $(unstage)
7123 @[ -f ./cgen/Makefile ] || exit 0; \
7124 r=`${PWD_COMMAND}`; export r; \
7125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7126 $(HOST_EXPORTS) \
7127 for flag in $(EXTRA_HOST_FLAGS) ; do \
7128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7129 done; \
7130 echo "Doing pdf in cgen"; \
7131 (cd $(HOST_SUBDIR)/cgen && \
7132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7134 "RANLIB=$${RANLIB}" \
7135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7136 pdf) \
7137 || exit 1
7139 @endif cgen
7141 .PHONY: maybe-html-cgen html-cgen
7142 maybe-html-cgen:
7143 @if cgen
7144 maybe-html-cgen: html-cgen
7146 html-cgen: \
7147 configure-cgen
7148 @: $(MAKE); $(unstage)
7149 @[ -f ./cgen/Makefile ] || exit 0; \
7150 r=`${PWD_COMMAND}`; export r; \
7151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7152 $(HOST_EXPORTS) \
7153 for flag in $(EXTRA_HOST_FLAGS) ; do \
7154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7155 done; \
7156 echo "Doing html in cgen"; \
7157 (cd $(HOST_SUBDIR)/cgen && \
7158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7160 "RANLIB=$${RANLIB}" \
7161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7162 html) \
7163 || exit 1
7165 @endif cgen
7167 .PHONY: maybe-TAGS-cgen TAGS-cgen
7168 maybe-TAGS-cgen:
7169 @if cgen
7170 maybe-TAGS-cgen: TAGS-cgen
7172 TAGS-cgen: \
7173 configure-cgen
7174 @: $(MAKE); $(unstage)
7175 @[ -f ./cgen/Makefile ] || exit 0; \
7176 r=`${PWD_COMMAND}`; export r; \
7177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7178 $(HOST_EXPORTS) \
7179 for flag in $(EXTRA_HOST_FLAGS) ; do \
7180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7181 done; \
7182 echo "Doing TAGS in cgen"; \
7183 (cd $(HOST_SUBDIR)/cgen && \
7184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7186 "RANLIB=$${RANLIB}" \
7187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7188 TAGS) \
7189 || exit 1
7191 @endif cgen
7193 .PHONY: maybe-install-info-cgen install-info-cgen
7194 maybe-install-info-cgen:
7195 @if cgen
7196 maybe-install-info-cgen: install-info-cgen
7198 install-info-cgen: \
7199 configure-cgen \
7200 info-cgen
7201 @: $(MAKE); $(unstage)
7202 @[ -f ./cgen/Makefile ] || exit 0; \
7203 r=`${PWD_COMMAND}`; export r; \
7204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7205 $(HOST_EXPORTS) \
7206 for flag in $(EXTRA_HOST_FLAGS) ; do \
7207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7208 done; \
7209 echo "Doing install-info in cgen"; \
7210 (cd $(HOST_SUBDIR)/cgen && \
7211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7213 "RANLIB=$${RANLIB}" \
7214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7215 install-info) \
7216 || exit 1
7218 @endif cgen
7220 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
7221 maybe-install-pdf-cgen:
7222 @if cgen
7223 maybe-install-pdf-cgen: install-pdf-cgen
7225 install-pdf-cgen: \
7226 configure-cgen \
7227 pdf-cgen
7228 @: $(MAKE); $(unstage)
7229 @[ -f ./cgen/Makefile ] || exit 0; \
7230 r=`${PWD_COMMAND}`; export r; \
7231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7232 $(HOST_EXPORTS) \
7233 for flag in $(EXTRA_HOST_FLAGS) ; do \
7234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7235 done; \
7236 echo "Doing install-pdf in cgen"; \
7237 (cd $(HOST_SUBDIR)/cgen && \
7238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7240 "RANLIB=$${RANLIB}" \
7241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7242 install-pdf) \
7243 || exit 1
7245 @endif cgen
7247 .PHONY: maybe-install-html-cgen install-html-cgen
7248 maybe-install-html-cgen:
7249 @if cgen
7250 maybe-install-html-cgen: install-html-cgen
7252 install-html-cgen: \
7253 configure-cgen \
7254 html-cgen
7255 @: $(MAKE); $(unstage)
7256 @[ -f ./cgen/Makefile ] || exit 0; \
7257 r=`${PWD_COMMAND}`; export r; \
7258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7259 $(HOST_EXPORTS) \
7260 for flag in $(EXTRA_HOST_FLAGS) ; do \
7261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7262 done; \
7263 echo "Doing install-html in cgen"; \
7264 (cd $(HOST_SUBDIR)/cgen && \
7265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7267 "RANLIB=$${RANLIB}" \
7268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7269 install-html) \
7270 || exit 1
7272 @endif cgen
7274 .PHONY: maybe-installcheck-cgen installcheck-cgen
7275 maybe-installcheck-cgen:
7276 @if cgen
7277 maybe-installcheck-cgen: installcheck-cgen
7279 installcheck-cgen: \
7280 configure-cgen
7281 @: $(MAKE); $(unstage)
7282 @[ -f ./cgen/Makefile ] || exit 0; \
7283 r=`${PWD_COMMAND}`; export r; \
7284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7285 $(HOST_EXPORTS) \
7286 for flag in $(EXTRA_HOST_FLAGS) ; do \
7287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7288 done; \
7289 echo "Doing installcheck in cgen"; \
7290 (cd $(HOST_SUBDIR)/cgen && \
7291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7293 "RANLIB=$${RANLIB}" \
7294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7295 installcheck) \
7296 || exit 1
7298 @endif cgen
7300 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
7301 maybe-mostlyclean-cgen:
7302 @if cgen
7303 maybe-mostlyclean-cgen: mostlyclean-cgen
7305 mostlyclean-cgen:
7306 @: $(MAKE); $(unstage)
7307 @[ -f ./cgen/Makefile ] || exit 0; \
7308 r=`${PWD_COMMAND}`; export r; \
7309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7310 $(HOST_EXPORTS) \
7311 for flag in $(EXTRA_HOST_FLAGS) ; do \
7312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7313 done; \
7314 echo "Doing mostlyclean in cgen"; \
7315 (cd $(HOST_SUBDIR)/cgen && \
7316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7318 "RANLIB=$${RANLIB}" \
7319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7320 mostlyclean) \
7321 || exit 1
7323 @endif cgen
7325 .PHONY: maybe-clean-cgen clean-cgen
7326 maybe-clean-cgen:
7327 @if cgen
7328 maybe-clean-cgen: clean-cgen
7330 clean-cgen:
7331 @: $(MAKE); $(unstage)
7332 @[ -f ./cgen/Makefile ] || exit 0; \
7333 r=`${PWD_COMMAND}`; export r; \
7334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7335 $(HOST_EXPORTS) \
7336 for flag in $(EXTRA_HOST_FLAGS) ; do \
7337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7338 done; \
7339 echo "Doing clean in cgen"; \
7340 (cd $(HOST_SUBDIR)/cgen && \
7341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7343 "RANLIB=$${RANLIB}" \
7344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7345 clean) \
7346 || exit 1
7348 @endif cgen
7350 .PHONY: maybe-distclean-cgen distclean-cgen
7351 maybe-distclean-cgen:
7352 @if cgen
7353 maybe-distclean-cgen: distclean-cgen
7355 distclean-cgen:
7356 @: $(MAKE); $(unstage)
7357 @[ -f ./cgen/Makefile ] || exit 0; \
7358 r=`${PWD_COMMAND}`; export r; \
7359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7360 $(HOST_EXPORTS) \
7361 for flag in $(EXTRA_HOST_FLAGS) ; do \
7362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7363 done; \
7364 echo "Doing distclean in cgen"; \
7365 (cd $(HOST_SUBDIR)/cgen && \
7366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7368 "RANLIB=$${RANLIB}" \
7369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7370 distclean) \
7371 || exit 1
7373 @endif cgen
7375 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
7376 maybe-maintainer-clean-cgen:
7377 @if cgen
7378 maybe-maintainer-clean-cgen: maintainer-clean-cgen
7380 maintainer-clean-cgen:
7381 @: $(MAKE); $(unstage)
7382 @[ -f ./cgen/Makefile ] || exit 0; \
7383 r=`${PWD_COMMAND}`; export r; \
7384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7385 $(HOST_EXPORTS) \
7386 for flag in $(EXTRA_HOST_FLAGS) ; do \
7387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7388 done; \
7389 echo "Doing maintainer-clean in cgen"; \
7390 (cd $(HOST_SUBDIR)/cgen && \
7391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7393 "RANLIB=$${RANLIB}" \
7394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7395 maintainer-clean) \
7396 || exit 1
7398 @endif cgen
7402 .PHONY: configure-dejagnu maybe-configure-dejagnu
7403 maybe-configure-dejagnu:
7404 @if gcc-bootstrap
7405 configure-dejagnu: stage_current
7406 @endif gcc-bootstrap
7407 @if dejagnu
7408 maybe-configure-dejagnu: configure-dejagnu
7409 configure-dejagnu:
7410 @: $(MAKE); $(unstage)
7411 @r=`${PWD_COMMAND}`; export r; \
7412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7413 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
7415 $(HOST_EXPORTS) \
7416 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7417 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7418 case $(srcdir) in \
7419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7420 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7422 esac; \
7423 module_srcdir=dejagnu; \
7424 $(SHELL) \
7425 $$s/$$module_srcdir/configure \
7426 --srcdir=$${topdir}/$$module_srcdir \
7427 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7428 --target=${target_alias} \
7429 || exit 1
7430 @endif dejagnu
7436 .PHONY: all-dejagnu maybe-all-dejagnu
7437 maybe-all-dejagnu:
7438 @if gcc-bootstrap
7439 all-dejagnu: stage_current
7440 @endif gcc-bootstrap
7441 @if dejagnu
7442 TARGET-dejagnu=all
7443 maybe-all-dejagnu: all-dejagnu
7444 all-dejagnu: configure-dejagnu
7445 @: $(MAKE); $(unstage)
7446 @r=`${PWD_COMMAND}`; export r; \
7447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7448 $(HOST_EXPORTS) \
7449 (cd $(HOST_SUBDIR)/dejagnu && \
7450 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7451 $(TARGET-dejagnu))
7452 @endif dejagnu
7457 .PHONY: check-dejagnu maybe-check-dejagnu
7458 maybe-check-dejagnu:
7459 @if dejagnu
7460 maybe-check-dejagnu: check-dejagnu
7462 check-dejagnu:
7463 @: $(MAKE); $(unstage)
7464 @r=`${PWD_COMMAND}`; export r; \
7465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7466 $(HOST_EXPORTS) \
7467 (cd $(HOST_SUBDIR)/dejagnu && \
7468 $(MAKE) $(FLAGS_TO_PASS) check)
7470 @endif dejagnu
7472 .PHONY: install-dejagnu maybe-install-dejagnu
7473 maybe-install-dejagnu:
7474 @if dejagnu
7475 maybe-install-dejagnu: install-dejagnu
7477 install-dejagnu: installdirs
7478 @: $(MAKE); $(unstage)
7479 @r=`${PWD_COMMAND}`; export r; \
7480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7481 $(HOST_EXPORTS) \
7482 (cd $(HOST_SUBDIR)/dejagnu && \
7483 $(MAKE) $(FLAGS_TO_PASS) install)
7485 @endif dejagnu
7487 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
7488 maybe-install-strip-dejagnu:
7489 @if dejagnu
7490 maybe-install-strip-dejagnu: install-strip-dejagnu
7492 install-strip-dejagnu: installdirs
7493 @: $(MAKE); $(unstage)
7494 @r=`${PWD_COMMAND}`; export r; \
7495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7496 $(HOST_EXPORTS) \
7497 (cd $(HOST_SUBDIR)/dejagnu && \
7498 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7500 @endif dejagnu
7502 # Other targets (info, dvi, pdf, etc.)
7504 .PHONY: maybe-info-dejagnu info-dejagnu
7505 maybe-info-dejagnu:
7506 @if dejagnu
7507 maybe-info-dejagnu: info-dejagnu
7509 info-dejagnu: \
7510 configure-dejagnu
7511 @: $(MAKE); $(unstage)
7512 @[ -f ./dejagnu/Makefile ] || exit 0; \
7513 r=`${PWD_COMMAND}`; export r; \
7514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7515 $(HOST_EXPORTS) \
7516 for flag in $(EXTRA_HOST_FLAGS) ; do \
7517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7518 done; \
7519 echo "Doing info in dejagnu"; \
7520 (cd $(HOST_SUBDIR)/dejagnu && \
7521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7523 "RANLIB=$${RANLIB}" \
7524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7525 info) \
7526 || exit 1
7528 @endif dejagnu
7530 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7531 maybe-dvi-dejagnu:
7532 @if dejagnu
7533 maybe-dvi-dejagnu: dvi-dejagnu
7535 dvi-dejagnu: \
7536 configure-dejagnu
7537 @: $(MAKE); $(unstage)
7538 @[ -f ./dejagnu/Makefile ] || exit 0; \
7539 r=`${PWD_COMMAND}`; export r; \
7540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7541 $(HOST_EXPORTS) \
7542 for flag in $(EXTRA_HOST_FLAGS) ; do \
7543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7544 done; \
7545 echo "Doing dvi in dejagnu"; \
7546 (cd $(HOST_SUBDIR)/dejagnu && \
7547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7549 "RANLIB=$${RANLIB}" \
7550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7551 dvi) \
7552 || exit 1
7554 @endif dejagnu
7556 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
7557 maybe-pdf-dejagnu:
7558 @if dejagnu
7559 maybe-pdf-dejagnu: pdf-dejagnu
7561 pdf-dejagnu: \
7562 configure-dejagnu
7563 @: $(MAKE); $(unstage)
7564 @[ -f ./dejagnu/Makefile ] || exit 0; \
7565 r=`${PWD_COMMAND}`; export r; \
7566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7567 $(HOST_EXPORTS) \
7568 for flag in $(EXTRA_HOST_FLAGS) ; do \
7569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7570 done; \
7571 echo "Doing pdf in dejagnu"; \
7572 (cd $(HOST_SUBDIR)/dejagnu && \
7573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7575 "RANLIB=$${RANLIB}" \
7576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7577 pdf) \
7578 || exit 1
7580 @endif dejagnu
7582 .PHONY: maybe-html-dejagnu html-dejagnu
7583 maybe-html-dejagnu:
7584 @if dejagnu
7585 maybe-html-dejagnu: html-dejagnu
7587 html-dejagnu: \
7588 configure-dejagnu
7589 @: $(MAKE); $(unstage)
7590 @[ -f ./dejagnu/Makefile ] || exit 0; \
7591 r=`${PWD_COMMAND}`; export r; \
7592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7593 $(HOST_EXPORTS) \
7594 for flag in $(EXTRA_HOST_FLAGS) ; do \
7595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7596 done; \
7597 echo "Doing html in dejagnu"; \
7598 (cd $(HOST_SUBDIR)/dejagnu && \
7599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7601 "RANLIB=$${RANLIB}" \
7602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7603 html) \
7604 || exit 1
7606 @endif dejagnu
7608 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7609 maybe-TAGS-dejagnu:
7610 @if dejagnu
7611 maybe-TAGS-dejagnu: TAGS-dejagnu
7613 TAGS-dejagnu: \
7614 configure-dejagnu
7615 @: $(MAKE); $(unstage)
7616 @[ -f ./dejagnu/Makefile ] || exit 0; \
7617 r=`${PWD_COMMAND}`; export r; \
7618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7619 $(HOST_EXPORTS) \
7620 for flag in $(EXTRA_HOST_FLAGS) ; do \
7621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7622 done; \
7623 echo "Doing TAGS in dejagnu"; \
7624 (cd $(HOST_SUBDIR)/dejagnu && \
7625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7627 "RANLIB=$${RANLIB}" \
7628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7629 TAGS) \
7630 || exit 1
7632 @endif dejagnu
7634 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7635 maybe-install-info-dejagnu:
7636 @if dejagnu
7637 maybe-install-info-dejagnu: install-info-dejagnu
7639 install-info-dejagnu: \
7640 configure-dejagnu \
7641 info-dejagnu
7642 @: $(MAKE); $(unstage)
7643 @[ -f ./dejagnu/Makefile ] || exit 0; \
7644 r=`${PWD_COMMAND}`; export r; \
7645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7646 $(HOST_EXPORTS) \
7647 for flag in $(EXTRA_HOST_FLAGS) ; do \
7648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7649 done; \
7650 echo "Doing install-info in dejagnu"; \
7651 (cd $(HOST_SUBDIR)/dejagnu && \
7652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7654 "RANLIB=$${RANLIB}" \
7655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7656 install-info) \
7657 || exit 1
7659 @endif dejagnu
7661 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
7662 maybe-install-pdf-dejagnu:
7663 @if dejagnu
7664 maybe-install-pdf-dejagnu: install-pdf-dejagnu
7666 install-pdf-dejagnu: \
7667 configure-dejagnu \
7668 pdf-dejagnu
7669 @: $(MAKE); $(unstage)
7670 @[ -f ./dejagnu/Makefile ] || exit 0; \
7671 r=`${PWD_COMMAND}`; export r; \
7672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7673 $(HOST_EXPORTS) \
7674 for flag in $(EXTRA_HOST_FLAGS) ; do \
7675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7676 done; \
7677 echo "Doing install-pdf in dejagnu"; \
7678 (cd $(HOST_SUBDIR)/dejagnu && \
7679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7681 "RANLIB=$${RANLIB}" \
7682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7683 install-pdf) \
7684 || exit 1
7686 @endif dejagnu
7688 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
7689 maybe-install-html-dejagnu:
7690 @if dejagnu
7691 maybe-install-html-dejagnu: install-html-dejagnu
7693 install-html-dejagnu: \
7694 configure-dejagnu \
7695 html-dejagnu
7696 @: $(MAKE); $(unstage)
7697 @[ -f ./dejagnu/Makefile ] || exit 0; \
7698 r=`${PWD_COMMAND}`; export r; \
7699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7700 $(HOST_EXPORTS) \
7701 for flag in $(EXTRA_HOST_FLAGS) ; do \
7702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7703 done; \
7704 echo "Doing install-html in dejagnu"; \
7705 (cd $(HOST_SUBDIR)/dejagnu && \
7706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7708 "RANLIB=$${RANLIB}" \
7709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7710 install-html) \
7711 || exit 1
7713 @endif dejagnu
7715 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7716 maybe-installcheck-dejagnu:
7717 @if dejagnu
7718 maybe-installcheck-dejagnu: installcheck-dejagnu
7720 installcheck-dejagnu: \
7721 configure-dejagnu
7722 @: $(MAKE); $(unstage)
7723 @[ -f ./dejagnu/Makefile ] || exit 0; \
7724 r=`${PWD_COMMAND}`; export r; \
7725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7726 $(HOST_EXPORTS) \
7727 for flag in $(EXTRA_HOST_FLAGS) ; do \
7728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7729 done; \
7730 echo "Doing installcheck in dejagnu"; \
7731 (cd $(HOST_SUBDIR)/dejagnu && \
7732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7734 "RANLIB=$${RANLIB}" \
7735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7736 installcheck) \
7737 || exit 1
7739 @endif dejagnu
7741 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7742 maybe-mostlyclean-dejagnu:
7743 @if dejagnu
7744 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7746 mostlyclean-dejagnu:
7747 @: $(MAKE); $(unstage)
7748 @[ -f ./dejagnu/Makefile ] || exit 0; \
7749 r=`${PWD_COMMAND}`; export r; \
7750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7751 $(HOST_EXPORTS) \
7752 for flag in $(EXTRA_HOST_FLAGS) ; do \
7753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7754 done; \
7755 echo "Doing mostlyclean in dejagnu"; \
7756 (cd $(HOST_SUBDIR)/dejagnu && \
7757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7759 "RANLIB=$${RANLIB}" \
7760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7761 mostlyclean) \
7762 || exit 1
7764 @endif dejagnu
7766 .PHONY: maybe-clean-dejagnu clean-dejagnu
7767 maybe-clean-dejagnu:
7768 @if dejagnu
7769 maybe-clean-dejagnu: clean-dejagnu
7771 clean-dejagnu:
7772 @: $(MAKE); $(unstage)
7773 @[ -f ./dejagnu/Makefile ] || exit 0; \
7774 r=`${PWD_COMMAND}`; export r; \
7775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7776 $(HOST_EXPORTS) \
7777 for flag in $(EXTRA_HOST_FLAGS) ; do \
7778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7779 done; \
7780 echo "Doing clean in dejagnu"; \
7781 (cd $(HOST_SUBDIR)/dejagnu && \
7782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7784 "RANLIB=$${RANLIB}" \
7785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7786 clean) \
7787 || exit 1
7789 @endif dejagnu
7791 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7792 maybe-distclean-dejagnu:
7793 @if dejagnu
7794 maybe-distclean-dejagnu: distclean-dejagnu
7796 distclean-dejagnu:
7797 @: $(MAKE); $(unstage)
7798 @[ -f ./dejagnu/Makefile ] || exit 0; \
7799 r=`${PWD_COMMAND}`; export r; \
7800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7801 $(HOST_EXPORTS) \
7802 for flag in $(EXTRA_HOST_FLAGS) ; do \
7803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7804 done; \
7805 echo "Doing distclean in dejagnu"; \
7806 (cd $(HOST_SUBDIR)/dejagnu && \
7807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7809 "RANLIB=$${RANLIB}" \
7810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7811 distclean) \
7812 || exit 1
7814 @endif dejagnu
7816 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7817 maybe-maintainer-clean-dejagnu:
7818 @if dejagnu
7819 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7821 maintainer-clean-dejagnu:
7822 @: $(MAKE); $(unstage)
7823 @[ -f ./dejagnu/Makefile ] || exit 0; \
7824 r=`${PWD_COMMAND}`; export r; \
7825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7826 $(HOST_EXPORTS) \
7827 for flag in $(EXTRA_HOST_FLAGS) ; do \
7828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7829 done; \
7830 echo "Doing maintainer-clean in dejagnu"; \
7831 (cd $(HOST_SUBDIR)/dejagnu && \
7832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7834 "RANLIB=$${RANLIB}" \
7835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7836 maintainer-clean) \
7837 || exit 1
7839 @endif dejagnu
7843 .PHONY: configure-etc maybe-configure-etc
7844 maybe-configure-etc:
7845 @if gcc-bootstrap
7846 configure-etc: stage_current
7847 @endif gcc-bootstrap
7848 @if etc
7849 maybe-configure-etc: configure-etc
7850 configure-etc:
7851 @: $(MAKE); $(unstage)
7852 @r=`${PWD_COMMAND}`; export r; \
7853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7854 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7855 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
7856 $(HOST_EXPORTS) \
7857 echo Configuring in $(HOST_SUBDIR)/etc; \
7858 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7859 case $(srcdir) in \
7860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7861 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7863 esac; \
7864 module_srcdir=etc; \
7865 $(SHELL) \
7866 $$s/$$module_srcdir/configure \
7867 --srcdir=$${topdir}/$$module_srcdir \
7868 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7869 --target=${target_alias} \
7870 || exit 1
7871 @endif etc
7877 .PHONY: all-etc maybe-all-etc
7878 maybe-all-etc:
7879 @if gcc-bootstrap
7880 all-etc: stage_current
7881 @endif gcc-bootstrap
7882 @if etc
7883 TARGET-etc=all
7884 maybe-all-etc: all-etc
7885 all-etc: configure-etc
7886 @: $(MAKE); $(unstage)
7887 @r=`${PWD_COMMAND}`; export r; \
7888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7889 $(HOST_EXPORTS) \
7890 (cd $(HOST_SUBDIR)/etc && \
7891 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7892 $(TARGET-etc))
7893 @endif etc
7898 .PHONY: check-etc maybe-check-etc
7899 maybe-check-etc:
7900 @if etc
7901 maybe-check-etc: check-etc
7903 check-etc:
7904 @: $(MAKE); $(unstage)
7905 @r=`${PWD_COMMAND}`; export r; \
7906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7907 $(HOST_EXPORTS) \
7908 (cd $(HOST_SUBDIR)/etc && \
7909 $(MAKE) $(FLAGS_TO_PASS) check)
7911 @endif etc
7913 .PHONY: install-etc maybe-install-etc
7914 maybe-install-etc:
7915 @if etc
7916 maybe-install-etc: install-etc
7918 install-etc: installdirs
7919 @: $(MAKE); $(unstage)
7920 @r=`${PWD_COMMAND}`; export r; \
7921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7922 $(HOST_EXPORTS) \
7923 (cd $(HOST_SUBDIR)/etc && \
7924 $(MAKE) $(FLAGS_TO_PASS) install)
7926 @endif etc
7928 .PHONY: install-strip-etc maybe-install-strip-etc
7929 maybe-install-strip-etc:
7930 @if etc
7931 maybe-install-strip-etc: install-strip-etc
7933 install-strip-etc: installdirs
7934 @: $(MAKE); $(unstage)
7935 @r=`${PWD_COMMAND}`; export r; \
7936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7937 $(HOST_EXPORTS) \
7938 (cd $(HOST_SUBDIR)/etc && \
7939 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7941 @endif etc
7943 # Other targets (info, dvi, pdf, etc.)
7945 .PHONY: maybe-info-etc info-etc
7946 maybe-info-etc:
7947 @if etc
7948 maybe-info-etc: info-etc
7950 info-etc: \
7951 configure-etc
7952 @: $(MAKE); $(unstage)
7953 @[ -f ./etc/Makefile ] || exit 0; \
7954 r=`${PWD_COMMAND}`; export r; \
7955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7956 $(HOST_EXPORTS) \
7957 for flag in $(EXTRA_HOST_FLAGS) ; do \
7958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7959 done; \
7960 echo "Doing info in etc"; \
7961 (cd $(HOST_SUBDIR)/etc && \
7962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7964 "RANLIB=$${RANLIB}" \
7965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7966 info) \
7967 || exit 1
7969 @endif etc
7971 .PHONY: maybe-dvi-etc dvi-etc
7972 maybe-dvi-etc:
7973 @if etc
7974 maybe-dvi-etc: dvi-etc
7976 dvi-etc: \
7977 configure-etc
7978 @: $(MAKE); $(unstage)
7979 @[ -f ./etc/Makefile ] || exit 0; \
7980 r=`${PWD_COMMAND}`; export r; \
7981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7982 $(HOST_EXPORTS) \
7983 for flag in $(EXTRA_HOST_FLAGS) ; do \
7984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7985 done; \
7986 echo "Doing dvi in etc"; \
7987 (cd $(HOST_SUBDIR)/etc && \
7988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7990 "RANLIB=$${RANLIB}" \
7991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7992 dvi) \
7993 || exit 1
7995 @endif etc
7997 .PHONY: maybe-pdf-etc pdf-etc
7998 maybe-pdf-etc:
7999 @if etc
8000 maybe-pdf-etc: pdf-etc
8002 pdf-etc: \
8003 configure-etc
8004 @: $(MAKE); $(unstage)
8005 @[ -f ./etc/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 pdf in etc"; \
8013 (cd $(HOST_SUBDIR)/etc && \
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 pdf) \
8019 || exit 1
8021 @endif etc
8023 .PHONY: maybe-html-etc html-etc
8024 maybe-html-etc:
8025 @if etc
8026 maybe-html-etc: html-etc
8028 html-etc: \
8029 configure-etc
8030 @: $(MAKE); $(unstage)
8031 @[ -f ./etc/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 html in etc"; \
8039 (cd $(HOST_SUBDIR)/etc && \
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 html) \
8045 || exit 1
8047 @endif etc
8049 .PHONY: maybe-TAGS-etc TAGS-etc
8050 maybe-TAGS-etc:
8051 @if etc
8052 maybe-TAGS-etc: TAGS-etc
8054 TAGS-etc: \
8055 configure-etc
8056 @: $(MAKE); $(unstage)
8057 @[ -f ./etc/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 TAGS in etc"; \
8065 (cd $(HOST_SUBDIR)/etc && \
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 TAGS) \
8071 || exit 1
8073 @endif etc
8075 .PHONY: maybe-install-info-etc install-info-etc
8076 maybe-install-info-etc:
8077 @if etc
8078 maybe-install-info-etc: install-info-etc
8080 install-info-etc: \
8081 configure-etc \
8082 info-etc
8083 @: $(MAKE); $(unstage)
8084 @[ -f ./etc/Makefile ] || exit 0; \
8085 r=`${PWD_COMMAND}`; export r; \
8086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8087 $(HOST_EXPORTS) \
8088 for flag in $(EXTRA_HOST_FLAGS) ; do \
8089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8090 done; \
8091 echo "Doing install-info in etc"; \
8092 (cd $(HOST_SUBDIR)/etc && \
8093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8095 "RANLIB=$${RANLIB}" \
8096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8097 install-info) \
8098 || exit 1
8100 @endif etc
8102 .PHONY: maybe-install-pdf-etc install-pdf-etc
8103 maybe-install-pdf-etc:
8104 @if etc
8105 maybe-install-pdf-etc: install-pdf-etc
8107 install-pdf-etc: \
8108 configure-etc \
8109 pdf-etc
8110 @: $(MAKE); $(unstage)
8111 @[ -f ./etc/Makefile ] || exit 0; \
8112 r=`${PWD_COMMAND}`; export r; \
8113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8114 $(HOST_EXPORTS) \
8115 for flag in $(EXTRA_HOST_FLAGS) ; do \
8116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8117 done; \
8118 echo "Doing install-pdf in etc"; \
8119 (cd $(HOST_SUBDIR)/etc && \
8120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8122 "RANLIB=$${RANLIB}" \
8123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8124 install-pdf) \
8125 || exit 1
8127 @endif etc
8129 .PHONY: maybe-install-html-etc install-html-etc
8130 maybe-install-html-etc:
8131 @if etc
8132 maybe-install-html-etc: install-html-etc
8134 install-html-etc: \
8135 configure-etc \
8136 html-etc
8137 @: $(MAKE); $(unstage)
8138 @[ -f ./etc/Makefile ] || exit 0; \
8139 r=`${PWD_COMMAND}`; export r; \
8140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8141 $(HOST_EXPORTS) \
8142 for flag in $(EXTRA_HOST_FLAGS) ; do \
8143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8144 done; \
8145 echo "Doing install-html in etc"; \
8146 (cd $(HOST_SUBDIR)/etc && \
8147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8149 "RANLIB=$${RANLIB}" \
8150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8151 install-html) \
8152 || exit 1
8154 @endif etc
8156 .PHONY: maybe-installcheck-etc installcheck-etc
8157 maybe-installcheck-etc:
8158 @if etc
8159 maybe-installcheck-etc: installcheck-etc
8161 installcheck-etc: \
8162 configure-etc
8163 @: $(MAKE); $(unstage)
8164 @[ -f ./etc/Makefile ] || exit 0; \
8165 r=`${PWD_COMMAND}`; export r; \
8166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8167 $(HOST_EXPORTS) \
8168 for flag in $(EXTRA_HOST_FLAGS) ; do \
8169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8170 done; \
8171 echo "Doing installcheck in etc"; \
8172 (cd $(HOST_SUBDIR)/etc && \
8173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8175 "RANLIB=$${RANLIB}" \
8176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8177 installcheck) \
8178 || exit 1
8180 @endif etc
8182 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8183 maybe-mostlyclean-etc:
8184 @if etc
8185 maybe-mostlyclean-etc: mostlyclean-etc
8187 mostlyclean-etc:
8188 @: $(MAKE); $(unstage)
8189 @[ -f ./etc/Makefile ] || exit 0; \
8190 r=`${PWD_COMMAND}`; export r; \
8191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8192 $(HOST_EXPORTS) \
8193 for flag in $(EXTRA_HOST_FLAGS) ; do \
8194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8195 done; \
8196 echo "Doing mostlyclean in etc"; \
8197 (cd $(HOST_SUBDIR)/etc && \
8198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8200 "RANLIB=$${RANLIB}" \
8201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8202 mostlyclean) \
8203 || exit 1
8205 @endif etc
8207 .PHONY: maybe-clean-etc clean-etc
8208 maybe-clean-etc:
8209 @if etc
8210 maybe-clean-etc: clean-etc
8212 clean-etc:
8213 @: $(MAKE); $(unstage)
8214 @[ -f ./etc/Makefile ] || exit 0; \
8215 r=`${PWD_COMMAND}`; export r; \
8216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8217 $(HOST_EXPORTS) \
8218 for flag in $(EXTRA_HOST_FLAGS) ; do \
8219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8220 done; \
8221 echo "Doing clean in etc"; \
8222 (cd $(HOST_SUBDIR)/etc && \
8223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8225 "RANLIB=$${RANLIB}" \
8226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8227 clean) \
8228 || exit 1
8230 @endif etc
8232 .PHONY: maybe-distclean-etc distclean-etc
8233 maybe-distclean-etc:
8234 @if etc
8235 maybe-distclean-etc: distclean-etc
8237 distclean-etc:
8238 @: $(MAKE); $(unstage)
8239 @[ -f ./etc/Makefile ] || exit 0; \
8240 r=`${PWD_COMMAND}`; export r; \
8241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8242 $(HOST_EXPORTS) \
8243 for flag in $(EXTRA_HOST_FLAGS) ; do \
8244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8245 done; \
8246 echo "Doing distclean in etc"; \
8247 (cd $(HOST_SUBDIR)/etc && \
8248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8250 "RANLIB=$${RANLIB}" \
8251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8252 distclean) \
8253 || exit 1
8255 @endif etc
8257 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8258 maybe-maintainer-clean-etc:
8259 @if etc
8260 maybe-maintainer-clean-etc: maintainer-clean-etc
8262 maintainer-clean-etc:
8263 @: $(MAKE); $(unstage)
8264 @[ -f ./etc/Makefile ] || exit 0; \
8265 r=`${PWD_COMMAND}`; export r; \
8266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8267 $(HOST_EXPORTS) \
8268 for flag in $(EXTRA_HOST_FLAGS) ; do \
8269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8270 done; \
8271 echo "Doing maintainer-clean in etc"; \
8272 (cd $(HOST_SUBDIR)/etc && \
8273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8275 "RANLIB=$${RANLIB}" \
8276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8277 maintainer-clean) \
8278 || exit 1
8280 @endif etc
8284 .PHONY: configure-fastjar maybe-configure-fastjar
8285 maybe-configure-fastjar:
8286 @if gcc-bootstrap
8287 configure-fastjar: stage_current
8288 @endif gcc-bootstrap
8289 @if fastjar
8290 maybe-configure-fastjar: configure-fastjar
8291 configure-fastjar:
8292 @: $(MAKE); $(unstage)
8293 @r=`${PWD_COMMAND}`; export r; \
8294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8295 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8296 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
8297 $(HOST_EXPORTS) \
8298 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8299 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8300 case $(srcdir) in \
8301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8302 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8304 esac; \
8305 module_srcdir=fastjar; \
8306 $(SHELL) \
8307 $$s/$$module_srcdir/configure \
8308 --srcdir=$${topdir}/$$module_srcdir \
8309 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8310 --target=${target_alias} \
8311 || exit 1
8312 @endif fastjar
8318 .PHONY: all-fastjar maybe-all-fastjar
8319 maybe-all-fastjar:
8320 @if gcc-bootstrap
8321 all-fastjar: stage_current
8322 @endif gcc-bootstrap
8323 @if fastjar
8324 TARGET-fastjar=all
8325 maybe-all-fastjar: all-fastjar
8326 all-fastjar: configure-fastjar
8327 @: $(MAKE); $(unstage)
8328 @r=`${PWD_COMMAND}`; export r; \
8329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8330 $(HOST_EXPORTS) \
8331 (cd $(HOST_SUBDIR)/fastjar && \
8332 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8333 $(TARGET-fastjar))
8334 @endif fastjar
8339 .PHONY: check-fastjar maybe-check-fastjar
8340 maybe-check-fastjar:
8341 @if fastjar
8342 maybe-check-fastjar: check-fastjar
8344 # This module is only tested in a native toolchain.
8345 check-fastjar:
8346 @: $(MAKE); $(unstage)
8347 @if [ '$(host)' = '$(target)' ]; then \
8348 r=`${PWD_COMMAND}`; export r; \
8349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8350 $(HOST_EXPORTS) \
8351 (cd $(HOST_SUBDIR)/fastjar && \
8352 $(MAKE) $(FLAGS_TO_PASS) check)
8355 @endif fastjar
8357 .PHONY: install-fastjar maybe-install-fastjar
8358 maybe-install-fastjar:
8359 @if fastjar
8360 maybe-install-fastjar: install-fastjar
8362 install-fastjar: installdirs
8363 @: $(MAKE); $(unstage)
8364 @r=`${PWD_COMMAND}`; export r; \
8365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8366 $(HOST_EXPORTS) \
8367 (cd $(HOST_SUBDIR)/fastjar && \
8368 $(MAKE) $(FLAGS_TO_PASS) install)
8370 @endif fastjar
8372 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
8373 maybe-install-strip-fastjar:
8374 @if fastjar
8375 maybe-install-strip-fastjar: install-strip-fastjar
8377 install-strip-fastjar: installdirs
8378 @: $(MAKE); $(unstage)
8379 @r=`${PWD_COMMAND}`; export r; \
8380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8381 $(HOST_EXPORTS) \
8382 (cd $(HOST_SUBDIR)/fastjar && \
8383 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8385 @endif fastjar
8387 # Other targets (info, dvi, pdf, etc.)
8389 .PHONY: maybe-info-fastjar info-fastjar
8390 maybe-info-fastjar:
8391 @if fastjar
8392 maybe-info-fastjar: info-fastjar
8394 info-fastjar: \
8395 configure-fastjar
8396 @: $(MAKE); $(unstage)
8397 @[ -f ./fastjar/Makefile ] || exit 0; \
8398 r=`${PWD_COMMAND}`; export r; \
8399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8400 $(HOST_EXPORTS) \
8401 for flag in $(EXTRA_HOST_FLAGS) ; do \
8402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8403 done; \
8404 echo "Doing info in fastjar"; \
8405 (cd $(HOST_SUBDIR)/fastjar && \
8406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8408 "RANLIB=$${RANLIB}" \
8409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8410 info) \
8411 || exit 1
8413 @endif fastjar
8415 .PHONY: maybe-dvi-fastjar dvi-fastjar
8416 maybe-dvi-fastjar:
8417 @if fastjar
8418 maybe-dvi-fastjar: dvi-fastjar
8420 dvi-fastjar: \
8421 configure-fastjar
8422 @: $(MAKE); $(unstage)
8423 @[ -f ./fastjar/Makefile ] || exit 0; \
8424 r=`${PWD_COMMAND}`; export r; \
8425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8426 $(HOST_EXPORTS) \
8427 for flag in $(EXTRA_HOST_FLAGS) ; do \
8428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8429 done; \
8430 echo "Doing dvi in fastjar"; \
8431 (cd $(HOST_SUBDIR)/fastjar && \
8432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8434 "RANLIB=$${RANLIB}" \
8435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8436 dvi) \
8437 || exit 1
8439 @endif fastjar
8441 .PHONY: maybe-pdf-fastjar pdf-fastjar
8442 maybe-pdf-fastjar:
8443 @if fastjar
8444 maybe-pdf-fastjar: pdf-fastjar
8446 pdf-fastjar: \
8447 configure-fastjar
8448 @: $(MAKE); $(unstage)
8449 @[ -f ./fastjar/Makefile ] || exit 0; \
8450 r=`${PWD_COMMAND}`; export r; \
8451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8452 $(HOST_EXPORTS) \
8453 for flag in $(EXTRA_HOST_FLAGS) ; do \
8454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8455 done; \
8456 echo "Doing pdf in fastjar"; \
8457 (cd $(HOST_SUBDIR)/fastjar && \
8458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8460 "RANLIB=$${RANLIB}" \
8461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8462 pdf) \
8463 || exit 1
8465 @endif fastjar
8467 .PHONY: maybe-html-fastjar html-fastjar
8468 maybe-html-fastjar:
8469 @if fastjar
8470 maybe-html-fastjar: html-fastjar
8472 html-fastjar: \
8473 configure-fastjar
8474 @: $(MAKE); $(unstage)
8475 @[ -f ./fastjar/Makefile ] || exit 0; \
8476 r=`${PWD_COMMAND}`; export r; \
8477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8478 $(HOST_EXPORTS) \
8479 for flag in $(EXTRA_HOST_FLAGS) ; do \
8480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8481 done; \
8482 echo "Doing html in fastjar"; \
8483 (cd $(HOST_SUBDIR)/fastjar && \
8484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8486 "RANLIB=$${RANLIB}" \
8487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8488 html) \
8489 || exit 1
8491 @endif fastjar
8493 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8494 maybe-TAGS-fastjar:
8495 @if fastjar
8496 maybe-TAGS-fastjar: TAGS-fastjar
8498 TAGS-fastjar: \
8499 configure-fastjar
8500 @: $(MAKE); $(unstage)
8501 @[ -f ./fastjar/Makefile ] || exit 0; \
8502 r=`${PWD_COMMAND}`; export r; \
8503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8504 $(HOST_EXPORTS) \
8505 for flag in $(EXTRA_HOST_FLAGS) ; do \
8506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8507 done; \
8508 echo "Doing TAGS in fastjar"; \
8509 (cd $(HOST_SUBDIR)/fastjar && \
8510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8512 "RANLIB=$${RANLIB}" \
8513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8514 TAGS) \
8515 || exit 1
8517 @endif fastjar
8519 .PHONY: maybe-install-info-fastjar install-info-fastjar
8520 maybe-install-info-fastjar:
8521 @if fastjar
8522 maybe-install-info-fastjar: install-info-fastjar
8524 install-info-fastjar: \
8525 configure-fastjar \
8526 info-fastjar
8527 @: $(MAKE); $(unstage)
8528 @[ -f ./fastjar/Makefile ] || exit 0; \
8529 r=`${PWD_COMMAND}`; export r; \
8530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8531 $(HOST_EXPORTS) \
8532 for flag in $(EXTRA_HOST_FLAGS) ; do \
8533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8534 done; \
8535 echo "Doing install-info in fastjar"; \
8536 (cd $(HOST_SUBDIR)/fastjar && \
8537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8539 "RANLIB=$${RANLIB}" \
8540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8541 install-info) \
8542 || exit 1
8544 @endif fastjar
8546 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
8547 maybe-install-pdf-fastjar:
8548 @if fastjar
8549 maybe-install-pdf-fastjar: install-pdf-fastjar
8551 install-pdf-fastjar: \
8552 configure-fastjar \
8553 pdf-fastjar
8554 @: $(MAKE); $(unstage)
8555 @[ -f ./fastjar/Makefile ] || exit 0; \
8556 r=`${PWD_COMMAND}`; export r; \
8557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8558 $(HOST_EXPORTS) \
8559 for flag in $(EXTRA_HOST_FLAGS) ; do \
8560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8561 done; \
8562 echo "Doing install-pdf in fastjar"; \
8563 (cd $(HOST_SUBDIR)/fastjar && \
8564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8566 "RANLIB=$${RANLIB}" \
8567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8568 install-pdf) \
8569 || exit 1
8571 @endif fastjar
8573 .PHONY: maybe-install-html-fastjar install-html-fastjar
8574 maybe-install-html-fastjar:
8575 @if fastjar
8576 maybe-install-html-fastjar: install-html-fastjar
8578 install-html-fastjar: \
8579 configure-fastjar \
8580 html-fastjar
8581 @: $(MAKE); $(unstage)
8582 @[ -f ./fastjar/Makefile ] || exit 0; \
8583 r=`${PWD_COMMAND}`; export r; \
8584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8585 $(HOST_EXPORTS) \
8586 for flag in $(EXTRA_HOST_FLAGS) ; do \
8587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8588 done; \
8589 echo "Doing install-html in fastjar"; \
8590 (cd $(HOST_SUBDIR)/fastjar && \
8591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8593 "RANLIB=$${RANLIB}" \
8594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8595 install-html) \
8596 || exit 1
8598 @endif fastjar
8600 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8601 maybe-installcheck-fastjar:
8602 @if fastjar
8603 maybe-installcheck-fastjar: installcheck-fastjar
8605 installcheck-fastjar: \
8606 configure-fastjar
8607 @: $(MAKE); $(unstage)
8608 @[ -f ./fastjar/Makefile ] || exit 0; \
8609 r=`${PWD_COMMAND}`; export r; \
8610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8611 $(HOST_EXPORTS) \
8612 for flag in $(EXTRA_HOST_FLAGS) ; do \
8613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8614 done; \
8615 echo "Doing installcheck in fastjar"; \
8616 (cd $(HOST_SUBDIR)/fastjar && \
8617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8619 "RANLIB=$${RANLIB}" \
8620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8621 installcheck) \
8622 || exit 1
8624 @endif fastjar
8626 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8627 maybe-mostlyclean-fastjar:
8628 @if fastjar
8629 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8631 mostlyclean-fastjar:
8632 @: $(MAKE); $(unstage)
8633 @[ -f ./fastjar/Makefile ] || exit 0; \
8634 r=`${PWD_COMMAND}`; export r; \
8635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8636 $(HOST_EXPORTS) \
8637 for flag in $(EXTRA_HOST_FLAGS) ; do \
8638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8639 done; \
8640 echo "Doing mostlyclean in fastjar"; \
8641 (cd $(HOST_SUBDIR)/fastjar && \
8642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8644 "RANLIB=$${RANLIB}" \
8645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8646 mostlyclean) \
8647 || exit 1
8649 @endif fastjar
8651 .PHONY: maybe-clean-fastjar clean-fastjar
8652 maybe-clean-fastjar:
8653 @if fastjar
8654 maybe-clean-fastjar: clean-fastjar
8656 clean-fastjar:
8657 @: $(MAKE); $(unstage)
8658 @[ -f ./fastjar/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 clean in fastjar"; \
8666 (cd $(HOST_SUBDIR)/fastjar && \
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 clean) \
8672 || exit 1
8674 @endif fastjar
8676 .PHONY: maybe-distclean-fastjar distclean-fastjar
8677 maybe-distclean-fastjar:
8678 @if fastjar
8679 maybe-distclean-fastjar: distclean-fastjar
8681 distclean-fastjar:
8682 @: $(MAKE); $(unstage)
8683 @[ -f ./fastjar/Makefile ] || exit 0; \
8684 r=`${PWD_COMMAND}`; export r; \
8685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8686 $(HOST_EXPORTS) \
8687 for flag in $(EXTRA_HOST_FLAGS) ; do \
8688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8689 done; \
8690 echo "Doing distclean in fastjar"; \
8691 (cd $(HOST_SUBDIR)/fastjar && \
8692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8694 "RANLIB=$${RANLIB}" \
8695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8696 distclean) \
8697 || exit 1
8699 @endif fastjar
8701 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8702 maybe-maintainer-clean-fastjar:
8703 @if fastjar
8704 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8706 maintainer-clean-fastjar:
8707 @: $(MAKE); $(unstage)
8708 @[ -f ./fastjar/Makefile ] || exit 0; \
8709 r=`${PWD_COMMAND}`; export r; \
8710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8711 $(HOST_EXPORTS) \
8712 for flag in $(EXTRA_HOST_FLAGS) ; do \
8713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8714 done; \
8715 echo "Doing maintainer-clean in fastjar"; \
8716 (cd $(HOST_SUBDIR)/fastjar && \
8717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8719 "RANLIB=$${RANLIB}" \
8720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8721 maintainer-clean) \
8722 || exit 1
8724 @endif fastjar
8728 .PHONY: configure-fixincludes maybe-configure-fixincludes
8729 maybe-configure-fixincludes:
8730 @if gcc-bootstrap
8731 configure-fixincludes: stage_current
8732 @endif gcc-bootstrap
8733 @if fixincludes
8734 maybe-configure-fixincludes: configure-fixincludes
8735 configure-fixincludes:
8736 @r=`${PWD_COMMAND}`; export r; \
8737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8738 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8740 $(HOST_EXPORTS) \
8741 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
8742 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
8743 case $(srcdir) in \
8744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8745 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8747 esac; \
8748 module_srcdir=fixincludes; \
8749 $(SHELL) \
8750 $$s/$$module_srcdir/configure \
8751 --srcdir=$${topdir}/$$module_srcdir \
8752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8753 --target=${target_alias} \
8754 || exit 1
8755 @endif fixincludes
8759 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
8760 maybe-configure-stage1-fixincludes:
8761 @if fixincludes-bootstrap
8762 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
8763 configure-stage1-fixincludes:
8764 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8765 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8766 @r=`${PWD_COMMAND}`; export r; \
8767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8768 TFLAGS="$(STAGE1_TFLAGS)"; \
8769 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8770 $(HOST_EXPORTS) \
8771 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
8772 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
8773 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
8774 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
8775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8776 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8777 case $(srcdir) in \
8778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8779 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8781 esac; \
8782 module_srcdir=fixincludes; \
8783 $(SHELL) $$s/$$module_srcdir/configure \
8784 --srcdir=$${topdir}/$$module_srcdir \
8785 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8786 --target=${target_alias} \
8788 $(STAGE1_CONFIGURE_FLAGS)
8789 @endif fixincludes-bootstrap
8791 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
8792 maybe-configure-stage2-fixincludes:
8793 @if fixincludes-bootstrap
8794 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
8795 configure-stage2-fixincludes:
8796 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8797 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8798 @r=`${PWD_COMMAND}`; export r; \
8799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8800 TFLAGS="$(STAGE2_TFLAGS)"; \
8801 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8802 $(HOST_EXPORTS) \
8803 $(POSTSTAGE1_HOST_EXPORTS) \
8804 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8805 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8806 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8807 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
8808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8809 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8810 case $(srcdir) in \
8811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8812 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8814 esac; \
8815 module_srcdir=fixincludes; \
8816 $(SHELL) $$s/$$module_srcdir/configure \
8817 --srcdir=$${topdir}/$$module_srcdir \
8818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8819 --target=${target_alias} \
8820 --with-build-libsubdir=$(HOST_SUBDIR) \
8821 $(STAGE2_CONFIGURE_FLAGS)
8822 @endif fixincludes-bootstrap
8824 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8825 maybe-configure-stage3-fixincludes:
8826 @if fixincludes-bootstrap
8827 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8828 configure-stage3-fixincludes:
8829 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8830 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8831 @r=`${PWD_COMMAND}`; export r; \
8832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8833 TFLAGS="$(STAGE3_TFLAGS)"; \
8834 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8835 $(HOST_EXPORTS) \
8836 $(POSTSTAGE1_HOST_EXPORTS) \
8837 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8838 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8839 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8840 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
8841 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8842 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8843 case $(srcdir) in \
8844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8845 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8847 esac; \
8848 module_srcdir=fixincludes; \
8849 $(SHELL) $$s/$$module_srcdir/configure \
8850 --srcdir=$${topdir}/$$module_srcdir \
8851 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8852 --target=${target_alias} \
8853 --with-build-libsubdir=$(HOST_SUBDIR) \
8854 $(STAGE3_CONFIGURE_FLAGS)
8855 @endif fixincludes-bootstrap
8857 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8858 maybe-configure-stage4-fixincludes:
8859 @if fixincludes-bootstrap
8860 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8861 configure-stage4-fixincludes:
8862 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8863 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8864 @r=`${PWD_COMMAND}`; export r; \
8865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8866 TFLAGS="$(STAGE4_TFLAGS)"; \
8867 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8868 $(HOST_EXPORTS) \
8869 $(POSTSTAGE1_HOST_EXPORTS) \
8870 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8871 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8872 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8873 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
8874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8875 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8876 case $(srcdir) in \
8877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8878 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8880 esac; \
8881 module_srcdir=fixincludes; \
8882 $(SHELL) $$s/$$module_srcdir/configure \
8883 --srcdir=$${topdir}/$$module_srcdir \
8884 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8885 --target=${target_alias} \
8886 --with-build-libsubdir=$(HOST_SUBDIR) \
8887 $(STAGE4_CONFIGURE_FLAGS)
8888 @endif fixincludes-bootstrap
8890 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8891 maybe-configure-stageprofile-fixincludes:
8892 @if fixincludes-bootstrap
8893 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8894 configure-stageprofile-fixincludes:
8895 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8896 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8897 @r=`${PWD_COMMAND}`; export r; \
8898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8899 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8900 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8901 $(HOST_EXPORTS) \
8902 $(POSTSTAGE1_HOST_EXPORTS) \
8903 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8904 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8905 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8906 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
8907 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8908 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8909 case $(srcdir) in \
8910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8911 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8913 esac; \
8914 module_srcdir=fixincludes; \
8915 $(SHELL) $$s/$$module_srcdir/configure \
8916 --srcdir=$${topdir}/$$module_srcdir \
8917 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8918 --target=${target_alias} \
8919 --with-build-libsubdir=$(HOST_SUBDIR) \
8920 $(STAGEprofile_CONFIGURE_FLAGS)
8921 @endif fixincludes-bootstrap
8923 .PHONY: configure-stagetrain-fixincludes maybe-configure-stagetrain-fixincludes
8924 maybe-configure-stagetrain-fixincludes:
8925 @if fixincludes-bootstrap
8926 maybe-configure-stagetrain-fixincludes: configure-stagetrain-fixincludes
8927 configure-stagetrain-fixincludes:
8928 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
8929 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8930 @r=`${PWD_COMMAND}`; export r; \
8931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8932 TFLAGS="$(STAGEtrain_TFLAGS)"; \
8933 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8934 $(HOST_EXPORTS) \
8935 $(POSTSTAGE1_HOST_EXPORTS) \
8936 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
8937 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
8938 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
8939 echo Configuring stage train in $(HOST_SUBDIR)/fixincludes; \
8940 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8941 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8942 case $(srcdir) in \
8943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8944 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8946 esac; \
8947 module_srcdir=fixincludes; \
8948 $(SHELL) $$s/$$module_srcdir/configure \
8949 --srcdir=$${topdir}/$$module_srcdir \
8950 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8951 --target=${target_alias} \
8952 --with-build-libsubdir=$(HOST_SUBDIR) \
8953 $(STAGEtrain_CONFIGURE_FLAGS)
8954 @endif fixincludes-bootstrap
8956 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8957 maybe-configure-stagefeedback-fixincludes:
8958 @if fixincludes-bootstrap
8959 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8960 configure-stagefeedback-fixincludes:
8961 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8962 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8963 @r=`${PWD_COMMAND}`; export r; \
8964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8965 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8966 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8967 $(HOST_EXPORTS) \
8968 $(POSTSTAGE1_HOST_EXPORTS) \
8969 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8970 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8971 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8972 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
8973 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
8974 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8975 case $(srcdir) in \
8976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8977 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8979 esac; \
8980 module_srcdir=fixincludes; \
8981 $(SHELL) $$s/$$module_srcdir/configure \
8982 --srcdir=$${topdir}/$$module_srcdir \
8983 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8984 --target=${target_alias} \
8985 --with-build-libsubdir=$(HOST_SUBDIR) \
8986 $(STAGEfeedback_CONFIGURE_FLAGS)
8987 @endif fixincludes-bootstrap
8989 .PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
8990 maybe-configure-stageautoprofile-fixincludes:
8991 @if fixincludes-bootstrap
8992 maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
8993 configure-stageautoprofile-fixincludes:
8994 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
8995 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8996 @r=`${PWD_COMMAND}`; export r; \
8997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8998 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
8999 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9000 $(HOST_EXPORTS) \
9001 $(POSTSTAGE1_HOST_EXPORTS) \
9002 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
9003 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
9004 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
9005 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
9006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9007 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9008 case $(srcdir) in \
9009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9010 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9012 esac; \
9013 module_srcdir=fixincludes; \
9014 $(SHELL) $$s/$$module_srcdir/configure \
9015 --srcdir=$${topdir}/$$module_srcdir \
9016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9017 --target=${target_alias} \
9018 --with-build-libsubdir=$(HOST_SUBDIR) \
9019 $(STAGEautoprofile_CONFIGURE_FLAGS)
9020 @endif fixincludes-bootstrap
9022 .PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
9023 maybe-configure-stageautofeedback-fixincludes:
9024 @if fixincludes-bootstrap
9025 maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9026 configure-stageautofeedback-fixincludes:
9027 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9028 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9029 @r=`${PWD_COMMAND}`; export r; \
9030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9031 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9032 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9033 $(HOST_EXPORTS) \
9034 $(POSTSTAGE1_HOST_EXPORTS) \
9035 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
9036 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
9037 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
9038 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
9039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9040 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9041 case $(srcdir) in \
9042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9043 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9045 esac; \
9046 module_srcdir=fixincludes; \
9047 $(SHELL) $$s/$$module_srcdir/configure \
9048 --srcdir=$${topdir}/$$module_srcdir \
9049 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9050 --target=${target_alias} \
9051 --with-build-libsubdir=$(HOST_SUBDIR) \
9052 $(STAGEautofeedback_CONFIGURE_FLAGS)
9053 @endif fixincludes-bootstrap
9059 .PHONY: all-fixincludes maybe-all-fixincludes
9060 maybe-all-fixincludes:
9061 @if gcc-bootstrap
9062 all-fixincludes: stage_current
9063 @endif gcc-bootstrap
9064 @if fixincludes
9065 TARGET-fixincludes=all
9066 maybe-all-fixincludes: all-fixincludes
9067 all-fixincludes: configure-fixincludes
9068 @r=`${PWD_COMMAND}`; export r; \
9069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9070 $(HOST_EXPORTS) \
9071 (cd $(HOST_SUBDIR)/fixincludes && \
9072 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9073 $(TARGET-fixincludes))
9074 @endif fixincludes
9078 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
9079 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
9080 maybe-all-stage1-fixincludes:
9081 maybe-clean-stage1-fixincludes:
9082 @if fixincludes-bootstrap
9083 maybe-all-stage1-fixincludes: all-stage1-fixincludes
9084 all-stage1: all-stage1-fixincludes
9085 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
9086 all-stage1-fixincludes: configure-stage1-fixincludes
9087 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9088 @r=`${PWD_COMMAND}`; export r; \
9089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9090 TFLAGS="$(STAGE1_TFLAGS)"; \
9091 $(HOST_EXPORTS) \
9092 cd $(HOST_SUBDIR)/fixincludes && \
9094 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9095 CFLAGS="$(STAGE1_CFLAGS)" \
9096 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9097 LIBCFLAGS="$(LIBCFLAGS)" \
9098 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9099 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9100 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9101 $(EXTRA_HOST_FLAGS) \
9102 $(STAGE1_FLAGS_TO_PASS) \
9103 TFLAGS="$(STAGE1_TFLAGS)" \
9104 $(TARGET-stage1-fixincludes)
9106 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
9107 clean-stage1: clean-stage1-fixincludes
9108 clean-stage1-fixincludes:
9109 @if [ $(current_stage) = stage1 ]; then \
9110 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9111 else \
9112 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
9113 $(MAKE) stage1-start; \
9114 fi; \
9115 cd $(HOST_SUBDIR)/fixincludes && \
9116 $(MAKE) $(EXTRA_HOST_FLAGS) \
9117 $(STAGE1_FLAGS_TO_PASS) clean
9118 @endif fixincludes-bootstrap
9121 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
9122 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
9123 maybe-all-stage2-fixincludes:
9124 maybe-clean-stage2-fixincludes:
9125 @if fixincludes-bootstrap
9126 maybe-all-stage2-fixincludes: all-stage2-fixincludes
9127 all-stage2: all-stage2-fixincludes
9128 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
9129 all-stage2-fixincludes: configure-stage2-fixincludes
9130 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9131 @r=`${PWD_COMMAND}`; export r; \
9132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9133 TFLAGS="$(STAGE2_TFLAGS)"; \
9134 $(HOST_EXPORTS) \
9135 $(POSTSTAGE1_HOST_EXPORTS) \
9136 cd $(HOST_SUBDIR)/fixincludes && \
9138 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9139 CFLAGS="$(STAGE2_CFLAGS)" \
9140 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9141 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9142 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9143 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9144 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9145 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9146 TFLAGS="$(STAGE2_TFLAGS)" \
9147 $(TARGET-stage2-fixincludes)
9149 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
9150 clean-stage2: clean-stage2-fixincludes
9151 clean-stage2-fixincludes:
9152 @if [ $(current_stage) = stage2 ]; then \
9153 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9154 else \
9155 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
9156 $(MAKE) stage2-start; \
9157 fi; \
9158 cd $(HOST_SUBDIR)/fixincludes && \
9159 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9160 @endif fixincludes-bootstrap
9163 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
9164 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
9165 maybe-all-stage3-fixincludes:
9166 maybe-clean-stage3-fixincludes:
9167 @if fixincludes-bootstrap
9168 maybe-all-stage3-fixincludes: all-stage3-fixincludes
9169 all-stage3: all-stage3-fixincludes
9170 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
9171 all-stage3-fixincludes: configure-stage3-fixincludes
9172 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9173 @r=`${PWD_COMMAND}`; export r; \
9174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9175 TFLAGS="$(STAGE3_TFLAGS)"; \
9176 $(HOST_EXPORTS) \
9177 $(POSTSTAGE1_HOST_EXPORTS) \
9178 cd $(HOST_SUBDIR)/fixincludes && \
9180 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9181 CFLAGS="$(STAGE3_CFLAGS)" \
9182 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9183 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9184 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9185 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9186 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9187 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9188 TFLAGS="$(STAGE3_TFLAGS)" \
9189 $(TARGET-stage3-fixincludes)
9191 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
9192 clean-stage3: clean-stage3-fixincludes
9193 clean-stage3-fixincludes:
9194 @if [ $(current_stage) = stage3 ]; then \
9195 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9196 else \
9197 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
9198 $(MAKE) stage3-start; \
9199 fi; \
9200 cd $(HOST_SUBDIR)/fixincludes && \
9201 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9202 @endif fixincludes-bootstrap
9205 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
9206 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
9207 maybe-all-stage4-fixincludes:
9208 maybe-clean-stage4-fixincludes:
9209 @if fixincludes-bootstrap
9210 maybe-all-stage4-fixincludes: all-stage4-fixincludes
9211 all-stage4: all-stage4-fixincludes
9212 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
9213 all-stage4-fixincludes: configure-stage4-fixincludes
9214 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9215 @r=`${PWD_COMMAND}`; export r; \
9216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9217 TFLAGS="$(STAGE4_TFLAGS)"; \
9218 $(HOST_EXPORTS) \
9219 $(POSTSTAGE1_HOST_EXPORTS) \
9220 cd $(HOST_SUBDIR)/fixincludes && \
9222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9223 CFLAGS="$(STAGE4_CFLAGS)" \
9224 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9225 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9226 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9227 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9228 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9229 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9230 TFLAGS="$(STAGE4_TFLAGS)" \
9231 $(TARGET-stage4-fixincludes)
9233 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
9234 clean-stage4: clean-stage4-fixincludes
9235 clean-stage4-fixincludes:
9236 @if [ $(current_stage) = stage4 ]; then \
9237 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9238 else \
9239 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
9240 $(MAKE) stage4-start; \
9241 fi; \
9242 cd $(HOST_SUBDIR)/fixincludes && \
9243 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9244 @endif fixincludes-bootstrap
9247 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
9248 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
9249 maybe-all-stageprofile-fixincludes:
9250 maybe-clean-stageprofile-fixincludes:
9251 @if fixincludes-bootstrap
9252 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
9253 all-stageprofile: all-stageprofile-fixincludes
9254 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
9255 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
9256 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9257 @r=`${PWD_COMMAND}`; export r; \
9258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9259 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9260 $(HOST_EXPORTS) \
9261 $(POSTSTAGE1_HOST_EXPORTS) \
9262 cd $(HOST_SUBDIR)/fixincludes && \
9264 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9265 CFLAGS="$(STAGEprofile_CFLAGS)" \
9266 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9267 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9268 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9269 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9270 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9271 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9272 TFLAGS="$(STAGEprofile_TFLAGS)" \
9273 $(TARGET-stageprofile-fixincludes)
9275 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
9276 clean-stageprofile: clean-stageprofile-fixincludes
9277 clean-stageprofile-fixincludes:
9278 @if [ $(current_stage) = stageprofile ]; then \
9279 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9280 else \
9281 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
9282 $(MAKE) stageprofile-start; \
9283 fi; \
9284 cd $(HOST_SUBDIR)/fixincludes && \
9285 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9286 @endif fixincludes-bootstrap
9289 .PHONY: all-stagetrain-fixincludes maybe-all-stagetrain-fixincludes
9290 .PHONY: clean-stagetrain-fixincludes maybe-clean-stagetrain-fixincludes
9291 maybe-all-stagetrain-fixincludes:
9292 maybe-clean-stagetrain-fixincludes:
9293 @if fixincludes-bootstrap
9294 maybe-all-stagetrain-fixincludes: all-stagetrain-fixincludes
9295 all-stagetrain: all-stagetrain-fixincludes
9296 TARGET-stagetrain-fixincludes = $(TARGET-fixincludes)
9297 all-stagetrain-fixincludes: configure-stagetrain-fixincludes
9298 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9299 @r=`${PWD_COMMAND}`; export r; \
9300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9301 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9302 $(HOST_EXPORTS) \
9303 $(POSTSTAGE1_HOST_EXPORTS) \
9304 cd $(HOST_SUBDIR)/fixincludes && \
9306 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9307 CFLAGS="$(STAGEtrain_CFLAGS)" \
9308 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
9309 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
9310 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9311 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9312 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9313 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9314 TFLAGS="$(STAGEtrain_TFLAGS)" \
9315 $(TARGET-stagetrain-fixincludes)
9317 maybe-clean-stagetrain-fixincludes: clean-stagetrain-fixincludes
9318 clean-stagetrain: clean-stagetrain-fixincludes
9319 clean-stagetrain-fixincludes:
9320 @if [ $(current_stage) = stagetrain ]; then \
9321 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9322 else \
9323 [ -f $(HOST_SUBDIR)/stagetrain-fixincludes/Makefile ] || exit 0; \
9324 $(MAKE) stagetrain-start; \
9325 fi; \
9326 cd $(HOST_SUBDIR)/fixincludes && \
9327 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9328 @endif fixincludes-bootstrap
9331 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
9332 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
9333 maybe-all-stagefeedback-fixincludes:
9334 maybe-clean-stagefeedback-fixincludes:
9335 @if fixincludes-bootstrap
9336 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
9337 all-stagefeedback: all-stagefeedback-fixincludes
9338 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
9339 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9340 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9341 @r=`${PWD_COMMAND}`; export r; \
9342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9343 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9344 $(HOST_EXPORTS) \
9345 $(POSTSTAGE1_HOST_EXPORTS) \
9346 cd $(HOST_SUBDIR)/fixincludes && \
9348 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9349 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9350 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9351 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9352 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9353 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9354 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9355 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9356 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9357 $(TARGET-stagefeedback-fixincludes)
9359 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
9360 clean-stagefeedback: clean-stagefeedback-fixincludes
9361 clean-stagefeedback-fixincludes:
9362 @if [ $(current_stage) = stagefeedback ]; then \
9363 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9364 else \
9365 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
9366 $(MAKE) stagefeedback-start; \
9367 fi; \
9368 cd $(HOST_SUBDIR)/fixincludes && \
9369 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9370 @endif fixincludes-bootstrap
9373 .PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9374 .PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9375 maybe-all-stageautoprofile-fixincludes:
9376 maybe-clean-stageautoprofile-fixincludes:
9377 @if fixincludes-bootstrap
9378 maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9379 all-stageautoprofile: all-stageautoprofile-fixincludes
9380 TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9381 all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9382 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9383 @r=`${PWD_COMMAND}`; export r; \
9384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9385 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9386 $(HOST_EXPORTS) \
9387 $(POSTSTAGE1_HOST_EXPORTS) \
9388 cd $(HOST_SUBDIR)/fixincludes && \
9389 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9390 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9391 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9392 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9393 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9394 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9395 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9396 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9397 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9398 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9399 $(TARGET-stageautoprofile-fixincludes)
9401 maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9402 clean-stageautoprofile: clean-stageautoprofile-fixincludes
9403 clean-stageautoprofile-fixincludes:
9404 @if [ $(current_stage) = stageautoprofile ]; then \
9405 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9406 else \
9407 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9408 $(MAKE) stageautoprofile-start; \
9409 fi; \
9410 cd $(HOST_SUBDIR)/fixincludes && \
9411 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9412 @endif fixincludes-bootstrap
9415 .PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9416 .PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9417 maybe-all-stageautofeedback-fixincludes:
9418 maybe-clean-stageautofeedback-fixincludes:
9419 @if fixincludes-bootstrap
9420 maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
9421 all-stageautofeedback: all-stageautofeedback-fixincludes
9422 TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
9423 all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9424 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9425 @r=`${PWD_COMMAND}`; export r; \
9426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9427 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9428 $(HOST_EXPORTS) \
9429 $(POSTSTAGE1_HOST_EXPORTS) \
9430 cd $(HOST_SUBDIR)/fixincludes && \
9432 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9433 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
9434 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
9435 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
9436 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9437 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9438 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9439 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9440 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
9441 $(TARGET-stageautofeedback-fixincludes)
9443 maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
9444 clean-stageautofeedback: clean-stageautofeedback-fixincludes
9445 clean-stageautofeedback-fixincludes:
9446 @if [ $(current_stage) = stageautofeedback ]; then \
9447 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9448 else \
9449 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
9450 $(MAKE) stageautofeedback-start; \
9451 fi; \
9452 cd $(HOST_SUBDIR)/fixincludes && \
9453 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9454 @endif fixincludes-bootstrap
9460 .PHONY: check-fixincludes maybe-check-fixincludes
9461 maybe-check-fixincludes:
9462 @if fixincludes
9463 maybe-check-fixincludes: check-fixincludes
9465 check-fixincludes:
9466 @: $(MAKE); $(unstage)
9467 @r=`${PWD_COMMAND}`; export r; \
9468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9469 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
9470 (cd $(HOST_SUBDIR)/fixincludes && \
9471 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
9473 @endif fixincludes
9475 .PHONY: install-fixincludes maybe-install-fixincludes
9476 maybe-install-fixincludes:
9477 @if fixincludes
9478 maybe-install-fixincludes: install-fixincludes
9480 install-fixincludes: installdirs
9481 @: $(MAKE); $(unstage)
9482 @r=`${PWD_COMMAND}`; export r; \
9483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9484 $(HOST_EXPORTS) \
9485 (cd $(HOST_SUBDIR)/fixincludes && \
9486 $(MAKE) $(FLAGS_TO_PASS) install)
9488 @endif fixincludes
9490 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
9491 maybe-install-strip-fixincludes:
9492 @if fixincludes
9493 maybe-install-strip-fixincludes: install-strip-fixincludes
9495 install-strip-fixincludes: installdirs
9496 @: $(MAKE); $(unstage)
9497 @r=`${PWD_COMMAND}`; export r; \
9498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9499 $(HOST_EXPORTS) \
9500 (cd $(HOST_SUBDIR)/fixincludes && \
9501 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9503 @endif fixincludes
9505 # Other targets (info, dvi, pdf, etc.)
9507 .PHONY: maybe-info-fixincludes info-fixincludes
9508 maybe-info-fixincludes:
9509 @if fixincludes
9510 maybe-info-fixincludes: info-fixincludes
9512 info-fixincludes: \
9513 configure-fixincludes
9514 @[ -f ./fixincludes/Makefile ] || exit 0; \
9515 r=`${PWD_COMMAND}`; export r; \
9516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9517 $(HOST_EXPORTS) \
9518 for flag in $(EXTRA_HOST_FLAGS) ; do \
9519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9520 done; \
9521 echo "Doing info in fixincludes"; \
9522 (cd $(HOST_SUBDIR)/fixincludes && \
9523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9525 "RANLIB=$${RANLIB}" \
9526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9527 info) \
9528 || exit 1
9530 @endif fixincludes
9532 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9533 maybe-dvi-fixincludes:
9534 @if fixincludes
9535 maybe-dvi-fixincludes: dvi-fixincludes
9537 dvi-fixincludes: \
9538 configure-fixincludes
9539 @[ -f ./fixincludes/Makefile ] || exit 0; \
9540 r=`${PWD_COMMAND}`; export r; \
9541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9542 $(HOST_EXPORTS) \
9543 for flag in $(EXTRA_HOST_FLAGS) ; do \
9544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9545 done; \
9546 echo "Doing dvi in fixincludes"; \
9547 (cd $(HOST_SUBDIR)/fixincludes && \
9548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9550 "RANLIB=$${RANLIB}" \
9551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9552 dvi) \
9553 || exit 1
9555 @endif fixincludes
9557 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
9558 maybe-pdf-fixincludes:
9559 @if fixincludes
9560 maybe-pdf-fixincludes: pdf-fixincludes
9562 pdf-fixincludes: \
9563 configure-fixincludes
9564 @[ -f ./fixincludes/Makefile ] || exit 0; \
9565 r=`${PWD_COMMAND}`; export r; \
9566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9567 $(HOST_EXPORTS) \
9568 for flag in $(EXTRA_HOST_FLAGS) ; do \
9569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9570 done; \
9571 echo "Doing pdf in fixincludes"; \
9572 (cd $(HOST_SUBDIR)/fixincludes && \
9573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9575 "RANLIB=$${RANLIB}" \
9576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9577 pdf) \
9578 || exit 1
9580 @endif fixincludes
9582 .PHONY: maybe-html-fixincludes html-fixincludes
9583 maybe-html-fixincludes:
9584 @if fixincludes
9585 maybe-html-fixincludes: html-fixincludes
9587 html-fixincludes: \
9588 configure-fixincludes
9589 @[ -f ./fixincludes/Makefile ] || exit 0; \
9590 r=`${PWD_COMMAND}`; export r; \
9591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9592 $(HOST_EXPORTS) \
9593 for flag in $(EXTRA_HOST_FLAGS) ; do \
9594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9595 done; \
9596 echo "Doing html in fixincludes"; \
9597 (cd $(HOST_SUBDIR)/fixincludes && \
9598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9600 "RANLIB=$${RANLIB}" \
9601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9602 html) \
9603 || exit 1
9605 @endif fixincludes
9607 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9608 maybe-TAGS-fixincludes:
9609 @if fixincludes
9610 maybe-TAGS-fixincludes: TAGS-fixincludes
9612 # fixincludes doesn't support TAGS.
9613 TAGS-fixincludes:
9615 @endif fixincludes
9617 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9618 maybe-install-info-fixincludes:
9619 @if fixincludes
9620 maybe-install-info-fixincludes: install-info-fixincludes
9622 install-info-fixincludes: \
9623 configure-fixincludes \
9624 info-fixincludes
9625 @[ -f ./fixincludes/Makefile ] || exit 0; \
9626 r=`${PWD_COMMAND}`; export r; \
9627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9628 $(HOST_EXPORTS) \
9629 for flag in $(EXTRA_HOST_FLAGS) ; do \
9630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9631 done; \
9632 echo "Doing install-info in fixincludes"; \
9633 (cd $(HOST_SUBDIR)/fixincludes && \
9634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9636 "RANLIB=$${RANLIB}" \
9637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9638 install-info) \
9639 || exit 1
9641 @endif fixincludes
9643 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
9644 maybe-install-pdf-fixincludes:
9645 @if fixincludes
9646 maybe-install-pdf-fixincludes: install-pdf-fixincludes
9648 install-pdf-fixincludes: \
9649 configure-fixincludes \
9650 pdf-fixincludes
9651 @[ -f ./fixincludes/Makefile ] || exit 0; \
9652 r=`${PWD_COMMAND}`; export r; \
9653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9654 $(HOST_EXPORTS) \
9655 for flag in $(EXTRA_HOST_FLAGS) ; do \
9656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9657 done; \
9658 echo "Doing install-pdf in fixincludes"; \
9659 (cd $(HOST_SUBDIR)/fixincludes && \
9660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9662 "RANLIB=$${RANLIB}" \
9663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9664 install-pdf) \
9665 || exit 1
9667 @endif fixincludes
9669 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
9670 maybe-install-html-fixincludes:
9671 @if fixincludes
9672 maybe-install-html-fixincludes: install-html-fixincludes
9674 install-html-fixincludes: \
9675 configure-fixincludes \
9676 html-fixincludes
9677 @[ -f ./fixincludes/Makefile ] || exit 0; \
9678 r=`${PWD_COMMAND}`; export r; \
9679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9680 $(HOST_EXPORTS) \
9681 for flag in $(EXTRA_HOST_FLAGS) ; do \
9682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9683 done; \
9684 echo "Doing install-html in fixincludes"; \
9685 (cd $(HOST_SUBDIR)/fixincludes && \
9686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9688 "RANLIB=$${RANLIB}" \
9689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9690 install-html) \
9691 || exit 1
9693 @endif fixincludes
9695 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9696 maybe-installcheck-fixincludes:
9697 @if fixincludes
9698 maybe-installcheck-fixincludes: installcheck-fixincludes
9700 installcheck-fixincludes: \
9701 configure-fixincludes
9702 @[ -f ./fixincludes/Makefile ] || exit 0; \
9703 r=`${PWD_COMMAND}`; export r; \
9704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9705 $(HOST_EXPORTS) \
9706 for flag in $(EXTRA_HOST_FLAGS) ; do \
9707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9708 done; \
9709 echo "Doing installcheck in fixincludes"; \
9710 (cd $(HOST_SUBDIR)/fixincludes && \
9711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9713 "RANLIB=$${RANLIB}" \
9714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9715 installcheck) \
9716 || exit 1
9718 @endif fixincludes
9720 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9721 maybe-mostlyclean-fixincludes:
9722 @if fixincludes
9723 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9725 mostlyclean-fixincludes:
9726 @[ -f ./fixincludes/Makefile ] || exit 0; \
9727 r=`${PWD_COMMAND}`; export r; \
9728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9729 $(HOST_EXPORTS) \
9730 for flag in $(EXTRA_HOST_FLAGS) ; do \
9731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9732 done; \
9733 echo "Doing mostlyclean in fixincludes"; \
9734 (cd $(HOST_SUBDIR)/fixincludes && \
9735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9737 "RANLIB=$${RANLIB}" \
9738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9739 mostlyclean) \
9740 || exit 1
9742 @endif fixincludes
9744 .PHONY: maybe-clean-fixincludes clean-fixincludes
9745 maybe-clean-fixincludes:
9746 @if fixincludes
9747 maybe-clean-fixincludes: clean-fixincludes
9749 clean-fixincludes:
9750 @[ -f ./fixincludes/Makefile ] || exit 0; \
9751 r=`${PWD_COMMAND}`; export r; \
9752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9753 $(HOST_EXPORTS) \
9754 for flag in $(EXTRA_HOST_FLAGS) ; do \
9755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9756 done; \
9757 echo "Doing clean in fixincludes"; \
9758 (cd $(HOST_SUBDIR)/fixincludes && \
9759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9761 "RANLIB=$${RANLIB}" \
9762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9763 clean) \
9764 || exit 1
9766 @endif fixincludes
9768 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9769 maybe-distclean-fixincludes:
9770 @if fixincludes
9771 maybe-distclean-fixincludes: distclean-fixincludes
9773 distclean-fixincludes:
9774 @[ -f ./fixincludes/Makefile ] || exit 0; \
9775 r=`${PWD_COMMAND}`; export r; \
9776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9777 $(HOST_EXPORTS) \
9778 for flag in $(EXTRA_HOST_FLAGS) ; do \
9779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9780 done; \
9781 echo "Doing distclean in fixincludes"; \
9782 (cd $(HOST_SUBDIR)/fixincludes && \
9783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9785 "RANLIB=$${RANLIB}" \
9786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9787 distclean) \
9788 || exit 1
9790 @endif fixincludes
9792 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9793 maybe-maintainer-clean-fixincludes:
9794 @if fixincludes
9795 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9797 maintainer-clean-fixincludes:
9798 @[ -f ./fixincludes/Makefile ] || exit 0; \
9799 r=`${PWD_COMMAND}`; export r; \
9800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9801 $(HOST_EXPORTS) \
9802 for flag in $(EXTRA_HOST_FLAGS) ; do \
9803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9804 done; \
9805 echo "Doing maintainer-clean in fixincludes"; \
9806 (cd $(HOST_SUBDIR)/fixincludes && \
9807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9809 "RANLIB=$${RANLIB}" \
9810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9811 maintainer-clean) \
9812 || exit 1
9814 @endif fixincludes
9818 .PHONY: configure-flex maybe-configure-flex
9819 maybe-configure-flex:
9820 @if gcc-bootstrap
9821 configure-flex: stage_current
9822 @endif gcc-bootstrap
9823 @if flex
9824 maybe-configure-flex: configure-flex
9825 configure-flex:
9826 @: $(MAKE); $(unstage)
9827 @r=`${PWD_COMMAND}`; export r; \
9828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9829 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9830 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
9831 $(HOST_EXPORTS) \
9832 echo Configuring in $(HOST_SUBDIR)/flex; \
9833 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9834 case $(srcdir) in \
9835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9836 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9838 esac; \
9839 module_srcdir=flex; \
9840 $(SHELL) \
9841 $$s/$$module_srcdir/configure \
9842 --srcdir=$${topdir}/$$module_srcdir \
9843 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9844 --target=${target_alias} \
9845 || exit 1
9846 @endif flex
9852 .PHONY: all-flex maybe-all-flex
9853 maybe-all-flex:
9854 @if gcc-bootstrap
9855 all-flex: stage_current
9856 @endif gcc-bootstrap
9857 @if flex
9858 TARGET-flex=all
9859 maybe-all-flex: all-flex
9860 all-flex: configure-flex
9861 @: $(MAKE); $(unstage)
9862 @r=`${PWD_COMMAND}`; export r; \
9863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9864 $(HOST_EXPORTS) \
9865 (cd $(HOST_SUBDIR)/flex && \
9866 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9867 $(TARGET-flex))
9868 @endif flex
9873 .PHONY: check-flex maybe-check-flex
9874 maybe-check-flex:
9875 @if flex
9876 maybe-check-flex: check-flex
9878 # This module is only tested in a native toolchain.
9879 check-flex:
9880 @: $(MAKE); $(unstage)
9881 @if [ '$(host)' = '$(target)' ]; then \
9882 r=`${PWD_COMMAND}`; export r; \
9883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9884 $(HOST_EXPORTS) \
9885 (cd $(HOST_SUBDIR)/flex && \
9886 $(MAKE) $(FLAGS_TO_PASS) check)
9889 @endif flex
9891 .PHONY: install-flex maybe-install-flex
9892 maybe-install-flex:
9893 @if flex
9894 maybe-install-flex: install-flex
9896 install-flex: installdirs
9897 @: $(MAKE); $(unstage)
9898 @r=`${PWD_COMMAND}`; export r; \
9899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9900 $(HOST_EXPORTS) \
9901 (cd $(HOST_SUBDIR)/flex && \
9902 $(MAKE) $(FLAGS_TO_PASS) install)
9904 @endif flex
9906 .PHONY: install-strip-flex maybe-install-strip-flex
9907 maybe-install-strip-flex:
9908 @if flex
9909 maybe-install-strip-flex: install-strip-flex
9911 install-strip-flex: installdirs
9912 @: $(MAKE); $(unstage)
9913 @r=`${PWD_COMMAND}`; export r; \
9914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9915 $(HOST_EXPORTS) \
9916 (cd $(HOST_SUBDIR)/flex && \
9917 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9919 @endif flex
9921 # Other targets (info, dvi, pdf, etc.)
9923 .PHONY: maybe-info-flex info-flex
9924 maybe-info-flex:
9925 @if flex
9926 maybe-info-flex: info-flex
9928 info-flex: \
9929 configure-flex
9930 @: $(MAKE); $(unstage)
9931 @[ -f ./flex/Makefile ] || exit 0; \
9932 r=`${PWD_COMMAND}`; export r; \
9933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9934 $(HOST_EXPORTS) \
9935 for flag in $(EXTRA_HOST_FLAGS) ; do \
9936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9937 done; \
9938 echo "Doing info in flex"; \
9939 (cd $(HOST_SUBDIR)/flex && \
9940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9942 "RANLIB=$${RANLIB}" \
9943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9944 info) \
9945 || exit 1
9947 @endif flex
9949 .PHONY: maybe-dvi-flex dvi-flex
9950 maybe-dvi-flex:
9951 @if flex
9952 maybe-dvi-flex: dvi-flex
9954 dvi-flex: \
9955 configure-flex
9956 @: $(MAKE); $(unstage)
9957 @[ -f ./flex/Makefile ] || exit 0; \
9958 r=`${PWD_COMMAND}`; export r; \
9959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9960 $(HOST_EXPORTS) \
9961 for flag in $(EXTRA_HOST_FLAGS) ; do \
9962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9963 done; \
9964 echo "Doing dvi in flex"; \
9965 (cd $(HOST_SUBDIR)/flex && \
9966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9968 "RANLIB=$${RANLIB}" \
9969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9970 dvi) \
9971 || exit 1
9973 @endif flex
9975 .PHONY: maybe-pdf-flex pdf-flex
9976 maybe-pdf-flex:
9977 @if flex
9978 maybe-pdf-flex: pdf-flex
9980 pdf-flex: \
9981 configure-flex
9982 @: $(MAKE); $(unstage)
9983 @[ -f ./flex/Makefile ] || exit 0; \
9984 r=`${PWD_COMMAND}`; export r; \
9985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9986 $(HOST_EXPORTS) \
9987 for flag in $(EXTRA_HOST_FLAGS) ; do \
9988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9989 done; \
9990 echo "Doing pdf in flex"; \
9991 (cd $(HOST_SUBDIR)/flex && \
9992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9994 "RANLIB=$${RANLIB}" \
9995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9996 pdf) \
9997 || exit 1
9999 @endif flex
10001 .PHONY: maybe-html-flex html-flex
10002 maybe-html-flex:
10003 @if flex
10004 maybe-html-flex: html-flex
10006 html-flex: \
10007 configure-flex
10008 @: $(MAKE); $(unstage)
10009 @[ -f ./flex/Makefile ] || exit 0; \
10010 r=`${PWD_COMMAND}`; export r; \
10011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10012 $(HOST_EXPORTS) \
10013 for flag in $(EXTRA_HOST_FLAGS) ; do \
10014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10015 done; \
10016 echo "Doing html in flex"; \
10017 (cd $(HOST_SUBDIR)/flex && \
10018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10020 "RANLIB=$${RANLIB}" \
10021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10022 html) \
10023 || exit 1
10025 @endif flex
10027 .PHONY: maybe-TAGS-flex TAGS-flex
10028 maybe-TAGS-flex:
10029 @if flex
10030 maybe-TAGS-flex: TAGS-flex
10032 TAGS-flex: \
10033 configure-flex
10034 @: $(MAKE); $(unstage)
10035 @[ -f ./flex/Makefile ] || exit 0; \
10036 r=`${PWD_COMMAND}`; export r; \
10037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10038 $(HOST_EXPORTS) \
10039 for flag in $(EXTRA_HOST_FLAGS) ; do \
10040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10041 done; \
10042 echo "Doing TAGS in flex"; \
10043 (cd $(HOST_SUBDIR)/flex && \
10044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10046 "RANLIB=$${RANLIB}" \
10047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10048 TAGS) \
10049 || exit 1
10051 @endif flex
10053 .PHONY: maybe-install-info-flex install-info-flex
10054 maybe-install-info-flex:
10055 @if flex
10056 maybe-install-info-flex: install-info-flex
10058 install-info-flex: \
10059 configure-flex \
10060 info-flex
10061 @: $(MAKE); $(unstage)
10062 @[ -f ./flex/Makefile ] || exit 0; \
10063 r=`${PWD_COMMAND}`; export r; \
10064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10065 $(HOST_EXPORTS) \
10066 for flag in $(EXTRA_HOST_FLAGS) ; do \
10067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10068 done; \
10069 echo "Doing install-info in flex"; \
10070 (cd $(HOST_SUBDIR)/flex && \
10071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10073 "RANLIB=$${RANLIB}" \
10074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10075 install-info) \
10076 || exit 1
10078 @endif flex
10080 .PHONY: maybe-install-pdf-flex install-pdf-flex
10081 maybe-install-pdf-flex:
10082 @if flex
10083 maybe-install-pdf-flex: install-pdf-flex
10085 install-pdf-flex: \
10086 configure-flex \
10087 pdf-flex
10088 @: $(MAKE); $(unstage)
10089 @[ -f ./flex/Makefile ] || exit 0; \
10090 r=`${PWD_COMMAND}`; export r; \
10091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10092 $(HOST_EXPORTS) \
10093 for flag in $(EXTRA_HOST_FLAGS) ; do \
10094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10095 done; \
10096 echo "Doing install-pdf in flex"; \
10097 (cd $(HOST_SUBDIR)/flex && \
10098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10100 "RANLIB=$${RANLIB}" \
10101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10102 install-pdf) \
10103 || exit 1
10105 @endif flex
10107 .PHONY: maybe-install-html-flex install-html-flex
10108 maybe-install-html-flex:
10109 @if flex
10110 maybe-install-html-flex: install-html-flex
10112 install-html-flex: \
10113 configure-flex \
10114 html-flex
10115 @: $(MAKE); $(unstage)
10116 @[ -f ./flex/Makefile ] || exit 0; \
10117 r=`${PWD_COMMAND}`; export r; \
10118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10119 $(HOST_EXPORTS) \
10120 for flag in $(EXTRA_HOST_FLAGS) ; do \
10121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10122 done; \
10123 echo "Doing install-html in flex"; \
10124 (cd $(HOST_SUBDIR)/flex && \
10125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10127 "RANLIB=$${RANLIB}" \
10128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10129 install-html) \
10130 || exit 1
10132 @endif flex
10134 .PHONY: maybe-installcheck-flex installcheck-flex
10135 maybe-installcheck-flex:
10136 @if flex
10137 maybe-installcheck-flex: installcheck-flex
10139 installcheck-flex: \
10140 configure-flex
10141 @: $(MAKE); $(unstage)
10142 @[ -f ./flex/Makefile ] || exit 0; \
10143 r=`${PWD_COMMAND}`; export r; \
10144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10145 $(HOST_EXPORTS) \
10146 for flag in $(EXTRA_HOST_FLAGS) ; do \
10147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10148 done; \
10149 echo "Doing installcheck in flex"; \
10150 (cd $(HOST_SUBDIR)/flex && \
10151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10153 "RANLIB=$${RANLIB}" \
10154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10155 installcheck) \
10156 || exit 1
10158 @endif flex
10160 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10161 maybe-mostlyclean-flex:
10162 @if flex
10163 maybe-mostlyclean-flex: mostlyclean-flex
10165 mostlyclean-flex:
10166 @: $(MAKE); $(unstage)
10167 @[ -f ./flex/Makefile ] || exit 0; \
10168 r=`${PWD_COMMAND}`; export r; \
10169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10170 $(HOST_EXPORTS) \
10171 for flag in $(EXTRA_HOST_FLAGS) ; do \
10172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10173 done; \
10174 echo "Doing mostlyclean in flex"; \
10175 (cd $(HOST_SUBDIR)/flex && \
10176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10178 "RANLIB=$${RANLIB}" \
10179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10180 mostlyclean) \
10181 || exit 1
10183 @endif flex
10185 .PHONY: maybe-clean-flex clean-flex
10186 maybe-clean-flex:
10187 @if flex
10188 maybe-clean-flex: clean-flex
10190 clean-flex:
10191 @: $(MAKE); $(unstage)
10192 @[ -f ./flex/Makefile ] || exit 0; \
10193 r=`${PWD_COMMAND}`; export r; \
10194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10195 $(HOST_EXPORTS) \
10196 for flag in $(EXTRA_HOST_FLAGS) ; do \
10197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10198 done; \
10199 echo "Doing clean in flex"; \
10200 (cd $(HOST_SUBDIR)/flex && \
10201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10203 "RANLIB=$${RANLIB}" \
10204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10205 clean) \
10206 || exit 1
10208 @endif flex
10210 .PHONY: maybe-distclean-flex distclean-flex
10211 maybe-distclean-flex:
10212 @if flex
10213 maybe-distclean-flex: distclean-flex
10215 distclean-flex:
10216 @: $(MAKE); $(unstage)
10217 @[ -f ./flex/Makefile ] || exit 0; \
10218 r=`${PWD_COMMAND}`; export r; \
10219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10220 $(HOST_EXPORTS) \
10221 for flag in $(EXTRA_HOST_FLAGS) ; do \
10222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10223 done; \
10224 echo "Doing distclean in flex"; \
10225 (cd $(HOST_SUBDIR)/flex && \
10226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10228 "RANLIB=$${RANLIB}" \
10229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10230 distclean) \
10231 || exit 1
10233 @endif flex
10235 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10236 maybe-maintainer-clean-flex:
10237 @if flex
10238 maybe-maintainer-clean-flex: maintainer-clean-flex
10240 maintainer-clean-flex:
10241 @: $(MAKE); $(unstage)
10242 @[ -f ./flex/Makefile ] || exit 0; \
10243 r=`${PWD_COMMAND}`; export r; \
10244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10245 $(HOST_EXPORTS) \
10246 for flag in $(EXTRA_HOST_FLAGS) ; do \
10247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10248 done; \
10249 echo "Doing maintainer-clean in flex"; \
10250 (cd $(HOST_SUBDIR)/flex && \
10251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10253 "RANLIB=$${RANLIB}" \
10254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10255 maintainer-clean) \
10256 || exit 1
10258 @endif flex
10262 .PHONY: configure-gas maybe-configure-gas
10263 maybe-configure-gas:
10264 @if gcc-bootstrap
10265 configure-gas: stage_current
10266 @endif gcc-bootstrap
10267 @if gas
10268 maybe-configure-gas: configure-gas
10269 configure-gas:
10270 @r=`${PWD_COMMAND}`; export r; \
10271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10272 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10273 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10274 $(HOST_EXPORTS) \
10275 echo Configuring in $(HOST_SUBDIR)/gas; \
10276 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10277 case $(srcdir) in \
10278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10279 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10281 esac; \
10282 module_srcdir=gas; \
10283 $(SHELL) \
10284 $$s/$$module_srcdir/configure \
10285 --srcdir=$${topdir}/$$module_srcdir \
10286 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10287 --target=${target_alias} \
10288 || exit 1
10289 @endif gas
10293 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10294 maybe-configure-stage1-gas:
10295 @if gas-bootstrap
10296 maybe-configure-stage1-gas: configure-stage1-gas
10297 configure-stage1-gas:
10298 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10299 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10300 @r=`${PWD_COMMAND}`; export r; \
10301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10302 TFLAGS="$(STAGE1_TFLAGS)"; \
10303 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10304 $(HOST_EXPORTS) \
10305 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10306 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10307 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10308 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
10309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10310 cd $(HOST_SUBDIR)/gas || exit 1; \
10311 case $(srcdir) in \
10312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10313 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10315 esac; \
10316 module_srcdir=gas; \
10317 $(SHELL) $$s/$$module_srcdir/configure \
10318 --srcdir=$${topdir}/$$module_srcdir \
10319 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10320 --target=${target_alias} \
10322 $(STAGE1_CONFIGURE_FLAGS)
10323 @endif gas-bootstrap
10325 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10326 maybe-configure-stage2-gas:
10327 @if gas-bootstrap
10328 maybe-configure-stage2-gas: configure-stage2-gas
10329 configure-stage2-gas:
10330 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10331 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10332 @r=`${PWD_COMMAND}`; export r; \
10333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10334 TFLAGS="$(STAGE2_TFLAGS)"; \
10335 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10336 $(HOST_EXPORTS) \
10337 $(POSTSTAGE1_HOST_EXPORTS) \
10338 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10339 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10340 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10341 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
10342 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10343 cd $(HOST_SUBDIR)/gas || exit 1; \
10344 case $(srcdir) in \
10345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10346 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10348 esac; \
10349 module_srcdir=gas; \
10350 $(SHELL) $$s/$$module_srcdir/configure \
10351 --srcdir=$${topdir}/$$module_srcdir \
10352 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10353 --target=${target_alias} \
10354 --with-build-libsubdir=$(HOST_SUBDIR) \
10355 $(STAGE2_CONFIGURE_FLAGS)
10356 @endif gas-bootstrap
10358 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10359 maybe-configure-stage3-gas:
10360 @if gas-bootstrap
10361 maybe-configure-stage3-gas: configure-stage3-gas
10362 configure-stage3-gas:
10363 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10364 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10365 @r=`${PWD_COMMAND}`; export r; \
10366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10367 TFLAGS="$(STAGE3_TFLAGS)"; \
10368 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10369 $(HOST_EXPORTS) \
10370 $(POSTSTAGE1_HOST_EXPORTS) \
10371 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10372 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10373 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10374 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
10375 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10376 cd $(HOST_SUBDIR)/gas || exit 1; \
10377 case $(srcdir) in \
10378 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10379 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10380 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10381 esac; \
10382 module_srcdir=gas; \
10383 $(SHELL) $$s/$$module_srcdir/configure \
10384 --srcdir=$${topdir}/$$module_srcdir \
10385 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10386 --target=${target_alias} \
10387 --with-build-libsubdir=$(HOST_SUBDIR) \
10388 $(STAGE3_CONFIGURE_FLAGS)
10389 @endif gas-bootstrap
10391 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10392 maybe-configure-stage4-gas:
10393 @if gas-bootstrap
10394 maybe-configure-stage4-gas: configure-stage4-gas
10395 configure-stage4-gas:
10396 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10397 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10398 @r=`${PWD_COMMAND}`; export r; \
10399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10400 TFLAGS="$(STAGE4_TFLAGS)"; \
10401 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10402 $(HOST_EXPORTS) \
10403 $(POSTSTAGE1_HOST_EXPORTS) \
10404 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10405 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10406 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10407 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
10408 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10409 cd $(HOST_SUBDIR)/gas || exit 1; \
10410 case $(srcdir) in \
10411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10412 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10414 esac; \
10415 module_srcdir=gas; \
10416 $(SHELL) $$s/$$module_srcdir/configure \
10417 --srcdir=$${topdir}/$$module_srcdir \
10418 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10419 --target=${target_alias} \
10420 --with-build-libsubdir=$(HOST_SUBDIR) \
10421 $(STAGE4_CONFIGURE_FLAGS)
10422 @endif gas-bootstrap
10424 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10425 maybe-configure-stageprofile-gas:
10426 @if gas-bootstrap
10427 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10428 configure-stageprofile-gas:
10429 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10430 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10431 @r=`${PWD_COMMAND}`; export r; \
10432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10433 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10434 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10435 $(HOST_EXPORTS) \
10436 $(POSTSTAGE1_HOST_EXPORTS) \
10437 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10438 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10439 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10440 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
10441 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10442 cd $(HOST_SUBDIR)/gas || exit 1; \
10443 case $(srcdir) in \
10444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10445 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10447 esac; \
10448 module_srcdir=gas; \
10449 $(SHELL) $$s/$$module_srcdir/configure \
10450 --srcdir=$${topdir}/$$module_srcdir \
10451 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10452 --target=${target_alias} \
10453 --with-build-libsubdir=$(HOST_SUBDIR) \
10454 $(STAGEprofile_CONFIGURE_FLAGS)
10455 @endif gas-bootstrap
10457 .PHONY: configure-stagetrain-gas maybe-configure-stagetrain-gas
10458 maybe-configure-stagetrain-gas:
10459 @if gas-bootstrap
10460 maybe-configure-stagetrain-gas: configure-stagetrain-gas
10461 configure-stagetrain-gas:
10462 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10463 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10464 @r=`${PWD_COMMAND}`; export r; \
10465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10466 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10467 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10468 $(HOST_EXPORTS) \
10469 $(POSTSTAGE1_HOST_EXPORTS) \
10470 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
10471 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
10472 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
10473 echo Configuring stage train in $(HOST_SUBDIR)/gas; \
10474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10475 cd $(HOST_SUBDIR)/gas || exit 1; \
10476 case $(srcdir) in \
10477 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10478 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10479 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10480 esac; \
10481 module_srcdir=gas; \
10482 $(SHELL) $$s/$$module_srcdir/configure \
10483 --srcdir=$${topdir}/$$module_srcdir \
10484 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10485 --target=${target_alias} \
10486 --with-build-libsubdir=$(HOST_SUBDIR) \
10487 $(STAGEtrain_CONFIGURE_FLAGS)
10488 @endif gas-bootstrap
10490 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10491 maybe-configure-stagefeedback-gas:
10492 @if gas-bootstrap
10493 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10494 configure-stagefeedback-gas:
10495 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10496 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10497 @r=`${PWD_COMMAND}`; export r; \
10498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10499 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10500 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10501 $(HOST_EXPORTS) \
10502 $(POSTSTAGE1_HOST_EXPORTS) \
10503 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10504 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10505 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10506 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
10507 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10508 cd $(HOST_SUBDIR)/gas || exit 1; \
10509 case $(srcdir) in \
10510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10511 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10513 esac; \
10514 module_srcdir=gas; \
10515 $(SHELL) $$s/$$module_srcdir/configure \
10516 --srcdir=$${topdir}/$$module_srcdir \
10517 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10518 --target=${target_alias} \
10519 --with-build-libsubdir=$(HOST_SUBDIR) \
10520 $(STAGEfeedback_CONFIGURE_FLAGS)
10521 @endif gas-bootstrap
10523 .PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
10524 maybe-configure-stageautoprofile-gas:
10525 @if gas-bootstrap
10526 maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
10527 configure-stageautoprofile-gas:
10528 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10529 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10530 @r=`${PWD_COMMAND}`; export r; \
10531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10532 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10533 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10534 $(HOST_EXPORTS) \
10535 $(POSTSTAGE1_HOST_EXPORTS) \
10536 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
10537 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
10538 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
10539 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
10540 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10541 cd $(HOST_SUBDIR)/gas || exit 1; \
10542 case $(srcdir) in \
10543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10544 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10546 esac; \
10547 module_srcdir=gas; \
10548 $(SHELL) $$s/$$module_srcdir/configure \
10549 --srcdir=$${topdir}/$$module_srcdir \
10550 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10551 --target=${target_alias} \
10552 --with-build-libsubdir=$(HOST_SUBDIR) \
10553 $(STAGEautoprofile_CONFIGURE_FLAGS)
10554 @endif gas-bootstrap
10556 .PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
10557 maybe-configure-stageautofeedback-gas:
10558 @if gas-bootstrap
10559 maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
10560 configure-stageautofeedback-gas:
10561 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10562 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10563 @r=`${PWD_COMMAND}`; export r; \
10564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10565 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10566 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10567 $(HOST_EXPORTS) \
10568 $(POSTSTAGE1_HOST_EXPORTS) \
10569 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
10570 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
10571 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
10572 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
10573 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10574 cd $(HOST_SUBDIR)/gas || exit 1; \
10575 case $(srcdir) in \
10576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10577 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10579 esac; \
10580 module_srcdir=gas; \
10581 $(SHELL) $$s/$$module_srcdir/configure \
10582 --srcdir=$${topdir}/$$module_srcdir \
10583 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10584 --target=${target_alias} \
10585 --with-build-libsubdir=$(HOST_SUBDIR) \
10586 $(STAGEautofeedback_CONFIGURE_FLAGS)
10587 @endif gas-bootstrap
10593 .PHONY: all-gas maybe-all-gas
10594 maybe-all-gas:
10595 @if gcc-bootstrap
10596 all-gas: stage_current
10597 @endif gcc-bootstrap
10598 @if gas
10599 TARGET-gas=all
10600 maybe-all-gas: all-gas
10601 all-gas: configure-gas
10602 @r=`${PWD_COMMAND}`; export r; \
10603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10604 $(HOST_EXPORTS) \
10605 (cd $(HOST_SUBDIR)/gas && \
10606 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10607 $(TARGET-gas))
10608 @endif gas
10612 .PHONY: all-stage1-gas maybe-all-stage1-gas
10613 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10614 maybe-all-stage1-gas:
10615 maybe-clean-stage1-gas:
10616 @if gas-bootstrap
10617 maybe-all-stage1-gas: all-stage1-gas
10618 all-stage1: all-stage1-gas
10619 TARGET-stage1-gas = $(TARGET-gas)
10620 all-stage1-gas: configure-stage1-gas
10621 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10622 @r=`${PWD_COMMAND}`; export r; \
10623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10624 TFLAGS="$(STAGE1_TFLAGS)"; \
10625 $(HOST_EXPORTS) \
10626 cd $(HOST_SUBDIR)/gas && \
10628 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10629 CFLAGS="$(STAGE1_CFLAGS)" \
10630 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10631 LIBCFLAGS="$(LIBCFLAGS)" \
10632 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10633 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10634 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10635 $(EXTRA_HOST_FLAGS) \
10636 $(STAGE1_FLAGS_TO_PASS) \
10637 TFLAGS="$(STAGE1_TFLAGS)" \
10638 $(TARGET-stage1-gas)
10640 maybe-clean-stage1-gas: clean-stage1-gas
10641 clean-stage1: clean-stage1-gas
10642 clean-stage1-gas:
10643 @if [ $(current_stage) = stage1 ]; then \
10644 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10645 else \
10646 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
10647 $(MAKE) stage1-start; \
10648 fi; \
10649 cd $(HOST_SUBDIR)/gas && \
10650 $(MAKE) $(EXTRA_HOST_FLAGS) \
10651 $(STAGE1_FLAGS_TO_PASS) clean
10652 @endif gas-bootstrap
10655 .PHONY: all-stage2-gas maybe-all-stage2-gas
10656 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10657 maybe-all-stage2-gas:
10658 maybe-clean-stage2-gas:
10659 @if gas-bootstrap
10660 maybe-all-stage2-gas: all-stage2-gas
10661 all-stage2: all-stage2-gas
10662 TARGET-stage2-gas = $(TARGET-gas)
10663 all-stage2-gas: configure-stage2-gas
10664 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10665 @r=`${PWD_COMMAND}`; export r; \
10666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10667 TFLAGS="$(STAGE2_TFLAGS)"; \
10668 $(HOST_EXPORTS) \
10669 $(POSTSTAGE1_HOST_EXPORTS) \
10670 cd $(HOST_SUBDIR)/gas && \
10672 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10673 CFLAGS="$(STAGE2_CFLAGS)" \
10674 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10675 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10676 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10677 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10678 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10679 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10680 TFLAGS="$(STAGE2_TFLAGS)" \
10681 $(TARGET-stage2-gas)
10683 maybe-clean-stage2-gas: clean-stage2-gas
10684 clean-stage2: clean-stage2-gas
10685 clean-stage2-gas:
10686 @if [ $(current_stage) = stage2 ]; then \
10687 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10688 else \
10689 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
10690 $(MAKE) stage2-start; \
10691 fi; \
10692 cd $(HOST_SUBDIR)/gas && \
10693 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10694 @endif gas-bootstrap
10697 .PHONY: all-stage3-gas maybe-all-stage3-gas
10698 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10699 maybe-all-stage3-gas:
10700 maybe-clean-stage3-gas:
10701 @if gas-bootstrap
10702 maybe-all-stage3-gas: all-stage3-gas
10703 all-stage3: all-stage3-gas
10704 TARGET-stage3-gas = $(TARGET-gas)
10705 all-stage3-gas: configure-stage3-gas
10706 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10707 @r=`${PWD_COMMAND}`; export r; \
10708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10709 TFLAGS="$(STAGE3_TFLAGS)"; \
10710 $(HOST_EXPORTS) \
10711 $(POSTSTAGE1_HOST_EXPORTS) \
10712 cd $(HOST_SUBDIR)/gas && \
10714 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10715 CFLAGS="$(STAGE3_CFLAGS)" \
10716 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10717 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10718 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10719 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10720 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10721 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10722 TFLAGS="$(STAGE3_TFLAGS)" \
10723 $(TARGET-stage3-gas)
10725 maybe-clean-stage3-gas: clean-stage3-gas
10726 clean-stage3: clean-stage3-gas
10727 clean-stage3-gas:
10728 @if [ $(current_stage) = stage3 ]; then \
10729 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10730 else \
10731 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
10732 $(MAKE) stage3-start; \
10733 fi; \
10734 cd $(HOST_SUBDIR)/gas && \
10735 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10736 @endif gas-bootstrap
10739 .PHONY: all-stage4-gas maybe-all-stage4-gas
10740 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10741 maybe-all-stage4-gas:
10742 maybe-clean-stage4-gas:
10743 @if gas-bootstrap
10744 maybe-all-stage4-gas: all-stage4-gas
10745 all-stage4: all-stage4-gas
10746 TARGET-stage4-gas = $(TARGET-gas)
10747 all-stage4-gas: configure-stage4-gas
10748 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10749 @r=`${PWD_COMMAND}`; export r; \
10750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10751 TFLAGS="$(STAGE4_TFLAGS)"; \
10752 $(HOST_EXPORTS) \
10753 $(POSTSTAGE1_HOST_EXPORTS) \
10754 cd $(HOST_SUBDIR)/gas && \
10756 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10757 CFLAGS="$(STAGE4_CFLAGS)" \
10758 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10759 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10760 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10761 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10762 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10763 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10764 TFLAGS="$(STAGE4_TFLAGS)" \
10765 $(TARGET-stage4-gas)
10767 maybe-clean-stage4-gas: clean-stage4-gas
10768 clean-stage4: clean-stage4-gas
10769 clean-stage4-gas:
10770 @if [ $(current_stage) = stage4 ]; then \
10771 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10772 else \
10773 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
10774 $(MAKE) stage4-start; \
10775 fi; \
10776 cd $(HOST_SUBDIR)/gas && \
10777 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10778 @endif gas-bootstrap
10781 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10782 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10783 maybe-all-stageprofile-gas:
10784 maybe-clean-stageprofile-gas:
10785 @if gas-bootstrap
10786 maybe-all-stageprofile-gas: all-stageprofile-gas
10787 all-stageprofile: all-stageprofile-gas
10788 TARGET-stageprofile-gas = $(TARGET-gas)
10789 all-stageprofile-gas: configure-stageprofile-gas
10790 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10791 @r=`${PWD_COMMAND}`; export r; \
10792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10793 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10794 $(HOST_EXPORTS) \
10795 $(POSTSTAGE1_HOST_EXPORTS) \
10796 cd $(HOST_SUBDIR)/gas && \
10798 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10799 CFLAGS="$(STAGEprofile_CFLAGS)" \
10800 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10801 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10802 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10803 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10804 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10805 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10806 TFLAGS="$(STAGEprofile_TFLAGS)" \
10807 $(TARGET-stageprofile-gas)
10809 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10810 clean-stageprofile: clean-stageprofile-gas
10811 clean-stageprofile-gas:
10812 @if [ $(current_stage) = stageprofile ]; then \
10813 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10814 else \
10815 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
10816 $(MAKE) stageprofile-start; \
10817 fi; \
10818 cd $(HOST_SUBDIR)/gas && \
10819 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10820 @endif gas-bootstrap
10823 .PHONY: all-stagetrain-gas maybe-all-stagetrain-gas
10824 .PHONY: clean-stagetrain-gas maybe-clean-stagetrain-gas
10825 maybe-all-stagetrain-gas:
10826 maybe-clean-stagetrain-gas:
10827 @if gas-bootstrap
10828 maybe-all-stagetrain-gas: all-stagetrain-gas
10829 all-stagetrain: all-stagetrain-gas
10830 TARGET-stagetrain-gas = $(TARGET-gas)
10831 all-stagetrain-gas: configure-stagetrain-gas
10832 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
10833 @r=`${PWD_COMMAND}`; export r; \
10834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10835 TFLAGS="$(STAGEtrain_TFLAGS)"; \
10836 $(HOST_EXPORTS) \
10837 $(POSTSTAGE1_HOST_EXPORTS) \
10838 cd $(HOST_SUBDIR)/gas && \
10840 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10841 CFLAGS="$(STAGEtrain_CFLAGS)" \
10842 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
10843 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
10844 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10845 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10846 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10847 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10848 TFLAGS="$(STAGEtrain_TFLAGS)" \
10849 $(TARGET-stagetrain-gas)
10851 maybe-clean-stagetrain-gas: clean-stagetrain-gas
10852 clean-stagetrain: clean-stagetrain-gas
10853 clean-stagetrain-gas:
10854 @if [ $(current_stage) = stagetrain ]; then \
10855 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10856 else \
10857 [ -f $(HOST_SUBDIR)/stagetrain-gas/Makefile ] || exit 0; \
10858 $(MAKE) stagetrain-start; \
10859 fi; \
10860 cd $(HOST_SUBDIR)/gas && \
10861 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10862 @endif gas-bootstrap
10865 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10866 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10867 maybe-all-stagefeedback-gas:
10868 maybe-clean-stagefeedback-gas:
10869 @if gas-bootstrap
10870 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10871 all-stagefeedback: all-stagefeedback-gas
10872 TARGET-stagefeedback-gas = $(TARGET-gas)
10873 all-stagefeedback-gas: configure-stagefeedback-gas
10874 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10875 @r=`${PWD_COMMAND}`; export r; \
10876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10877 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10878 $(HOST_EXPORTS) \
10879 $(POSTSTAGE1_HOST_EXPORTS) \
10880 cd $(HOST_SUBDIR)/gas && \
10882 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10883 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10884 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10885 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10886 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10887 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10888 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10889 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10890 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10891 $(TARGET-stagefeedback-gas)
10893 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10894 clean-stagefeedback: clean-stagefeedback-gas
10895 clean-stagefeedback-gas:
10896 @if [ $(current_stage) = stagefeedback ]; then \
10897 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10898 else \
10899 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
10900 $(MAKE) stagefeedback-start; \
10901 fi; \
10902 cd $(HOST_SUBDIR)/gas && \
10903 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10904 @endif gas-bootstrap
10907 .PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
10908 .PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
10909 maybe-all-stageautoprofile-gas:
10910 maybe-clean-stageautoprofile-gas:
10911 @if gas-bootstrap
10912 maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
10913 all-stageautoprofile: all-stageautoprofile-gas
10914 TARGET-stageautoprofile-gas = $(TARGET-gas)
10915 all-stageautoprofile-gas: configure-stageautoprofile-gas
10916 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
10917 @r=`${PWD_COMMAND}`; export r; \
10918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10919 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
10920 $(HOST_EXPORTS) \
10921 $(POSTSTAGE1_HOST_EXPORTS) \
10922 cd $(HOST_SUBDIR)/gas && \
10923 $$s/gcc/config/i386/$(AUTO_PROFILE) \
10924 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10925 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
10926 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
10927 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
10928 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10929 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10930 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10931 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10932 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
10933 $(TARGET-stageautoprofile-gas)
10935 maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
10936 clean-stageautoprofile: clean-stageautoprofile-gas
10937 clean-stageautoprofile-gas:
10938 @if [ $(current_stage) = stageautoprofile ]; then \
10939 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10940 else \
10941 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
10942 $(MAKE) stageautoprofile-start; \
10943 fi; \
10944 cd $(HOST_SUBDIR)/gas && \
10945 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10946 @endif gas-bootstrap
10949 .PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
10950 .PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
10951 maybe-all-stageautofeedback-gas:
10952 maybe-clean-stageautofeedback-gas:
10953 @if gas-bootstrap
10954 maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
10955 all-stageautofeedback: all-stageautofeedback-gas
10956 TARGET-stageautofeedback-gas = $(TARGET-gas)
10957 all-stageautofeedback-gas: configure-stageautofeedback-gas
10958 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
10959 @r=`${PWD_COMMAND}`; export r; \
10960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10961 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
10962 $(HOST_EXPORTS) \
10963 $(POSTSTAGE1_HOST_EXPORTS) \
10964 cd $(HOST_SUBDIR)/gas && \
10966 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10967 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
10968 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
10969 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
10970 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10971 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10972 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10973 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10974 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
10975 $(TARGET-stageautofeedback-gas)
10977 maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
10978 clean-stageautofeedback: clean-stageautofeedback-gas
10979 clean-stageautofeedback-gas:
10980 @if [ $(current_stage) = stageautofeedback ]; then \
10981 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
10982 else \
10983 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
10984 $(MAKE) stageautofeedback-start; \
10985 fi; \
10986 cd $(HOST_SUBDIR)/gas && \
10987 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10988 @endif gas-bootstrap
10994 .PHONY: check-gas maybe-check-gas
10995 maybe-check-gas:
10996 @if gas
10997 maybe-check-gas: check-gas
10999 check-gas:
11000 @: $(MAKE); $(unstage)
11001 @r=`${PWD_COMMAND}`; export r; \
11002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11003 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
11004 (cd $(HOST_SUBDIR)/gas && \
11005 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
11007 @endif gas
11009 .PHONY: install-gas maybe-install-gas
11010 maybe-install-gas:
11011 @if gas
11012 maybe-install-gas: install-gas
11014 install-gas: installdirs
11015 @: $(MAKE); $(unstage)
11016 @r=`${PWD_COMMAND}`; export r; \
11017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11018 $(HOST_EXPORTS) \
11019 (cd $(HOST_SUBDIR)/gas && \
11020 $(MAKE) $(FLAGS_TO_PASS) install)
11022 @endif gas
11024 .PHONY: install-strip-gas maybe-install-strip-gas
11025 maybe-install-strip-gas:
11026 @if gas
11027 maybe-install-strip-gas: install-strip-gas
11029 install-strip-gas: installdirs
11030 @: $(MAKE); $(unstage)
11031 @r=`${PWD_COMMAND}`; export r; \
11032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11033 $(HOST_EXPORTS) \
11034 (cd $(HOST_SUBDIR)/gas && \
11035 $(MAKE) $(FLAGS_TO_PASS) install-strip)
11037 @endif gas
11039 # Other targets (info, dvi, pdf, etc.)
11041 .PHONY: maybe-info-gas info-gas
11042 maybe-info-gas:
11043 @if gas
11044 maybe-info-gas: info-gas
11046 info-gas: \
11047 configure-gas
11048 @[ -f ./gas/Makefile ] || exit 0; \
11049 r=`${PWD_COMMAND}`; export r; \
11050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11051 $(HOST_EXPORTS) \
11052 for flag in $(EXTRA_HOST_FLAGS) ; do \
11053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11054 done; \
11055 echo "Doing info in gas"; \
11056 (cd $(HOST_SUBDIR)/gas && \
11057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11059 "RANLIB=$${RANLIB}" \
11060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11061 info) \
11062 || exit 1
11064 @endif gas
11066 .PHONY: maybe-dvi-gas dvi-gas
11067 maybe-dvi-gas:
11068 @if gas
11069 maybe-dvi-gas: dvi-gas
11071 dvi-gas: \
11072 configure-gas
11073 @[ -f ./gas/Makefile ] || exit 0; \
11074 r=`${PWD_COMMAND}`; export r; \
11075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11076 $(HOST_EXPORTS) \
11077 for flag in $(EXTRA_HOST_FLAGS) ; do \
11078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11079 done; \
11080 echo "Doing dvi in gas"; \
11081 (cd $(HOST_SUBDIR)/gas && \
11082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11084 "RANLIB=$${RANLIB}" \
11085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11086 dvi) \
11087 || exit 1
11089 @endif gas
11091 .PHONY: maybe-pdf-gas pdf-gas
11092 maybe-pdf-gas:
11093 @if gas
11094 maybe-pdf-gas: pdf-gas
11096 pdf-gas: \
11097 configure-gas
11098 @[ -f ./gas/Makefile ] || exit 0; \
11099 r=`${PWD_COMMAND}`; export r; \
11100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11101 $(HOST_EXPORTS) \
11102 for flag in $(EXTRA_HOST_FLAGS) ; do \
11103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11104 done; \
11105 echo "Doing pdf in gas"; \
11106 (cd $(HOST_SUBDIR)/gas && \
11107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11109 "RANLIB=$${RANLIB}" \
11110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11111 pdf) \
11112 || exit 1
11114 @endif gas
11116 .PHONY: maybe-html-gas html-gas
11117 maybe-html-gas:
11118 @if gas
11119 maybe-html-gas: html-gas
11121 html-gas: \
11122 configure-gas
11123 @[ -f ./gas/Makefile ] || exit 0; \
11124 r=`${PWD_COMMAND}`; export r; \
11125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11126 $(HOST_EXPORTS) \
11127 for flag in $(EXTRA_HOST_FLAGS) ; do \
11128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11129 done; \
11130 echo "Doing html in gas"; \
11131 (cd $(HOST_SUBDIR)/gas && \
11132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11134 "RANLIB=$${RANLIB}" \
11135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11136 html) \
11137 || exit 1
11139 @endif gas
11141 .PHONY: maybe-TAGS-gas TAGS-gas
11142 maybe-TAGS-gas:
11143 @if gas
11144 maybe-TAGS-gas: TAGS-gas
11146 TAGS-gas: \
11147 configure-gas
11148 @[ -f ./gas/Makefile ] || exit 0; \
11149 r=`${PWD_COMMAND}`; export r; \
11150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11151 $(HOST_EXPORTS) \
11152 for flag in $(EXTRA_HOST_FLAGS) ; do \
11153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11154 done; \
11155 echo "Doing TAGS in gas"; \
11156 (cd $(HOST_SUBDIR)/gas && \
11157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11159 "RANLIB=$${RANLIB}" \
11160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11161 TAGS) \
11162 || exit 1
11164 @endif gas
11166 .PHONY: maybe-install-info-gas install-info-gas
11167 maybe-install-info-gas:
11168 @if gas
11169 maybe-install-info-gas: install-info-gas
11171 install-info-gas: \
11172 configure-gas \
11173 info-gas
11174 @[ -f ./gas/Makefile ] || exit 0; \
11175 r=`${PWD_COMMAND}`; export r; \
11176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11177 $(HOST_EXPORTS) \
11178 for flag in $(EXTRA_HOST_FLAGS) ; do \
11179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11180 done; \
11181 echo "Doing install-info in gas"; \
11182 (cd $(HOST_SUBDIR)/gas && \
11183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11185 "RANLIB=$${RANLIB}" \
11186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11187 install-info) \
11188 || exit 1
11190 @endif gas
11192 .PHONY: maybe-install-pdf-gas install-pdf-gas
11193 maybe-install-pdf-gas:
11194 @if gas
11195 maybe-install-pdf-gas: install-pdf-gas
11197 install-pdf-gas: \
11198 configure-gas \
11199 pdf-gas
11200 @[ -f ./gas/Makefile ] || exit 0; \
11201 r=`${PWD_COMMAND}`; export r; \
11202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11203 $(HOST_EXPORTS) \
11204 for flag in $(EXTRA_HOST_FLAGS) ; do \
11205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11206 done; \
11207 echo "Doing install-pdf in gas"; \
11208 (cd $(HOST_SUBDIR)/gas && \
11209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11211 "RANLIB=$${RANLIB}" \
11212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11213 install-pdf) \
11214 || exit 1
11216 @endif gas
11218 .PHONY: maybe-install-html-gas install-html-gas
11219 maybe-install-html-gas:
11220 @if gas
11221 maybe-install-html-gas: install-html-gas
11223 install-html-gas: \
11224 configure-gas \
11225 html-gas
11226 @[ -f ./gas/Makefile ] || exit 0; \
11227 r=`${PWD_COMMAND}`; export r; \
11228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11229 $(HOST_EXPORTS) \
11230 for flag in $(EXTRA_HOST_FLAGS) ; do \
11231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11232 done; \
11233 echo "Doing install-html in gas"; \
11234 (cd $(HOST_SUBDIR)/gas && \
11235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11237 "RANLIB=$${RANLIB}" \
11238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11239 install-html) \
11240 || exit 1
11242 @endif gas
11244 .PHONY: maybe-installcheck-gas installcheck-gas
11245 maybe-installcheck-gas:
11246 @if gas
11247 maybe-installcheck-gas: installcheck-gas
11249 installcheck-gas: \
11250 configure-gas
11251 @[ -f ./gas/Makefile ] || exit 0; \
11252 r=`${PWD_COMMAND}`; export r; \
11253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11254 $(HOST_EXPORTS) \
11255 for flag in $(EXTRA_HOST_FLAGS) ; do \
11256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11257 done; \
11258 echo "Doing installcheck in gas"; \
11259 (cd $(HOST_SUBDIR)/gas && \
11260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11262 "RANLIB=$${RANLIB}" \
11263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11264 installcheck) \
11265 || exit 1
11267 @endif gas
11269 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11270 maybe-mostlyclean-gas:
11271 @if gas
11272 maybe-mostlyclean-gas: mostlyclean-gas
11274 mostlyclean-gas:
11275 @[ -f ./gas/Makefile ] || exit 0; \
11276 r=`${PWD_COMMAND}`; export r; \
11277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11278 $(HOST_EXPORTS) \
11279 for flag in $(EXTRA_HOST_FLAGS) ; do \
11280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11281 done; \
11282 echo "Doing mostlyclean in gas"; \
11283 (cd $(HOST_SUBDIR)/gas && \
11284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11286 "RANLIB=$${RANLIB}" \
11287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11288 mostlyclean) \
11289 || exit 1
11291 @endif gas
11293 .PHONY: maybe-clean-gas clean-gas
11294 maybe-clean-gas:
11295 @if gas
11296 maybe-clean-gas: clean-gas
11298 clean-gas:
11299 @[ -f ./gas/Makefile ] || exit 0; \
11300 r=`${PWD_COMMAND}`; export r; \
11301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11302 $(HOST_EXPORTS) \
11303 for flag in $(EXTRA_HOST_FLAGS) ; do \
11304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11305 done; \
11306 echo "Doing clean in gas"; \
11307 (cd $(HOST_SUBDIR)/gas && \
11308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11310 "RANLIB=$${RANLIB}" \
11311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11312 clean) \
11313 || exit 1
11315 @endif gas
11317 .PHONY: maybe-distclean-gas distclean-gas
11318 maybe-distclean-gas:
11319 @if gas
11320 maybe-distclean-gas: distclean-gas
11322 distclean-gas:
11323 @[ -f ./gas/Makefile ] || exit 0; \
11324 r=`${PWD_COMMAND}`; export r; \
11325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11326 $(HOST_EXPORTS) \
11327 for flag in $(EXTRA_HOST_FLAGS) ; do \
11328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11329 done; \
11330 echo "Doing distclean in gas"; \
11331 (cd $(HOST_SUBDIR)/gas && \
11332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11334 "RANLIB=$${RANLIB}" \
11335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11336 distclean) \
11337 || exit 1
11339 @endif gas
11341 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11342 maybe-maintainer-clean-gas:
11343 @if gas
11344 maybe-maintainer-clean-gas: maintainer-clean-gas
11346 maintainer-clean-gas:
11347 @[ -f ./gas/Makefile ] || exit 0; \
11348 r=`${PWD_COMMAND}`; export r; \
11349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11350 $(HOST_EXPORTS) \
11351 for flag in $(EXTRA_HOST_FLAGS) ; do \
11352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11353 done; \
11354 echo "Doing maintainer-clean in gas"; \
11355 (cd $(HOST_SUBDIR)/gas && \
11356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11358 "RANLIB=$${RANLIB}" \
11359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11360 maintainer-clean) \
11361 || exit 1
11363 @endif gas
11367 .PHONY: configure-gcc maybe-configure-gcc
11368 maybe-configure-gcc:
11369 @if gcc-bootstrap
11370 configure-gcc: stage_current
11371 @endif gcc-bootstrap
11372 @if gcc
11373 maybe-configure-gcc: configure-gcc
11374 configure-gcc:
11375 @r=`${PWD_COMMAND}`; export r; \
11376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11377 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11378 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11379 $(HOST_EXPORTS) \
11380 echo Configuring in $(HOST_SUBDIR)/gcc; \
11381 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11382 case $(srcdir) in \
11383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11384 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11386 esac; \
11387 module_srcdir=gcc; \
11388 $(SHELL) \
11389 $$s/$$module_srcdir/configure \
11390 --srcdir=$${topdir}/$$module_srcdir \
11391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11392 --target=${target_alias} \
11393 || exit 1
11394 @endif gcc
11398 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11399 maybe-configure-stage1-gcc:
11400 @if gcc-bootstrap
11401 maybe-configure-stage1-gcc: configure-stage1-gcc
11402 configure-stage1-gcc:
11403 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11404 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11405 @r=`${PWD_COMMAND}`; export r; \
11406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11407 TFLAGS="$(STAGE1_TFLAGS)"; \
11408 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11409 $(HOST_EXPORTS) \
11410 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11411 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11412 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11413 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
11414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11415 cd $(HOST_SUBDIR)/gcc || exit 1; \
11416 case $(srcdir) in \
11417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11418 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11420 esac; \
11421 module_srcdir=gcc; \
11422 $(SHELL) $$s/$$module_srcdir/configure \
11423 --srcdir=$${topdir}/$$module_srcdir \
11424 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11425 --target=${target_alias} \
11427 $(STAGE1_CONFIGURE_FLAGS)
11428 @endif gcc-bootstrap
11430 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11431 maybe-configure-stage2-gcc:
11432 @if gcc-bootstrap
11433 maybe-configure-stage2-gcc: configure-stage2-gcc
11434 configure-stage2-gcc:
11435 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11436 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11437 @r=`${PWD_COMMAND}`; export r; \
11438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11439 TFLAGS="$(STAGE2_TFLAGS)"; \
11440 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11441 $(HOST_EXPORTS) \
11442 $(POSTSTAGE1_HOST_EXPORTS) \
11443 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11444 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11445 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11446 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
11447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11448 cd $(HOST_SUBDIR)/gcc || exit 1; \
11449 case $(srcdir) in \
11450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11451 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11453 esac; \
11454 module_srcdir=gcc; \
11455 $(SHELL) $$s/$$module_srcdir/configure \
11456 --srcdir=$${topdir}/$$module_srcdir \
11457 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11458 --target=${target_alias} \
11459 --with-build-libsubdir=$(HOST_SUBDIR) \
11460 $(STAGE2_CONFIGURE_FLAGS)
11461 @endif gcc-bootstrap
11463 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11464 maybe-configure-stage3-gcc:
11465 @if gcc-bootstrap
11466 maybe-configure-stage3-gcc: configure-stage3-gcc
11467 configure-stage3-gcc:
11468 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11469 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11470 @r=`${PWD_COMMAND}`; export r; \
11471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11472 TFLAGS="$(STAGE3_TFLAGS)"; \
11473 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11474 $(HOST_EXPORTS) \
11475 $(POSTSTAGE1_HOST_EXPORTS) \
11476 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11477 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11478 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11479 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
11480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11481 cd $(HOST_SUBDIR)/gcc || exit 1; \
11482 case $(srcdir) in \
11483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11484 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11486 esac; \
11487 module_srcdir=gcc; \
11488 $(SHELL) $$s/$$module_srcdir/configure \
11489 --srcdir=$${topdir}/$$module_srcdir \
11490 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11491 --target=${target_alias} \
11492 --with-build-libsubdir=$(HOST_SUBDIR) \
11493 $(STAGE3_CONFIGURE_FLAGS)
11494 @endif gcc-bootstrap
11496 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11497 maybe-configure-stage4-gcc:
11498 @if gcc-bootstrap
11499 maybe-configure-stage4-gcc: configure-stage4-gcc
11500 configure-stage4-gcc:
11501 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11502 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11503 @r=`${PWD_COMMAND}`; export r; \
11504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11505 TFLAGS="$(STAGE4_TFLAGS)"; \
11506 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11507 $(HOST_EXPORTS) \
11508 $(POSTSTAGE1_HOST_EXPORTS) \
11509 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11510 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11511 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11512 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
11513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11514 cd $(HOST_SUBDIR)/gcc || exit 1; \
11515 case $(srcdir) in \
11516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11517 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11519 esac; \
11520 module_srcdir=gcc; \
11521 $(SHELL) $$s/$$module_srcdir/configure \
11522 --srcdir=$${topdir}/$$module_srcdir \
11523 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11524 --target=${target_alias} \
11525 --with-build-libsubdir=$(HOST_SUBDIR) \
11526 $(STAGE4_CONFIGURE_FLAGS)
11527 @endif gcc-bootstrap
11529 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11530 maybe-configure-stageprofile-gcc:
11531 @if gcc-bootstrap
11532 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11533 configure-stageprofile-gcc:
11534 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11535 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11536 @r=`${PWD_COMMAND}`; export r; \
11537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11538 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11539 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11540 $(HOST_EXPORTS) \
11541 $(POSTSTAGE1_HOST_EXPORTS) \
11542 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11543 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11544 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11545 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
11546 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11547 cd $(HOST_SUBDIR)/gcc || exit 1; \
11548 case $(srcdir) in \
11549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11550 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11552 esac; \
11553 module_srcdir=gcc; \
11554 $(SHELL) $$s/$$module_srcdir/configure \
11555 --srcdir=$${topdir}/$$module_srcdir \
11556 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11557 --target=${target_alias} \
11558 --with-build-libsubdir=$(HOST_SUBDIR) \
11559 $(STAGEprofile_CONFIGURE_FLAGS)
11560 @endif gcc-bootstrap
11562 .PHONY: configure-stagetrain-gcc maybe-configure-stagetrain-gcc
11563 maybe-configure-stagetrain-gcc:
11564 @if gcc-bootstrap
11565 maybe-configure-stagetrain-gcc: configure-stagetrain-gcc
11566 configure-stagetrain-gcc:
11567 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11568 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11569 @r=`${PWD_COMMAND}`; export r; \
11570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11571 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11572 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11573 $(HOST_EXPORTS) \
11574 $(POSTSTAGE1_HOST_EXPORTS) \
11575 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
11576 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
11577 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
11578 echo Configuring stage train in $(HOST_SUBDIR)/gcc; \
11579 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11580 cd $(HOST_SUBDIR)/gcc || exit 1; \
11581 case $(srcdir) in \
11582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11583 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11585 esac; \
11586 module_srcdir=gcc; \
11587 $(SHELL) $$s/$$module_srcdir/configure \
11588 --srcdir=$${topdir}/$$module_srcdir \
11589 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11590 --target=${target_alias} \
11591 --with-build-libsubdir=$(HOST_SUBDIR) \
11592 $(STAGEtrain_CONFIGURE_FLAGS)
11593 @endif gcc-bootstrap
11595 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11596 maybe-configure-stagefeedback-gcc:
11597 @if gcc-bootstrap
11598 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11599 configure-stagefeedback-gcc:
11600 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11601 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11602 @r=`${PWD_COMMAND}`; export r; \
11603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11604 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11605 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11606 $(HOST_EXPORTS) \
11607 $(POSTSTAGE1_HOST_EXPORTS) \
11608 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11609 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11610 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11611 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
11612 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11613 cd $(HOST_SUBDIR)/gcc || exit 1; \
11614 case $(srcdir) in \
11615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11616 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11618 esac; \
11619 module_srcdir=gcc; \
11620 $(SHELL) $$s/$$module_srcdir/configure \
11621 --srcdir=$${topdir}/$$module_srcdir \
11622 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11623 --target=${target_alias} \
11624 --with-build-libsubdir=$(HOST_SUBDIR) \
11625 $(STAGEfeedback_CONFIGURE_FLAGS)
11626 @endif gcc-bootstrap
11628 .PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
11629 maybe-configure-stageautoprofile-gcc:
11630 @if gcc-bootstrap
11631 maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
11632 configure-stageautoprofile-gcc:
11633 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11634 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11635 @r=`${PWD_COMMAND}`; export r; \
11636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11637 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11638 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11639 $(HOST_EXPORTS) \
11640 $(POSTSTAGE1_HOST_EXPORTS) \
11641 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11642 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11643 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11644 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
11645 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11646 cd $(HOST_SUBDIR)/gcc || exit 1; \
11647 case $(srcdir) in \
11648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11649 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11651 esac; \
11652 module_srcdir=gcc; \
11653 $(SHELL) $$s/$$module_srcdir/configure \
11654 --srcdir=$${topdir}/$$module_srcdir \
11655 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11656 --target=${target_alias} \
11657 --with-build-libsubdir=$(HOST_SUBDIR) \
11658 $(STAGEautoprofile_CONFIGURE_FLAGS)
11659 @endif gcc-bootstrap
11661 .PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
11662 maybe-configure-stageautofeedback-gcc:
11663 @if gcc-bootstrap
11664 maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
11665 configure-stageautofeedback-gcc:
11666 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11667 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11668 @r=`${PWD_COMMAND}`; export r; \
11669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11670 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11671 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11672 $(HOST_EXPORTS) \
11673 $(POSTSTAGE1_HOST_EXPORTS) \
11674 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11675 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11676 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11677 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
11678 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
11679 cd $(HOST_SUBDIR)/gcc || exit 1; \
11680 case $(srcdir) in \
11681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11682 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11684 esac; \
11685 module_srcdir=gcc; \
11686 $(SHELL) $$s/$$module_srcdir/configure \
11687 --srcdir=$${topdir}/$$module_srcdir \
11688 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11689 --target=${target_alias} \
11690 --with-build-libsubdir=$(HOST_SUBDIR) \
11691 $(STAGEautofeedback_CONFIGURE_FLAGS)
11692 @endif gcc-bootstrap
11698 .PHONY: all-gcc maybe-all-gcc
11699 maybe-all-gcc:
11700 @if gcc-bootstrap
11701 all-gcc: stage_current
11702 @endif gcc-bootstrap
11703 @if gcc
11704 TARGET-gcc=all
11705 maybe-all-gcc: all-gcc
11706 all-gcc: configure-gcc
11707 @r=`${PWD_COMMAND}`; export r; \
11708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11709 $(HOST_EXPORTS) \
11710 (cd $(HOST_SUBDIR)/gcc && \
11711 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11712 $(TARGET-gcc))
11713 @endif gcc
11717 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11718 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11719 maybe-all-stage1-gcc:
11720 maybe-clean-stage1-gcc:
11721 @if gcc-bootstrap
11722 maybe-all-stage1-gcc: all-stage1-gcc
11723 all-stage1: all-stage1-gcc
11724 TARGET-stage1-gcc = $(TARGET-gcc)
11725 all-stage1-gcc: configure-stage1-gcc
11726 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11727 @r=`${PWD_COMMAND}`; export r; \
11728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11729 TFLAGS="$(STAGE1_TFLAGS)"; \
11730 $(HOST_EXPORTS) \
11731 cd $(HOST_SUBDIR)/gcc && \
11733 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11734 CFLAGS="$(STAGE1_CFLAGS)" \
11735 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11736 LIBCFLAGS="$(LIBCFLAGS)" \
11737 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11738 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11739 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11740 $(EXTRA_HOST_FLAGS) \
11741 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11742 TFLAGS="$(STAGE1_TFLAGS)" \
11743 $(TARGET-stage1-gcc)
11745 maybe-clean-stage1-gcc: clean-stage1-gcc
11746 clean-stage1: clean-stage1-gcc
11747 clean-stage1-gcc:
11748 @if [ $(current_stage) = stage1 ]; then \
11749 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11750 else \
11751 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
11752 $(MAKE) stage1-start; \
11753 fi; \
11754 cd $(HOST_SUBDIR)/gcc && \
11755 $(MAKE) $(EXTRA_HOST_FLAGS) \
11756 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11757 @endif gcc-bootstrap
11760 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11761 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11762 maybe-all-stage2-gcc:
11763 maybe-clean-stage2-gcc:
11764 @if gcc-bootstrap
11765 maybe-all-stage2-gcc: all-stage2-gcc
11766 all-stage2: all-stage2-gcc
11767 TARGET-stage2-gcc = $(TARGET-gcc)
11768 all-stage2-gcc: configure-stage2-gcc
11769 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11770 @r=`${PWD_COMMAND}`; export r; \
11771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11772 TFLAGS="$(STAGE2_TFLAGS)"; \
11773 $(HOST_EXPORTS) \
11774 $(POSTSTAGE1_HOST_EXPORTS) \
11775 cd $(HOST_SUBDIR)/gcc && \
11777 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11778 CFLAGS="$(STAGE2_CFLAGS)" \
11779 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11780 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11781 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11784 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11785 TFLAGS="$(STAGE2_TFLAGS)" \
11786 $(TARGET-stage2-gcc)
11788 maybe-clean-stage2-gcc: clean-stage2-gcc
11789 clean-stage2: clean-stage2-gcc
11790 clean-stage2-gcc:
11791 @if [ $(current_stage) = stage2 ]; then \
11792 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11793 else \
11794 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
11795 $(MAKE) stage2-start; \
11796 fi; \
11797 cd $(HOST_SUBDIR)/gcc && \
11798 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11799 @endif gcc-bootstrap
11802 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11803 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11804 maybe-all-stage3-gcc:
11805 maybe-clean-stage3-gcc:
11806 @if gcc-bootstrap
11807 maybe-all-stage3-gcc: all-stage3-gcc
11808 all-stage3: all-stage3-gcc
11809 TARGET-stage3-gcc = $(TARGET-gcc)
11810 all-stage3-gcc: configure-stage3-gcc
11811 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11812 @r=`${PWD_COMMAND}`; export r; \
11813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11814 TFLAGS="$(STAGE3_TFLAGS)"; \
11815 $(HOST_EXPORTS) \
11816 $(POSTSTAGE1_HOST_EXPORTS) \
11817 cd $(HOST_SUBDIR)/gcc && \
11819 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11820 CFLAGS="$(STAGE3_CFLAGS)" \
11821 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11822 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11823 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11824 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11825 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11826 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11827 TFLAGS="$(STAGE3_TFLAGS)" \
11828 $(TARGET-stage3-gcc)
11830 maybe-clean-stage3-gcc: clean-stage3-gcc
11831 clean-stage3: clean-stage3-gcc
11832 clean-stage3-gcc:
11833 @if [ $(current_stage) = stage3 ]; then \
11834 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11835 else \
11836 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
11837 $(MAKE) stage3-start; \
11838 fi; \
11839 cd $(HOST_SUBDIR)/gcc && \
11840 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11841 @endif gcc-bootstrap
11844 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11845 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11846 maybe-all-stage4-gcc:
11847 maybe-clean-stage4-gcc:
11848 @if gcc-bootstrap
11849 maybe-all-stage4-gcc: all-stage4-gcc
11850 all-stage4: all-stage4-gcc
11851 TARGET-stage4-gcc = $(TARGET-gcc)
11852 all-stage4-gcc: configure-stage4-gcc
11853 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11854 @r=`${PWD_COMMAND}`; export r; \
11855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11856 TFLAGS="$(STAGE4_TFLAGS)"; \
11857 $(HOST_EXPORTS) \
11858 $(POSTSTAGE1_HOST_EXPORTS) \
11859 cd $(HOST_SUBDIR)/gcc && \
11861 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11862 CFLAGS="$(STAGE4_CFLAGS)" \
11863 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11864 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11865 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11866 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11867 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11868 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11869 TFLAGS="$(STAGE4_TFLAGS)" \
11870 $(TARGET-stage4-gcc)
11872 maybe-clean-stage4-gcc: clean-stage4-gcc
11873 clean-stage4: clean-stage4-gcc
11874 clean-stage4-gcc:
11875 @if [ $(current_stage) = stage4 ]; then \
11876 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11877 else \
11878 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
11879 $(MAKE) stage4-start; \
11880 fi; \
11881 cd $(HOST_SUBDIR)/gcc && \
11882 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11883 @endif gcc-bootstrap
11886 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11887 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11888 maybe-all-stageprofile-gcc:
11889 maybe-clean-stageprofile-gcc:
11890 @if gcc-bootstrap
11891 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11892 all-stageprofile: all-stageprofile-gcc
11893 TARGET-stageprofile-gcc = $(TARGET-gcc)
11894 all-stageprofile-gcc: configure-stageprofile-gcc
11895 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11896 @r=`${PWD_COMMAND}`; export r; \
11897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11898 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11899 $(HOST_EXPORTS) \
11900 $(POSTSTAGE1_HOST_EXPORTS) \
11901 cd $(HOST_SUBDIR)/gcc && \
11903 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11904 CFLAGS="$(STAGEprofile_CFLAGS)" \
11905 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11906 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11907 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11908 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11909 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11910 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11911 TFLAGS="$(STAGEprofile_TFLAGS)" \
11912 $(TARGET-stageprofile-gcc)
11914 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11915 clean-stageprofile: clean-stageprofile-gcc
11916 clean-stageprofile-gcc:
11917 @if [ $(current_stage) = stageprofile ]; then \
11918 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11919 else \
11920 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
11921 $(MAKE) stageprofile-start; \
11922 fi; \
11923 cd $(HOST_SUBDIR)/gcc && \
11924 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11925 @endif gcc-bootstrap
11928 .PHONY: all-stagetrain-gcc maybe-all-stagetrain-gcc
11929 .PHONY: clean-stagetrain-gcc maybe-clean-stagetrain-gcc
11930 maybe-all-stagetrain-gcc:
11931 maybe-clean-stagetrain-gcc:
11932 @if gcc-bootstrap
11933 maybe-all-stagetrain-gcc: all-stagetrain-gcc
11934 all-stagetrain: all-stagetrain-gcc
11935 TARGET-stagetrain-gcc = $(TARGET-gcc)
11936 all-stagetrain-gcc: configure-stagetrain-gcc
11937 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11938 @r=`${PWD_COMMAND}`; export r; \
11939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11940 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11941 $(HOST_EXPORTS) \
11942 $(POSTSTAGE1_HOST_EXPORTS) \
11943 cd $(HOST_SUBDIR)/gcc && \
11945 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11946 CFLAGS="$(STAGEtrain_CFLAGS)" \
11947 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
11948 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
11949 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11950 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11951 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11952 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11953 TFLAGS="$(STAGEtrain_TFLAGS)" \
11954 $(TARGET-stagetrain-gcc)
11956 maybe-clean-stagetrain-gcc: clean-stagetrain-gcc
11957 clean-stagetrain: clean-stagetrain-gcc
11958 clean-stagetrain-gcc:
11959 @if [ $(current_stage) = stagetrain ]; then \
11960 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
11961 else \
11962 [ -f $(HOST_SUBDIR)/stagetrain-gcc/Makefile ] || exit 0; \
11963 $(MAKE) stagetrain-start; \
11964 fi; \
11965 cd $(HOST_SUBDIR)/gcc && \
11966 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
11967 @endif gcc-bootstrap
11970 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11971 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11972 maybe-all-stagefeedback-gcc:
11973 maybe-clean-stagefeedback-gcc:
11974 @if gcc-bootstrap
11975 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11976 all-stagefeedback: all-stagefeedback-gcc
11977 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11978 all-stagefeedback-gcc: configure-stagefeedback-gcc
11979 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11980 @r=`${PWD_COMMAND}`; export r; \
11981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11982 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11983 $(HOST_EXPORTS) \
11984 $(POSTSTAGE1_HOST_EXPORTS) \
11985 cd $(HOST_SUBDIR)/gcc && \
11987 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11988 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11989 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11990 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11991 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11992 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11993 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11994 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11995 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11996 $(TARGET-stagefeedback-gcc)
11998 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11999 clean-stagefeedback: clean-stagefeedback-gcc
12000 clean-stagefeedback-gcc:
12001 @if [ $(current_stage) = stagefeedback ]; then \
12002 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12003 else \
12004 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
12005 $(MAKE) stagefeedback-start; \
12006 fi; \
12007 cd $(HOST_SUBDIR)/gcc && \
12008 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12009 @endif gcc-bootstrap
12012 .PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
12013 .PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
12014 maybe-all-stageautoprofile-gcc:
12015 maybe-clean-stageautoprofile-gcc:
12016 @if gcc-bootstrap
12017 maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
12018 all-stageautoprofile: all-stageautoprofile-gcc
12019 TARGET-stageautoprofile-gcc = $(TARGET-gcc)
12020 all-stageautoprofile-gcc: configure-stageautoprofile-gcc
12021 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12022 @r=`${PWD_COMMAND}`; export r; \
12023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12024 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12025 $(HOST_EXPORTS) \
12026 $(POSTSTAGE1_HOST_EXPORTS) \
12027 cd $(HOST_SUBDIR)/gcc && \
12028 $$s/gcc/config/i386/$(AUTO_PROFILE) \
12029 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12030 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
12031 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
12032 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
12033 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12034 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12035 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12036 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12037 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
12038 $(TARGET-stageautoprofile-gcc)
12040 maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
12041 clean-stageautoprofile: clean-stageautoprofile-gcc
12042 clean-stageautoprofile-gcc:
12043 @if [ $(current_stage) = stageautoprofile ]; then \
12044 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12045 else \
12046 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
12047 $(MAKE) stageautoprofile-start; \
12048 fi; \
12049 cd $(HOST_SUBDIR)/gcc && \
12050 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12051 @endif gcc-bootstrap
12054 .PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
12055 .PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
12056 maybe-all-stageautofeedback-gcc:
12057 maybe-clean-stageautofeedback-gcc:
12058 @if gcc-bootstrap
12059 maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
12060 all-stageautofeedback: all-stageautofeedback-gcc
12061 TARGET-stageautofeedback-gcc = $(TARGET-gcc)
12062 all-stageautofeedback-gcc: configure-stageautofeedback-gcc
12063 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12064 @r=`${PWD_COMMAND}`; export r; \
12065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12066 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12067 $(HOST_EXPORTS) \
12068 $(POSTSTAGE1_HOST_EXPORTS) \
12069 cd $(HOST_SUBDIR)/gcc && \
12071 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12072 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12073 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12074 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12075 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12076 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12077 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12078 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12079 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12080 $(TARGET-stageautofeedback-gcc)
12082 maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
12083 clean-stageautofeedback: clean-stageautofeedback-gcc
12084 clean-stageautofeedback-gcc:
12085 @if [ $(current_stage) = stageautofeedback ]; then \
12086 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12087 else \
12088 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
12089 $(MAKE) stageautofeedback-start; \
12090 fi; \
12091 cd $(HOST_SUBDIR)/gcc && \
12092 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12093 @endif gcc-bootstrap
12099 .PHONY: check-gcc maybe-check-gcc
12100 maybe-check-gcc:
12101 @if gcc
12102 maybe-check-gcc: check-gcc
12104 check-gcc:
12105 @: $(MAKE); $(unstage)
12106 @r=`${PWD_COMMAND}`; export r; \
12107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12108 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12109 (cd $(HOST_SUBDIR)/gcc && \
12110 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
12112 @endif gcc
12114 .PHONY: install-gcc maybe-install-gcc
12115 maybe-install-gcc:
12116 @if gcc
12117 maybe-install-gcc: install-gcc
12119 install-gcc: installdirs
12120 @: $(MAKE); $(unstage)
12121 @r=`${PWD_COMMAND}`; export r; \
12122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12123 $(HOST_EXPORTS) \
12124 (cd $(HOST_SUBDIR)/gcc && \
12125 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12127 @endif gcc
12129 .PHONY: install-strip-gcc maybe-install-strip-gcc
12130 maybe-install-strip-gcc:
12131 @if gcc
12132 maybe-install-strip-gcc: install-strip-gcc
12134 install-strip-gcc: installdirs
12135 @: $(MAKE); $(unstage)
12136 @r=`${PWD_COMMAND}`; export r; \
12137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12138 $(HOST_EXPORTS) \
12139 (cd $(HOST_SUBDIR)/gcc && \
12140 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
12142 @endif gcc
12144 # Other targets (info, dvi, pdf, etc.)
12146 .PHONY: maybe-info-gcc info-gcc
12147 maybe-info-gcc:
12148 @if gcc
12149 maybe-info-gcc: info-gcc
12151 info-gcc: \
12152 configure-gcc
12153 @[ -f ./gcc/Makefile ] || exit 0; \
12154 r=`${PWD_COMMAND}`; export r; \
12155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12156 $(HOST_EXPORTS) \
12157 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12159 done; \
12160 echo "Doing info in gcc"; \
12161 (cd $(HOST_SUBDIR)/gcc && \
12162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12164 "RANLIB=$${RANLIB}" \
12165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12166 info) \
12167 || exit 1
12169 @endif gcc
12171 .PHONY: maybe-dvi-gcc dvi-gcc
12172 maybe-dvi-gcc:
12173 @if gcc
12174 maybe-dvi-gcc: dvi-gcc
12176 dvi-gcc: \
12177 configure-gcc
12178 @[ -f ./gcc/Makefile ] || exit 0; \
12179 r=`${PWD_COMMAND}`; export r; \
12180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12181 $(HOST_EXPORTS) \
12182 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12184 done; \
12185 echo "Doing dvi in gcc"; \
12186 (cd $(HOST_SUBDIR)/gcc && \
12187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12189 "RANLIB=$${RANLIB}" \
12190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12191 dvi) \
12192 || exit 1
12194 @endif gcc
12196 .PHONY: maybe-pdf-gcc pdf-gcc
12197 maybe-pdf-gcc:
12198 @if gcc
12199 maybe-pdf-gcc: pdf-gcc
12201 pdf-gcc: \
12202 configure-gcc
12203 @[ -f ./gcc/Makefile ] || exit 0; \
12204 r=`${PWD_COMMAND}`; export r; \
12205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12206 $(HOST_EXPORTS) \
12207 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12209 done; \
12210 echo "Doing pdf in gcc"; \
12211 (cd $(HOST_SUBDIR)/gcc && \
12212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12214 "RANLIB=$${RANLIB}" \
12215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12216 pdf) \
12217 || exit 1
12219 @endif gcc
12221 .PHONY: maybe-html-gcc html-gcc
12222 maybe-html-gcc:
12223 @if gcc
12224 maybe-html-gcc: html-gcc
12226 html-gcc: \
12227 configure-gcc
12228 @[ -f ./gcc/Makefile ] || exit 0; \
12229 r=`${PWD_COMMAND}`; export r; \
12230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12231 $(HOST_EXPORTS) \
12232 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12234 done; \
12235 echo "Doing html in gcc"; \
12236 (cd $(HOST_SUBDIR)/gcc && \
12237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12239 "RANLIB=$${RANLIB}" \
12240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12241 html) \
12242 || exit 1
12244 @endif gcc
12246 .PHONY: maybe-TAGS-gcc TAGS-gcc
12247 maybe-TAGS-gcc:
12248 @if gcc
12249 maybe-TAGS-gcc: TAGS-gcc
12251 TAGS-gcc: \
12252 configure-gcc
12253 @[ -f ./gcc/Makefile ] || exit 0; \
12254 r=`${PWD_COMMAND}`; export r; \
12255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12256 $(HOST_EXPORTS) \
12257 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12259 done; \
12260 echo "Doing TAGS in gcc"; \
12261 (cd $(HOST_SUBDIR)/gcc && \
12262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12264 "RANLIB=$${RANLIB}" \
12265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12266 TAGS) \
12267 || exit 1
12269 @endif gcc
12271 .PHONY: maybe-install-info-gcc install-info-gcc
12272 maybe-install-info-gcc:
12273 @if gcc
12274 maybe-install-info-gcc: install-info-gcc
12276 install-info-gcc: \
12277 configure-gcc \
12278 info-gcc
12279 @[ -f ./gcc/Makefile ] || exit 0; \
12280 r=`${PWD_COMMAND}`; export r; \
12281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12282 $(HOST_EXPORTS) \
12283 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12285 done; \
12286 echo "Doing install-info in gcc"; \
12287 (cd $(HOST_SUBDIR)/gcc && \
12288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12290 "RANLIB=$${RANLIB}" \
12291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12292 install-info) \
12293 || exit 1
12295 @endif gcc
12297 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
12298 maybe-install-pdf-gcc:
12299 @if gcc
12300 maybe-install-pdf-gcc: install-pdf-gcc
12302 install-pdf-gcc: \
12303 configure-gcc \
12304 pdf-gcc
12305 @[ -f ./gcc/Makefile ] || exit 0; \
12306 r=`${PWD_COMMAND}`; export r; \
12307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12308 $(HOST_EXPORTS) \
12309 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12311 done; \
12312 echo "Doing install-pdf in gcc"; \
12313 (cd $(HOST_SUBDIR)/gcc && \
12314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12316 "RANLIB=$${RANLIB}" \
12317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12318 install-pdf) \
12319 || exit 1
12321 @endif gcc
12323 .PHONY: maybe-install-html-gcc install-html-gcc
12324 maybe-install-html-gcc:
12325 @if gcc
12326 maybe-install-html-gcc: install-html-gcc
12328 install-html-gcc: \
12329 configure-gcc \
12330 html-gcc
12331 @[ -f ./gcc/Makefile ] || exit 0; \
12332 r=`${PWD_COMMAND}`; export r; \
12333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12334 $(HOST_EXPORTS) \
12335 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12337 done; \
12338 echo "Doing install-html in gcc"; \
12339 (cd $(HOST_SUBDIR)/gcc && \
12340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12342 "RANLIB=$${RANLIB}" \
12343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12344 install-html) \
12345 || exit 1
12347 @endif gcc
12349 .PHONY: maybe-installcheck-gcc installcheck-gcc
12350 maybe-installcheck-gcc:
12351 @if gcc
12352 maybe-installcheck-gcc: installcheck-gcc
12354 installcheck-gcc: \
12355 configure-gcc
12356 @[ -f ./gcc/Makefile ] || exit 0; \
12357 r=`${PWD_COMMAND}`; export r; \
12358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12359 $(HOST_EXPORTS) \
12360 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12362 done; \
12363 echo "Doing installcheck in gcc"; \
12364 (cd $(HOST_SUBDIR)/gcc && \
12365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12367 "RANLIB=$${RANLIB}" \
12368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12369 installcheck) \
12370 || exit 1
12372 @endif gcc
12374 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
12375 maybe-mostlyclean-gcc:
12376 @if gcc
12377 maybe-mostlyclean-gcc: mostlyclean-gcc
12379 mostlyclean-gcc:
12380 @[ -f ./gcc/Makefile ] || exit 0; \
12381 r=`${PWD_COMMAND}`; export r; \
12382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12383 $(HOST_EXPORTS) \
12384 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12386 done; \
12387 echo "Doing mostlyclean in gcc"; \
12388 (cd $(HOST_SUBDIR)/gcc && \
12389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12391 "RANLIB=$${RANLIB}" \
12392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12393 mostlyclean) \
12394 || exit 1
12396 @endif gcc
12398 .PHONY: maybe-clean-gcc clean-gcc
12399 maybe-clean-gcc:
12400 @if gcc
12401 maybe-clean-gcc: clean-gcc
12403 clean-gcc:
12404 @[ -f ./gcc/Makefile ] || exit 0; \
12405 r=`${PWD_COMMAND}`; export r; \
12406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12407 $(HOST_EXPORTS) \
12408 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12410 done; \
12411 echo "Doing clean in gcc"; \
12412 (cd $(HOST_SUBDIR)/gcc && \
12413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12415 "RANLIB=$${RANLIB}" \
12416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12417 clean) \
12418 || exit 1
12420 @endif gcc
12422 .PHONY: maybe-distclean-gcc distclean-gcc
12423 maybe-distclean-gcc:
12424 @if gcc
12425 maybe-distclean-gcc: distclean-gcc
12427 distclean-gcc:
12428 @[ -f ./gcc/Makefile ] || exit 0; \
12429 r=`${PWD_COMMAND}`; export r; \
12430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12431 $(HOST_EXPORTS) \
12432 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12434 done; \
12435 echo "Doing distclean in gcc"; \
12436 (cd $(HOST_SUBDIR)/gcc && \
12437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12439 "RANLIB=$${RANLIB}" \
12440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12441 distclean) \
12442 || exit 1
12444 @endif gcc
12446 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12447 maybe-maintainer-clean-gcc:
12448 @if gcc
12449 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12451 maintainer-clean-gcc:
12452 @[ -f ./gcc/Makefile ] || exit 0; \
12453 r=`${PWD_COMMAND}`; export r; \
12454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12455 $(HOST_EXPORTS) \
12456 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12458 done; \
12459 echo "Doing maintainer-clean in gcc"; \
12460 (cd $(HOST_SUBDIR)/gcc && \
12461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12463 "RANLIB=$${RANLIB}" \
12464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12465 maintainer-clean) \
12466 || exit 1
12468 @endif gcc
12472 .PHONY: configure-gmp maybe-configure-gmp
12473 maybe-configure-gmp:
12474 @if gcc-bootstrap
12475 configure-gmp: stage_current
12476 @endif gcc-bootstrap
12477 @if gmp
12478 maybe-configure-gmp: configure-gmp
12479 configure-gmp:
12480 @r=`${PWD_COMMAND}`; export r; \
12481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12482 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12484 $(HOST_EXPORTS) \
12485 echo Configuring in $(HOST_SUBDIR)/gmp; \
12486 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
12487 case $(srcdir) in \
12488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12489 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12491 esac; \
12492 module_srcdir=gmp; \
12493 $(SHELL) \
12494 $$s/$$module_srcdir/configure \
12495 --srcdir=$${topdir}/$$module_srcdir \
12496 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12497 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
12498 || exit 1
12499 @endif gmp
12503 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
12504 maybe-configure-stage1-gmp:
12505 @if gmp-bootstrap
12506 maybe-configure-stage1-gmp: configure-stage1-gmp
12507 configure-stage1-gmp:
12508 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12509 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12510 @r=`${PWD_COMMAND}`; export r; \
12511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12512 TFLAGS="$(STAGE1_TFLAGS)"; \
12513 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12514 $(HOST_EXPORTS) \
12515 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12516 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12517 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12518 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
12519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12520 cd $(HOST_SUBDIR)/gmp || exit 1; \
12521 case $(srcdir) in \
12522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12523 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12525 esac; \
12526 module_srcdir=gmp; \
12527 $(SHELL) $$s/$$module_srcdir/configure \
12528 --srcdir=$${topdir}/$$module_srcdir \
12529 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12530 --target=none-${host_vendor}-${host_os} \
12532 $(STAGE1_CONFIGURE_FLAGS) \
12533 --disable-shared LEX="touch lex.yy.c"
12534 @endif gmp-bootstrap
12536 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
12537 maybe-configure-stage2-gmp:
12538 @if gmp-bootstrap
12539 maybe-configure-stage2-gmp: configure-stage2-gmp
12540 configure-stage2-gmp:
12541 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12542 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12543 @r=`${PWD_COMMAND}`; export r; \
12544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12545 TFLAGS="$(STAGE2_TFLAGS)"; \
12546 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12547 $(HOST_EXPORTS) \
12548 $(POSTSTAGE1_HOST_EXPORTS) \
12549 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12550 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12551 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12552 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
12553 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12554 cd $(HOST_SUBDIR)/gmp || exit 1; \
12555 case $(srcdir) in \
12556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12557 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12559 esac; \
12560 module_srcdir=gmp; \
12561 $(SHELL) $$s/$$module_srcdir/configure \
12562 --srcdir=$${topdir}/$$module_srcdir \
12563 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12564 --target=none-${host_vendor}-${host_os} \
12565 --with-build-libsubdir=$(HOST_SUBDIR) \
12566 $(STAGE2_CONFIGURE_FLAGS) \
12567 --disable-shared LEX="touch lex.yy.c"
12568 @endif gmp-bootstrap
12570 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
12571 maybe-configure-stage3-gmp:
12572 @if gmp-bootstrap
12573 maybe-configure-stage3-gmp: configure-stage3-gmp
12574 configure-stage3-gmp:
12575 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12576 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12577 @r=`${PWD_COMMAND}`; export r; \
12578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12579 TFLAGS="$(STAGE3_TFLAGS)"; \
12580 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12581 $(HOST_EXPORTS) \
12582 $(POSTSTAGE1_HOST_EXPORTS) \
12583 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12584 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12585 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12586 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
12587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12588 cd $(HOST_SUBDIR)/gmp || exit 1; \
12589 case $(srcdir) in \
12590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12591 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12593 esac; \
12594 module_srcdir=gmp; \
12595 $(SHELL) $$s/$$module_srcdir/configure \
12596 --srcdir=$${topdir}/$$module_srcdir \
12597 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12598 --target=none-${host_vendor}-${host_os} \
12599 --with-build-libsubdir=$(HOST_SUBDIR) \
12600 $(STAGE3_CONFIGURE_FLAGS) \
12601 --disable-shared LEX="touch lex.yy.c"
12602 @endif gmp-bootstrap
12604 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
12605 maybe-configure-stage4-gmp:
12606 @if gmp-bootstrap
12607 maybe-configure-stage4-gmp: configure-stage4-gmp
12608 configure-stage4-gmp:
12609 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12610 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12611 @r=`${PWD_COMMAND}`; export r; \
12612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12613 TFLAGS="$(STAGE4_TFLAGS)"; \
12614 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12615 $(HOST_EXPORTS) \
12616 $(POSTSTAGE1_HOST_EXPORTS) \
12617 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12618 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12619 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12620 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
12621 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12622 cd $(HOST_SUBDIR)/gmp || exit 1; \
12623 case $(srcdir) in \
12624 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12625 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12626 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12627 esac; \
12628 module_srcdir=gmp; \
12629 $(SHELL) $$s/$$module_srcdir/configure \
12630 --srcdir=$${topdir}/$$module_srcdir \
12631 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12632 --target=none-${host_vendor}-${host_os} \
12633 --with-build-libsubdir=$(HOST_SUBDIR) \
12634 $(STAGE4_CONFIGURE_FLAGS) \
12635 --disable-shared LEX="touch lex.yy.c"
12636 @endif gmp-bootstrap
12638 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
12639 maybe-configure-stageprofile-gmp:
12640 @if gmp-bootstrap
12641 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
12642 configure-stageprofile-gmp:
12643 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12644 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12645 @r=`${PWD_COMMAND}`; export r; \
12646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12647 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12648 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12649 $(HOST_EXPORTS) \
12650 $(POSTSTAGE1_HOST_EXPORTS) \
12651 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12652 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12653 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12654 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
12655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12656 cd $(HOST_SUBDIR)/gmp || exit 1; \
12657 case $(srcdir) in \
12658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12659 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12661 esac; \
12662 module_srcdir=gmp; \
12663 $(SHELL) $$s/$$module_srcdir/configure \
12664 --srcdir=$${topdir}/$$module_srcdir \
12665 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12666 --target=none-${host_vendor}-${host_os} \
12667 --with-build-libsubdir=$(HOST_SUBDIR) \
12668 $(STAGEprofile_CONFIGURE_FLAGS) \
12669 --disable-shared LEX="touch lex.yy.c"
12670 @endif gmp-bootstrap
12672 .PHONY: configure-stagetrain-gmp maybe-configure-stagetrain-gmp
12673 maybe-configure-stagetrain-gmp:
12674 @if gmp-bootstrap
12675 maybe-configure-stagetrain-gmp: configure-stagetrain-gmp
12676 configure-stagetrain-gmp:
12677 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12678 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12679 @r=`${PWD_COMMAND}`; export r; \
12680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12681 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12682 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12683 $(HOST_EXPORTS) \
12684 $(POSTSTAGE1_HOST_EXPORTS) \
12685 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
12686 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
12687 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
12688 echo Configuring stage train in $(HOST_SUBDIR)/gmp; \
12689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12690 cd $(HOST_SUBDIR)/gmp || exit 1; \
12691 case $(srcdir) in \
12692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12693 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12695 esac; \
12696 module_srcdir=gmp; \
12697 $(SHELL) $$s/$$module_srcdir/configure \
12698 --srcdir=$${topdir}/$$module_srcdir \
12699 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12700 --target=none-${host_vendor}-${host_os} \
12701 --with-build-libsubdir=$(HOST_SUBDIR) \
12702 $(STAGEtrain_CONFIGURE_FLAGS) \
12703 --disable-shared LEX="touch lex.yy.c"
12704 @endif gmp-bootstrap
12706 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
12707 maybe-configure-stagefeedback-gmp:
12708 @if gmp-bootstrap
12709 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
12710 configure-stagefeedback-gmp:
12711 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12712 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12713 @r=`${PWD_COMMAND}`; export r; \
12714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12715 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12716 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12717 $(HOST_EXPORTS) \
12718 $(POSTSTAGE1_HOST_EXPORTS) \
12719 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12720 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12721 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12722 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
12723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12724 cd $(HOST_SUBDIR)/gmp || exit 1; \
12725 case $(srcdir) in \
12726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12727 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12729 esac; \
12730 module_srcdir=gmp; \
12731 $(SHELL) $$s/$$module_srcdir/configure \
12732 --srcdir=$${topdir}/$$module_srcdir \
12733 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12734 --target=none-${host_vendor}-${host_os} \
12735 --with-build-libsubdir=$(HOST_SUBDIR) \
12736 $(STAGEfeedback_CONFIGURE_FLAGS) \
12737 --disable-shared LEX="touch lex.yy.c"
12738 @endif gmp-bootstrap
12740 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
12741 maybe-configure-stageautoprofile-gmp:
12742 @if gmp-bootstrap
12743 maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
12744 configure-stageautoprofile-gmp:
12745 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12746 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12747 @r=`${PWD_COMMAND}`; export r; \
12748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12749 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12750 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12751 $(HOST_EXPORTS) \
12752 $(POSTSTAGE1_HOST_EXPORTS) \
12753 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12754 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12755 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12756 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
12757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12758 cd $(HOST_SUBDIR)/gmp || exit 1; \
12759 case $(srcdir) in \
12760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12761 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12763 esac; \
12764 module_srcdir=gmp; \
12765 $(SHELL) $$s/$$module_srcdir/configure \
12766 --srcdir=$${topdir}/$$module_srcdir \
12767 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12768 --target=none-${host_vendor}-${host_os} \
12769 --with-build-libsubdir=$(HOST_SUBDIR) \
12770 $(STAGEautoprofile_CONFIGURE_FLAGS) \
12771 --disable-shared LEX="touch lex.yy.c"
12772 @endif gmp-bootstrap
12774 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
12775 maybe-configure-stageautofeedback-gmp:
12776 @if gmp-bootstrap
12777 maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
12778 configure-stageautofeedback-gmp:
12779 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
12781 @r=`${PWD_COMMAND}`; export r; \
12782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12783 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12784 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
12785 $(HOST_EXPORTS) \
12786 $(POSTSTAGE1_HOST_EXPORTS) \
12787 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12788 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12789 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12790 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
12791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
12792 cd $(HOST_SUBDIR)/gmp || exit 1; \
12793 case $(srcdir) in \
12794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12795 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
12796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12797 esac; \
12798 module_srcdir=gmp; \
12799 $(SHELL) $$s/$$module_srcdir/configure \
12800 --srcdir=$${topdir}/$$module_srcdir \
12801 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
12802 --target=none-${host_vendor}-${host_os} \
12803 --with-build-libsubdir=$(HOST_SUBDIR) \
12804 $(STAGEautofeedback_CONFIGURE_FLAGS) \
12805 --disable-shared LEX="touch lex.yy.c"
12806 @endif gmp-bootstrap
12812 .PHONY: all-gmp maybe-all-gmp
12813 maybe-all-gmp:
12814 @if gcc-bootstrap
12815 all-gmp: stage_current
12816 @endif gcc-bootstrap
12817 @if gmp
12818 TARGET-gmp=all
12819 maybe-all-gmp: all-gmp
12820 all-gmp: configure-gmp
12821 @r=`${PWD_COMMAND}`; export r; \
12822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12823 $(HOST_EXPORTS) \
12824 (cd $(HOST_SUBDIR)/gmp && \
12825 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12826 $(TARGET-gmp))
12827 @endif gmp
12831 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
12832 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
12833 maybe-all-stage1-gmp:
12834 maybe-clean-stage1-gmp:
12835 @if gmp-bootstrap
12836 maybe-all-stage1-gmp: all-stage1-gmp
12837 all-stage1: all-stage1-gmp
12838 TARGET-stage1-gmp = $(TARGET-gmp)
12839 all-stage1-gmp: configure-stage1-gmp
12840 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12841 @r=`${PWD_COMMAND}`; export r; \
12842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12843 TFLAGS="$(STAGE1_TFLAGS)"; \
12844 $(HOST_EXPORTS) \
12845 cd $(HOST_SUBDIR)/gmp && \
12847 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12848 CFLAGS="$(STAGE1_CFLAGS)" \
12849 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12850 LIBCFLAGS="$(LIBCFLAGS)" \
12851 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12852 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12853 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12854 $(EXTRA_HOST_FLAGS) \
12855 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12856 TFLAGS="$(STAGE1_TFLAGS)" \
12857 $(TARGET-stage1-gmp)
12859 maybe-clean-stage1-gmp: clean-stage1-gmp
12860 clean-stage1: clean-stage1-gmp
12861 clean-stage1-gmp:
12862 @if [ $(current_stage) = stage1 ]; then \
12863 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12864 else \
12865 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
12866 $(MAKE) stage1-start; \
12867 fi; \
12868 cd $(HOST_SUBDIR)/gmp && \
12869 $(MAKE) $(EXTRA_HOST_FLAGS) \
12870 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12871 @endif gmp-bootstrap
12874 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
12875 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
12876 maybe-all-stage2-gmp:
12877 maybe-clean-stage2-gmp:
12878 @if gmp-bootstrap
12879 maybe-all-stage2-gmp: all-stage2-gmp
12880 all-stage2: all-stage2-gmp
12881 TARGET-stage2-gmp = $(TARGET-gmp)
12882 all-stage2-gmp: configure-stage2-gmp
12883 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12884 @r=`${PWD_COMMAND}`; export r; \
12885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12886 TFLAGS="$(STAGE2_TFLAGS)"; \
12887 $(HOST_EXPORTS) \
12888 $(POSTSTAGE1_HOST_EXPORTS) \
12889 cd $(HOST_SUBDIR)/gmp && \
12891 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12892 CFLAGS="$(STAGE2_CFLAGS)" \
12893 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12894 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12895 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12896 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12897 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12898 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12899 TFLAGS="$(STAGE2_TFLAGS)" \
12900 $(TARGET-stage2-gmp)
12902 maybe-clean-stage2-gmp: clean-stage2-gmp
12903 clean-stage2: clean-stage2-gmp
12904 clean-stage2-gmp:
12905 @if [ $(current_stage) = stage2 ]; then \
12906 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12907 else \
12908 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
12909 $(MAKE) stage2-start; \
12910 fi; \
12911 cd $(HOST_SUBDIR)/gmp && \
12912 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12913 @endif gmp-bootstrap
12916 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
12917 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
12918 maybe-all-stage3-gmp:
12919 maybe-clean-stage3-gmp:
12920 @if gmp-bootstrap
12921 maybe-all-stage3-gmp: all-stage3-gmp
12922 all-stage3: all-stage3-gmp
12923 TARGET-stage3-gmp = $(TARGET-gmp)
12924 all-stage3-gmp: configure-stage3-gmp
12925 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12926 @r=`${PWD_COMMAND}`; export r; \
12927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12928 TFLAGS="$(STAGE3_TFLAGS)"; \
12929 $(HOST_EXPORTS) \
12930 $(POSTSTAGE1_HOST_EXPORTS) \
12931 cd $(HOST_SUBDIR)/gmp && \
12933 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12934 CFLAGS="$(STAGE3_CFLAGS)" \
12935 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12936 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12937 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12938 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12939 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12940 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12941 TFLAGS="$(STAGE3_TFLAGS)" \
12942 $(TARGET-stage3-gmp)
12944 maybe-clean-stage3-gmp: clean-stage3-gmp
12945 clean-stage3: clean-stage3-gmp
12946 clean-stage3-gmp:
12947 @if [ $(current_stage) = stage3 ]; then \
12948 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12949 else \
12950 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
12951 $(MAKE) stage3-start; \
12952 fi; \
12953 cd $(HOST_SUBDIR)/gmp && \
12954 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12955 @endif gmp-bootstrap
12958 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
12959 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
12960 maybe-all-stage4-gmp:
12961 maybe-clean-stage4-gmp:
12962 @if gmp-bootstrap
12963 maybe-all-stage4-gmp: all-stage4-gmp
12964 all-stage4: all-stage4-gmp
12965 TARGET-stage4-gmp = $(TARGET-gmp)
12966 all-stage4-gmp: configure-stage4-gmp
12967 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12968 @r=`${PWD_COMMAND}`; export r; \
12969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12970 TFLAGS="$(STAGE4_TFLAGS)"; \
12971 $(HOST_EXPORTS) \
12972 $(POSTSTAGE1_HOST_EXPORTS) \
12973 cd $(HOST_SUBDIR)/gmp && \
12975 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12976 CFLAGS="$(STAGE4_CFLAGS)" \
12977 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12978 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12979 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12980 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12981 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12982 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
12983 TFLAGS="$(STAGE4_TFLAGS)" \
12984 $(TARGET-stage4-gmp)
12986 maybe-clean-stage4-gmp: clean-stage4-gmp
12987 clean-stage4: clean-stage4-gmp
12988 clean-stage4-gmp:
12989 @if [ $(current_stage) = stage4 ]; then \
12990 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
12991 else \
12992 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
12993 $(MAKE) stage4-start; \
12994 fi; \
12995 cd $(HOST_SUBDIR)/gmp && \
12996 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
12997 @endif gmp-bootstrap
13000 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
13001 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
13002 maybe-all-stageprofile-gmp:
13003 maybe-clean-stageprofile-gmp:
13004 @if gmp-bootstrap
13005 maybe-all-stageprofile-gmp: all-stageprofile-gmp
13006 all-stageprofile: all-stageprofile-gmp
13007 TARGET-stageprofile-gmp = $(TARGET-gmp)
13008 all-stageprofile-gmp: configure-stageprofile-gmp
13009 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13010 @r=`${PWD_COMMAND}`; export r; \
13011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13012 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13013 $(HOST_EXPORTS) \
13014 $(POSTSTAGE1_HOST_EXPORTS) \
13015 cd $(HOST_SUBDIR)/gmp && \
13017 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13018 CFLAGS="$(STAGEprofile_CFLAGS)" \
13019 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13020 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13021 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13022 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13023 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13024 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13025 TFLAGS="$(STAGEprofile_TFLAGS)" \
13026 $(TARGET-stageprofile-gmp)
13028 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
13029 clean-stageprofile: clean-stageprofile-gmp
13030 clean-stageprofile-gmp:
13031 @if [ $(current_stage) = stageprofile ]; then \
13032 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13033 else \
13034 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
13035 $(MAKE) stageprofile-start; \
13036 fi; \
13037 cd $(HOST_SUBDIR)/gmp && \
13038 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13039 @endif gmp-bootstrap
13042 .PHONY: all-stagetrain-gmp maybe-all-stagetrain-gmp
13043 .PHONY: clean-stagetrain-gmp maybe-clean-stagetrain-gmp
13044 maybe-all-stagetrain-gmp:
13045 maybe-clean-stagetrain-gmp:
13046 @if gmp-bootstrap
13047 maybe-all-stagetrain-gmp: all-stagetrain-gmp
13048 all-stagetrain: all-stagetrain-gmp
13049 TARGET-stagetrain-gmp = $(TARGET-gmp)
13050 all-stagetrain-gmp: configure-stagetrain-gmp
13051 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13052 @r=`${PWD_COMMAND}`; export r; \
13053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13054 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13055 $(HOST_EXPORTS) \
13056 $(POSTSTAGE1_HOST_EXPORTS) \
13057 cd $(HOST_SUBDIR)/gmp && \
13059 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13060 CFLAGS="$(STAGEtrain_CFLAGS)" \
13061 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
13062 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
13063 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13064 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13065 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13066 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13067 TFLAGS="$(STAGEtrain_TFLAGS)" \
13068 $(TARGET-stagetrain-gmp)
13070 maybe-clean-stagetrain-gmp: clean-stagetrain-gmp
13071 clean-stagetrain: clean-stagetrain-gmp
13072 clean-stagetrain-gmp:
13073 @if [ $(current_stage) = stagetrain ]; then \
13074 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13075 else \
13076 [ -f $(HOST_SUBDIR)/stagetrain-gmp/Makefile ] || exit 0; \
13077 $(MAKE) stagetrain-start; \
13078 fi; \
13079 cd $(HOST_SUBDIR)/gmp && \
13080 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13081 @endif gmp-bootstrap
13084 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
13085 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
13086 maybe-all-stagefeedback-gmp:
13087 maybe-clean-stagefeedback-gmp:
13088 @if gmp-bootstrap
13089 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
13090 all-stagefeedback: all-stagefeedback-gmp
13091 TARGET-stagefeedback-gmp = $(TARGET-gmp)
13092 all-stagefeedback-gmp: configure-stagefeedback-gmp
13093 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13094 @r=`${PWD_COMMAND}`; export r; \
13095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13096 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13097 $(HOST_EXPORTS) \
13098 $(POSTSTAGE1_HOST_EXPORTS) \
13099 cd $(HOST_SUBDIR)/gmp && \
13101 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13102 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13103 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13104 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13105 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13106 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13107 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13108 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13109 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13110 $(TARGET-stagefeedback-gmp)
13112 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
13113 clean-stagefeedback: clean-stagefeedback-gmp
13114 clean-stagefeedback-gmp:
13115 @if [ $(current_stage) = stagefeedback ]; then \
13116 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13117 else \
13118 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
13119 $(MAKE) stagefeedback-start; \
13120 fi; \
13121 cd $(HOST_SUBDIR)/gmp && \
13122 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13123 @endif gmp-bootstrap
13126 .PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
13127 .PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
13128 maybe-all-stageautoprofile-gmp:
13129 maybe-clean-stageautoprofile-gmp:
13130 @if gmp-bootstrap
13131 maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
13132 all-stageautoprofile: all-stageautoprofile-gmp
13133 TARGET-stageautoprofile-gmp = $(TARGET-gmp)
13134 all-stageautoprofile-gmp: configure-stageautoprofile-gmp
13135 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13136 @r=`${PWD_COMMAND}`; export r; \
13137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13138 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13139 $(HOST_EXPORTS) \
13140 $(POSTSTAGE1_HOST_EXPORTS) \
13141 cd $(HOST_SUBDIR)/gmp && \
13142 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13144 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13145 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13146 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13147 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13148 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13149 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13150 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13151 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13152 $(TARGET-stageautoprofile-gmp)
13154 maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
13155 clean-stageautoprofile: clean-stageautoprofile-gmp
13156 clean-stageautoprofile-gmp:
13157 @if [ $(current_stage) = stageautoprofile ]; then \
13158 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13159 else \
13160 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
13161 $(MAKE) stageautoprofile-start; \
13162 fi; \
13163 cd $(HOST_SUBDIR)/gmp && \
13164 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13165 @endif gmp-bootstrap
13168 .PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
13169 .PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
13170 maybe-all-stageautofeedback-gmp:
13171 maybe-clean-stageautofeedback-gmp:
13172 @if gmp-bootstrap
13173 maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
13174 all-stageautofeedback: all-stageautofeedback-gmp
13175 TARGET-stageautofeedback-gmp = $(TARGET-gmp)
13176 all-stageautofeedback-gmp: configure-stageautofeedback-gmp
13177 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13178 @r=`${PWD_COMMAND}`; export r; \
13179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13180 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13181 $(HOST_EXPORTS) \
13182 $(POSTSTAGE1_HOST_EXPORTS) \
13183 cd $(HOST_SUBDIR)/gmp && \
13185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13186 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13187 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13188 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13192 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13193 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13194 $(TARGET-stageautofeedback-gmp)
13196 maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
13197 clean-stageautofeedback: clean-stageautofeedback-gmp
13198 clean-stageautofeedback-gmp:
13199 @if [ $(current_stage) = stageautofeedback ]; then \
13200 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13201 else \
13202 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
13203 $(MAKE) stageautofeedback-start; \
13204 fi; \
13205 cd $(HOST_SUBDIR)/gmp && \
13206 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13207 @endif gmp-bootstrap
13213 .PHONY: check-gmp maybe-check-gmp
13214 maybe-check-gmp:
13215 @if gmp
13216 maybe-check-gmp: check-gmp
13218 check-gmp:
13219 @: $(MAKE); $(unstage)
13220 @r=`${PWD_COMMAND}`; export r; \
13221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13222 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13223 (cd $(HOST_SUBDIR)/gmp && \
13224 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
13226 @endif gmp
13228 .PHONY: install-gmp maybe-install-gmp
13229 maybe-install-gmp:
13230 @if gmp
13231 maybe-install-gmp: install-gmp
13233 install-gmp:
13235 @endif gmp
13237 .PHONY: install-strip-gmp maybe-install-strip-gmp
13238 maybe-install-strip-gmp:
13239 @if gmp
13240 maybe-install-strip-gmp: install-strip-gmp
13242 install-strip-gmp:
13244 @endif gmp
13246 # Other targets (info, dvi, pdf, etc.)
13248 .PHONY: maybe-info-gmp info-gmp
13249 maybe-info-gmp:
13250 @if gmp
13251 maybe-info-gmp: info-gmp
13253 info-gmp: \
13254 configure-gmp
13255 @[ -f ./gmp/Makefile ] || exit 0; \
13256 r=`${PWD_COMMAND}`; export r; \
13257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13258 $(HOST_EXPORTS) \
13259 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13261 done; \
13262 echo "Doing info in gmp"; \
13263 (cd $(HOST_SUBDIR)/gmp && \
13264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13266 "RANLIB=$${RANLIB}" \
13267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13268 info) \
13269 || exit 1
13271 @endif gmp
13273 .PHONY: maybe-dvi-gmp dvi-gmp
13274 maybe-dvi-gmp:
13275 @if gmp
13276 maybe-dvi-gmp: dvi-gmp
13278 dvi-gmp: \
13279 configure-gmp
13280 @[ -f ./gmp/Makefile ] || exit 0; \
13281 r=`${PWD_COMMAND}`; export r; \
13282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13283 $(HOST_EXPORTS) \
13284 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13286 done; \
13287 echo "Doing dvi in gmp"; \
13288 (cd $(HOST_SUBDIR)/gmp && \
13289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13291 "RANLIB=$${RANLIB}" \
13292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13293 dvi) \
13294 || exit 1
13296 @endif gmp
13298 .PHONY: maybe-pdf-gmp pdf-gmp
13299 maybe-pdf-gmp:
13300 @if gmp
13301 maybe-pdf-gmp: pdf-gmp
13303 pdf-gmp: \
13304 configure-gmp
13305 @[ -f ./gmp/Makefile ] || exit 0; \
13306 r=`${PWD_COMMAND}`; export r; \
13307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13308 $(HOST_EXPORTS) \
13309 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13311 done; \
13312 echo "Doing pdf in gmp"; \
13313 (cd $(HOST_SUBDIR)/gmp && \
13314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13316 "RANLIB=$${RANLIB}" \
13317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13318 pdf) \
13319 || exit 1
13321 @endif gmp
13323 .PHONY: maybe-html-gmp html-gmp
13324 maybe-html-gmp:
13325 @if gmp
13326 maybe-html-gmp: html-gmp
13328 html-gmp: \
13329 configure-gmp
13330 @[ -f ./gmp/Makefile ] || exit 0; \
13331 r=`${PWD_COMMAND}`; export r; \
13332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13333 $(HOST_EXPORTS) \
13334 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13336 done; \
13337 echo "Doing html in gmp"; \
13338 (cd $(HOST_SUBDIR)/gmp && \
13339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13341 "RANLIB=$${RANLIB}" \
13342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13343 html) \
13344 || exit 1
13346 @endif gmp
13348 .PHONY: maybe-TAGS-gmp TAGS-gmp
13349 maybe-TAGS-gmp:
13350 @if gmp
13351 maybe-TAGS-gmp: TAGS-gmp
13353 TAGS-gmp: \
13354 configure-gmp
13355 @[ -f ./gmp/Makefile ] || exit 0; \
13356 r=`${PWD_COMMAND}`; export r; \
13357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13358 $(HOST_EXPORTS) \
13359 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13361 done; \
13362 echo "Doing TAGS in gmp"; \
13363 (cd $(HOST_SUBDIR)/gmp && \
13364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13366 "RANLIB=$${RANLIB}" \
13367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13368 TAGS) \
13369 || exit 1
13371 @endif gmp
13373 .PHONY: maybe-install-info-gmp install-info-gmp
13374 maybe-install-info-gmp:
13375 @if gmp
13376 maybe-install-info-gmp: install-info-gmp
13378 install-info-gmp: \
13379 configure-gmp \
13380 info-gmp
13381 @[ -f ./gmp/Makefile ] || exit 0; \
13382 r=`${PWD_COMMAND}`; export r; \
13383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13384 $(HOST_EXPORTS) \
13385 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13387 done; \
13388 echo "Doing install-info in gmp"; \
13389 (cd $(HOST_SUBDIR)/gmp && \
13390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13392 "RANLIB=$${RANLIB}" \
13393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13394 install-info) \
13395 || exit 1
13397 @endif gmp
13399 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
13400 maybe-install-pdf-gmp:
13401 @if gmp
13402 maybe-install-pdf-gmp: install-pdf-gmp
13404 install-pdf-gmp: \
13405 configure-gmp \
13406 pdf-gmp
13407 @[ -f ./gmp/Makefile ] || exit 0; \
13408 r=`${PWD_COMMAND}`; export r; \
13409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13410 $(HOST_EXPORTS) \
13411 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13413 done; \
13414 echo "Doing install-pdf in gmp"; \
13415 (cd $(HOST_SUBDIR)/gmp && \
13416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13418 "RANLIB=$${RANLIB}" \
13419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13420 install-pdf) \
13421 || exit 1
13423 @endif gmp
13425 .PHONY: maybe-install-html-gmp install-html-gmp
13426 maybe-install-html-gmp:
13427 @if gmp
13428 maybe-install-html-gmp: install-html-gmp
13430 install-html-gmp: \
13431 configure-gmp \
13432 html-gmp
13433 @[ -f ./gmp/Makefile ] || exit 0; \
13434 r=`${PWD_COMMAND}`; export r; \
13435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13436 $(HOST_EXPORTS) \
13437 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13439 done; \
13440 echo "Doing install-html in gmp"; \
13441 (cd $(HOST_SUBDIR)/gmp && \
13442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13444 "RANLIB=$${RANLIB}" \
13445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13446 install-html) \
13447 || exit 1
13449 @endif gmp
13451 .PHONY: maybe-installcheck-gmp installcheck-gmp
13452 maybe-installcheck-gmp:
13453 @if gmp
13454 maybe-installcheck-gmp: installcheck-gmp
13456 installcheck-gmp: \
13457 configure-gmp
13458 @[ -f ./gmp/Makefile ] || exit 0; \
13459 r=`${PWD_COMMAND}`; export r; \
13460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13461 $(HOST_EXPORTS) \
13462 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13464 done; \
13465 echo "Doing installcheck in gmp"; \
13466 (cd $(HOST_SUBDIR)/gmp && \
13467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13469 "RANLIB=$${RANLIB}" \
13470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13471 installcheck) \
13472 || exit 1
13474 @endif gmp
13476 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
13477 maybe-mostlyclean-gmp:
13478 @if gmp
13479 maybe-mostlyclean-gmp: mostlyclean-gmp
13481 mostlyclean-gmp:
13482 @[ -f ./gmp/Makefile ] || exit 0; \
13483 r=`${PWD_COMMAND}`; export r; \
13484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13485 $(HOST_EXPORTS) \
13486 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13488 done; \
13489 echo "Doing mostlyclean in gmp"; \
13490 (cd $(HOST_SUBDIR)/gmp && \
13491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13493 "RANLIB=$${RANLIB}" \
13494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13495 mostlyclean) \
13496 || exit 1
13498 @endif gmp
13500 .PHONY: maybe-clean-gmp clean-gmp
13501 maybe-clean-gmp:
13502 @if gmp
13503 maybe-clean-gmp: clean-gmp
13505 clean-gmp:
13506 @[ -f ./gmp/Makefile ] || exit 0; \
13507 r=`${PWD_COMMAND}`; export r; \
13508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13509 $(HOST_EXPORTS) \
13510 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13512 done; \
13513 echo "Doing clean in gmp"; \
13514 (cd $(HOST_SUBDIR)/gmp && \
13515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13517 "RANLIB=$${RANLIB}" \
13518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13519 clean) \
13520 || exit 1
13522 @endif gmp
13524 .PHONY: maybe-distclean-gmp distclean-gmp
13525 maybe-distclean-gmp:
13526 @if gmp
13527 maybe-distclean-gmp: distclean-gmp
13529 distclean-gmp:
13530 @[ -f ./gmp/Makefile ] || exit 0; \
13531 r=`${PWD_COMMAND}`; export r; \
13532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13533 $(HOST_EXPORTS) \
13534 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13536 done; \
13537 echo "Doing distclean in gmp"; \
13538 (cd $(HOST_SUBDIR)/gmp && \
13539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13541 "RANLIB=$${RANLIB}" \
13542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13543 distclean) \
13544 || exit 1
13546 @endif gmp
13548 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
13549 maybe-maintainer-clean-gmp:
13550 @if gmp
13551 maybe-maintainer-clean-gmp: maintainer-clean-gmp
13553 maintainer-clean-gmp:
13554 @[ -f ./gmp/Makefile ] || exit 0; \
13555 r=`${PWD_COMMAND}`; export r; \
13556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13557 $(HOST_EXPORTS) \
13558 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13560 done; \
13561 echo "Doing maintainer-clean in gmp"; \
13562 (cd $(HOST_SUBDIR)/gmp && \
13563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13565 "RANLIB=$${RANLIB}" \
13566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13567 maintainer-clean) \
13568 || exit 1
13570 @endif gmp
13574 .PHONY: configure-mpfr maybe-configure-mpfr
13575 maybe-configure-mpfr:
13576 @if gcc-bootstrap
13577 configure-mpfr: stage_current
13578 @endif gcc-bootstrap
13579 @if mpfr
13580 maybe-configure-mpfr: configure-mpfr
13581 configure-mpfr:
13582 @r=`${PWD_COMMAND}`; export r; \
13583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13584 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13586 $(HOST_EXPORTS) \
13587 echo Configuring in $(HOST_SUBDIR)/mpfr; \
13588 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
13589 case $(srcdir) in \
13590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13591 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13593 esac; \
13594 module_srcdir=mpfr; \
13595 $(SHELL) \
13596 $$s/$$module_srcdir/configure \
13597 --srcdir=$${topdir}/$$module_srcdir \
13598 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13599 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
13600 || exit 1
13601 @endif mpfr
13605 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
13606 maybe-configure-stage1-mpfr:
13607 @if mpfr-bootstrap
13608 maybe-configure-stage1-mpfr: configure-stage1-mpfr
13609 configure-stage1-mpfr:
13610 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13611 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13612 @r=`${PWD_COMMAND}`; export r; \
13613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13614 TFLAGS="$(STAGE1_TFLAGS)"; \
13615 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13616 $(HOST_EXPORTS) \
13617 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13618 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13619 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13620 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
13621 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13622 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13623 case $(srcdir) in \
13624 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13625 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13626 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13627 esac; \
13628 module_srcdir=mpfr; \
13629 $(SHELL) $$s/$$module_srcdir/configure \
13630 --srcdir=$${topdir}/$$module_srcdir \
13631 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13632 --target=${target_alias} \
13634 $(STAGE1_CONFIGURE_FLAGS) \
13635 --disable-shared @extra_mpfr_configure_flags@
13636 @endif mpfr-bootstrap
13638 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
13639 maybe-configure-stage2-mpfr:
13640 @if mpfr-bootstrap
13641 maybe-configure-stage2-mpfr: configure-stage2-mpfr
13642 configure-stage2-mpfr:
13643 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13644 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13645 @r=`${PWD_COMMAND}`; export r; \
13646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13647 TFLAGS="$(STAGE2_TFLAGS)"; \
13648 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13649 $(HOST_EXPORTS) \
13650 $(POSTSTAGE1_HOST_EXPORTS) \
13651 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13652 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13653 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13654 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
13655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13656 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13657 case $(srcdir) in \
13658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13659 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13661 esac; \
13662 module_srcdir=mpfr; \
13663 $(SHELL) $$s/$$module_srcdir/configure \
13664 --srcdir=$${topdir}/$$module_srcdir \
13665 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13666 --target=${target_alias} \
13667 --with-build-libsubdir=$(HOST_SUBDIR) \
13668 $(STAGE2_CONFIGURE_FLAGS) \
13669 --disable-shared @extra_mpfr_configure_flags@
13670 @endif mpfr-bootstrap
13672 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
13673 maybe-configure-stage3-mpfr:
13674 @if mpfr-bootstrap
13675 maybe-configure-stage3-mpfr: configure-stage3-mpfr
13676 configure-stage3-mpfr:
13677 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13678 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13679 @r=`${PWD_COMMAND}`; export r; \
13680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13681 TFLAGS="$(STAGE3_TFLAGS)"; \
13682 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13683 $(HOST_EXPORTS) \
13684 $(POSTSTAGE1_HOST_EXPORTS) \
13685 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13686 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13687 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13688 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
13689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13690 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13691 case $(srcdir) in \
13692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13693 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13695 esac; \
13696 module_srcdir=mpfr; \
13697 $(SHELL) $$s/$$module_srcdir/configure \
13698 --srcdir=$${topdir}/$$module_srcdir \
13699 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13700 --target=${target_alias} \
13701 --with-build-libsubdir=$(HOST_SUBDIR) \
13702 $(STAGE3_CONFIGURE_FLAGS) \
13703 --disable-shared @extra_mpfr_configure_flags@
13704 @endif mpfr-bootstrap
13706 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
13707 maybe-configure-stage4-mpfr:
13708 @if mpfr-bootstrap
13709 maybe-configure-stage4-mpfr: configure-stage4-mpfr
13710 configure-stage4-mpfr:
13711 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13712 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13713 @r=`${PWD_COMMAND}`; export r; \
13714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13715 TFLAGS="$(STAGE4_TFLAGS)"; \
13716 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13717 $(HOST_EXPORTS) \
13718 $(POSTSTAGE1_HOST_EXPORTS) \
13719 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13720 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13721 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13722 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
13723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13724 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13725 case $(srcdir) in \
13726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13727 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13729 esac; \
13730 module_srcdir=mpfr; \
13731 $(SHELL) $$s/$$module_srcdir/configure \
13732 --srcdir=$${topdir}/$$module_srcdir \
13733 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13734 --target=${target_alias} \
13735 --with-build-libsubdir=$(HOST_SUBDIR) \
13736 $(STAGE4_CONFIGURE_FLAGS) \
13737 --disable-shared @extra_mpfr_configure_flags@
13738 @endif mpfr-bootstrap
13740 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
13741 maybe-configure-stageprofile-mpfr:
13742 @if mpfr-bootstrap
13743 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
13744 configure-stageprofile-mpfr:
13745 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13746 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13747 @r=`${PWD_COMMAND}`; export r; \
13748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13749 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13750 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13751 $(HOST_EXPORTS) \
13752 $(POSTSTAGE1_HOST_EXPORTS) \
13753 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13754 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13755 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13756 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
13757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13758 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13759 case $(srcdir) in \
13760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13761 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13763 esac; \
13764 module_srcdir=mpfr; \
13765 $(SHELL) $$s/$$module_srcdir/configure \
13766 --srcdir=$${topdir}/$$module_srcdir \
13767 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13768 --target=${target_alias} \
13769 --with-build-libsubdir=$(HOST_SUBDIR) \
13770 $(STAGEprofile_CONFIGURE_FLAGS) \
13771 --disable-shared @extra_mpfr_configure_flags@
13772 @endif mpfr-bootstrap
13774 .PHONY: configure-stagetrain-mpfr maybe-configure-stagetrain-mpfr
13775 maybe-configure-stagetrain-mpfr:
13776 @if mpfr-bootstrap
13777 maybe-configure-stagetrain-mpfr: configure-stagetrain-mpfr
13778 configure-stagetrain-mpfr:
13779 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13781 @r=`${PWD_COMMAND}`; export r; \
13782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13783 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13784 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13785 $(HOST_EXPORTS) \
13786 $(POSTSTAGE1_HOST_EXPORTS) \
13787 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
13788 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
13789 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
13790 echo Configuring stage train in $(HOST_SUBDIR)/mpfr; \
13791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13792 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13793 case $(srcdir) in \
13794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13795 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13797 esac; \
13798 module_srcdir=mpfr; \
13799 $(SHELL) $$s/$$module_srcdir/configure \
13800 --srcdir=$${topdir}/$$module_srcdir \
13801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13802 --target=${target_alias} \
13803 --with-build-libsubdir=$(HOST_SUBDIR) \
13804 $(STAGEtrain_CONFIGURE_FLAGS) \
13805 --disable-shared @extra_mpfr_configure_flags@
13806 @endif mpfr-bootstrap
13808 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
13809 maybe-configure-stagefeedback-mpfr:
13810 @if mpfr-bootstrap
13811 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
13812 configure-stagefeedback-mpfr:
13813 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13814 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13815 @r=`${PWD_COMMAND}`; export r; \
13816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13817 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13818 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13819 $(HOST_EXPORTS) \
13820 $(POSTSTAGE1_HOST_EXPORTS) \
13821 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13822 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13823 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13824 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
13825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13826 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13827 case $(srcdir) in \
13828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13829 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13831 esac; \
13832 module_srcdir=mpfr; \
13833 $(SHELL) $$s/$$module_srcdir/configure \
13834 --srcdir=$${topdir}/$$module_srcdir \
13835 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13836 --target=${target_alias} \
13837 --with-build-libsubdir=$(HOST_SUBDIR) \
13838 $(STAGEfeedback_CONFIGURE_FLAGS) \
13839 --disable-shared @extra_mpfr_configure_flags@
13840 @endif mpfr-bootstrap
13842 .PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
13843 maybe-configure-stageautoprofile-mpfr:
13844 @if mpfr-bootstrap
13845 maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
13846 configure-stageautoprofile-mpfr:
13847 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13848 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13849 @r=`${PWD_COMMAND}`; export r; \
13850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13851 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13852 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13853 $(HOST_EXPORTS) \
13854 $(POSTSTAGE1_HOST_EXPORTS) \
13855 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
13856 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
13857 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
13858 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
13859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13860 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13861 case $(srcdir) in \
13862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13863 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13865 esac; \
13866 module_srcdir=mpfr; \
13867 $(SHELL) $$s/$$module_srcdir/configure \
13868 --srcdir=$${topdir}/$$module_srcdir \
13869 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13870 --target=${target_alias} \
13871 --with-build-libsubdir=$(HOST_SUBDIR) \
13872 $(STAGEautoprofile_CONFIGURE_FLAGS) \
13873 --disable-shared @extra_mpfr_configure_flags@
13874 @endif mpfr-bootstrap
13876 .PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
13877 maybe-configure-stageautofeedback-mpfr:
13878 @if mpfr-bootstrap
13879 maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
13880 configure-stageautofeedback-mpfr:
13881 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13882 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
13883 @r=`${PWD_COMMAND}`; export r; \
13884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13885 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13886 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
13887 $(HOST_EXPORTS) \
13888 $(POSTSTAGE1_HOST_EXPORTS) \
13889 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
13890 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
13891 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
13892 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
13893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
13894 cd $(HOST_SUBDIR)/mpfr || exit 1; \
13895 case $(srcdir) in \
13896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13897 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
13898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13899 esac; \
13900 module_srcdir=mpfr; \
13901 $(SHELL) $$s/$$module_srcdir/configure \
13902 --srcdir=$${topdir}/$$module_srcdir \
13903 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13904 --target=${target_alias} \
13905 --with-build-libsubdir=$(HOST_SUBDIR) \
13906 $(STAGEautofeedback_CONFIGURE_FLAGS) \
13907 --disable-shared @extra_mpfr_configure_flags@
13908 @endif mpfr-bootstrap
13914 .PHONY: all-mpfr maybe-all-mpfr
13915 maybe-all-mpfr:
13916 @if gcc-bootstrap
13917 all-mpfr: stage_current
13918 @endif gcc-bootstrap
13919 @if mpfr
13920 TARGET-mpfr=all
13921 maybe-all-mpfr: all-mpfr
13922 all-mpfr: configure-mpfr
13923 @r=`${PWD_COMMAND}`; export r; \
13924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13925 $(HOST_EXPORTS) \
13926 (cd $(HOST_SUBDIR)/mpfr && \
13927 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13928 $(TARGET-mpfr))
13929 @endif mpfr
13933 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
13934 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
13935 maybe-all-stage1-mpfr:
13936 maybe-clean-stage1-mpfr:
13937 @if mpfr-bootstrap
13938 maybe-all-stage1-mpfr: all-stage1-mpfr
13939 all-stage1: all-stage1-mpfr
13940 TARGET-stage1-mpfr = $(TARGET-mpfr)
13941 all-stage1-mpfr: configure-stage1-mpfr
13942 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13943 @r=`${PWD_COMMAND}`; export r; \
13944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13945 TFLAGS="$(STAGE1_TFLAGS)"; \
13946 $(HOST_EXPORTS) \
13947 cd $(HOST_SUBDIR)/mpfr && \
13949 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13950 CFLAGS="$(STAGE1_CFLAGS)" \
13951 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13952 LIBCFLAGS="$(LIBCFLAGS)" \
13953 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13954 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13955 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13956 $(EXTRA_HOST_FLAGS) \
13957 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13958 TFLAGS="$(STAGE1_TFLAGS)" \
13959 $(TARGET-stage1-mpfr)
13961 maybe-clean-stage1-mpfr: clean-stage1-mpfr
13962 clean-stage1: clean-stage1-mpfr
13963 clean-stage1-mpfr:
13964 @if [ $(current_stage) = stage1 ]; then \
13965 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
13966 else \
13967 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
13968 $(MAKE) stage1-start; \
13969 fi; \
13970 cd $(HOST_SUBDIR)/mpfr && \
13971 $(MAKE) $(EXTRA_HOST_FLAGS) \
13972 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13973 @endif mpfr-bootstrap
13976 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
13977 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
13978 maybe-all-stage2-mpfr:
13979 maybe-clean-stage2-mpfr:
13980 @if mpfr-bootstrap
13981 maybe-all-stage2-mpfr: all-stage2-mpfr
13982 all-stage2: all-stage2-mpfr
13983 TARGET-stage2-mpfr = $(TARGET-mpfr)
13984 all-stage2-mpfr: configure-stage2-mpfr
13985 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13986 @r=`${PWD_COMMAND}`; export r; \
13987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13988 TFLAGS="$(STAGE2_TFLAGS)"; \
13989 $(HOST_EXPORTS) \
13990 $(POSTSTAGE1_HOST_EXPORTS) \
13991 cd $(HOST_SUBDIR)/mpfr && \
13993 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13994 CFLAGS="$(STAGE2_CFLAGS)" \
13995 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13996 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13997 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13998 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13999 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14000 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14001 TFLAGS="$(STAGE2_TFLAGS)" \
14002 $(TARGET-stage2-mpfr)
14004 maybe-clean-stage2-mpfr: clean-stage2-mpfr
14005 clean-stage2: clean-stage2-mpfr
14006 clean-stage2-mpfr:
14007 @if [ $(current_stage) = stage2 ]; then \
14008 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14009 else \
14010 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
14011 $(MAKE) stage2-start; \
14012 fi; \
14013 cd $(HOST_SUBDIR)/mpfr && \
14014 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14015 @endif mpfr-bootstrap
14018 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
14019 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
14020 maybe-all-stage3-mpfr:
14021 maybe-clean-stage3-mpfr:
14022 @if mpfr-bootstrap
14023 maybe-all-stage3-mpfr: all-stage3-mpfr
14024 all-stage3: all-stage3-mpfr
14025 TARGET-stage3-mpfr = $(TARGET-mpfr)
14026 all-stage3-mpfr: configure-stage3-mpfr
14027 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14028 @r=`${PWD_COMMAND}`; export r; \
14029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14030 TFLAGS="$(STAGE3_TFLAGS)"; \
14031 $(HOST_EXPORTS) \
14032 $(POSTSTAGE1_HOST_EXPORTS) \
14033 cd $(HOST_SUBDIR)/mpfr && \
14035 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14036 CFLAGS="$(STAGE3_CFLAGS)" \
14037 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14038 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14039 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14040 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14041 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14042 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14043 TFLAGS="$(STAGE3_TFLAGS)" \
14044 $(TARGET-stage3-mpfr)
14046 maybe-clean-stage3-mpfr: clean-stage3-mpfr
14047 clean-stage3: clean-stage3-mpfr
14048 clean-stage3-mpfr:
14049 @if [ $(current_stage) = stage3 ]; then \
14050 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14051 else \
14052 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
14053 $(MAKE) stage3-start; \
14054 fi; \
14055 cd $(HOST_SUBDIR)/mpfr && \
14056 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14057 @endif mpfr-bootstrap
14060 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
14061 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
14062 maybe-all-stage4-mpfr:
14063 maybe-clean-stage4-mpfr:
14064 @if mpfr-bootstrap
14065 maybe-all-stage4-mpfr: all-stage4-mpfr
14066 all-stage4: all-stage4-mpfr
14067 TARGET-stage4-mpfr = $(TARGET-mpfr)
14068 all-stage4-mpfr: configure-stage4-mpfr
14069 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14070 @r=`${PWD_COMMAND}`; export r; \
14071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14072 TFLAGS="$(STAGE4_TFLAGS)"; \
14073 $(HOST_EXPORTS) \
14074 $(POSTSTAGE1_HOST_EXPORTS) \
14075 cd $(HOST_SUBDIR)/mpfr && \
14077 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14078 CFLAGS="$(STAGE4_CFLAGS)" \
14079 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14080 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14081 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14082 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14083 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14084 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14085 TFLAGS="$(STAGE4_TFLAGS)" \
14086 $(TARGET-stage4-mpfr)
14088 maybe-clean-stage4-mpfr: clean-stage4-mpfr
14089 clean-stage4: clean-stage4-mpfr
14090 clean-stage4-mpfr:
14091 @if [ $(current_stage) = stage4 ]; then \
14092 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14093 else \
14094 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
14095 $(MAKE) stage4-start; \
14096 fi; \
14097 cd $(HOST_SUBDIR)/mpfr && \
14098 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14099 @endif mpfr-bootstrap
14102 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
14103 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
14104 maybe-all-stageprofile-mpfr:
14105 maybe-clean-stageprofile-mpfr:
14106 @if mpfr-bootstrap
14107 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
14108 all-stageprofile: all-stageprofile-mpfr
14109 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
14110 all-stageprofile-mpfr: configure-stageprofile-mpfr
14111 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14112 @r=`${PWD_COMMAND}`; export r; \
14113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14114 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14115 $(HOST_EXPORTS) \
14116 $(POSTSTAGE1_HOST_EXPORTS) \
14117 cd $(HOST_SUBDIR)/mpfr && \
14119 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14120 CFLAGS="$(STAGEprofile_CFLAGS)" \
14121 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14122 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14123 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14124 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14125 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14126 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14127 TFLAGS="$(STAGEprofile_TFLAGS)" \
14128 $(TARGET-stageprofile-mpfr)
14130 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
14131 clean-stageprofile: clean-stageprofile-mpfr
14132 clean-stageprofile-mpfr:
14133 @if [ $(current_stage) = stageprofile ]; then \
14134 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14135 else \
14136 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
14137 $(MAKE) stageprofile-start; \
14138 fi; \
14139 cd $(HOST_SUBDIR)/mpfr && \
14140 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14141 @endif mpfr-bootstrap
14144 .PHONY: all-stagetrain-mpfr maybe-all-stagetrain-mpfr
14145 .PHONY: clean-stagetrain-mpfr maybe-clean-stagetrain-mpfr
14146 maybe-all-stagetrain-mpfr:
14147 maybe-clean-stagetrain-mpfr:
14148 @if mpfr-bootstrap
14149 maybe-all-stagetrain-mpfr: all-stagetrain-mpfr
14150 all-stagetrain: all-stagetrain-mpfr
14151 TARGET-stagetrain-mpfr = $(TARGET-mpfr)
14152 all-stagetrain-mpfr: configure-stagetrain-mpfr
14153 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14154 @r=`${PWD_COMMAND}`; export r; \
14155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14156 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14157 $(HOST_EXPORTS) \
14158 $(POSTSTAGE1_HOST_EXPORTS) \
14159 cd $(HOST_SUBDIR)/mpfr && \
14161 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14162 CFLAGS="$(STAGEtrain_CFLAGS)" \
14163 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
14164 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
14165 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14166 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14167 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14168 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14169 TFLAGS="$(STAGEtrain_TFLAGS)" \
14170 $(TARGET-stagetrain-mpfr)
14172 maybe-clean-stagetrain-mpfr: clean-stagetrain-mpfr
14173 clean-stagetrain: clean-stagetrain-mpfr
14174 clean-stagetrain-mpfr:
14175 @if [ $(current_stage) = stagetrain ]; then \
14176 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14177 else \
14178 [ -f $(HOST_SUBDIR)/stagetrain-mpfr/Makefile ] || exit 0; \
14179 $(MAKE) stagetrain-start; \
14180 fi; \
14181 cd $(HOST_SUBDIR)/mpfr && \
14182 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14183 @endif mpfr-bootstrap
14186 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
14187 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
14188 maybe-all-stagefeedback-mpfr:
14189 maybe-clean-stagefeedback-mpfr:
14190 @if mpfr-bootstrap
14191 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
14192 all-stagefeedback: all-stagefeedback-mpfr
14193 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
14194 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
14195 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14196 @r=`${PWD_COMMAND}`; export r; \
14197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14198 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14199 $(HOST_EXPORTS) \
14200 $(POSTSTAGE1_HOST_EXPORTS) \
14201 cd $(HOST_SUBDIR)/mpfr && \
14203 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14204 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14205 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14206 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14207 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14208 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14209 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14210 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14211 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14212 $(TARGET-stagefeedback-mpfr)
14214 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
14215 clean-stagefeedback: clean-stagefeedback-mpfr
14216 clean-stagefeedback-mpfr:
14217 @if [ $(current_stage) = stagefeedback ]; then \
14218 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14219 else \
14220 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
14221 $(MAKE) stagefeedback-start; \
14222 fi; \
14223 cd $(HOST_SUBDIR)/mpfr && \
14224 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14225 @endif mpfr-bootstrap
14228 .PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
14229 .PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
14230 maybe-all-stageautoprofile-mpfr:
14231 maybe-clean-stageautoprofile-mpfr:
14232 @if mpfr-bootstrap
14233 maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
14234 all-stageautoprofile: all-stageautoprofile-mpfr
14235 TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
14236 all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14237 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14238 @r=`${PWD_COMMAND}`; export r; \
14239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14240 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14241 $(HOST_EXPORTS) \
14242 $(POSTSTAGE1_HOST_EXPORTS) \
14243 cd $(HOST_SUBDIR)/mpfr && \
14244 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14245 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14246 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14247 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14248 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14249 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14250 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14251 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14252 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14253 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14254 $(TARGET-stageautoprofile-mpfr)
14256 maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
14257 clean-stageautoprofile: clean-stageautoprofile-mpfr
14258 clean-stageautoprofile-mpfr:
14259 @if [ $(current_stage) = stageautoprofile ]; then \
14260 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14261 else \
14262 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
14263 $(MAKE) stageautoprofile-start; \
14264 fi; \
14265 cd $(HOST_SUBDIR)/mpfr && \
14266 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14267 @endif mpfr-bootstrap
14270 .PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
14271 .PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
14272 maybe-all-stageautofeedback-mpfr:
14273 maybe-clean-stageautofeedback-mpfr:
14274 @if mpfr-bootstrap
14275 maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
14276 all-stageautofeedback: all-stageautofeedback-mpfr
14277 TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
14278 all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
14279 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14280 @r=`${PWD_COMMAND}`; export r; \
14281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14282 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14283 $(HOST_EXPORTS) \
14284 $(POSTSTAGE1_HOST_EXPORTS) \
14285 cd $(HOST_SUBDIR)/mpfr && \
14287 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14288 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
14289 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
14290 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
14291 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14292 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14293 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14294 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14295 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
14296 $(TARGET-stageautofeedback-mpfr)
14298 maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
14299 clean-stageautofeedback: clean-stageautofeedback-mpfr
14300 clean-stageautofeedback-mpfr:
14301 @if [ $(current_stage) = stageautofeedback ]; then \
14302 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14303 else \
14304 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
14305 $(MAKE) stageautofeedback-start; \
14306 fi; \
14307 cd $(HOST_SUBDIR)/mpfr && \
14308 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14309 @endif mpfr-bootstrap
14315 .PHONY: check-mpfr maybe-check-mpfr
14316 maybe-check-mpfr:
14317 @if mpfr
14318 maybe-check-mpfr: check-mpfr
14320 check-mpfr:
14321 @: $(MAKE); $(unstage)
14322 @r=`${PWD_COMMAND}`; export r; \
14323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14324 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
14325 (cd $(HOST_SUBDIR)/mpfr && \
14326 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
14328 @endif mpfr
14330 .PHONY: install-mpfr maybe-install-mpfr
14331 maybe-install-mpfr:
14332 @if mpfr
14333 maybe-install-mpfr: install-mpfr
14335 install-mpfr:
14337 @endif mpfr
14339 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
14340 maybe-install-strip-mpfr:
14341 @if mpfr
14342 maybe-install-strip-mpfr: install-strip-mpfr
14344 install-strip-mpfr:
14346 @endif mpfr
14348 # Other targets (info, dvi, pdf, etc.)
14350 .PHONY: maybe-info-mpfr info-mpfr
14351 maybe-info-mpfr:
14352 @if mpfr
14353 maybe-info-mpfr: info-mpfr
14355 info-mpfr: \
14356 configure-mpfr
14357 @[ -f ./mpfr/Makefile ] || exit 0; \
14358 r=`${PWD_COMMAND}`; export r; \
14359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14360 $(HOST_EXPORTS) \
14361 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14363 done; \
14364 echo "Doing info in mpfr"; \
14365 (cd $(HOST_SUBDIR)/mpfr && \
14366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14368 "RANLIB=$${RANLIB}" \
14369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14370 info) \
14371 || exit 1
14373 @endif mpfr
14375 .PHONY: maybe-dvi-mpfr dvi-mpfr
14376 maybe-dvi-mpfr:
14377 @if mpfr
14378 maybe-dvi-mpfr: dvi-mpfr
14380 dvi-mpfr: \
14381 configure-mpfr
14382 @[ -f ./mpfr/Makefile ] || exit 0; \
14383 r=`${PWD_COMMAND}`; export r; \
14384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14385 $(HOST_EXPORTS) \
14386 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14388 done; \
14389 echo "Doing dvi in mpfr"; \
14390 (cd $(HOST_SUBDIR)/mpfr && \
14391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14393 "RANLIB=$${RANLIB}" \
14394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14395 dvi) \
14396 || exit 1
14398 @endif mpfr
14400 .PHONY: maybe-pdf-mpfr pdf-mpfr
14401 maybe-pdf-mpfr:
14402 @if mpfr
14403 maybe-pdf-mpfr: pdf-mpfr
14405 pdf-mpfr: \
14406 configure-mpfr
14407 @[ -f ./mpfr/Makefile ] || exit 0; \
14408 r=`${PWD_COMMAND}`; export r; \
14409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14410 $(HOST_EXPORTS) \
14411 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14413 done; \
14414 echo "Doing pdf in mpfr"; \
14415 (cd $(HOST_SUBDIR)/mpfr && \
14416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14418 "RANLIB=$${RANLIB}" \
14419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14420 pdf) \
14421 || exit 1
14423 @endif mpfr
14425 .PHONY: maybe-html-mpfr html-mpfr
14426 maybe-html-mpfr:
14427 @if mpfr
14428 maybe-html-mpfr: html-mpfr
14430 html-mpfr: \
14431 configure-mpfr
14432 @[ -f ./mpfr/Makefile ] || exit 0; \
14433 r=`${PWD_COMMAND}`; export r; \
14434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14435 $(HOST_EXPORTS) \
14436 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14438 done; \
14439 echo "Doing html in mpfr"; \
14440 (cd $(HOST_SUBDIR)/mpfr && \
14441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14443 "RANLIB=$${RANLIB}" \
14444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14445 html) \
14446 || exit 1
14448 @endif mpfr
14450 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
14451 maybe-TAGS-mpfr:
14452 @if mpfr
14453 maybe-TAGS-mpfr: TAGS-mpfr
14455 TAGS-mpfr: \
14456 configure-mpfr
14457 @[ -f ./mpfr/Makefile ] || exit 0; \
14458 r=`${PWD_COMMAND}`; export r; \
14459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14460 $(HOST_EXPORTS) \
14461 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14463 done; \
14464 echo "Doing TAGS in mpfr"; \
14465 (cd $(HOST_SUBDIR)/mpfr && \
14466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14468 "RANLIB=$${RANLIB}" \
14469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14470 TAGS) \
14471 || exit 1
14473 @endif mpfr
14475 .PHONY: maybe-install-info-mpfr install-info-mpfr
14476 maybe-install-info-mpfr:
14477 @if mpfr
14478 maybe-install-info-mpfr: install-info-mpfr
14480 install-info-mpfr: \
14481 configure-mpfr \
14482 info-mpfr
14483 @[ -f ./mpfr/Makefile ] || exit 0; \
14484 r=`${PWD_COMMAND}`; export r; \
14485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14486 $(HOST_EXPORTS) \
14487 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14489 done; \
14490 echo "Doing install-info in mpfr"; \
14491 (cd $(HOST_SUBDIR)/mpfr && \
14492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14494 "RANLIB=$${RANLIB}" \
14495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14496 install-info) \
14497 || exit 1
14499 @endif mpfr
14501 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
14502 maybe-install-pdf-mpfr:
14503 @if mpfr
14504 maybe-install-pdf-mpfr: install-pdf-mpfr
14506 install-pdf-mpfr: \
14507 configure-mpfr \
14508 pdf-mpfr
14509 @[ -f ./mpfr/Makefile ] || exit 0; \
14510 r=`${PWD_COMMAND}`; export r; \
14511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14512 $(HOST_EXPORTS) \
14513 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14515 done; \
14516 echo "Doing install-pdf in mpfr"; \
14517 (cd $(HOST_SUBDIR)/mpfr && \
14518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14520 "RANLIB=$${RANLIB}" \
14521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14522 install-pdf) \
14523 || exit 1
14525 @endif mpfr
14527 .PHONY: maybe-install-html-mpfr install-html-mpfr
14528 maybe-install-html-mpfr:
14529 @if mpfr
14530 maybe-install-html-mpfr: install-html-mpfr
14532 install-html-mpfr: \
14533 configure-mpfr \
14534 html-mpfr
14535 @[ -f ./mpfr/Makefile ] || exit 0; \
14536 r=`${PWD_COMMAND}`; export r; \
14537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14538 $(HOST_EXPORTS) \
14539 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14541 done; \
14542 echo "Doing install-html in mpfr"; \
14543 (cd $(HOST_SUBDIR)/mpfr && \
14544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14546 "RANLIB=$${RANLIB}" \
14547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14548 install-html) \
14549 || exit 1
14551 @endif mpfr
14553 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
14554 maybe-installcheck-mpfr:
14555 @if mpfr
14556 maybe-installcheck-mpfr: installcheck-mpfr
14558 installcheck-mpfr: \
14559 configure-mpfr
14560 @[ -f ./mpfr/Makefile ] || exit 0; \
14561 r=`${PWD_COMMAND}`; export r; \
14562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14563 $(HOST_EXPORTS) \
14564 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14566 done; \
14567 echo "Doing installcheck in mpfr"; \
14568 (cd $(HOST_SUBDIR)/mpfr && \
14569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14571 "RANLIB=$${RANLIB}" \
14572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14573 installcheck) \
14574 || exit 1
14576 @endif mpfr
14578 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
14579 maybe-mostlyclean-mpfr:
14580 @if mpfr
14581 maybe-mostlyclean-mpfr: mostlyclean-mpfr
14583 mostlyclean-mpfr:
14584 @[ -f ./mpfr/Makefile ] || exit 0; \
14585 r=`${PWD_COMMAND}`; export r; \
14586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14587 $(HOST_EXPORTS) \
14588 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14590 done; \
14591 echo "Doing mostlyclean in mpfr"; \
14592 (cd $(HOST_SUBDIR)/mpfr && \
14593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14595 "RANLIB=$${RANLIB}" \
14596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14597 mostlyclean) \
14598 || exit 1
14600 @endif mpfr
14602 .PHONY: maybe-clean-mpfr clean-mpfr
14603 maybe-clean-mpfr:
14604 @if mpfr
14605 maybe-clean-mpfr: clean-mpfr
14607 clean-mpfr:
14608 @[ -f ./mpfr/Makefile ] || exit 0; \
14609 r=`${PWD_COMMAND}`; export r; \
14610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14611 $(HOST_EXPORTS) \
14612 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14614 done; \
14615 echo "Doing clean in mpfr"; \
14616 (cd $(HOST_SUBDIR)/mpfr && \
14617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14619 "RANLIB=$${RANLIB}" \
14620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14621 clean) \
14622 || exit 1
14624 @endif mpfr
14626 .PHONY: maybe-distclean-mpfr distclean-mpfr
14627 maybe-distclean-mpfr:
14628 @if mpfr
14629 maybe-distclean-mpfr: distclean-mpfr
14631 distclean-mpfr:
14632 @[ -f ./mpfr/Makefile ] || exit 0; \
14633 r=`${PWD_COMMAND}`; export r; \
14634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14635 $(HOST_EXPORTS) \
14636 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14638 done; \
14639 echo "Doing distclean in mpfr"; \
14640 (cd $(HOST_SUBDIR)/mpfr && \
14641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14643 "RANLIB=$${RANLIB}" \
14644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14645 distclean) \
14646 || exit 1
14648 @endif mpfr
14650 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
14651 maybe-maintainer-clean-mpfr:
14652 @if mpfr
14653 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
14655 maintainer-clean-mpfr:
14656 @[ -f ./mpfr/Makefile ] || exit 0; \
14657 r=`${PWD_COMMAND}`; export r; \
14658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14659 $(HOST_EXPORTS) \
14660 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14662 done; \
14663 echo "Doing maintainer-clean in mpfr"; \
14664 (cd $(HOST_SUBDIR)/mpfr && \
14665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14667 "RANLIB=$${RANLIB}" \
14668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14669 maintainer-clean) \
14670 || exit 1
14672 @endif mpfr
14676 .PHONY: configure-mpc maybe-configure-mpc
14677 maybe-configure-mpc:
14678 @if gcc-bootstrap
14679 configure-mpc: stage_current
14680 @endif gcc-bootstrap
14681 @if mpc
14682 maybe-configure-mpc: configure-mpc
14683 configure-mpc:
14684 @r=`${PWD_COMMAND}`; export r; \
14685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14686 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14688 $(HOST_EXPORTS) \
14689 echo Configuring in $(HOST_SUBDIR)/mpc; \
14690 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
14691 case $(srcdir) in \
14692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14693 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14695 esac; \
14696 module_srcdir=mpc; \
14697 $(SHELL) \
14698 $$s/$$module_srcdir/configure \
14699 --srcdir=$${topdir}/$$module_srcdir \
14700 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14701 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode \
14702 || exit 1
14703 @endif mpc
14707 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
14708 maybe-configure-stage1-mpc:
14709 @if mpc-bootstrap
14710 maybe-configure-stage1-mpc: configure-stage1-mpc
14711 configure-stage1-mpc:
14712 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14713 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14714 @r=`${PWD_COMMAND}`; export r; \
14715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14716 TFLAGS="$(STAGE1_TFLAGS)"; \
14717 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14718 $(HOST_EXPORTS) \
14719 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14720 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14721 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14722 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
14723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14724 cd $(HOST_SUBDIR)/mpc || exit 1; \
14725 case $(srcdir) in \
14726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14727 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14729 esac; \
14730 module_srcdir=mpc; \
14731 $(SHELL) $$s/$$module_srcdir/configure \
14732 --srcdir=$${topdir}/$$module_srcdir \
14733 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14734 --target=${target_alias} \
14736 $(STAGE1_CONFIGURE_FLAGS) \
14737 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14738 @endif mpc-bootstrap
14740 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
14741 maybe-configure-stage2-mpc:
14742 @if mpc-bootstrap
14743 maybe-configure-stage2-mpc: configure-stage2-mpc
14744 configure-stage2-mpc:
14745 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14746 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14747 @r=`${PWD_COMMAND}`; export r; \
14748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14749 TFLAGS="$(STAGE2_TFLAGS)"; \
14750 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14751 $(HOST_EXPORTS) \
14752 $(POSTSTAGE1_HOST_EXPORTS) \
14753 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14754 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14755 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14756 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
14757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14758 cd $(HOST_SUBDIR)/mpc || exit 1; \
14759 case $(srcdir) in \
14760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14761 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14763 esac; \
14764 module_srcdir=mpc; \
14765 $(SHELL) $$s/$$module_srcdir/configure \
14766 --srcdir=$${topdir}/$$module_srcdir \
14767 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14768 --target=${target_alias} \
14769 --with-build-libsubdir=$(HOST_SUBDIR) \
14770 $(STAGE2_CONFIGURE_FLAGS) \
14771 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14772 @endif mpc-bootstrap
14774 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
14775 maybe-configure-stage3-mpc:
14776 @if mpc-bootstrap
14777 maybe-configure-stage3-mpc: configure-stage3-mpc
14778 configure-stage3-mpc:
14779 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14781 @r=`${PWD_COMMAND}`; export r; \
14782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14783 TFLAGS="$(STAGE3_TFLAGS)"; \
14784 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14785 $(HOST_EXPORTS) \
14786 $(POSTSTAGE1_HOST_EXPORTS) \
14787 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14788 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14789 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14790 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
14791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14792 cd $(HOST_SUBDIR)/mpc || exit 1; \
14793 case $(srcdir) in \
14794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14795 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14797 esac; \
14798 module_srcdir=mpc; \
14799 $(SHELL) $$s/$$module_srcdir/configure \
14800 --srcdir=$${topdir}/$$module_srcdir \
14801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14802 --target=${target_alias} \
14803 --with-build-libsubdir=$(HOST_SUBDIR) \
14804 $(STAGE3_CONFIGURE_FLAGS) \
14805 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14806 @endif mpc-bootstrap
14808 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
14809 maybe-configure-stage4-mpc:
14810 @if mpc-bootstrap
14811 maybe-configure-stage4-mpc: configure-stage4-mpc
14812 configure-stage4-mpc:
14813 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14814 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14815 @r=`${PWD_COMMAND}`; export r; \
14816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14817 TFLAGS="$(STAGE4_TFLAGS)"; \
14818 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14819 $(HOST_EXPORTS) \
14820 $(POSTSTAGE1_HOST_EXPORTS) \
14821 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14822 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14823 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14824 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
14825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14826 cd $(HOST_SUBDIR)/mpc || exit 1; \
14827 case $(srcdir) in \
14828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14829 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14831 esac; \
14832 module_srcdir=mpc; \
14833 $(SHELL) $$s/$$module_srcdir/configure \
14834 --srcdir=$${topdir}/$$module_srcdir \
14835 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14836 --target=${target_alias} \
14837 --with-build-libsubdir=$(HOST_SUBDIR) \
14838 $(STAGE4_CONFIGURE_FLAGS) \
14839 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14840 @endif mpc-bootstrap
14842 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
14843 maybe-configure-stageprofile-mpc:
14844 @if mpc-bootstrap
14845 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
14846 configure-stageprofile-mpc:
14847 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14848 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14849 @r=`${PWD_COMMAND}`; export r; \
14850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14851 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14852 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14853 $(HOST_EXPORTS) \
14854 $(POSTSTAGE1_HOST_EXPORTS) \
14855 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14856 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14857 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14858 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
14859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14860 cd $(HOST_SUBDIR)/mpc || exit 1; \
14861 case $(srcdir) in \
14862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14863 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14865 esac; \
14866 module_srcdir=mpc; \
14867 $(SHELL) $$s/$$module_srcdir/configure \
14868 --srcdir=$${topdir}/$$module_srcdir \
14869 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14870 --target=${target_alias} \
14871 --with-build-libsubdir=$(HOST_SUBDIR) \
14872 $(STAGEprofile_CONFIGURE_FLAGS) \
14873 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14874 @endif mpc-bootstrap
14876 .PHONY: configure-stagetrain-mpc maybe-configure-stagetrain-mpc
14877 maybe-configure-stagetrain-mpc:
14878 @if mpc-bootstrap
14879 maybe-configure-stagetrain-mpc: configure-stagetrain-mpc
14880 configure-stagetrain-mpc:
14881 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14882 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14883 @r=`${PWD_COMMAND}`; export r; \
14884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14885 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14886 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14887 $(HOST_EXPORTS) \
14888 $(POSTSTAGE1_HOST_EXPORTS) \
14889 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
14890 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
14891 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
14892 echo Configuring stage train in $(HOST_SUBDIR)/mpc; \
14893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14894 cd $(HOST_SUBDIR)/mpc || exit 1; \
14895 case $(srcdir) in \
14896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14897 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14899 esac; \
14900 module_srcdir=mpc; \
14901 $(SHELL) $$s/$$module_srcdir/configure \
14902 --srcdir=$${topdir}/$$module_srcdir \
14903 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14904 --target=${target_alias} \
14905 --with-build-libsubdir=$(HOST_SUBDIR) \
14906 $(STAGEtrain_CONFIGURE_FLAGS) \
14907 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14908 @endif mpc-bootstrap
14910 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
14911 maybe-configure-stagefeedback-mpc:
14912 @if mpc-bootstrap
14913 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
14914 configure-stagefeedback-mpc:
14915 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14916 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14917 @r=`${PWD_COMMAND}`; export r; \
14918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14919 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14920 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14921 $(HOST_EXPORTS) \
14922 $(POSTSTAGE1_HOST_EXPORTS) \
14923 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14924 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14925 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14926 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
14927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14928 cd $(HOST_SUBDIR)/mpc || exit 1; \
14929 case $(srcdir) in \
14930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14931 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14933 esac; \
14934 module_srcdir=mpc; \
14935 $(SHELL) $$s/$$module_srcdir/configure \
14936 --srcdir=$${topdir}/$$module_srcdir \
14937 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14938 --target=${target_alias} \
14939 --with-build-libsubdir=$(HOST_SUBDIR) \
14940 $(STAGEfeedback_CONFIGURE_FLAGS) \
14941 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14942 @endif mpc-bootstrap
14944 .PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
14945 maybe-configure-stageautoprofile-mpc:
14946 @if mpc-bootstrap
14947 maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
14948 configure-stageautoprofile-mpc:
14949 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14950 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14951 @r=`${PWD_COMMAND}`; export r; \
14952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14953 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14954 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14955 $(HOST_EXPORTS) \
14956 $(POSTSTAGE1_HOST_EXPORTS) \
14957 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
14958 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
14959 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
14960 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
14961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14962 cd $(HOST_SUBDIR)/mpc || exit 1; \
14963 case $(srcdir) in \
14964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14965 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
14966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14967 esac; \
14968 module_srcdir=mpc; \
14969 $(SHELL) $$s/$$module_srcdir/configure \
14970 --srcdir=$${topdir}/$$module_srcdir \
14971 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14972 --target=${target_alias} \
14973 --with-build-libsubdir=$(HOST_SUBDIR) \
14974 $(STAGEautoprofile_CONFIGURE_FLAGS) \
14975 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
14976 @endif mpc-bootstrap
14978 .PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
14979 maybe-configure-stageautofeedback-mpc:
14980 @if mpc-bootstrap
14981 maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
14982 configure-stageautofeedback-mpc:
14983 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
14985 @r=`${PWD_COMMAND}`; export r; \
14986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14987 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14988 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
14989 $(HOST_EXPORTS) \
14990 $(POSTSTAGE1_HOST_EXPORTS) \
14991 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
14992 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
14993 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
14994 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
14995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
14996 cd $(HOST_SUBDIR)/mpc || exit 1; \
14997 case $(srcdir) in \
14998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14999 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15001 esac; \
15002 module_srcdir=mpc; \
15003 $(SHELL) $$s/$$module_srcdir/configure \
15004 --srcdir=$${topdir}/$$module_srcdir \
15005 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15006 --target=${target_alias} \
15007 --with-build-libsubdir=$(HOST_SUBDIR) \
15008 $(STAGEautofeedback_CONFIGURE_FLAGS) \
15009 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15010 @endif mpc-bootstrap
15016 .PHONY: all-mpc maybe-all-mpc
15017 maybe-all-mpc:
15018 @if gcc-bootstrap
15019 all-mpc: stage_current
15020 @endif gcc-bootstrap
15021 @if mpc
15022 TARGET-mpc=all
15023 maybe-all-mpc: all-mpc
15024 all-mpc: configure-mpc
15025 @r=`${PWD_COMMAND}`; export r; \
15026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15027 $(HOST_EXPORTS) \
15028 (cd $(HOST_SUBDIR)/mpc && \
15029 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15030 $(TARGET-mpc))
15031 @endif mpc
15035 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
15036 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
15037 maybe-all-stage1-mpc:
15038 maybe-clean-stage1-mpc:
15039 @if mpc-bootstrap
15040 maybe-all-stage1-mpc: all-stage1-mpc
15041 all-stage1: all-stage1-mpc
15042 TARGET-stage1-mpc = $(TARGET-mpc)
15043 all-stage1-mpc: configure-stage1-mpc
15044 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15045 @r=`${PWD_COMMAND}`; export r; \
15046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15047 TFLAGS="$(STAGE1_TFLAGS)"; \
15048 $(HOST_EXPORTS) \
15049 cd $(HOST_SUBDIR)/mpc && \
15051 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15052 CFLAGS="$(STAGE1_CFLAGS)" \
15053 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15054 LIBCFLAGS="$(LIBCFLAGS)" \
15055 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15056 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15057 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15058 $(EXTRA_HOST_FLAGS) \
15059 $(STAGE1_FLAGS_TO_PASS) \
15060 TFLAGS="$(STAGE1_TFLAGS)" \
15061 $(TARGET-stage1-mpc)
15063 maybe-clean-stage1-mpc: clean-stage1-mpc
15064 clean-stage1: clean-stage1-mpc
15065 clean-stage1-mpc:
15066 @if [ $(current_stage) = stage1 ]; then \
15067 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15068 else \
15069 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
15070 $(MAKE) stage1-start; \
15071 fi; \
15072 cd $(HOST_SUBDIR)/mpc && \
15073 $(MAKE) $(EXTRA_HOST_FLAGS) \
15074 $(STAGE1_FLAGS_TO_PASS) clean
15075 @endif mpc-bootstrap
15078 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
15079 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
15080 maybe-all-stage2-mpc:
15081 maybe-clean-stage2-mpc:
15082 @if mpc-bootstrap
15083 maybe-all-stage2-mpc: all-stage2-mpc
15084 all-stage2: all-stage2-mpc
15085 TARGET-stage2-mpc = $(TARGET-mpc)
15086 all-stage2-mpc: configure-stage2-mpc
15087 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15088 @r=`${PWD_COMMAND}`; export r; \
15089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15090 TFLAGS="$(STAGE2_TFLAGS)"; \
15091 $(HOST_EXPORTS) \
15092 $(POSTSTAGE1_HOST_EXPORTS) \
15093 cd $(HOST_SUBDIR)/mpc && \
15095 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15096 CFLAGS="$(STAGE2_CFLAGS)" \
15097 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15098 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15099 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15100 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15101 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15102 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15103 TFLAGS="$(STAGE2_TFLAGS)" \
15104 $(TARGET-stage2-mpc)
15106 maybe-clean-stage2-mpc: clean-stage2-mpc
15107 clean-stage2: clean-stage2-mpc
15108 clean-stage2-mpc:
15109 @if [ $(current_stage) = stage2 ]; then \
15110 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15111 else \
15112 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
15113 $(MAKE) stage2-start; \
15114 fi; \
15115 cd $(HOST_SUBDIR)/mpc && \
15116 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15117 @endif mpc-bootstrap
15120 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
15121 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
15122 maybe-all-stage3-mpc:
15123 maybe-clean-stage3-mpc:
15124 @if mpc-bootstrap
15125 maybe-all-stage3-mpc: all-stage3-mpc
15126 all-stage3: all-stage3-mpc
15127 TARGET-stage3-mpc = $(TARGET-mpc)
15128 all-stage3-mpc: configure-stage3-mpc
15129 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15130 @r=`${PWD_COMMAND}`; export r; \
15131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15132 TFLAGS="$(STAGE3_TFLAGS)"; \
15133 $(HOST_EXPORTS) \
15134 $(POSTSTAGE1_HOST_EXPORTS) \
15135 cd $(HOST_SUBDIR)/mpc && \
15137 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15138 CFLAGS="$(STAGE3_CFLAGS)" \
15139 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15140 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15141 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15142 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15143 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15144 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15145 TFLAGS="$(STAGE3_TFLAGS)" \
15146 $(TARGET-stage3-mpc)
15148 maybe-clean-stage3-mpc: clean-stage3-mpc
15149 clean-stage3: clean-stage3-mpc
15150 clean-stage3-mpc:
15151 @if [ $(current_stage) = stage3 ]; then \
15152 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15153 else \
15154 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
15155 $(MAKE) stage3-start; \
15156 fi; \
15157 cd $(HOST_SUBDIR)/mpc && \
15158 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15159 @endif mpc-bootstrap
15162 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
15163 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
15164 maybe-all-stage4-mpc:
15165 maybe-clean-stage4-mpc:
15166 @if mpc-bootstrap
15167 maybe-all-stage4-mpc: all-stage4-mpc
15168 all-stage4: all-stage4-mpc
15169 TARGET-stage4-mpc = $(TARGET-mpc)
15170 all-stage4-mpc: configure-stage4-mpc
15171 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15172 @r=`${PWD_COMMAND}`; export r; \
15173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15174 TFLAGS="$(STAGE4_TFLAGS)"; \
15175 $(HOST_EXPORTS) \
15176 $(POSTSTAGE1_HOST_EXPORTS) \
15177 cd $(HOST_SUBDIR)/mpc && \
15179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15180 CFLAGS="$(STAGE4_CFLAGS)" \
15181 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15182 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15183 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15184 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15185 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15186 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15187 TFLAGS="$(STAGE4_TFLAGS)" \
15188 $(TARGET-stage4-mpc)
15190 maybe-clean-stage4-mpc: clean-stage4-mpc
15191 clean-stage4: clean-stage4-mpc
15192 clean-stage4-mpc:
15193 @if [ $(current_stage) = stage4 ]; then \
15194 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15195 else \
15196 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
15197 $(MAKE) stage4-start; \
15198 fi; \
15199 cd $(HOST_SUBDIR)/mpc && \
15200 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15201 @endif mpc-bootstrap
15204 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
15205 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
15206 maybe-all-stageprofile-mpc:
15207 maybe-clean-stageprofile-mpc:
15208 @if mpc-bootstrap
15209 maybe-all-stageprofile-mpc: all-stageprofile-mpc
15210 all-stageprofile: all-stageprofile-mpc
15211 TARGET-stageprofile-mpc = $(TARGET-mpc)
15212 all-stageprofile-mpc: configure-stageprofile-mpc
15213 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15214 @r=`${PWD_COMMAND}`; export r; \
15215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15216 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15217 $(HOST_EXPORTS) \
15218 $(POSTSTAGE1_HOST_EXPORTS) \
15219 cd $(HOST_SUBDIR)/mpc && \
15221 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15222 CFLAGS="$(STAGEprofile_CFLAGS)" \
15223 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15224 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15225 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15226 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15227 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15228 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15229 TFLAGS="$(STAGEprofile_TFLAGS)" \
15230 $(TARGET-stageprofile-mpc)
15232 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
15233 clean-stageprofile: clean-stageprofile-mpc
15234 clean-stageprofile-mpc:
15235 @if [ $(current_stage) = stageprofile ]; then \
15236 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15237 else \
15238 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
15239 $(MAKE) stageprofile-start; \
15240 fi; \
15241 cd $(HOST_SUBDIR)/mpc && \
15242 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15243 @endif mpc-bootstrap
15246 .PHONY: all-stagetrain-mpc maybe-all-stagetrain-mpc
15247 .PHONY: clean-stagetrain-mpc maybe-clean-stagetrain-mpc
15248 maybe-all-stagetrain-mpc:
15249 maybe-clean-stagetrain-mpc:
15250 @if mpc-bootstrap
15251 maybe-all-stagetrain-mpc: all-stagetrain-mpc
15252 all-stagetrain: all-stagetrain-mpc
15253 TARGET-stagetrain-mpc = $(TARGET-mpc)
15254 all-stagetrain-mpc: configure-stagetrain-mpc
15255 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15256 @r=`${PWD_COMMAND}`; export r; \
15257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15258 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15259 $(HOST_EXPORTS) \
15260 $(POSTSTAGE1_HOST_EXPORTS) \
15261 cd $(HOST_SUBDIR)/mpc && \
15263 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15264 CFLAGS="$(STAGEtrain_CFLAGS)" \
15265 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
15266 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
15267 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15268 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15269 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15270 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15271 TFLAGS="$(STAGEtrain_TFLAGS)" \
15272 $(TARGET-stagetrain-mpc)
15274 maybe-clean-stagetrain-mpc: clean-stagetrain-mpc
15275 clean-stagetrain: clean-stagetrain-mpc
15276 clean-stagetrain-mpc:
15277 @if [ $(current_stage) = stagetrain ]; then \
15278 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15279 else \
15280 [ -f $(HOST_SUBDIR)/stagetrain-mpc/Makefile ] || exit 0; \
15281 $(MAKE) stagetrain-start; \
15282 fi; \
15283 cd $(HOST_SUBDIR)/mpc && \
15284 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15285 @endif mpc-bootstrap
15288 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
15289 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
15290 maybe-all-stagefeedback-mpc:
15291 maybe-clean-stagefeedback-mpc:
15292 @if mpc-bootstrap
15293 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
15294 all-stagefeedback: all-stagefeedback-mpc
15295 TARGET-stagefeedback-mpc = $(TARGET-mpc)
15296 all-stagefeedback-mpc: configure-stagefeedback-mpc
15297 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15298 @r=`${PWD_COMMAND}`; export r; \
15299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15300 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15301 $(HOST_EXPORTS) \
15302 $(POSTSTAGE1_HOST_EXPORTS) \
15303 cd $(HOST_SUBDIR)/mpc && \
15305 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15306 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15307 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15308 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15309 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15310 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15311 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15312 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15313 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15314 $(TARGET-stagefeedback-mpc)
15316 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
15317 clean-stagefeedback: clean-stagefeedback-mpc
15318 clean-stagefeedback-mpc:
15319 @if [ $(current_stage) = stagefeedback ]; then \
15320 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15321 else \
15322 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
15323 $(MAKE) stagefeedback-start; \
15324 fi; \
15325 cd $(HOST_SUBDIR)/mpc && \
15326 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15327 @endif mpc-bootstrap
15330 .PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
15331 .PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
15332 maybe-all-stageautoprofile-mpc:
15333 maybe-clean-stageautoprofile-mpc:
15334 @if mpc-bootstrap
15335 maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
15336 all-stageautoprofile: all-stageautoprofile-mpc
15337 TARGET-stageautoprofile-mpc = $(TARGET-mpc)
15338 all-stageautoprofile-mpc: configure-stageautoprofile-mpc
15339 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15340 @r=`${PWD_COMMAND}`; export r; \
15341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15342 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15343 $(HOST_EXPORTS) \
15344 $(POSTSTAGE1_HOST_EXPORTS) \
15345 cd $(HOST_SUBDIR)/mpc && \
15346 $$s/gcc/config/i386/$(AUTO_PROFILE) \
15347 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15348 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
15349 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
15350 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
15351 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15352 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15353 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15354 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15355 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
15356 $(TARGET-stageautoprofile-mpc)
15358 maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
15359 clean-stageautoprofile: clean-stageautoprofile-mpc
15360 clean-stageautoprofile-mpc:
15361 @if [ $(current_stage) = stageautoprofile ]; then \
15362 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15363 else \
15364 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
15365 $(MAKE) stageautoprofile-start; \
15366 fi; \
15367 cd $(HOST_SUBDIR)/mpc && \
15368 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15369 @endif mpc-bootstrap
15372 .PHONY: all-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
15373 .PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
15374 maybe-all-stageautofeedback-mpc:
15375 maybe-clean-stageautofeedback-mpc:
15376 @if mpc-bootstrap
15377 maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
15378 all-stageautofeedback: all-stageautofeedback-mpc
15379 TARGET-stageautofeedback-mpc = $(TARGET-mpc)
15380 all-stageautofeedback-mpc: configure-stageautofeedback-mpc
15381 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15382 @r=`${PWD_COMMAND}`; export r; \
15383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15384 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15385 $(HOST_EXPORTS) \
15386 $(POSTSTAGE1_HOST_EXPORTS) \
15387 cd $(HOST_SUBDIR)/mpc && \
15389 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15390 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
15391 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
15392 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
15393 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15394 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15395 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15396 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15397 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
15398 $(TARGET-stageautofeedback-mpc)
15400 maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
15401 clean-stageautofeedback: clean-stageautofeedback-mpc
15402 clean-stageautofeedback-mpc:
15403 @if [ $(current_stage) = stageautofeedback ]; then \
15404 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15405 else \
15406 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
15407 $(MAKE) stageautofeedback-start; \
15408 fi; \
15409 cd $(HOST_SUBDIR)/mpc && \
15410 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15411 @endif mpc-bootstrap
15417 .PHONY: check-mpc maybe-check-mpc
15418 maybe-check-mpc:
15419 @if mpc
15420 maybe-check-mpc: check-mpc
15422 check-mpc:
15423 @: $(MAKE); $(unstage)
15424 @r=`${PWD_COMMAND}`; export r; \
15425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15426 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15427 (cd $(HOST_SUBDIR)/mpc && \
15428 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
15430 @endif mpc
15432 .PHONY: install-mpc maybe-install-mpc
15433 maybe-install-mpc:
15434 @if mpc
15435 maybe-install-mpc: install-mpc
15437 install-mpc:
15439 @endif mpc
15441 .PHONY: install-strip-mpc maybe-install-strip-mpc
15442 maybe-install-strip-mpc:
15443 @if mpc
15444 maybe-install-strip-mpc: install-strip-mpc
15446 install-strip-mpc:
15448 @endif mpc
15450 # Other targets (info, dvi, pdf, etc.)
15452 .PHONY: maybe-info-mpc info-mpc
15453 maybe-info-mpc:
15454 @if mpc
15455 maybe-info-mpc: info-mpc
15457 info-mpc: \
15458 configure-mpc
15459 @[ -f ./mpc/Makefile ] || exit 0; \
15460 r=`${PWD_COMMAND}`; export r; \
15461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15462 $(HOST_EXPORTS) \
15463 for flag in $(EXTRA_HOST_FLAGS) ; do \
15464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15465 done; \
15466 echo "Doing info in mpc"; \
15467 (cd $(HOST_SUBDIR)/mpc && \
15468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15470 "RANLIB=$${RANLIB}" \
15471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15472 info) \
15473 || exit 1
15475 @endif mpc
15477 .PHONY: maybe-dvi-mpc dvi-mpc
15478 maybe-dvi-mpc:
15479 @if mpc
15480 maybe-dvi-mpc: dvi-mpc
15482 dvi-mpc: \
15483 configure-mpc
15484 @[ -f ./mpc/Makefile ] || exit 0; \
15485 r=`${PWD_COMMAND}`; export r; \
15486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15487 $(HOST_EXPORTS) \
15488 for flag in $(EXTRA_HOST_FLAGS) ; do \
15489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15490 done; \
15491 echo "Doing dvi in mpc"; \
15492 (cd $(HOST_SUBDIR)/mpc && \
15493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15495 "RANLIB=$${RANLIB}" \
15496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15497 dvi) \
15498 || exit 1
15500 @endif mpc
15502 .PHONY: maybe-pdf-mpc pdf-mpc
15503 maybe-pdf-mpc:
15504 @if mpc
15505 maybe-pdf-mpc: pdf-mpc
15507 pdf-mpc: \
15508 configure-mpc
15509 @[ -f ./mpc/Makefile ] || exit 0; \
15510 r=`${PWD_COMMAND}`; export r; \
15511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15512 $(HOST_EXPORTS) \
15513 for flag in $(EXTRA_HOST_FLAGS) ; do \
15514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15515 done; \
15516 echo "Doing pdf in mpc"; \
15517 (cd $(HOST_SUBDIR)/mpc && \
15518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15520 "RANLIB=$${RANLIB}" \
15521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15522 pdf) \
15523 || exit 1
15525 @endif mpc
15527 .PHONY: maybe-html-mpc html-mpc
15528 maybe-html-mpc:
15529 @if mpc
15530 maybe-html-mpc: html-mpc
15532 html-mpc: \
15533 configure-mpc
15534 @[ -f ./mpc/Makefile ] || exit 0; \
15535 r=`${PWD_COMMAND}`; export r; \
15536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15537 $(HOST_EXPORTS) \
15538 for flag in $(EXTRA_HOST_FLAGS) ; do \
15539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15540 done; \
15541 echo "Doing html in mpc"; \
15542 (cd $(HOST_SUBDIR)/mpc && \
15543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15545 "RANLIB=$${RANLIB}" \
15546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15547 html) \
15548 || exit 1
15550 @endif mpc
15552 .PHONY: maybe-TAGS-mpc TAGS-mpc
15553 maybe-TAGS-mpc:
15554 @if mpc
15555 maybe-TAGS-mpc: TAGS-mpc
15557 TAGS-mpc: \
15558 configure-mpc
15559 @[ -f ./mpc/Makefile ] || exit 0; \
15560 r=`${PWD_COMMAND}`; export r; \
15561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15562 $(HOST_EXPORTS) \
15563 for flag in $(EXTRA_HOST_FLAGS) ; do \
15564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15565 done; \
15566 echo "Doing TAGS in mpc"; \
15567 (cd $(HOST_SUBDIR)/mpc && \
15568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15570 "RANLIB=$${RANLIB}" \
15571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15572 TAGS) \
15573 || exit 1
15575 @endif mpc
15577 .PHONY: maybe-install-info-mpc install-info-mpc
15578 maybe-install-info-mpc:
15579 @if mpc
15580 maybe-install-info-mpc: install-info-mpc
15582 install-info-mpc: \
15583 configure-mpc \
15584 info-mpc
15585 @[ -f ./mpc/Makefile ] || exit 0; \
15586 r=`${PWD_COMMAND}`; export r; \
15587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15588 $(HOST_EXPORTS) \
15589 for flag in $(EXTRA_HOST_FLAGS) ; do \
15590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15591 done; \
15592 echo "Doing install-info in mpc"; \
15593 (cd $(HOST_SUBDIR)/mpc && \
15594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15596 "RANLIB=$${RANLIB}" \
15597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15598 install-info) \
15599 || exit 1
15601 @endif mpc
15603 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
15604 maybe-install-pdf-mpc:
15605 @if mpc
15606 maybe-install-pdf-mpc: install-pdf-mpc
15608 install-pdf-mpc: \
15609 configure-mpc \
15610 pdf-mpc
15611 @[ -f ./mpc/Makefile ] || exit 0; \
15612 r=`${PWD_COMMAND}`; export r; \
15613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15614 $(HOST_EXPORTS) \
15615 for flag in $(EXTRA_HOST_FLAGS) ; do \
15616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15617 done; \
15618 echo "Doing install-pdf in mpc"; \
15619 (cd $(HOST_SUBDIR)/mpc && \
15620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15622 "RANLIB=$${RANLIB}" \
15623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15624 install-pdf) \
15625 || exit 1
15627 @endif mpc
15629 .PHONY: maybe-install-html-mpc install-html-mpc
15630 maybe-install-html-mpc:
15631 @if mpc
15632 maybe-install-html-mpc: install-html-mpc
15634 install-html-mpc: \
15635 configure-mpc \
15636 html-mpc
15637 @[ -f ./mpc/Makefile ] || exit 0; \
15638 r=`${PWD_COMMAND}`; export r; \
15639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15640 $(HOST_EXPORTS) \
15641 for flag in $(EXTRA_HOST_FLAGS) ; do \
15642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15643 done; \
15644 echo "Doing install-html in mpc"; \
15645 (cd $(HOST_SUBDIR)/mpc && \
15646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15648 "RANLIB=$${RANLIB}" \
15649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15650 install-html) \
15651 || exit 1
15653 @endif mpc
15655 .PHONY: maybe-installcheck-mpc installcheck-mpc
15656 maybe-installcheck-mpc:
15657 @if mpc
15658 maybe-installcheck-mpc: installcheck-mpc
15660 installcheck-mpc: \
15661 configure-mpc
15662 @[ -f ./mpc/Makefile ] || exit 0; \
15663 r=`${PWD_COMMAND}`; export r; \
15664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15665 $(HOST_EXPORTS) \
15666 for flag in $(EXTRA_HOST_FLAGS) ; do \
15667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15668 done; \
15669 echo "Doing installcheck in mpc"; \
15670 (cd $(HOST_SUBDIR)/mpc && \
15671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15673 "RANLIB=$${RANLIB}" \
15674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15675 installcheck) \
15676 || exit 1
15678 @endif mpc
15680 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
15681 maybe-mostlyclean-mpc:
15682 @if mpc
15683 maybe-mostlyclean-mpc: mostlyclean-mpc
15685 mostlyclean-mpc:
15686 @[ -f ./mpc/Makefile ] || exit 0; \
15687 r=`${PWD_COMMAND}`; export r; \
15688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15689 $(HOST_EXPORTS) \
15690 for flag in $(EXTRA_HOST_FLAGS) ; do \
15691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15692 done; \
15693 echo "Doing mostlyclean in mpc"; \
15694 (cd $(HOST_SUBDIR)/mpc && \
15695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15697 "RANLIB=$${RANLIB}" \
15698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15699 mostlyclean) \
15700 || exit 1
15702 @endif mpc
15704 .PHONY: maybe-clean-mpc clean-mpc
15705 maybe-clean-mpc:
15706 @if mpc
15707 maybe-clean-mpc: clean-mpc
15709 clean-mpc:
15710 @[ -f ./mpc/Makefile ] || exit 0; \
15711 r=`${PWD_COMMAND}`; export r; \
15712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15713 $(HOST_EXPORTS) \
15714 for flag in $(EXTRA_HOST_FLAGS) ; do \
15715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15716 done; \
15717 echo "Doing clean in mpc"; \
15718 (cd $(HOST_SUBDIR)/mpc && \
15719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15721 "RANLIB=$${RANLIB}" \
15722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15723 clean) \
15724 || exit 1
15726 @endif mpc
15728 .PHONY: maybe-distclean-mpc distclean-mpc
15729 maybe-distclean-mpc:
15730 @if mpc
15731 maybe-distclean-mpc: distclean-mpc
15733 distclean-mpc:
15734 @[ -f ./mpc/Makefile ] || exit 0; \
15735 r=`${PWD_COMMAND}`; export r; \
15736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15737 $(HOST_EXPORTS) \
15738 for flag in $(EXTRA_HOST_FLAGS) ; do \
15739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15740 done; \
15741 echo "Doing distclean in mpc"; \
15742 (cd $(HOST_SUBDIR)/mpc && \
15743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15745 "RANLIB=$${RANLIB}" \
15746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15747 distclean) \
15748 || exit 1
15750 @endif mpc
15752 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
15753 maybe-maintainer-clean-mpc:
15754 @if mpc
15755 maybe-maintainer-clean-mpc: maintainer-clean-mpc
15757 maintainer-clean-mpc:
15758 @[ -f ./mpc/Makefile ] || exit 0; \
15759 r=`${PWD_COMMAND}`; export r; \
15760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15761 $(HOST_EXPORTS) \
15762 for flag in $(EXTRA_HOST_FLAGS) ; do \
15763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15764 done; \
15765 echo "Doing maintainer-clean in mpc"; \
15766 (cd $(HOST_SUBDIR)/mpc && \
15767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15769 "RANLIB=$${RANLIB}" \
15770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15771 maintainer-clean) \
15772 || exit 1
15774 @endif mpc
15778 .PHONY: configure-isl maybe-configure-isl
15779 maybe-configure-isl:
15780 @if gcc-bootstrap
15781 configure-isl: stage_current
15782 @endif gcc-bootstrap
15783 @if isl
15784 maybe-configure-isl: configure-isl
15785 configure-isl:
15786 @r=`${PWD_COMMAND}`; export r; \
15787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15788 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15789 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15790 $(HOST_EXPORTS) \
15791 echo Configuring in $(HOST_SUBDIR)/isl; \
15792 cd "$(HOST_SUBDIR)/isl" || exit 1; \
15793 case $(srcdir) in \
15794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15795 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15797 esac; \
15798 module_srcdir=isl; \
15799 $(SHELL) \
15800 $$s/$$module_srcdir/configure \
15801 --srcdir=$${topdir}/$$module_srcdir \
15802 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15803 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
15804 || exit 1
15805 @endif isl
15809 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
15810 maybe-configure-stage1-isl:
15811 @if isl-bootstrap
15812 maybe-configure-stage1-isl: configure-stage1-isl
15813 configure-stage1-isl:
15814 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15815 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15816 @r=`${PWD_COMMAND}`; export r; \
15817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15818 TFLAGS="$(STAGE1_TFLAGS)"; \
15819 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15820 $(HOST_EXPORTS) \
15821 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15822 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15823 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15824 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
15825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15826 cd $(HOST_SUBDIR)/isl || exit 1; \
15827 case $(srcdir) in \
15828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15829 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15831 esac; \
15832 module_srcdir=isl; \
15833 $(SHELL) $$s/$$module_srcdir/configure \
15834 --srcdir=$${topdir}/$$module_srcdir \
15835 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15836 --target=${target_alias} \
15838 $(STAGE1_CONFIGURE_FLAGS) \
15839 --disable-shared @extra_isl_gmp_configure_flags@
15840 @endif isl-bootstrap
15842 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
15843 maybe-configure-stage2-isl:
15844 @if isl-bootstrap
15845 maybe-configure-stage2-isl: configure-stage2-isl
15846 configure-stage2-isl:
15847 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15848 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15849 @r=`${PWD_COMMAND}`; export r; \
15850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15851 TFLAGS="$(STAGE2_TFLAGS)"; \
15852 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15853 $(HOST_EXPORTS) \
15854 $(POSTSTAGE1_HOST_EXPORTS) \
15855 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15856 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15857 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15858 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
15859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15860 cd $(HOST_SUBDIR)/isl || exit 1; \
15861 case $(srcdir) in \
15862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15863 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15865 esac; \
15866 module_srcdir=isl; \
15867 $(SHELL) $$s/$$module_srcdir/configure \
15868 --srcdir=$${topdir}/$$module_srcdir \
15869 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15870 --target=${target_alias} \
15871 --with-build-libsubdir=$(HOST_SUBDIR) \
15872 $(STAGE2_CONFIGURE_FLAGS) \
15873 --disable-shared @extra_isl_gmp_configure_flags@
15874 @endif isl-bootstrap
15876 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
15877 maybe-configure-stage3-isl:
15878 @if isl-bootstrap
15879 maybe-configure-stage3-isl: configure-stage3-isl
15880 configure-stage3-isl:
15881 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15882 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15883 @r=`${PWD_COMMAND}`; export r; \
15884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15885 TFLAGS="$(STAGE3_TFLAGS)"; \
15886 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15887 $(HOST_EXPORTS) \
15888 $(POSTSTAGE1_HOST_EXPORTS) \
15889 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15890 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15891 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15892 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
15893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15894 cd $(HOST_SUBDIR)/isl || exit 1; \
15895 case $(srcdir) in \
15896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15897 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15899 esac; \
15900 module_srcdir=isl; \
15901 $(SHELL) $$s/$$module_srcdir/configure \
15902 --srcdir=$${topdir}/$$module_srcdir \
15903 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15904 --target=${target_alias} \
15905 --with-build-libsubdir=$(HOST_SUBDIR) \
15906 $(STAGE3_CONFIGURE_FLAGS) \
15907 --disable-shared @extra_isl_gmp_configure_flags@
15908 @endif isl-bootstrap
15910 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
15911 maybe-configure-stage4-isl:
15912 @if isl-bootstrap
15913 maybe-configure-stage4-isl: configure-stage4-isl
15914 configure-stage4-isl:
15915 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15916 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15917 @r=`${PWD_COMMAND}`; export r; \
15918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15919 TFLAGS="$(STAGE4_TFLAGS)"; \
15920 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15921 $(HOST_EXPORTS) \
15922 $(POSTSTAGE1_HOST_EXPORTS) \
15923 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15924 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15925 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15926 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
15927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15928 cd $(HOST_SUBDIR)/isl || exit 1; \
15929 case $(srcdir) in \
15930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15931 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15933 esac; \
15934 module_srcdir=isl; \
15935 $(SHELL) $$s/$$module_srcdir/configure \
15936 --srcdir=$${topdir}/$$module_srcdir \
15937 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15938 --target=${target_alias} \
15939 --with-build-libsubdir=$(HOST_SUBDIR) \
15940 $(STAGE4_CONFIGURE_FLAGS) \
15941 --disable-shared @extra_isl_gmp_configure_flags@
15942 @endif isl-bootstrap
15944 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
15945 maybe-configure-stageprofile-isl:
15946 @if isl-bootstrap
15947 maybe-configure-stageprofile-isl: configure-stageprofile-isl
15948 configure-stageprofile-isl:
15949 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15950 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15951 @r=`${PWD_COMMAND}`; export r; \
15952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15953 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15954 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15955 $(HOST_EXPORTS) \
15956 $(POSTSTAGE1_HOST_EXPORTS) \
15957 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15958 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15959 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15960 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
15961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15962 cd $(HOST_SUBDIR)/isl || exit 1; \
15963 case $(srcdir) in \
15964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15965 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
15966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15967 esac; \
15968 module_srcdir=isl; \
15969 $(SHELL) $$s/$$module_srcdir/configure \
15970 --srcdir=$${topdir}/$$module_srcdir \
15971 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15972 --target=${target_alias} \
15973 --with-build-libsubdir=$(HOST_SUBDIR) \
15974 $(STAGEprofile_CONFIGURE_FLAGS) \
15975 --disable-shared @extra_isl_gmp_configure_flags@
15976 @endif isl-bootstrap
15978 .PHONY: configure-stagetrain-isl maybe-configure-stagetrain-isl
15979 maybe-configure-stagetrain-isl:
15980 @if isl-bootstrap
15981 maybe-configure-stagetrain-isl: configure-stagetrain-isl
15982 configure-stagetrain-isl:
15983 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
15985 @r=`${PWD_COMMAND}`; export r; \
15986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15987 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15988 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
15989 $(HOST_EXPORTS) \
15990 $(POSTSTAGE1_HOST_EXPORTS) \
15991 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
15992 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
15993 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
15994 echo Configuring stage train in $(HOST_SUBDIR)/isl; \
15995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
15996 cd $(HOST_SUBDIR)/isl || exit 1; \
15997 case $(srcdir) in \
15998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15999 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16001 esac; \
16002 module_srcdir=isl; \
16003 $(SHELL) $$s/$$module_srcdir/configure \
16004 --srcdir=$${topdir}/$$module_srcdir \
16005 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16006 --target=${target_alias} \
16007 --with-build-libsubdir=$(HOST_SUBDIR) \
16008 $(STAGEtrain_CONFIGURE_FLAGS) \
16009 --disable-shared @extra_isl_gmp_configure_flags@
16010 @endif isl-bootstrap
16012 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
16013 maybe-configure-stagefeedback-isl:
16014 @if isl-bootstrap
16015 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
16016 configure-stagefeedback-isl:
16017 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16019 @r=`${PWD_COMMAND}`; export r; \
16020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16021 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16022 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16023 $(HOST_EXPORTS) \
16024 $(POSTSTAGE1_HOST_EXPORTS) \
16025 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16026 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16027 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16028 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
16029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16030 cd $(HOST_SUBDIR)/isl || exit 1; \
16031 case $(srcdir) in \
16032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16033 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16035 esac; \
16036 module_srcdir=isl; \
16037 $(SHELL) $$s/$$module_srcdir/configure \
16038 --srcdir=$${topdir}/$$module_srcdir \
16039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16040 --target=${target_alias} \
16041 --with-build-libsubdir=$(HOST_SUBDIR) \
16042 $(STAGEfeedback_CONFIGURE_FLAGS) \
16043 --disable-shared @extra_isl_gmp_configure_flags@
16044 @endif isl-bootstrap
16046 .PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
16047 maybe-configure-stageautoprofile-isl:
16048 @if isl-bootstrap
16049 maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
16050 configure-stageautoprofile-isl:
16051 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16052 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16053 @r=`${PWD_COMMAND}`; export r; \
16054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16055 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16056 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16057 $(HOST_EXPORTS) \
16058 $(POSTSTAGE1_HOST_EXPORTS) \
16059 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16060 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16061 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16062 echo Configuring stage autoprofile in $(HOST_SUBDIR)/isl; \
16063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16064 cd $(HOST_SUBDIR)/isl || exit 1; \
16065 case $(srcdir) in \
16066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16067 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16069 esac; \
16070 module_srcdir=isl; \
16071 $(SHELL) $$s/$$module_srcdir/configure \
16072 --srcdir=$${topdir}/$$module_srcdir \
16073 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16074 --target=${target_alias} \
16075 --with-build-libsubdir=$(HOST_SUBDIR) \
16076 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16077 --disable-shared @extra_isl_gmp_configure_flags@
16078 @endif isl-bootstrap
16080 .PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
16081 maybe-configure-stageautofeedback-isl:
16082 @if isl-bootstrap
16083 maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
16084 configure-stageautofeedback-isl:
16085 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16086 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16087 @r=`${PWD_COMMAND}`; export r; \
16088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16089 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16090 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16091 $(HOST_EXPORTS) \
16092 $(POSTSTAGE1_HOST_EXPORTS) \
16093 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16094 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16095 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16096 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
16097 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16098 cd $(HOST_SUBDIR)/isl || exit 1; \
16099 case $(srcdir) in \
16100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16101 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16103 esac; \
16104 module_srcdir=isl; \
16105 $(SHELL) $$s/$$module_srcdir/configure \
16106 --srcdir=$${topdir}/$$module_srcdir \
16107 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16108 --target=${target_alias} \
16109 --with-build-libsubdir=$(HOST_SUBDIR) \
16110 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16111 --disable-shared @extra_isl_gmp_configure_flags@
16112 @endif isl-bootstrap
16118 .PHONY: all-isl maybe-all-isl
16119 maybe-all-isl:
16120 @if gcc-bootstrap
16121 all-isl: stage_current
16122 @endif gcc-bootstrap
16123 @if isl
16124 TARGET-isl=all
16125 maybe-all-isl: all-isl
16126 all-isl: configure-isl
16127 @r=`${PWD_COMMAND}`; export r; \
16128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16129 $(HOST_EXPORTS) \
16130 (cd $(HOST_SUBDIR)/isl && \
16131 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
16132 $(TARGET-isl))
16133 @endif isl
16137 .PHONY: all-stage1-isl maybe-all-stage1-isl
16138 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
16139 maybe-all-stage1-isl:
16140 maybe-clean-stage1-isl:
16141 @if isl-bootstrap
16142 maybe-all-stage1-isl: all-stage1-isl
16143 all-stage1: all-stage1-isl
16144 TARGET-stage1-isl = $(TARGET-isl)
16145 all-stage1-isl: configure-stage1-isl
16146 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16147 @r=`${PWD_COMMAND}`; export r; \
16148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16149 TFLAGS="$(STAGE1_TFLAGS)"; \
16150 $(HOST_EXPORTS) \
16151 cd $(HOST_SUBDIR)/isl && \
16153 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16154 CFLAGS="$(STAGE1_CFLAGS)" \
16155 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16156 LIBCFLAGS="$(LIBCFLAGS)" \
16157 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16158 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16159 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16160 $(EXTRA_HOST_FLAGS) \
16161 $(STAGE1_FLAGS_TO_PASS) V=1 \
16162 TFLAGS="$(STAGE1_TFLAGS)" \
16163 $(TARGET-stage1-isl)
16165 maybe-clean-stage1-isl: clean-stage1-isl
16166 clean-stage1: clean-stage1-isl
16167 clean-stage1-isl:
16168 @if [ $(current_stage) = stage1 ]; then \
16169 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16170 else \
16171 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
16172 $(MAKE) stage1-start; \
16173 fi; \
16174 cd $(HOST_SUBDIR)/isl && \
16175 $(MAKE) $(EXTRA_HOST_FLAGS) \
16176 $(STAGE1_FLAGS_TO_PASS) V=1 clean
16177 @endif isl-bootstrap
16180 .PHONY: all-stage2-isl maybe-all-stage2-isl
16181 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
16182 maybe-all-stage2-isl:
16183 maybe-clean-stage2-isl:
16184 @if isl-bootstrap
16185 maybe-all-stage2-isl: all-stage2-isl
16186 all-stage2: all-stage2-isl
16187 TARGET-stage2-isl = $(TARGET-isl)
16188 all-stage2-isl: configure-stage2-isl
16189 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16190 @r=`${PWD_COMMAND}`; export r; \
16191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16192 TFLAGS="$(STAGE2_TFLAGS)"; \
16193 $(HOST_EXPORTS) \
16194 $(POSTSTAGE1_HOST_EXPORTS) \
16195 cd $(HOST_SUBDIR)/isl && \
16197 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16198 CFLAGS="$(STAGE2_CFLAGS)" \
16199 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16200 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16201 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16202 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16203 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16204 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16205 TFLAGS="$(STAGE2_TFLAGS)" \
16206 $(TARGET-stage2-isl)
16208 maybe-clean-stage2-isl: clean-stage2-isl
16209 clean-stage2: clean-stage2-isl
16210 clean-stage2-isl:
16211 @if [ $(current_stage) = stage2 ]; then \
16212 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16213 else \
16214 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
16215 $(MAKE) stage2-start; \
16216 fi; \
16217 cd $(HOST_SUBDIR)/isl && \
16218 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16219 @endif isl-bootstrap
16222 .PHONY: all-stage3-isl maybe-all-stage3-isl
16223 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
16224 maybe-all-stage3-isl:
16225 maybe-clean-stage3-isl:
16226 @if isl-bootstrap
16227 maybe-all-stage3-isl: all-stage3-isl
16228 all-stage3: all-stage3-isl
16229 TARGET-stage3-isl = $(TARGET-isl)
16230 all-stage3-isl: configure-stage3-isl
16231 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16232 @r=`${PWD_COMMAND}`; export r; \
16233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16234 TFLAGS="$(STAGE3_TFLAGS)"; \
16235 $(HOST_EXPORTS) \
16236 $(POSTSTAGE1_HOST_EXPORTS) \
16237 cd $(HOST_SUBDIR)/isl && \
16239 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16240 CFLAGS="$(STAGE3_CFLAGS)" \
16241 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16242 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16243 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16244 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16245 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16246 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16247 TFLAGS="$(STAGE3_TFLAGS)" \
16248 $(TARGET-stage3-isl)
16250 maybe-clean-stage3-isl: clean-stage3-isl
16251 clean-stage3: clean-stage3-isl
16252 clean-stage3-isl:
16253 @if [ $(current_stage) = stage3 ]; then \
16254 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16255 else \
16256 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
16257 $(MAKE) stage3-start; \
16258 fi; \
16259 cd $(HOST_SUBDIR)/isl && \
16260 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16261 @endif isl-bootstrap
16264 .PHONY: all-stage4-isl maybe-all-stage4-isl
16265 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
16266 maybe-all-stage4-isl:
16267 maybe-clean-stage4-isl:
16268 @if isl-bootstrap
16269 maybe-all-stage4-isl: all-stage4-isl
16270 all-stage4: all-stage4-isl
16271 TARGET-stage4-isl = $(TARGET-isl)
16272 all-stage4-isl: configure-stage4-isl
16273 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16274 @r=`${PWD_COMMAND}`; export r; \
16275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16276 TFLAGS="$(STAGE4_TFLAGS)"; \
16277 $(HOST_EXPORTS) \
16278 $(POSTSTAGE1_HOST_EXPORTS) \
16279 cd $(HOST_SUBDIR)/isl && \
16281 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16282 CFLAGS="$(STAGE4_CFLAGS)" \
16283 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16284 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16285 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16286 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16287 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16288 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16289 TFLAGS="$(STAGE4_TFLAGS)" \
16290 $(TARGET-stage4-isl)
16292 maybe-clean-stage4-isl: clean-stage4-isl
16293 clean-stage4: clean-stage4-isl
16294 clean-stage4-isl:
16295 @if [ $(current_stage) = stage4 ]; then \
16296 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16297 else \
16298 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
16299 $(MAKE) stage4-start; \
16300 fi; \
16301 cd $(HOST_SUBDIR)/isl && \
16302 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16303 @endif isl-bootstrap
16306 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
16307 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
16308 maybe-all-stageprofile-isl:
16309 maybe-clean-stageprofile-isl:
16310 @if isl-bootstrap
16311 maybe-all-stageprofile-isl: all-stageprofile-isl
16312 all-stageprofile: all-stageprofile-isl
16313 TARGET-stageprofile-isl = $(TARGET-isl)
16314 all-stageprofile-isl: configure-stageprofile-isl
16315 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16316 @r=`${PWD_COMMAND}`; export r; \
16317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16318 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16319 $(HOST_EXPORTS) \
16320 $(POSTSTAGE1_HOST_EXPORTS) \
16321 cd $(HOST_SUBDIR)/isl && \
16323 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16324 CFLAGS="$(STAGEprofile_CFLAGS)" \
16325 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16326 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16327 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16328 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16329 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16330 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16331 TFLAGS="$(STAGEprofile_TFLAGS)" \
16332 $(TARGET-stageprofile-isl)
16334 maybe-clean-stageprofile-isl: clean-stageprofile-isl
16335 clean-stageprofile: clean-stageprofile-isl
16336 clean-stageprofile-isl:
16337 @if [ $(current_stage) = stageprofile ]; then \
16338 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16339 else \
16340 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
16341 $(MAKE) stageprofile-start; \
16342 fi; \
16343 cd $(HOST_SUBDIR)/isl && \
16344 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16345 @endif isl-bootstrap
16348 .PHONY: all-stagetrain-isl maybe-all-stagetrain-isl
16349 .PHONY: clean-stagetrain-isl maybe-clean-stagetrain-isl
16350 maybe-all-stagetrain-isl:
16351 maybe-clean-stagetrain-isl:
16352 @if isl-bootstrap
16353 maybe-all-stagetrain-isl: all-stagetrain-isl
16354 all-stagetrain: all-stagetrain-isl
16355 TARGET-stagetrain-isl = $(TARGET-isl)
16356 all-stagetrain-isl: configure-stagetrain-isl
16357 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16358 @r=`${PWD_COMMAND}`; export r; \
16359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16360 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16361 $(HOST_EXPORTS) \
16362 $(POSTSTAGE1_HOST_EXPORTS) \
16363 cd $(HOST_SUBDIR)/isl && \
16365 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16366 CFLAGS="$(STAGEtrain_CFLAGS)" \
16367 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
16368 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
16369 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16370 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16371 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16372 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16373 TFLAGS="$(STAGEtrain_TFLAGS)" \
16374 $(TARGET-stagetrain-isl)
16376 maybe-clean-stagetrain-isl: clean-stagetrain-isl
16377 clean-stagetrain: clean-stagetrain-isl
16378 clean-stagetrain-isl:
16379 @if [ $(current_stage) = stagetrain ]; then \
16380 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16381 else \
16382 [ -f $(HOST_SUBDIR)/stagetrain-isl/Makefile ] || exit 0; \
16383 $(MAKE) stagetrain-start; \
16384 fi; \
16385 cd $(HOST_SUBDIR)/isl && \
16386 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16387 @endif isl-bootstrap
16390 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
16391 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
16392 maybe-all-stagefeedback-isl:
16393 maybe-clean-stagefeedback-isl:
16394 @if isl-bootstrap
16395 maybe-all-stagefeedback-isl: all-stagefeedback-isl
16396 all-stagefeedback: all-stagefeedback-isl
16397 TARGET-stagefeedback-isl = $(TARGET-isl)
16398 all-stagefeedback-isl: configure-stagefeedback-isl
16399 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16400 @r=`${PWD_COMMAND}`; export r; \
16401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16402 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16403 $(HOST_EXPORTS) \
16404 $(POSTSTAGE1_HOST_EXPORTS) \
16405 cd $(HOST_SUBDIR)/isl && \
16407 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16408 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16409 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16410 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16411 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16412 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16413 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16414 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16415 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16416 $(TARGET-stagefeedback-isl)
16418 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
16419 clean-stagefeedback: clean-stagefeedback-isl
16420 clean-stagefeedback-isl:
16421 @if [ $(current_stage) = stagefeedback ]; then \
16422 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16423 else \
16424 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
16425 $(MAKE) stagefeedback-start; \
16426 fi; \
16427 cd $(HOST_SUBDIR)/isl && \
16428 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16429 @endif isl-bootstrap
16432 .PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
16433 .PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
16434 maybe-all-stageautoprofile-isl:
16435 maybe-clean-stageautoprofile-isl:
16436 @if isl-bootstrap
16437 maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
16438 all-stageautoprofile: all-stageautoprofile-isl
16439 TARGET-stageautoprofile-isl = $(TARGET-isl)
16440 all-stageautoprofile-isl: configure-stageautoprofile-isl
16441 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16442 @r=`${PWD_COMMAND}`; export r; \
16443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16444 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16445 $(HOST_EXPORTS) \
16446 $(POSTSTAGE1_HOST_EXPORTS) \
16447 cd $(HOST_SUBDIR)/isl && \
16448 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16449 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16450 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16451 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16452 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16456 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16457 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16458 $(TARGET-stageautoprofile-isl)
16460 maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
16461 clean-stageautoprofile: clean-stageautoprofile-isl
16462 clean-stageautoprofile-isl:
16463 @if [ $(current_stage) = stageautoprofile ]; then \
16464 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16465 else \
16466 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
16467 $(MAKE) stageautoprofile-start; \
16468 fi; \
16469 cd $(HOST_SUBDIR)/isl && \
16470 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16471 @endif isl-bootstrap
16474 .PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
16475 .PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
16476 maybe-all-stageautofeedback-isl:
16477 maybe-clean-stageautofeedback-isl:
16478 @if isl-bootstrap
16479 maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
16480 all-stageautofeedback: all-stageautofeedback-isl
16481 TARGET-stageautofeedback-isl = $(TARGET-isl)
16482 all-stageautofeedback-isl: configure-stageautofeedback-isl
16483 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16484 @r=`${PWD_COMMAND}`; export r; \
16485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16486 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16487 $(HOST_EXPORTS) \
16488 $(POSTSTAGE1_HOST_EXPORTS) \
16489 cd $(HOST_SUBDIR)/isl && \
16491 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16492 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16493 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16494 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16495 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16496 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16497 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16498 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16499 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16500 $(TARGET-stageautofeedback-isl)
16502 maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
16503 clean-stageautofeedback: clean-stageautofeedback-isl
16504 clean-stageautofeedback-isl:
16505 @if [ $(current_stage) = stageautofeedback ]; then \
16506 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16507 else \
16508 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
16509 $(MAKE) stageautofeedback-start; \
16510 fi; \
16511 cd $(HOST_SUBDIR)/isl && \
16512 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16513 @endif isl-bootstrap
16519 .PHONY: check-isl maybe-check-isl
16520 maybe-check-isl:
16521 @if isl
16522 maybe-check-isl: check-isl
16524 check-isl:
16525 @: $(MAKE); $(unstage)
16526 @r=`${PWD_COMMAND}`; export r; \
16527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16528 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
16529 (cd $(HOST_SUBDIR)/isl && \
16530 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
16532 @endif isl
16534 .PHONY: install-isl maybe-install-isl
16535 maybe-install-isl:
16536 @if isl
16537 maybe-install-isl: install-isl
16539 install-isl:
16541 @endif isl
16543 .PHONY: install-strip-isl maybe-install-strip-isl
16544 maybe-install-strip-isl:
16545 @if isl
16546 maybe-install-strip-isl: install-strip-isl
16548 install-strip-isl:
16550 @endif isl
16552 # Other targets (info, dvi, pdf, etc.)
16554 .PHONY: maybe-info-isl info-isl
16555 maybe-info-isl:
16556 @if isl
16557 maybe-info-isl: info-isl
16559 info-isl: \
16560 configure-isl
16561 @[ -f ./isl/Makefile ] || exit 0; \
16562 r=`${PWD_COMMAND}`; export r; \
16563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16564 $(HOST_EXPORTS) \
16565 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16567 done; \
16568 echo "Doing info in isl"; \
16569 (cd $(HOST_SUBDIR)/isl && \
16570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16572 "RANLIB=$${RANLIB}" \
16573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16574 info) \
16575 || exit 1
16577 @endif isl
16579 .PHONY: maybe-dvi-isl dvi-isl
16580 maybe-dvi-isl:
16581 @if isl
16582 maybe-dvi-isl: dvi-isl
16584 dvi-isl: \
16585 configure-isl
16586 @[ -f ./isl/Makefile ] || exit 0; \
16587 r=`${PWD_COMMAND}`; export r; \
16588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16589 $(HOST_EXPORTS) \
16590 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16592 done; \
16593 echo "Doing dvi in isl"; \
16594 (cd $(HOST_SUBDIR)/isl && \
16595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16597 "RANLIB=$${RANLIB}" \
16598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16599 dvi) \
16600 || exit 1
16602 @endif isl
16604 .PHONY: maybe-pdf-isl pdf-isl
16605 maybe-pdf-isl:
16606 @if isl
16607 maybe-pdf-isl: pdf-isl
16609 pdf-isl: \
16610 configure-isl
16611 @[ -f ./isl/Makefile ] || exit 0; \
16612 r=`${PWD_COMMAND}`; export r; \
16613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16614 $(HOST_EXPORTS) \
16615 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16617 done; \
16618 echo "Doing pdf in isl"; \
16619 (cd $(HOST_SUBDIR)/isl && \
16620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16622 "RANLIB=$${RANLIB}" \
16623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16624 pdf) \
16625 || exit 1
16627 @endif isl
16629 .PHONY: maybe-html-isl html-isl
16630 maybe-html-isl:
16631 @if isl
16632 maybe-html-isl: html-isl
16634 html-isl: \
16635 configure-isl
16636 @[ -f ./isl/Makefile ] || exit 0; \
16637 r=`${PWD_COMMAND}`; export r; \
16638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16639 $(HOST_EXPORTS) \
16640 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16642 done; \
16643 echo "Doing html in isl"; \
16644 (cd $(HOST_SUBDIR)/isl && \
16645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16647 "RANLIB=$${RANLIB}" \
16648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16649 html) \
16650 || exit 1
16652 @endif isl
16654 .PHONY: maybe-TAGS-isl TAGS-isl
16655 maybe-TAGS-isl:
16656 @if isl
16657 maybe-TAGS-isl: TAGS-isl
16659 TAGS-isl: \
16660 configure-isl
16661 @[ -f ./isl/Makefile ] || exit 0; \
16662 r=`${PWD_COMMAND}`; export r; \
16663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16664 $(HOST_EXPORTS) \
16665 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16667 done; \
16668 echo "Doing TAGS in isl"; \
16669 (cd $(HOST_SUBDIR)/isl && \
16670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16672 "RANLIB=$${RANLIB}" \
16673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16674 TAGS) \
16675 || exit 1
16677 @endif isl
16679 .PHONY: maybe-install-info-isl install-info-isl
16680 maybe-install-info-isl:
16681 @if isl
16682 maybe-install-info-isl: install-info-isl
16684 install-info-isl: \
16685 configure-isl \
16686 info-isl
16687 @[ -f ./isl/Makefile ] || exit 0; \
16688 r=`${PWD_COMMAND}`; export r; \
16689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16690 $(HOST_EXPORTS) \
16691 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16693 done; \
16694 echo "Doing install-info in isl"; \
16695 (cd $(HOST_SUBDIR)/isl && \
16696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16698 "RANLIB=$${RANLIB}" \
16699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16700 install-info) \
16701 || exit 1
16703 @endif isl
16705 .PHONY: maybe-install-pdf-isl install-pdf-isl
16706 maybe-install-pdf-isl:
16707 @if isl
16708 maybe-install-pdf-isl: install-pdf-isl
16710 install-pdf-isl: \
16711 configure-isl \
16712 pdf-isl
16713 @[ -f ./isl/Makefile ] || exit 0; \
16714 r=`${PWD_COMMAND}`; export r; \
16715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16716 $(HOST_EXPORTS) \
16717 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16719 done; \
16720 echo "Doing install-pdf in isl"; \
16721 (cd $(HOST_SUBDIR)/isl && \
16722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16724 "RANLIB=$${RANLIB}" \
16725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16726 install-pdf) \
16727 || exit 1
16729 @endif isl
16731 .PHONY: maybe-install-html-isl install-html-isl
16732 maybe-install-html-isl:
16733 @if isl
16734 maybe-install-html-isl: install-html-isl
16736 install-html-isl: \
16737 configure-isl \
16738 html-isl
16739 @[ -f ./isl/Makefile ] || exit 0; \
16740 r=`${PWD_COMMAND}`; export r; \
16741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16742 $(HOST_EXPORTS) \
16743 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16745 done; \
16746 echo "Doing install-html in isl"; \
16747 (cd $(HOST_SUBDIR)/isl && \
16748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16750 "RANLIB=$${RANLIB}" \
16751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16752 install-html) \
16753 || exit 1
16755 @endif isl
16757 .PHONY: maybe-installcheck-isl installcheck-isl
16758 maybe-installcheck-isl:
16759 @if isl
16760 maybe-installcheck-isl: installcheck-isl
16762 installcheck-isl: \
16763 configure-isl
16764 @[ -f ./isl/Makefile ] || exit 0; \
16765 r=`${PWD_COMMAND}`; export r; \
16766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16767 $(HOST_EXPORTS) \
16768 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16770 done; \
16771 echo "Doing installcheck in isl"; \
16772 (cd $(HOST_SUBDIR)/isl && \
16773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16775 "RANLIB=$${RANLIB}" \
16776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16777 installcheck) \
16778 || exit 1
16780 @endif isl
16782 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
16783 maybe-mostlyclean-isl:
16784 @if isl
16785 maybe-mostlyclean-isl: mostlyclean-isl
16787 mostlyclean-isl:
16788 @[ -f ./isl/Makefile ] || exit 0; \
16789 r=`${PWD_COMMAND}`; export r; \
16790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16791 $(HOST_EXPORTS) \
16792 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16794 done; \
16795 echo "Doing mostlyclean in isl"; \
16796 (cd $(HOST_SUBDIR)/isl && \
16797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16799 "RANLIB=$${RANLIB}" \
16800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16801 mostlyclean) \
16802 || exit 1
16804 @endif isl
16806 .PHONY: maybe-clean-isl clean-isl
16807 maybe-clean-isl:
16808 @if isl
16809 maybe-clean-isl: clean-isl
16811 clean-isl:
16812 @[ -f ./isl/Makefile ] || exit 0; \
16813 r=`${PWD_COMMAND}`; export r; \
16814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16815 $(HOST_EXPORTS) \
16816 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16818 done; \
16819 echo "Doing clean in isl"; \
16820 (cd $(HOST_SUBDIR)/isl && \
16821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16823 "RANLIB=$${RANLIB}" \
16824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16825 clean) \
16826 || exit 1
16828 @endif isl
16830 .PHONY: maybe-distclean-isl distclean-isl
16831 maybe-distclean-isl:
16832 @if isl
16833 maybe-distclean-isl: distclean-isl
16835 distclean-isl:
16836 @[ -f ./isl/Makefile ] || exit 0; \
16837 r=`${PWD_COMMAND}`; export r; \
16838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16839 $(HOST_EXPORTS) \
16840 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16842 done; \
16843 echo "Doing distclean in isl"; \
16844 (cd $(HOST_SUBDIR)/isl && \
16845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16847 "RANLIB=$${RANLIB}" \
16848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16849 distclean) \
16850 || exit 1
16852 @endif isl
16854 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
16855 maybe-maintainer-clean-isl:
16856 @if isl
16857 maybe-maintainer-clean-isl: maintainer-clean-isl
16859 maintainer-clean-isl:
16860 @[ -f ./isl/Makefile ] || exit 0; \
16861 r=`${PWD_COMMAND}`; export r; \
16862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16863 $(HOST_EXPORTS) \
16864 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
16865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16866 done; \
16867 echo "Doing maintainer-clean in isl"; \
16868 (cd $(HOST_SUBDIR)/isl && \
16869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16871 "RANLIB=$${RANLIB}" \
16872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16873 maintainer-clean) \
16874 || exit 1
16876 @endif isl
16880 .PHONY: configure-libelf maybe-configure-libelf
16881 maybe-configure-libelf:
16882 @if gcc-bootstrap
16883 configure-libelf: stage_current
16884 @endif gcc-bootstrap
16885 @if libelf
16886 maybe-configure-libelf: configure-libelf
16887 configure-libelf:
16888 @r=`${PWD_COMMAND}`; export r; \
16889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16890 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16892 $(HOST_EXPORTS) \
16893 echo Configuring in $(HOST_SUBDIR)/libelf; \
16894 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
16895 case $(srcdir) in \
16896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16897 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16899 esac; \
16900 module_srcdir=libelf; \
16901 $(SHELL) \
16902 $$s/$$module_srcdir/configure \
16903 --srcdir=$${topdir}/$$module_srcdir \
16904 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16905 --target=${target_alias} --disable-shared \
16906 || exit 1
16907 @endif libelf
16911 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
16912 maybe-configure-stage1-libelf:
16913 @if libelf-bootstrap
16914 maybe-configure-stage1-libelf: configure-stage1-libelf
16915 configure-stage1-libelf:
16916 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16917 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16918 @r=`${PWD_COMMAND}`; export r; \
16919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16920 TFLAGS="$(STAGE1_TFLAGS)"; \
16921 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16922 $(HOST_EXPORTS) \
16923 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16924 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16925 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16926 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
16927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16928 cd $(HOST_SUBDIR)/libelf || exit 1; \
16929 case $(srcdir) in \
16930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16931 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16933 esac; \
16934 module_srcdir=libelf; \
16935 $(SHELL) $$s/$$module_srcdir/configure \
16936 --srcdir=$${topdir}/$$module_srcdir \
16937 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16938 --target=${target_alias} \
16940 $(STAGE1_CONFIGURE_FLAGS) \
16941 --disable-shared
16942 @endif libelf-bootstrap
16944 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
16945 maybe-configure-stage2-libelf:
16946 @if libelf-bootstrap
16947 maybe-configure-stage2-libelf: configure-stage2-libelf
16948 configure-stage2-libelf:
16949 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16950 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16951 @r=`${PWD_COMMAND}`; export r; \
16952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16953 TFLAGS="$(STAGE2_TFLAGS)"; \
16954 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16955 $(HOST_EXPORTS) \
16956 $(POSTSTAGE1_HOST_EXPORTS) \
16957 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16958 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16959 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16960 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
16961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16962 cd $(HOST_SUBDIR)/libelf || exit 1; \
16963 case $(srcdir) in \
16964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16965 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
16966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16967 esac; \
16968 module_srcdir=libelf; \
16969 $(SHELL) $$s/$$module_srcdir/configure \
16970 --srcdir=$${topdir}/$$module_srcdir \
16971 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16972 --target=${target_alias} \
16973 --with-build-libsubdir=$(HOST_SUBDIR) \
16974 $(STAGE2_CONFIGURE_FLAGS) \
16975 --disable-shared
16976 @endif libelf-bootstrap
16978 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
16979 maybe-configure-stage3-libelf:
16980 @if libelf-bootstrap
16981 maybe-configure-stage3-libelf: configure-stage3-libelf
16982 configure-stage3-libelf:
16983 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
16985 @r=`${PWD_COMMAND}`; export r; \
16986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16987 TFLAGS="$(STAGE3_TFLAGS)"; \
16988 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
16989 $(HOST_EXPORTS) \
16990 $(POSTSTAGE1_HOST_EXPORTS) \
16991 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16992 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16993 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16994 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
16995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
16996 cd $(HOST_SUBDIR)/libelf || exit 1; \
16997 case $(srcdir) in \
16998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16999 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17001 esac; \
17002 module_srcdir=libelf; \
17003 $(SHELL) $$s/$$module_srcdir/configure \
17004 --srcdir=$${topdir}/$$module_srcdir \
17005 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17006 --target=${target_alias} \
17007 --with-build-libsubdir=$(HOST_SUBDIR) \
17008 $(STAGE3_CONFIGURE_FLAGS) \
17009 --disable-shared
17010 @endif libelf-bootstrap
17012 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
17013 maybe-configure-stage4-libelf:
17014 @if libelf-bootstrap
17015 maybe-configure-stage4-libelf: configure-stage4-libelf
17016 configure-stage4-libelf:
17017 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17019 @r=`${PWD_COMMAND}`; export r; \
17020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17021 TFLAGS="$(STAGE4_TFLAGS)"; \
17022 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17023 $(HOST_EXPORTS) \
17024 $(POSTSTAGE1_HOST_EXPORTS) \
17025 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17026 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17027 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17028 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
17029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17030 cd $(HOST_SUBDIR)/libelf || exit 1; \
17031 case $(srcdir) in \
17032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17033 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17035 esac; \
17036 module_srcdir=libelf; \
17037 $(SHELL) $$s/$$module_srcdir/configure \
17038 --srcdir=$${topdir}/$$module_srcdir \
17039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17040 --target=${target_alias} \
17041 --with-build-libsubdir=$(HOST_SUBDIR) \
17042 $(STAGE4_CONFIGURE_FLAGS) \
17043 --disable-shared
17044 @endif libelf-bootstrap
17046 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
17047 maybe-configure-stageprofile-libelf:
17048 @if libelf-bootstrap
17049 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
17050 configure-stageprofile-libelf:
17051 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17052 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17053 @r=`${PWD_COMMAND}`; export r; \
17054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17055 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17056 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17057 $(HOST_EXPORTS) \
17058 $(POSTSTAGE1_HOST_EXPORTS) \
17059 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17060 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17061 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17062 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
17063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17064 cd $(HOST_SUBDIR)/libelf || exit 1; \
17065 case $(srcdir) in \
17066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17067 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17069 esac; \
17070 module_srcdir=libelf; \
17071 $(SHELL) $$s/$$module_srcdir/configure \
17072 --srcdir=$${topdir}/$$module_srcdir \
17073 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17074 --target=${target_alias} \
17075 --with-build-libsubdir=$(HOST_SUBDIR) \
17076 $(STAGEprofile_CONFIGURE_FLAGS) \
17077 --disable-shared
17078 @endif libelf-bootstrap
17080 .PHONY: configure-stagetrain-libelf maybe-configure-stagetrain-libelf
17081 maybe-configure-stagetrain-libelf:
17082 @if libelf-bootstrap
17083 maybe-configure-stagetrain-libelf: configure-stagetrain-libelf
17084 configure-stagetrain-libelf:
17085 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17086 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17087 @r=`${PWD_COMMAND}`; export r; \
17088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17089 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17090 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17091 $(HOST_EXPORTS) \
17092 $(POSTSTAGE1_HOST_EXPORTS) \
17093 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
17094 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
17095 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
17096 echo Configuring stage train in $(HOST_SUBDIR)/libelf; \
17097 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17098 cd $(HOST_SUBDIR)/libelf || exit 1; \
17099 case $(srcdir) in \
17100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17101 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17103 esac; \
17104 module_srcdir=libelf; \
17105 $(SHELL) $$s/$$module_srcdir/configure \
17106 --srcdir=$${topdir}/$$module_srcdir \
17107 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17108 --target=${target_alias} \
17109 --with-build-libsubdir=$(HOST_SUBDIR) \
17110 $(STAGEtrain_CONFIGURE_FLAGS) \
17111 --disable-shared
17112 @endif libelf-bootstrap
17114 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
17115 maybe-configure-stagefeedback-libelf:
17116 @if libelf-bootstrap
17117 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
17118 configure-stagefeedback-libelf:
17119 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17120 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17121 @r=`${PWD_COMMAND}`; export r; \
17122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17123 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17124 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17125 $(HOST_EXPORTS) \
17126 $(POSTSTAGE1_HOST_EXPORTS) \
17127 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17128 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17129 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17130 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
17131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17132 cd $(HOST_SUBDIR)/libelf || exit 1; \
17133 case $(srcdir) in \
17134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17135 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17137 esac; \
17138 module_srcdir=libelf; \
17139 $(SHELL) $$s/$$module_srcdir/configure \
17140 --srcdir=$${topdir}/$$module_srcdir \
17141 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17142 --target=${target_alias} \
17143 --with-build-libsubdir=$(HOST_SUBDIR) \
17144 $(STAGEfeedback_CONFIGURE_FLAGS) \
17145 --disable-shared
17146 @endif libelf-bootstrap
17148 .PHONY: configure-stageautoprofile-libelf maybe-configure-stageautoprofile-libelf
17149 maybe-configure-stageautoprofile-libelf:
17150 @if libelf-bootstrap
17151 maybe-configure-stageautoprofile-libelf: configure-stageautoprofile-libelf
17152 configure-stageautoprofile-libelf:
17153 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17154 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17155 @r=`${PWD_COMMAND}`; export r; \
17156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17157 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17158 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17159 $(HOST_EXPORTS) \
17160 $(POSTSTAGE1_HOST_EXPORTS) \
17161 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17162 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17163 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17164 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libelf; \
17165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17166 cd $(HOST_SUBDIR)/libelf || exit 1; \
17167 case $(srcdir) in \
17168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17169 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17171 esac; \
17172 module_srcdir=libelf; \
17173 $(SHELL) $$s/$$module_srcdir/configure \
17174 --srcdir=$${topdir}/$$module_srcdir \
17175 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17176 --target=${target_alias} \
17177 --with-build-libsubdir=$(HOST_SUBDIR) \
17178 $(STAGEautoprofile_CONFIGURE_FLAGS) \
17179 --disable-shared
17180 @endif libelf-bootstrap
17182 .PHONY: configure-stageautofeedback-libelf maybe-configure-stageautofeedback-libelf
17183 maybe-configure-stageautofeedback-libelf:
17184 @if libelf-bootstrap
17185 maybe-configure-stageautofeedback-libelf: configure-stageautofeedback-libelf
17186 configure-stageautofeedback-libelf:
17187 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17188 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17189 @r=`${PWD_COMMAND}`; export r; \
17190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17191 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17192 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17193 $(HOST_EXPORTS) \
17194 $(POSTSTAGE1_HOST_EXPORTS) \
17195 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
17196 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
17197 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
17198 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libelf; \
17199 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17200 cd $(HOST_SUBDIR)/libelf || exit 1; \
17201 case $(srcdir) in \
17202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17203 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17205 esac; \
17206 module_srcdir=libelf; \
17207 $(SHELL) $$s/$$module_srcdir/configure \
17208 --srcdir=$${topdir}/$$module_srcdir \
17209 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17210 --target=${target_alias} \
17211 --with-build-libsubdir=$(HOST_SUBDIR) \
17212 $(STAGEautofeedback_CONFIGURE_FLAGS) \
17213 --disable-shared
17214 @endif libelf-bootstrap
17220 .PHONY: all-libelf maybe-all-libelf
17221 maybe-all-libelf:
17222 @if gcc-bootstrap
17223 all-libelf: stage_current
17224 @endif gcc-bootstrap
17225 @if libelf
17226 TARGET-libelf=all
17227 maybe-all-libelf: all-libelf
17228 all-libelf: configure-libelf
17229 @r=`${PWD_COMMAND}`; export r; \
17230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17231 $(HOST_EXPORTS) \
17232 (cd $(HOST_SUBDIR)/libelf && \
17233 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17234 $(TARGET-libelf))
17235 @endif libelf
17239 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
17240 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
17241 maybe-all-stage1-libelf:
17242 maybe-clean-stage1-libelf:
17243 @if libelf-bootstrap
17244 maybe-all-stage1-libelf: all-stage1-libelf
17245 all-stage1: all-stage1-libelf
17246 TARGET-stage1-libelf = $(TARGET-libelf)
17247 all-stage1-libelf: configure-stage1-libelf
17248 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17249 @r=`${PWD_COMMAND}`; export r; \
17250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17251 TFLAGS="$(STAGE1_TFLAGS)"; \
17252 $(HOST_EXPORTS) \
17253 cd $(HOST_SUBDIR)/libelf && \
17255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17256 CFLAGS="$(STAGE1_CFLAGS)" \
17257 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17258 LIBCFLAGS="$(LIBCFLAGS)" \
17259 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17260 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17261 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17262 $(EXTRA_HOST_FLAGS) \
17263 $(STAGE1_FLAGS_TO_PASS) \
17264 TFLAGS="$(STAGE1_TFLAGS)" \
17265 $(TARGET-stage1-libelf)
17267 maybe-clean-stage1-libelf: clean-stage1-libelf
17268 clean-stage1: clean-stage1-libelf
17269 clean-stage1-libelf:
17270 @if [ $(current_stage) = stage1 ]; then \
17271 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17272 else \
17273 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
17274 $(MAKE) stage1-start; \
17275 fi; \
17276 cd $(HOST_SUBDIR)/libelf && \
17277 $(MAKE) $(EXTRA_HOST_FLAGS) \
17278 $(STAGE1_FLAGS_TO_PASS) clean
17279 @endif libelf-bootstrap
17282 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
17283 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
17284 maybe-all-stage2-libelf:
17285 maybe-clean-stage2-libelf:
17286 @if libelf-bootstrap
17287 maybe-all-stage2-libelf: all-stage2-libelf
17288 all-stage2: all-stage2-libelf
17289 TARGET-stage2-libelf = $(TARGET-libelf)
17290 all-stage2-libelf: configure-stage2-libelf
17291 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17292 @r=`${PWD_COMMAND}`; export r; \
17293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17294 TFLAGS="$(STAGE2_TFLAGS)"; \
17295 $(HOST_EXPORTS) \
17296 $(POSTSTAGE1_HOST_EXPORTS) \
17297 cd $(HOST_SUBDIR)/libelf && \
17299 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17300 CFLAGS="$(STAGE2_CFLAGS)" \
17301 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17302 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17303 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17304 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17305 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17306 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17307 TFLAGS="$(STAGE2_TFLAGS)" \
17308 $(TARGET-stage2-libelf)
17310 maybe-clean-stage2-libelf: clean-stage2-libelf
17311 clean-stage2: clean-stage2-libelf
17312 clean-stage2-libelf:
17313 @if [ $(current_stage) = stage2 ]; then \
17314 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17315 else \
17316 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
17317 $(MAKE) stage2-start; \
17318 fi; \
17319 cd $(HOST_SUBDIR)/libelf && \
17320 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17321 @endif libelf-bootstrap
17324 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
17325 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
17326 maybe-all-stage3-libelf:
17327 maybe-clean-stage3-libelf:
17328 @if libelf-bootstrap
17329 maybe-all-stage3-libelf: all-stage3-libelf
17330 all-stage3: all-stage3-libelf
17331 TARGET-stage3-libelf = $(TARGET-libelf)
17332 all-stage3-libelf: configure-stage3-libelf
17333 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17334 @r=`${PWD_COMMAND}`; export r; \
17335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17336 TFLAGS="$(STAGE3_TFLAGS)"; \
17337 $(HOST_EXPORTS) \
17338 $(POSTSTAGE1_HOST_EXPORTS) \
17339 cd $(HOST_SUBDIR)/libelf && \
17341 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17342 CFLAGS="$(STAGE3_CFLAGS)" \
17343 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17344 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17345 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17346 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17347 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17348 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17349 TFLAGS="$(STAGE3_TFLAGS)" \
17350 $(TARGET-stage3-libelf)
17352 maybe-clean-stage3-libelf: clean-stage3-libelf
17353 clean-stage3: clean-stage3-libelf
17354 clean-stage3-libelf:
17355 @if [ $(current_stage) = stage3 ]; then \
17356 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17357 else \
17358 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
17359 $(MAKE) stage3-start; \
17360 fi; \
17361 cd $(HOST_SUBDIR)/libelf && \
17362 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17363 @endif libelf-bootstrap
17366 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
17367 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
17368 maybe-all-stage4-libelf:
17369 maybe-clean-stage4-libelf:
17370 @if libelf-bootstrap
17371 maybe-all-stage4-libelf: all-stage4-libelf
17372 all-stage4: all-stage4-libelf
17373 TARGET-stage4-libelf = $(TARGET-libelf)
17374 all-stage4-libelf: configure-stage4-libelf
17375 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17376 @r=`${PWD_COMMAND}`; export r; \
17377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17378 TFLAGS="$(STAGE4_TFLAGS)"; \
17379 $(HOST_EXPORTS) \
17380 $(POSTSTAGE1_HOST_EXPORTS) \
17381 cd $(HOST_SUBDIR)/libelf && \
17383 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17384 CFLAGS="$(STAGE4_CFLAGS)" \
17385 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17386 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17387 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17388 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17389 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17390 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17391 TFLAGS="$(STAGE4_TFLAGS)" \
17392 $(TARGET-stage4-libelf)
17394 maybe-clean-stage4-libelf: clean-stage4-libelf
17395 clean-stage4: clean-stage4-libelf
17396 clean-stage4-libelf:
17397 @if [ $(current_stage) = stage4 ]; then \
17398 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17399 else \
17400 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
17401 $(MAKE) stage4-start; \
17402 fi; \
17403 cd $(HOST_SUBDIR)/libelf && \
17404 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17405 @endif libelf-bootstrap
17408 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
17409 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
17410 maybe-all-stageprofile-libelf:
17411 maybe-clean-stageprofile-libelf:
17412 @if libelf-bootstrap
17413 maybe-all-stageprofile-libelf: all-stageprofile-libelf
17414 all-stageprofile: all-stageprofile-libelf
17415 TARGET-stageprofile-libelf = $(TARGET-libelf)
17416 all-stageprofile-libelf: configure-stageprofile-libelf
17417 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17418 @r=`${PWD_COMMAND}`; export r; \
17419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17420 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17421 $(HOST_EXPORTS) \
17422 $(POSTSTAGE1_HOST_EXPORTS) \
17423 cd $(HOST_SUBDIR)/libelf && \
17425 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17426 CFLAGS="$(STAGEprofile_CFLAGS)" \
17427 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17428 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17429 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17430 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17431 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17432 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17433 TFLAGS="$(STAGEprofile_TFLAGS)" \
17434 $(TARGET-stageprofile-libelf)
17436 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
17437 clean-stageprofile: clean-stageprofile-libelf
17438 clean-stageprofile-libelf:
17439 @if [ $(current_stage) = stageprofile ]; then \
17440 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17441 else \
17442 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
17443 $(MAKE) stageprofile-start; \
17444 fi; \
17445 cd $(HOST_SUBDIR)/libelf && \
17446 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17447 @endif libelf-bootstrap
17450 .PHONY: all-stagetrain-libelf maybe-all-stagetrain-libelf
17451 .PHONY: clean-stagetrain-libelf maybe-clean-stagetrain-libelf
17452 maybe-all-stagetrain-libelf:
17453 maybe-clean-stagetrain-libelf:
17454 @if libelf-bootstrap
17455 maybe-all-stagetrain-libelf: all-stagetrain-libelf
17456 all-stagetrain: all-stagetrain-libelf
17457 TARGET-stagetrain-libelf = $(TARGET-libelf)
17458 all-stagetrain-libelf: configure-stagetrain-libelf
17459 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17460 @r=`${PWD_COMMAND}`; export r; \
17461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17462 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17463 $(HOST_EXPORTS) \
17464 $(POSTSTAGE1_HOST_EXPORTS) \
17465 cd $(HOST_SUBDIR)/libelf && \
17467 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17468 CFLAGS="$(STAGEtrain_CFLAGS)" \
17469 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
17470 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
17471 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17472 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17473 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17474 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17475 TFLAGS="$(STAGEtrain_TFLAGS)" \
17476 $(TARGET-stagetrain-libelf)
17478 maybe-clean-stagetrain-libelf: clean-stagetrain-libelf
17479 clean-stagetrain: clean-stagetrain-libelf
17480 clean-stagetrain-libelf:
17481 @if [ $(current_stage) = stagetrain ]; then \
17482 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17483 else \
17484 [ -f $(HOST_SUBDIR)/stagetrain-libelf/Makefile ] || exit 0; \
17485 $(MAKE) stagetrain-start; \
17486 fi; \
17487 cd $(HOST_SUBDIR)/libelf && \
17488 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17489 @endif libelf-bootstrap
17492 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
17493 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
17494 maybe-all-stagefeedback-libelf:
17495 maybe-clean-stagefeedback-libelf:
17496 @if libelf-bootstrap
17497 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
17498 all-stagefeedback: all-stagefeedback-libelf
17499 TARGET-stagefeedback-libelf = $(TARGET-libelf)
17500 all-stagefeedback-libelf: configure-stagefeedback-libelf
17501 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17502 @r=`${PWD_COMMAND}`; export r; \
17503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17504 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17505 $(HOST_EXPORTS) \
17506 $(POSTSTAGE1_HOST_EXPORTS) \
17507 cd $(HOST_SUBDIR)/libelf && \
17509 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17510 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17511 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17512 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17513 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17514 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17515 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17516 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17517 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17518 $(TARGET-stagefeedback-libelf)
17520 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
17521 clean-stagefeedback: clean-stagefeedback-libelf
17522 clean-stagefeedback-libelf:
17523 @if [ $(current_stage) = stagefeedback ]; then \
17524 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17525 else \
17526 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
17527 $(MAKE) stagefeedback-start; \
17528 fi; \
17529 cd $(HOST_SUBDIR)/libelf && \
17530 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17531 @endif libelf-bootstrap
17534 .PHONY: all-stageautoprofile-libelf maybe-all-stageautoprofile-libelf
17535 .PHONY: clean-stageautoprofile-libelf maybe-clean-stageautoprofile-libelf
17536 maybe-all-stageautoprofile-libelf:
17537 maybe-clean-stageautoprofile-libelf:
17538 @if libelf-bootstrap
17539 maybe-all-stageautoprofile-libelf: all-stageautoprofile-libelf
17540 all-stageautoprofile: all-stageautoprofile-libelf
17541 TARGET-stageautoprofile-libelf = $(TARGET-libelf)
17542 all-stageautoprofile-libelf: configure-stageautoprofile-libelf
17543 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17544 @r=`${PWD_COMMAND}`; export r; \
17545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17546 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17547 $(HOST_EXPORTS) \
17548 $(POSTSTAGE1_HOST_EXPORTS) \
17549 cd $(HOST_SUBDIR)/libelf && \
17550 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17551 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17552 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17553 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17554 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17555 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17556 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17557 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17558 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17559 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17560 $(TARGET-stageautoprofile-libelf)
17562 maybe-clean-stageautoprofile-libelf: clean-stageautoprofile-libelf
17563 clean-stageautoprofile: clean-stageautoprofile-libelf
17564 clean-stageautoprofile-libelf:
17565 @if [ $(current_stage) = stageautoprofile ]; then \
17566 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17567 else \
17568 [ -f $(HOST_SUBDIR)/stageautoprofile-libelf/Makefile ] || exit 0; \
17569 $(MAKE) stageautoprofile-start; \
17570 fi; \
17571 cd $(HOST_SUBDIR)/libelf && \
17572 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17573 @endif libelf-bootstrap
17576 .PHONY: all-stageautofeedback-libelf maybe-all-stageautofeedback-libelf
17577 .PHONY: clean-stageautofeedback-libelf maybe-clean-stageautofeedback-libelf
17578 maybe-all-stageautofeedback-libelf:
17579 maybe-clean-stageautofeedback-libelf:
17580 @if libelf-bootstrap
17581 maybe-all-stageautofeedback-libelf: all-stageautofeedback-libelf
17582 all-stageautofeedback: all-stageautofeedback-libelf
17583 TARGET-stageautofeedback-libelf = $(TARGET-libelf)
17584 all-stageautofeedback-libelf: configure-stageautofeedback-libelf
17585 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17586 @r=`${PWD_COMMAND}`; export r; \
17587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17588 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17589 $(HOST_EXPORTS) \
17590 $(POSTSTAGE1_HOST_EXPORTS) \
17591 cd $(HOST_SUBDIR)/libelf && \
17593 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17594 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17595 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17596 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17597 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17598 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17599 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17600 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17601 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17602 $(TARGET-stageautofeedback-libelf)
17604 maybe-clean-stageautofeedback-libelf: clean-stageautofeedback-libelf
17605 clean-stageautofeedback: clean-stageautofeedback-libelf
17606 clean-stageautofeedback-libelf:
17607 @if [ $(current_stage) = stageautofeedback ]; then \
17608 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
17609 else \
17610 [ -f $(HOST_SUBDIR)/stageautofeedback-libelf/Makefile ] || exit 0; \
17611 $(MAKE) stageautofeedback-start; \
17612 fi; \
17613 cd $(HOST_SUBDIR)/libelf && \
17614 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17615 @endif libelf-bootstrap
17621 .PHONY: check-libelf maybe-check-libelf
17622 maybe-check-libelf:
17623 @if libelf
17624 maybe-check-libelf: check-libelf
17626 check-libelf:
17627 @: $(MAKE); $(unstage)
17628 @r=`${PWD_COMMAND}`; export r; \
17629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17630 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17631 (cd $(HOST_SUBDIR)/libelf && \
17632 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
17634 @endif libelf
17636 .PHONY: install-libelf maybe-install-libelf
17637 maybe-install-libelf:
17638 @if libelf
17639 maybe-install-libelf: install-libelf
17641 install-libelf:
17643 @endif libelf
17645 .PHONY: install-strip-libelf maybe-install-strip-libelf
17646 maybe-install-strip-libelf:
17647 @if libelf
17648 maybe-install-strip-libelf: install-strip-libelf
17650 install-strip-libelf:
17652 @endif libelf
17654 # Other targets (info, dvi, pdf, etc.)
17656 .PHONY: maybe-info-libelf info-libelf
17657 maybe-info-libelf:
17658 @if libelf
17659 maybe-info-libelf: info-libelf
17661 info-libelf: \
17662 configure-libelf
17663 @[ -f ./libelf/Makefile ] || exit 0; \
17664 r=`${PWD_COMMAND}`; export r; \
17665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17666 $(HOST_EXPORTS) \
17667 for flag in $(EXTRA_HOST_FLAGS) ; do \
17668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17669 done; \
17670 echo "Doing info in libelf"; \
17671 (cd $(HOST_SUBDIR)/libelf && \
17672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17674 "RANLIB=$${RANLIB}" \
17675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17676 info) \
17677 || exit 1
17679 @endif libelf
17681 .PHONY: maybe-dvi-libelf dvi-libelf
17682 maybe-dvi-libelf:
17683 @if libelf
17684 maybe-dvi-libelf: dvi-libelf
17686 dvi-libelf: \
17687 configure-libelf
17688 @[ -f ./libelf/Makefile ] || exit 0; \
17689 r=`${PWD_COMMAND}`; export r; \
17690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17691 $(HOST_EXPORTS) \
17692 for flag in $(EXTRA_HOST_FLAGS) ; do \
17693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17694 done; \
17695 echo "Doing dvi in libelf"; \
17696 (cd $(HOST_SUBDIR)/libelf && \
17697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17699 "RANLIB=$${RANLIB}" \
17700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17701 dvi) \
17702 || exit 1
17704 @endif libelf
17706 .PHONY: maybe-pdf-libelf pdf-libelf
17707 maybe-pdf-libelf:
17708 @if libelf
17709 maybe-pdf-libelf: pdf-libelf
17711 pdf-libelf: \
17712 configure-libelf
17713 @[ -f ./libelf/Makefile ] || exit 0; \
17714 r=`${PWD_COMMAND}`; export r; \
17715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17716 $(HOST_EXPORTS) \
17717 for flag in $(EXTRA_HOST_FLAGS) ; do \
17718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17719 done; \
17720 echo "Doing pdf in libelf"; \
17721 (cd $(HOST_SUBDIR)/libelf && \
17722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17724 "RANLIB=$${RANLIB}" \
17725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17726 pdf) \
17727 || exit 1
17729 @endif libelf
17731 .PHONY: maybe-html-libelf html-libelf
17732 maybe-html-libelf:
17733 @if libelf
17734 maybe-html-libelf: html-libelf
17736 html-libelf: \
17737 configure-libelf
17738 @[ -f ./libelf/Makefile ] || exit 0; \
17739 r=`${PWD_COMMAND}`; export r; \
17740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17741 $(HOST_EXPORTS) \
17742 for flag in $(EXTRA_HOST_FLAGS) ; do \
17743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17744 done; \
17745 echo "Doing html in libelf"; \
17746 (cd $(HOST_SUBDIR)/libelf && \
17747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17749 "RANLIB=$${RANLIB}" \
17750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17751 html) \
17752 || exit 1
17754 @endif libelf
17756 .PHONY: maybe-TAGS-libelf TAGS-libelf
17757 maybe-TAGS-libelf:
17758 @if libelf
17759 maybe-TAGS-libelf: TAGS-libelf
17761 TAGS-libelf: \
17762 configure-libelf
17763 @[ -f ./libelf/Makefile ] || exit 0; \
17764 r=`${PWD_COMMAND}`; export r; \
17765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17766 $(HOST_EXPORTS) \
17767 for flag in $(EXTRA_HOST_FLAGS) ; do \
17768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17769 done; \
17770 echo "Doing TAGS in libelf"; \
17771 (cd $(HOST_SUBDIR)/libelf && \
17772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17774 "RANLIB=$${RANLIB}" \
17775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17776 TAGS) \
17777 || exit 1
17779 @endif libelf
17781 .PHONY: maybe-install-info-libelf install-info-libelf
17782 maybe-install-info-libelf:
17783 @if libelf
17784 maybe-install-info-libelf: install-info-libelf
17786 install-info-libelf: \
17787 configure-libelf \
17788 info-libelf
17789 @[ -f ./libelf/Makefile ] || exit 0; \
17790 r=`${PWD_COMMAND}`; export r; \
17791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17792 $(HOST_EXPORTS) \
17793 for flag in $(EXTRA_HOST_FLAGS) ; do \
17794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17795 done; \
17796 echo "Doing install-info in libelf"; \
17797 (cd $(HOST_SUBDIR)/libelf && \
17798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17800 "RANLIB=$${RANLIB}" \
17801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17802 install-info) \
17803 || exit 1
17805 @endif libelf
17807 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
17808 maybe-install-pdf-libelf:
17809 @if libelf
17810 maybe-install-pdf-libelf: install-pdf-libelf
17812 install-pdf-libelf: \
17813 configure-libelf \
17814 pdf-libelf
17815 @[ -f ./libelf/Makefile ] || exit 0; \
17816 r=`${PWD_COMMAND}`; export r; \
17817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17818 $(HOST_EXPORTS) \
17819 for flag in $(EXTRA_HOST_FLAGS) ; do \
17820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17821 done; \
17822 echo "Doing install-pdf in libelf"; \
17823 (cd $(HOST_SUBDIR)/libelf && \
17824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17826 "RANLIB=$${RANLIB}" \
17827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17828 install-pdf) \
17829 || exit 1
17831 @endif libelf
17833 .PHONY: maybe-install-html-libelf install-html-libelf
17834 maybe-install-html-libelf:
17835 @if libelf
17836 maybe-install-html-libelf: install-html-libelf
17838 install-html-libelf: \
17839 configure-libelf \
17840 html-libelf
17841 @[ -f ./libelf/Makefile ] || exit 0; \
17842 r=`${PWD_COMMAND}`; export r; \
17843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17844 $(HOST_EXPORTS) \
17845 for flag in $(EXTRA_HOST_FLAGS) ; do \
17846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17847 done; \
17848 echo "Doing install-html in libelf"; \
17849 (cd $(HOST_SUBDIR)/libelf && \
17850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17852 "RANLIB=$${RANLIB}" \
17853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17854 install-html) \
17855 || exit 1
17857 @endif libelf
17859 .PHONY: maybe-installcheck-libelf installcheck-libelf
17860 maybe-installcheck-libelf:
17861 @if libelf
17862 maybe-installcheck-libelf: installcheck-libelf
17864 installcheck-libelf: \
17865 configure-libelf
17866 @[ -f ./libelf/Makefile ] || exit 0; \
17867 r=`${PWD_COMMAND}`; export r; \
17868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17869 $(HOST_EXPORTS) \
17870 for flag in $(EXTRA_HOST_FLAGS) ; do \
17871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17872 done; \
17873 echo "Doing installcheck in libelf"; \
17874 (cd $(HOST_SUBDIR)/libelf && \
17875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17877 "RANLIB=$${RANLIB}" \
17878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17879 installcheck) \
17880 || exit 1
17882 @endif libelf
17884 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
17885 maybe-mostlyclean-libelf:
17886 @if libelf
17887 maybe-mostlyclean-libelf: mostlyclean-libelf
17889 mostlyclean-libelf:
17890 @[ -f ./libelf/Makefile ] || exit 0; \
17891 r=`${PWD_COMMAND}`; export r; \
17892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17893 $(HOST_EXPORTS) \
17894 for flag in $(EXTRA_HOST_FLAGS) ; do \
17895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17896 done; \
17897 echo "Doing mostlyclean in libelf"; \
17898 (cd $(HOST_SUBDIR)/libelf && \
17899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17901 "RANLIB=$${RANLIB}" \
17902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17903 mostlyclean) \
17904 || exit 1
17906 @endif libelf
17908 .PHONY: maybe-clean-libelf clean-libelf
17909 maybe-clean-libelf:
17910 @if libelf
17911 maybe-clean-libelf: clean-libelf
17913 clean-libelf:
17914 @[ -f ./libelf/Makefile ] || exit 0; \
17915 r=`${PWD_COMMAND}`; export r; \
17916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17917 $(HOST_EXPORTS) \
17918 for flag in $(EXTRA_HOST_FLAGS) ; do \
17919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17920 done; \
17921 echo "Doing clean in libelf"; \
17922 (cd $(HOST_SUBDIR)/libelf && \
17923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17925 "RANLIB=$${RANLIB}" \
17926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17927 clean) \
17928 || exit 1
17930 @endif libelf
17932 .PHONY: maybe-distclean-libelf distclean-libelf
17933 maybe-distclean-libelf:
17934 @if libelf
17935 maybe-distclean-libelf: distclean-libelf
17937 distclean-libelf:
17938 @[ -f ./libelf/Makefile ] || exit 0; \
17939 r=`${PWD_COMMAND}`; export r; \
17940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17941 $(HOST_EXPORTS) \
17942 for flag in $(EXTRA_HOST_FLAGS) ; do \
17943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17944 done; \
17945 echo "Doing distclean in libelf"; \
17946 (cd $(HOST_SUBDIR)/libelf && \
17947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17949 "RANLIB=$${RANLIB}" \
17950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17951 distclean) \
17952 || exit 1
17954 @endif libelf
17956 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
17957 maybe-maintainer-clean-libelf:
17958 @if libelf
17959 maybe-maintainer-clean-libelf: maintainer-clean-libelf
17961 maintainer-clean-libelf:
17962 @[ -f ./libelf/Makefile ] || exit 0; \
17963 r=`${PWD_COMMAND}`; export r; \
17964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17965 $(HOST_EXPORTS) \
17966 for flag in $(EXTRA_HOST_FLAGS) ; do \
17967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17968 done; \
17969 echo "Doing maintainer-clean in libelf"; \
17970 (cd $(HOST_SUBDIR)/libelf && \
17971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17973 "RANLIB=$${RANLIB}" \
17974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17975 maintainer-clean) \
17976 || exit 1
17978 @endif libelf
17982 .PHONY: configure-gold maybe-configure-gold
17983 maybe-configure-gold:
17984 @if gcc-bootstrap
17985 configure-gold: stage_current
17986 @endif gcc-bootstrap
17987 @if gold
17988 maybe-configure-gold: configure-gold
17989 configure-gold:
17990 @r=`${PWD_COMMAND}`; export r; \
17991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17992 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
17993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
17994 $(HOST_EXPORTS) \
17995 echo Configuring in $(HOST_SUBDIR)/gold; \
17996 cd "$(HOST_SUBDIR)/gold" || exit 1; \
17997 case $(srcdir) in \
17998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17999 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18001 esac; \
18002 module_srcdir=gold; \
18003 $(SHELL) \
18004 $$s/$$module_srcdir/configure \
18005 --srcdir=$${topdir}/$$module_srcdir \
18006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18007 --target=${target_alias} \
18008 || exit 1
18009 @endif gold
18013 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
18014 maybe-configure-stage1-gold:
18015 @if gold-bootstrap
18016 maybe-configure-stage1-gold: configure-stage1-gold
18017 configure-stage1-gold:
18018 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18019 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18020 @r=`${PWD_COMMAND}`; export r; \
18021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18022 TFLAGS="$(STAGE1_TFLAGS)"; \
18023 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18024 $(HOST_EXPORTS) \
18025 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18026 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18027 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18028 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
18029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18030 cd $(HOST_SUBDIR)/gold || exit 1; \
18031 case $(srcdir) in \
18032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18033 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18035 esac; \
18036 module_srcdir=gold; \
18037 $(SHELL) $$s/$$module_srcdir/configure \
18038 --srcdir=$${topdir}/$$module_srcdir \
18039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18040 --target=${target_alias} \
18042 $(STAGE1_CONFIGURE_FLAGS)
18043 @endif gold-bootstrap
18045 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
18046 maybe-configure-stage2-gold:
18047 @if gold-bootstrap
18048 maybe-configure-stage2-gold: configure-stage2-gold
18049 configure-stage2-gold:
18050 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18052 @r=`${PWD_COMMAND}`; export r; \
18053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18054 TFLAGS="$(STAGE2_TFLAGS)"; \
18055 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18056 $(HOST_EXPORTS) \
18057 $(POSTSTAGE1_HOST_EXPORTS) \
18058 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18059 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18060 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18061 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
18062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18063 cd $(HOST_SUBDIR)/gold || exit 1; \
18064 case $(srcdir) in \
18065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18066 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18068 esac; \
18069 module_srcdir=gold; \
18070 $(SHELL) $$s/$$module_srcdir/configure \
18071 --srcdir=$${topdir}/$$module_srcdir \
18072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18073 --target=${target_alias} \
18074 --with-build-libsubdir=$(HOST_SUBDIR) \
18075 $(STAGE2_CONFIGURE_FLAGS)
18076 @endif gold-bootstrap
18078 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
18079 maybe-configure-stage3-gold:
18080 @if gold-bootstrap
18081 maybe-configure-stage3-gold: configure-stage3-gold
18082 configure-stage3-gold:
18083 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18084 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18085 @r=`${PWD_COMMAND}`; export r; \
18086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18087 TFLAGS="$(STAGE3_TFLAGS)"; \
18088 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18089 $(HOST_EXPORTS) \
18090 $(POSTSTAGE1_HOST_EXPORTS) \
18091 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18092 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18093 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18094 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
18095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18096 cd $(HOST_SUBDIR)/gold || exit 1; \
18097 case $(srcdir) in \
18098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18099 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18101 esac; \
18102 module_srcdir=gold; \
18103 $(SHELL) $$s/$$module_srcdir/configure \
18104 --srcdir=$${topdir}/$$module_srcdir \
18105 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18106 --target=${target_alias} \
18107 --with-build-libsubdir=$(HOST_SUBDIR) \
18108 $(STAGE3_CONFIGURE_FLAGS)
18109 @endif gold-bootstrap
18111 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
18112 maybe-configure-stage4-gold:
18113 @if gold-bootstrap
18114 maybe-configure-stage4-gold: configure-stage4-gold
18115 configure-stage4-gold:
18116 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18117 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18118 @r=`${PWD_COMMAND}`; export r; \
18119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18120 TFLAGS="$(STAGE4_TFLAGS)"; \
18121 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18122 $(HOST_EXPORTS) \
18123 $(POSTSTAGE1_HOST_EXPORTS) \
18124 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18125 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18126 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18127 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
18128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18129 cd $(HOST_SUBDIR)/gold || exit 1; \
18130 case $(srcdir) in \
18131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18132 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18134 esac; \
18135 module_srcdir=gold; \
18136 $(SHELL) $$s/$$module_srcdir/configure \
18137 --srcdir=$${topdir}/$$module_srcdir \
18138 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18139 --target=${target_alias} \
18140 --with-build-libsubdir=$(HOST_SUBDIR) \
18141 $(STAGE4_CONFIGURE_FLAGS)
18142 @endif gold-bootstrap
18144 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
18145 maybe-configure-stageprofile-gold:
18146 @if gold-bootstrap
18147 maybe-configure-stageprofile-gold: configure-stageprofile-gold
18148 configure-stageprofile-gold:
18149 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18150 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18151 @r=`${PWD_COMMAND}`; export r; \
18152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18153 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18154 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18155 $(HOST_EXPORTS) \
18156 $(POSTSTAGE1_HOST_EXPORTS) \
18157 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18158 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18159 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18160 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
18161 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18162 cd $(HOST_SUBDIR)/gold || exit 1; \
18163 case $(srcdir) in \
18164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18165 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18167 esac; \
18168 module_srcdir=gold; \
18169 $(SHELL) $$s/$$module_srcdir/configure \
18170 --srcdir=$${topdir}/$$module_srcdir \
18171 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18172 --target=${target_alias} \
18173 --with-build-libsubdir=$(HOST_SUBDIR) \
18174 $(STAGEprofile_CONFIGURE_FLAGS)
18175 @endif gold-bootstrap
18177 .PHONY: configure-stagetrain-gold maybe-configure-stagetrain-gold
18178 maybe-configure-stagetrain-gold:
18179 @if gold-bootstrap
18180 maybe-configure-stagetrain-gold: configure-stagetrain-gold
18181 configure-stagetrain-gold:
18182 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18183 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18184 @r=`${PWD_COMMAND}`; export r; \
18185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18186 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18187 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18188 $(HOST_EXPORTS) \
18189 $(POSTSTAGE1_HOST_EXPORTS) \
18190 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
18191 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
18192 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
18193 echo Configuring stage train in $(HOST_SUBDIR)/gold; \
18194 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18195 cd $(HOST_SUBDIR)/gold || exit 1; \
18196 case $(srcdir) in \
18197 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18198 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18199 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18200 esac; \
18201 module_srcdir=gold; \
18202 $(SHELL) $$s/$$module_srcdir/configure \
18203 --srcdir=$${topdir}/$$module_srcdir \
18204 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18205 --target=${target_alias} \
18206 --with-build-libsubdir=$(HOST_SUBDIR) \
18207 $(STAGEtrain_CONFIGURE_FLAGS)
18208 @endif gold-bootstrap
18210 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
18211 maybe-configure-stagefeedback-gold:
18212 @if gold-bootstrap
18213 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
18214 configure-stagefeedback-gold:
18215 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18216 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18217 @r=`${PWD_COMMAND}`; export r; \
18218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18219 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18220 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18221 $(HOST_EXPORTS) \
18222 $(POSTSTAGE1_HOST_EXPORTS) \
18223 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18224 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18225 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18226 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
18227 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18228 cd $(HOST_SUBDIR)/gold || exit 1; \
18229 case $(srcdir) in \
18230 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18231 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18232 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18233 esac; \
18234 module_srcdir=gold; \
18235 $(SHELL) $$s/$$module_srcdir/configure \
18236 --srcdir=$${topdir}/$$module_srcdir \
18237 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18238 --target=${target_alias} \
18239 --with-build-libsubdir=$(HOST_SUBDIR) \
18240 $(STAGEfeedback_CONFIGURE_FLAGS)
18241 @endif gold-bootstrap
18243 .PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
18244 maybe-configure-stageautoprofile-gold:
18245 @if gold-bootstrap
18246 maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
18247 configure-stageautoprofile-gold:
18248 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18249 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18250 @r=`${PWD_COMMAND}`; export r; \
18251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18252 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18253 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18254 $(HOST_EXPORTS) \
18255 $(POSTSTAGE1_HOST_EXPORTS) \
18256 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
18257 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
18258 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
18259 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
18260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18261 cd $(HOST_SUBDIR)/gold || exit 1; \
18262 case $(srcdir) in \
18263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18264 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18266 esac; \
18267 module_srcdir=gold; \
18268 $(SHELL) $$s/$$module_srcdir/configure \
18269 --srcdir=$${topdir}/$$module_srcdir \
18270 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18271 --target=${target_alias} \
18272 --with-build-libsubdir=$(HOST_SUBDIR) \
18273 $(STAGEautoprofile_CONFIGURE_FLAGS)
18274 @endif gold-bootstrap
18276 .PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
18277 maybe-configure-stageautofeedback-gold:
18278 @if gold-bootstrap
18279 maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
18280 configure-stageautofeedback-gold:
18281 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18282 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18283 @r=`${PWD_COMMAND}`; export r; \
18284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18285 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18286 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18287 $(HOST_EXPORTS) \
18288 $(POSTSTAGE1_HOST_EXPORTS) \
18289 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
18290 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
18291 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
18292 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
18293 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18294 cd $(HOST_SUBDIR)/gold || exit 1; \
18295 case $(srcdir) in \
18296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18297 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18299 esac; \
18300 module_srcdir=gold; \
18301 $(SHELL) $$s/$$module_srcdir/configure \
18302 --srcdir=$${topdir}/$$module_srcdir \
18303 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18304 --target=${target_alias} \
18305 --with-build-libsubdir=$(HOST_SUBDIR) \
18306 $(STAGEautofeedback_CONFIGURE_FLAGS)
18307 @endif gold-bootstrap
18313 .PHONY: all-gold maybe-all-gold
18314 maybe-all-gold:
18315 @if gcc-bootstrap
18316 all-gold: stage_current
18317 @endif gcc-bootstrap
18318 @if gold
18319 TARGET-gold=all
18320 maybe-all-gold: all-gold
18321 all-gold: configure-gold
18322 @r=`${PWD_COMMAND}`; export r; \
18323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18324 $(HOST_EXPORTS) \
18325 (cd $(HOST_SUBDIR)/gold && \
18326 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18327 $(TARGET-gold))
18328 @endif gold
18332 .PHONY: all-stage1-gold maybe-all-stage1-gold
18333 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
18334 maybe-all-stage1-gold:
18335 maybe-clean-stage1-gold:
18336 @if gold-bootstrap
18337 maybe-all-stage1-gold: all-stage1-gold
18338 all-stage1: all-stage1-gold
18339 TARGET-stage1-gold = $(TARGET-gold)
18340 all-stage1-gold: configure-stage1-gold
18341 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18342 @r=`${PWD_COMMAND}`; export r; \
18343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18344 TFLAGS="$(STAGE1_TFLAGS)"; \
18345 $(HOST_EXPORTS) \
18346 cd $(HOST_SUBDIR)/gold && \
18348 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18349 CFLAGS="$(STAGE1_CFLAGS)" \
18350 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18351 LIBCFLAGS="$(LIBCFLAGS)" \
18352 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18353 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18354 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18355 $(EXTRA_HOST_FLAGS) \
18356 $(STAGE1_FLAGS_TO_PASS) \
18357 TFLAGS="$(STAGE1_TFLAGS)" \
18358 $(TARGET-stage1-gold)
18360 maybe-clean-stage1-gold: clean-stage1-gold
18361 clean-stage1: clean-stage1-gold
18362 clean-stage1-gold:
18363 @if [ $(current_stage) = stage1 ]; then \
18364 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18365 else \
18366 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
18367 $(MAKE) stage1-start; \
18368 fi; \
18369 cd $(HOST_SUBDIR)/gold && \
18370 $(MAKE) $(EXTRA_HOST_FLAGS) \
18371 $(STAGE1_FLAGS_TO_PASS) clean
18372 @endif gold-bootstrap
18375 .PHONY: all-stage2-gold maybe-all-stage2-gold
18376 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
18377 maybe-all-stage2-gold:
18378 maybe-clean-stage2-gold:
18379 @if gold-bootstrap
18380 maybe-all-stage2-gold: all-stage2-gold
18381 all-stage2: all-stage2-gold
18382 TARGET-stage2-gold = $(TARGET-gold)
18383 all-stage2-gold: configure-stage2-gold
18384 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18385 @r=`${PWD_COMMAND}`; export r; \
18386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18387 TFLAGS="$(STAGE2_TFLAGS)"; \
18388 $(HOST_EXPORTS) \
18389 $(POSTSTAGE1_HOST_EXPORTS) \
18390 cd $(HOST_SUBDIR)/gold && \
18392 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18393 CFLAGS="$(STAGE2_CFLAGS)" \
18394 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18395 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18396 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18397 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18398 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18399 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18400 TFLAGS="$(STAGE2_TFLAGS)" \
18401 $(TARGET-stage2-gold)
18403 maybe-clean-stage2-gold: clean-stage2-gold
18404 clean-stage2: clean-stage2-gold
18405 clean-stage2-gold:
18406 @if [ $(current_stage) = stage2 ]; then \
18407 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18408 else \
18409 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
18410 $(MAKE) stage2-start; \
18411 fi; \
18412 cd $(HOST_SUBDIR)/gold && \
18413 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18414 @endif gold-bootstrap
18417 .PHONY: all-stage3-gold maybe-all-stage3-gold
18418 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
18419 maybe-all-stage3-gold:
18420 maybe-clean-stage3-gold:
18421 @if gold-bootstrap
18422 maybe-all-stage3-gold: all-stage3-gold
18423 all-stage3: all-stage3-gold
18424 TARGET-stage3-gold = $(TARGET-gold)
18425 all-stage3-gold: configure-stage3-gold
18426 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18427 @r=`${PWD_COMMAND}`; export r; \
18428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18429 TFLAGS="$(STAGE3_TFLAGS)"; \
18430 $(HOST_EXPORTS) \
18431 $(POSTSTAGE1_HOST_EXPORTS) \
18432 cd $(HOST_SUBDIR)/gold && \
18434 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18435 CFLAGS="$(STAGE3_CFLAGS)" \
18436 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18437 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18438 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18439 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18440 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18441 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18442 TFLAGS="$(STAGE3_TFLAGS)" \
18443 $(TARGET-stage3-gold)
18445 maybe-clean-stage3-gold: clean-stage3-gold
18446 clean-stage3: clean-stage3-gold
18447 clean-stage3-gold:
18448 @if [ $(current_stage) = stage3 ]; then \
18449 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18450 else \
18451 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
18452 $(MAKE) stage3-start; \
18453 fi; \
18454 cd $(HOST_SUBDIR)/gold && \
18455 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18456 @endif gold-bootstrap
18459 .PHONY: all-stage4-gold maybe-all-stage4-gold
18460 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
18461 maybe-all-stage4-gold:
18462 maybe-clean-stage4-gold:
18463 @if gold-bootstrap
18464 maybe-all-stage4-gold: all-stage4-gold
18465 all-stage4: all-stage4-gold
18466 TARGET-stage4-gold = $(TARGET-gold)
18467 all-stage4-gold: configure-stage4-gold
18468 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18469 @r=`${PWD_COMMAND}`; export r; \
18470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18471 TFLAGS="$(STAGE4_TFLAGS)"; \
18472 $(HOST_EXPORTS) \
18473 $(POSTSTAGE1_HOST_EXPORTS) \
18474 cd $(HOST_SUBDIR)/gold && \
18476 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18477 CFLAGS="$(STAGE4_CFLAGS)" \
18478 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18479 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18480 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18481 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18482 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18483 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18484 TFLAGS="$(STAGE4_TFLAGS)" \
18485 $(TARGET-stage4-gold)
18487 maybe-clean-stage4-gold: clean-stage4-gold
18488 clean-stage4: clean-stage4-gold
18489 clean-stage4-gold:
18490 @if [ $(current_stage) = stage4 ]; then \
18491 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18492 else \
18493 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
18494 $(MAKE) stage4-start; \
18495 fi; \
18496 cd $(HOST_SUBDIR)/gold && \
18497 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18498 @endif gold-bootstrap
18501 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
18502 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
18503 maybe-all-stageprofile-gold:
18504 maybe-clean-stageprofile-gold:
18505 @if gold-bootstrap
18506 maybe-all-stageprofile-gold: all-stageprofile-gold
18507 all-stageprofile: all-stageprofile-gold
18508 TARGET-stageprofile-gold = $(TARGET-gold)
18509 all-stageprofile-gold: configure-stageprofile-gold
18510 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18511 @r=`${PWD_COMMAND}`; export r; \
18512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18513 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18514 $(HOST_EXPORTS) \
18515 $(POSTSTAGE1_HOST_EXPORTS) \
18516 cd $(HOST_SUBDIR)/gold && \
18518 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18519 CFLAGS="$(STAGEprofile_CFLAGS)" \
18520 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18521 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18522 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18523 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18524 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18525 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18526 TFLAGS="$(STAGEprofile_TFLAGS)" \
18527 $(TARGET-stageprofile-gold)
18529 maybe-clean-stageprofile-gold: clean-stageprofile-gold
18530 clean-stageprofile: clean-stageprofile-gold
18531 clean-stageprofile-gold:
18532 @if [ $(current_stage) = stageprofile ]; then \
18533 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18534 else \
18535 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
18536 $(MAKE) stageprofile-start; \
18537 fi; \
18538 cd $(HOST_SUBDIR)/gold && \
18539 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18540 @endif gold-bootstrap
18543 .PHONY: all-stagetrain-gold maybe-all-stagetrain-gold
18544 .PHONY: clean-stagetrain-gold maybe-clean-stagetrain-gold
18545 maybe-all-stagetrain-gold:
18546 maybe-clean-stagetrain-gold:
18547 @if gold-bootstrap
18548 maybe-all-stagetrain-gold: all-stagetrain-gold
18549 all-stagetrain: all-stagetrain-gold
18550 TARGET-stagetrain-gold = $(TARGET-gold)
18551 all-stagetrain-gold: configure-stagetrain-gold
18552 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18553 @r=`${PWD_COMMAND}`; export r; \
18554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18555 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18556 $(HOST_EXPORTS) \
18557 $(POSTSTAGE1_HOST_EXPORTS) \
18558 cd $(HOST_SUBDIR)/gold && \
18560 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18561 CFLAGS="$(STAGEtrain_CFLAGS)" \
18562 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
18563 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
18564 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18565 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18566 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18567 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18568 TFLAGS="$(STAGEtrain_TFLAGS)" \
18569 $(TARGET-stagetrain-gold)
18571 maybe-clean-stagetrain-gold: clean-stagetrain-gold
18572 clean-stagetrain: clean-stagetrain-gold
18573 clean-stagetrain-gold:
18574 @if [ $(current_stage) = stagetrain ]; then \
18575 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18576 else \
18577 [ -f $(HOST_SUBDIR)/stagetrain-gold/Makefile ] || exit 0; \
18578 $(MAKE) stagetrain-start; \
18579 fi; \
18580 cd $(HOST_SUBDIR)/gold && \
18581 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18582 @endif gold-bootstrap
18585 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
18586 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
18587 maybe-all-stagefeedback-gold:
18588 maybe-clean-stagefeedback-gold:
18589 @if gold-bootstrap
18590 maybe-all-stagefeedback-gold: all-stagefeedback-gold
18591 all-stagefeedback: all-stagefeedback-gold
18592 TARGET-stagefeedback-gold = $(TARGET-gold)
18593 all-stagefeedback-gold: configure-stagefeedback-gold
18594 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18595 @r=`${PWD_COMMAND}`; export r; \
18596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18597 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18598 $(HOST_EXPORTS) \
18599 $(POSTSTAGE1_HOST_EXPORTS) \
18600 cd $(HOST_SUBDIR)/gold && \
18602 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18603 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18604 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18605 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18606 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18607 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18608 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18609 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18610 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18611 $(TARGET-stagefeedback-gold)
18613 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
18614 clean-stagefeedback: clean-stagefeedback-gold
18615 clean-stagefeedback-gold:
18616 @if [ $(current_stage) = stagefeedback ]; then \
18617 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18618 else \
18619 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
18620 $(MAKE) stagefeedback-start; \
18621 fi; \
18622 cd $(HOST_SUBDIR)/gold && \
18623 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18624 @endif gold-bootstrap
18627 .PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
18628 .PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
18629 maybe-all-stageautoprofile-gold:
18630 maybe-clean-stageautoprofile-gold:
18631 @if gold-bootstrap
18632 maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
18633 all-stageautoprofile: all-stageautoprofile-gold
18634 TARGET-stageautoprofile-gold = $(TARGET-gold)
18635 all-stageautoprofile-gold: configure-stageautoprofile-gold
18636 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18637 @r=`${PWD_COMMAND}`; export r; \
18638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18639 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18640 $(HOST_EXPORTS) \
18641 $(POSTSTAGE1_HOST_EXPORTS) \
18642 cd $(HOST_SUBDIR)/gold && \
18643 $$s/gcc/config/i386/$(AUTO_PROFILE) \
18644 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18645 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
18646 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
18647 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
18648 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18649 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18650 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18651 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18652 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
18653 $(TARGET-stageautoprofile-gold)
18655 maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
18656 clean-stageautoprofile: clean-stageautoprofile-gold
18657 clean-stageautoprofile-gold:
18658 @if [ $(current_stage) = stageautoprofile ]; then \
18659 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18660 else \
18661 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
18662 $(MAKE) stageautoprofile-start; \
18663 fi; \
18664 cd $(HOST_SUBDIR)/gold && \
18665 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18666 @endif gold-bootstrap
18669 .PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
18670 .PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
18671 maybe-all-stageautofeedback-gold:
18672 maybe-clean-stageautofeedback-gold:
18673 @if gold-bootstrap
18674 maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
18675 all-stageautofeedback: all-stageautofeedback-gold
18676 TARGET-stageautofeedback-gold = $(TARGET-gold)
18677 all-stageautofeedback-gold: configure-stageautofeedback-gold
18678 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18679 @r=`${PWD_COMMAND}`; export r; \
18680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18681 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18682 $(HOST_EXPORTS) \
18683 $(POSTSTAGE1_HOST_EXPORTS) \
18684 cd $(HOST_SUBDIR)/gold && \
18686 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18687 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
18688 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
18689 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
18690 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18691 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18692 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18693 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18694 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
18695 $(TARGET-stageautofeedback-gold)
18697 maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
18698 clean-stageautofeedback: clean-stageautofeedback-gold
18699 clean-stageautofeedback-gold:
18700 @if [ $(current_stage) = stageautofeedback ]; then \
18701 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18702 else \
18703 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
18704 $(MAKE) stageautofeedback-start; \
18705 fi; \
18706 cd $(HOST_SUBDIR)/gold && \
18707 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18708 @endif gold-bootstrap
18714 .PHONY: check-gold maybe-check-gold
18715 maybe-check-gold:
18716 @if gold
18717 maybe-check-gold: check-gold
18719 check-gold:
18720 @: $(MAKE); $(unstage)
18721 @r=`${PWD_COMMAND}`; export r; \
18722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18723 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
18724 (cd $(HOST_SUBDIR)/gold && \
18725 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
18727 @endif gold
18729 .PHONY: install-gold maybe-install-gold
18730 maybe-install-gold:
18731 @if gold
18732 maybe-install-gold: install-gold
18734 install-gold: installdirs
18735 @: $(MAKE); $(unstage)
18736 @r=`${PWD_COMMAND}`; export r; \
18737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18738 $(HOST_EXPORTS) \
18739 (cd $(HOST_SUBDIR)/gold && \
18740 $(MAKE) $(FLAGS_TO_PASS) install)
18742 @endif gold
18744 .PHONY: install-strip-gold maybe-install-strip-gold
18745 maybe-install-strip-gold:
18746 @if gold
18747 maybe-install-strip-gold: install-strip-gold
18749 install-strip-gold: installdirs
18750 @: $(MAKE); $(unstage)
18751 @r=`${PWD_COMMAND}`; export r; \
18752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18753 $(HOST_EXPORTS) \
18754 (cd $(HOST_SUBDIR)/gold && \
18755 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18757 @endif gold
18759 # Other targets (info, dvi, pdf, etc.)
18761 .PHONY: maybe-info-gold info-gold
18762 maybe-info-gold:
18763 @if gold
18764 maybe-info-gold: info-gold
18766 info-gold: \
18767 configure-gold
18768 @[ -f ./gold/Makefile ] || exit 0; \
18769 r=`${PWD_COMMAND}`; export r; \
18770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18771 $(HOST_EXPORTS) \
18772 for flag in $(EXTRA_HOST_FLAGS) ; do \
18773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18774 done; \
18775 echo "Doing info in gold"; \
18776 (cd $(HOST_SUBDIR)/gold && \
18777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18779 "RANLIB=$${RANLIB}" \
18780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18781 info) \
18782 || exit 1
18784 @endif gold
18786 .PHONY: maybe-dvi-gold dvi-gold
18787 maybe-dvi-gold:
18788 @if gold
18789 maybe-dvi-gold: dvi-gold
18791 dvi-gold: \
18792 configure-gold
18793 @[ -f ./gold/Makefile ] || exit 0; \
18794 r=`${PWD_COMMAND}`; export r; \
18795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18796 $(HOST_EXPORTS) \
18797 for flag in $(EXTRA_HOST_FLAGS) ; do \
18798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18799 done; \
18800 echo "Doing dvi in gold"; \
18801 (cd $(HOST_SUBDIR)/gold && \
18802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18804 "RANLIB=$${RANLIB}" \
18805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18806 dvi) \
18807 || exit 1
18809 @endif gold
18811 .PHONY: maybe-pdf-gold pdf-gold
18812 maybe-pdf-gold:
18813 @if gold
18814 maybe-pdf-gold: pdf-gold
18816 pdf-gold: \
18817 configure-gold
18818 @[ -f ./gold/Makefile ] || exit 0; \
18819 r=`${PWD_COMMAND}`; export r; \
18820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18821 $(HOST_EXPORTS) \
18822 for flag in $(EXTRA_HOST_FLAGS) ; do \
18823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18824 done; \
18825 echo "Doing pdf in gold"; \
18826 (cd $(HOST_SUBDIR)/gold && \
18827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18829 "RANLIB=$${RANLIB}" \
18830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18831 pdf) \
18832 || exit 1
18834 @endif gold
18836 .PHONY: maybe-html-gold html-gold
18837 maybe-html-gold:
18838 @if gold
18839 maybe-html-gold: html-gold
18841 html-gold: \
18842 configure-gold
18843 @[ -f ./gold/Makefile ] || exit 0; \
18844 r=`${PWD_COMMAND}`; export r; \
18845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18846 $(HOST_EXPORTS) \
18847 for flag in $(EXTRA_HOST_FLAGS) ; do \
18848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18849 done; \
18850 echo "Doing html in gold"; \
18851 (cd $(HOST_SUBDIR)/gold && \
18852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18854 "RANLIB=$${RANLIB}" \
18855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18856 html) \
18857 || exit 1
18859 @endif gold
18861 .PHONY: maybe-TAGS-gold TAGS-gold
18862 maybe-TAGS-gold:
18863 @if gold
18864 maybe-TAGS-gold: TAGS-gold
18866 TAGS-gold: \
18867 configure-gold
18868 @[ -f ./gold/Makefile ] || exit 0; \
18869 r=`${PWD_COMMAND}`; export r; \
18870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18871 $(HOST_EXPORTS) \
18872 for flag in $(EXTRA_HOST_FLAGS) ; do \
18873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18874 done; \
18875 echo "Doing TAGS in gold"; \
18876 (cd $(HOST_SUBDIR)/gold && \
18877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18879 "RANLIB=$${RANLIB}" \
18880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18881 TAGS) \
18882 || exit 1
18884 @endif gold
18886 .PHONY: maybe-install-info-gold install-info-gold
18887 maybe-install-info-gold:
18888 @if gold
18889 maybe-install-info-gold: install-info-gold
18891 install-info-gold: \
18892 configure-gold \
18893 info-gold
18894 @[ -f ./gold/Makefile ] || exit 0; \
18895 r=`${PWD_COMMAND}`; export r; \
18896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18897 $(HOST_EXPORTS) \
18898 for flag in $(EXTRA_HOST_FLAGS) ; do \
18899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18900 done; \
18901 echo "Doing install-info in gold"; \
18902 (cd $(HOST_SUBDIR)/gold && \
18903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18905 "RANLIB=$${RANLIB}" \
18906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18907 install-info) \
18908 || exit 1
18910 @endif gold
18912 .PHONY: maybe-install-pdf-gold install-pdf-gold
18913 maybe-install-pdf-gold:
18914 @if gold
18915 maybe-install-pdf-gold: install-pdf-gold
18917 install-pdf-gold: \
18918 configure-gold \
18919 pdf-gold
18920 @[ -f ./gold/Makefile ] || exit 0; \
18921 r=`${PWD_COMMAND}`; export r; \
18922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18923 $(HOST_EXPORTS) \
18924 for flag in $(EXTRA_HOST_FLAGS) ; do \
18925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18926 done; \
18927 echo "Doing install-pdf in gold"; \
18928 (cd $(HOST_SUBDIR)/gold && \
18929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18931 "RANLIB=$${RANLIB}" \
18932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18933 install-pdf) \
18934 || exit 1
18936 @endif gold
18938 .PHONY: maybe-install-html-gold install-html-gold
18939 maybe-install-html-gold:
18940 @if gold
18941 maybe-install-html-gold: install-html-gold
18943 install-html-gold: \
18944 configure-gold \
18945 html-gold
18946 @[ -f ./gold/Makefile ] || exit 0; \
18947 r=`${PWD_COMMAND}`; export r; \
18948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18949 $(HOST_EXPORTS) \
18950 for flag in $(EXTRA_HOST_FLAGS) ; do \
18951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18952 done; \
18953 echo "Doing install-html in gold"; \
18954 (cd $(HOST_SUBDIR)/gold && \
18955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18957 "RANLIB=$${RANLIB}" \
18958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18959 install-html) \
18960 || exit 1
18962 @endif gold
18964 .PHONY: maybe-installcheck-gold installcheck-gold
18965 maybe-installcheck-gold:
18966 @if gold
18967 maybe-installcheck-gold: installcheck-gold
18969 installcheck-gold: \
18970 configure-gold
18971 @[ -f ./gold/Makefile ] || exit 0; \
18972 r=`${PWD_COMMAND}`; export r; \
18973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18974 $(HOST_EXPORTS) \
18975 for flag in $(EXTRA_HOST_FLAGS) ; do \
18976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18977 done; \
18978 echo "Doing installcheck in gold"; \
18979 (cd $(HOST_SUBDIR)/gold && \
18980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18982 "RANLIB=$${RANLIB}" \
18983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18984 installcheck) \
18985 || exit 1
18987 @endif gold
18989 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
18990 maybe-mostlyclean-gold:
18991 @if gold
18992 maybe-mostlyclean-gold: mostlyclean-gold
18994 mostlyclean-gold:
18995 @[ -f ./gold/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 mostlyclean in gold"; \
19003 (cd $(HOST_SUBDIR)/gold && \
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 mostlyclean) \
19009 || exit 1
19011 @endif gold
19013 .PHONY: maybe-clean-gold clean-gold
19014 maybe-clean-gold:
19015 @if gold
19016 maybe-clean-gold: clean-gold
19018 clean-gold:
19019 @[ -f ./gold/Makefile ] || exit 0; \
19020 r=`${PWD_COMMAND}`; export r; \
19021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19022 $(HOST_EXPORTS) \
19023 for flag in $(EXTRA_HOST_FLAGS) ; do \
19024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19025 done; \
19026 echo "Doing clean in gold"; \
19027 (cd $(HOST_SUBDIR)/gold && \
19028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19030 "RANLIB=$${RANLIB}" \
19031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19032 clean) \
19033 || exit 1
19035 @endif gold
19037 .PHONY: maybe-distclean-gold distclean-gold
19038 maybe-distclean-gold:
19039 @if gold
19040 maybe-distclean-gold: distclean-gold
19042 distclean-gold:
19043 @[ -f ./gold/Makefile ] || exit 0; \
19044 r=`${PWD_COMMAND}`; export r; \
19045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19046 $(HOST_EXPORTS) \
19047 for flag in $(EXTRA_HOST_FLAGS) ; do \
19048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19049 done; \
19050 echo "Doing distclean in gold"; \
19051 (cd $(HOST_SUBDIR)/gold && \
19052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19054 "RANLIB=$${RANLIB}" \
19055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19056 distclean) \
19057 || exit 1
19059 @endif gold
19061 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
19062 maybe-maintainer-clean-gold:
19063 @if gold
19064 maybe-maintainer-clean-gold: maintainer-clean-gold
19066 maintainer-clean-gold:
19067 @[ -f ./gold/Makefile ] || exit 0; \
19068 r=`${PWD_COMMAND}`; export r; \
19069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19070 $(HOST_EXPORTS) \
19071 for flag in $(EXTRA_HOST_FLAGS) ; do \
19072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19073 done; \
19074 echo "Doing maintainer-clean in gold"; \
19075 (cd $(HOST_SUBDIR)/gold && \
19076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19078 "RANLIB=$${RANLIB}" \
19079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19080 maintainer-clean) \
19081 || exit 1
19083 @endif gold
19087 .PHONY: configure-gprof maybe-configure-gprof
19088 maybe-configure-gprof:
19089 @if gcc-bootstrap
19090 configure-gprof: stage_current
19091 @endif gcc-bootstrap
19092 @if gprof
19093 maybe-configure-gprof: configure-gprof
19094 configure-gprof:
19095 @: $(MAKE); $(unstage)
19096 @r=`${PWD_COMMAND}`; export r; \
19097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19098 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
19099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
19100 $(HOST_EXPORTS) \
19101 echo Configuring in $(HOST_SUBDIR)/gprof; \
19102 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
19103 case $(srcdir) in \
19104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19105 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
19106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19107 esac; \
19108 module_srcdir=gprof; \
19109 $(SHELL) \
19110 $$s/$$module_srcdir/configure \
19111 --srcdir=$${topdir}/$$module_srcdir \
19112 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19113 --target=${target_alias} \
19114 || exit 1
19115 @endif gprof
19121 .PHONY: all-gprof maybe-all-gprof
19122 maybe-all-gprof:
19123 @if gcc-bootstrap
19124 all-gprof: stage_current
19125 @endif gcc-bootstrap
19126 @if gprof
19127 TARGET-gprof=all
19128 maybe-all-gprof: all-gprof
19129 all-gprof: configure-gprof
19130 @: $(MAKE); $(unstage)
19131 @r=`${PWD_COMMAND}`; export r; \
19132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19133 $(HOST_EXPORTS) \
19134 (cd $(HOST_SUBDIR)/gprof && \
19135 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19136 $(TARGET-gprof))
19137 @endif gprof
19142 .PHONY: check-gprof maybe-check-gprof
19143 maybe-check-gprof:
19144 @if gprof
19145 maybe-check-gprof: check-gprof
19147 check-gprof:
19148 @: $(MAKE); $(unstage)
19149 @r=`${PWD_COMMAND}`; export r; \
19150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19151 $(HOST_EXPORTS) \
19152 (cd $(HOST_SUBDIR)/gprof && \
19153 $(MAKE) $(FLAGS_TO_PASS) check)
19155 @endif gprof
19157 .PHONY: install-gprof maybe-install-gprof
19158 maybe-install-gprof:
19159 @if gprof
19160 maybe-install-gprof: install-gprof
19162 install-gprof: installdirs
19163 @: $(MAKE); $(unstage)
19164 @r=`${PWD_COMMAND}`; export r; \
19165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19166 $(HOST_EXPORTS) \
19167 (cd $(HOST_SUBDIR)/gprof && \
19168 $(MAKE) $(FLAGS_TO_PASS) install)
19170 @endif gprof
19172 .PHONY: install-strip-gprof maybe-install-strip-gprof
19173 maybe-install-strip-gprof:
19174 @if gprof
19175 maybe-install-strip-gprof: install-strip-gprof
19177 install-strip-gprof: installdirs
19178 @: $(MAKE); $(unstage)
19179 @r=`${PWD_COMMAND}`; export r; \
19180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19181 $(HOST_EXPORTS) \
19182 (cd $(HOST_SUBDIR)/gprof && \
19183 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19185 @endif gprof
19187 # Other targets (info, dvi, pdf, etc.)
19189 .PHONY: maybe-info-gprof info-gprof
19190 maybe-info-gprof:
19191 @if gprof
19192 maybe-info-gprof: info-gprof
19194 info-gprof: \
19195 configure-gprof
19196 @: $(MAKE); $(unstage)
19197 @[ -f ./gprof/Makefile ] || exit 0; \
19198 r=`${PWD_COMMAND}`; export r; \
19199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19200 $(HOST_EXPORTS) \
19201 for flag in $(EXTRA_HOST_FLAGS) ; do \
19202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19203 done; \
19204 echo "Doing info in gprof"; \
19205 (cd $(HOST_SUBDIR)/gprof && \
19206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19208 "RANLIB=$${RANLIB}" \
19209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19210 info) \
19211 || exit 1
19213 @endif gprof
19215 .PHONY: maybe-dvi-gprof dvi-gprof
19216 maybe-dvi-gprof:
19217 @if gprof
19218 maybe-dvi-gprof: dvi-gprof
19220 dvi-gprof: \
19221 configure-gprof
19222 @: $(MAKE); $(unstage)
19223 @[ -f ./gprof/Makefile ] || exit 0; \
19224 r=`${PWD_COMMAND}`; export r; \
19225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19226 $(HOST_EXPORTS) \
19227 for flag in $(EXTRA_HOST_FLAGS) ; do \
19228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19229 done; \
19230 echo "Doing dvi in gprof"; \
19231 (cd $(HOST_SUBDIR)/gprof && \
19232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19234 "RANLIB=$${RANLIB}" \
19235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19236 dvi) \
19237 || exit 1
19239 @endif gprof
19241 .PHONY: maybe-pdf-gprof pdf-gprof
19242 maybe-pdf-gprof:
19243 @if gprof
19244 maybe-pdf-gprof: pdf-gprof
19246 pdf-gprof: \
19247 configure-gprof
19248 @: $(MAKE); $(unstage)
19249 @[ -f ./gprof/Makefile ] || exit 0; \
19250 r=`${PWD_COMMAND}`; export r; \
19251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19252 $(HOST_EXPORTS) \
19253 for flag in $(EXTRA_HOST_FLAGS) ; do \
19254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19255 done; \
19256 echo "Doing pdf in gprof"; \
19257 (cd $(HOST_SUBDIR)/gprof && \
19258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19260 "RANLIB=$${RANLIB}" \
19261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19262 pdf) \
19263 || exit 1
19265 @endif gprof
19267 .PHONY: maybe-html-gprof html-gprof
19268 maybe-html-gprof:
19269 @if gprof
19270 maybe-html-gprof: html-gprof
19272 html-gprof: \
19273 configure-gprof
19274 @: $(MAKE); $(unstage)
19275 @[ -f ./gprof/Makefile ] || exit 0; \
19276 r=`${PWD_COMMAND}`; export r; \
19277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19278 $(HOST_EXPORTS) \
19279 for flag in $(EXTRA_HOST_FLAGS) ; do \
19280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19281 done; \
19282 echo "Doing html in gprof"; \
19283 (cd $(HOST_SUBDIR)/gprof && \
19284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19286 "RANLIB=$${RANLIB}" \
19287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19288 html) \
19289 || exit 1
19291 @endif gprof
19293 .PHONY: maybe-TAGS-gprof TAGS-gprof
19294 maybe-TAGS-gprof:
19295 @if gprof
19296 maybe-TAGS-gprof: TAGS-gprof
19298 TAGS-gprof: \
19299 configure-gprof
19300 @: $(MAKE); $(unstage)
19301 @[ -f ./gprof/Makefile ] || exit 0; \
19302 r=`${PWD_COMMAND}`; export r; \
19303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19304 $(HOST_EXPORTS) \
19305 for flag in $(EXTRA_HOST_FLAGS) ; do \
19306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19307 done; \
19308 echo "Doing TAGS in gprof"; \
19309 (cd $(HOST_SUBDIR)/gprof && \
19310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19312 "RANLIB=$${RANLIB}" \
19313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19314 TAGS) \
19315 || exit 1
19317 @endif gprof
19319 .PHONY: maybe-install-info-gprof install-info-gprof
19320 maybe-install-info-gprof:
19321 @if gprof
19322 maybe-install-info-gprof: install-info-gprof
19324 install-info-gprof: \
19325 configure-gprof \
19326 info-gprof
19327 @: $(MAKE); $(unstage)
19328 @[ -f ./gprof/Makefile ] || exit 0; \
19329 r=`${PWD_COMMAND}`; export r; \
19330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19331 $(HOST_EXPORTS) \
19332 for flag in $(EXTRA_HOST_FLAGS) ; do \
19333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19334 done; \
19335 echo "Doing install-info in gprof"; \
19336 (cd $(HOST_SUBDIR)/gprof && \
19337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19339 "RANLIB=$${RANLIB}" \
19340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19341 install-info) \
19342 || exit 1
19344 @endif gprof
19346 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
19347 maybe-install-pdf-gprof:
19348 @if gprof
19349 maybe-install-pdf-gprof: install-pdf-gprof
19351 install-pdf-gprof: \
19352 configure-gprof \
19353 pdf-gprof
19354 @: $(MAKE); $(unstage)
19355 @[ -f ./gprof/Makefile ] || exit 0; \
19356 r=`${PWD_COMMAND}`; export r; \
19357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19358 $(HOST_EXPORTS) \
19359 for flag in $(EXTRA_HOST_FLAGS) ; do \
19360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19361 done; \
19362 echo "Doing install-pdf in gprof"; \
19363 (cd $(HOST_SUBDIR)/gprof && \
19364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19366 "RANLIB=$${RANLIB}" \
19367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19368 install-pdf) \
19369 || exit 1
19371 @endif gprof
19373 .PHONY: maybe-install-html-gprof install-html-gprof
19374 maybe-install-html-gprof:
19375 @if gprof
19376 maybe-install-html-gprof: install-html-gprof
19378 install-html-gprof: \
19379 configure-gprof \
19380 html-gprof
19381 @: $(MAKE); $(unstage)
19382 @[ -f ./gprof/Makefile ] || exit 0; \
19383 r=`${PWD_COMMAND}`; export r; \
19384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19385 $(HOST_EXPORTS) \
19386 for flag in $(EXTRA_HOST_FLAGS) ; do \
19387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19388 done; \
19389 echo "Doing install-html in gprof"; \
19390 (cd $(HOST_SUBDIR)/gprof && \
19391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19393 "RANLIB=$${RANLIB}" \
19394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19395 install-html) \
19396 || exit 1
19398 @endif gprof
19400 .PHONY: maybe-installcheck-gprof installcheck-gprof
19401 maybe-installcheck-gprof:
19402 @if gprof
19403 maybe-installcheck-gprof: installcheck-gprof
19405 installcheck-gprof: \
19406 configure-gprof
19407 @: $(MAKE); $(unstage)
19408 @[ -f ./gprof/Makefile ] || exit 0; \
19409 r=`${PWD_COMMAND}`; export r; \
19410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19411 $(HOST_EXPORTS) \
19412 for flag in $(EXTRA_HOST_FLAGS) ; do \
19413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19414 done; \
19415 echo "Doing installcheck in gprof"; \
19416 (cd $(HOST_SUBDIR)/gprof && \
19417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19419 "RANLIB=$${RANLIB}" \
19420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19421 installcheck) \
19422 || exit 1
19424 @endif gprof
19426 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
19427 maybe-mostlyclean-gprof:
19428 @if gprof
19429 maybe-mostlyclean-gprof: mostlyclean-gprof
19431 mostlyclean-gprof:
19432 @: $(MAKE); $(unstage)
19433 @[ -f ./gprof/Makefile ] || exit 0; \
19434 r=`${PWD_COMMAND}`; export r; \
19435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19436 $(HOST_EXPORTS) \
19437 for flag in $(EXTRA_HOST_FLAGS) ; do \
19438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19439 done; \
19440 echo "Doing mostlyclean in gprof"; \
19441 (cd $(HOST_SUBDIR)/gprof && \
19442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19444 "RANLIB=$${RANLIB}" \
19445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19446 mostlyclean) \
19447 || exit 1
19449 @endif gprof
19451 .PHONY: maybe-clean-gprof clean-gprof
19452 maybe-clean-gprof:
19453 @if gprof
19454 maybe-clean-gprof: clean-gprof
19456 clean-gprof:
19457 @: $(MAKE); $(unstage)
19458 @[ -f ./gprof/Makefile ] || exit 0; \
19459 r=`${PWD_COMMAND}`; export r; \
19460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19461 $(HOST_EXPORTS) \
19462 for flag in $(EXTRA_HOST_FLAGS) ; do \
19463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19464 done; \
19465 echo "Doing clean in gprof"; \
19466 (cd $(HOST_SUBDIR)/gprof && \
19467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19469 "RANLIB=$${RANLIB}" \
19470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19471 clean) \
19472 || exit 1
19474 @endif gprof
19476 .PHONY: maybe-distclean-gprof distclean-gprof
19477 maybe-distclean-gprof:
19478 @if gprof
19479 maybe-distclean-gprof: distclean-gprof
19481 distclean-gprof:
19482 @: $(MAKE); $(unstage)
19483 @[ -f ./gprof/Makefile ] || exit 0; \
19484 r=`${PWD_COMMAND}`; export r; \
19485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19486 $(HOST_EXPORTS) \
19487 for flag in $(EXTRA_HOST_FLAGS) ; do \
19488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19489 done; \
19490 echo "Doing distclean in gprof"; \
19491 (cd $(HOST_SUBDIR)/gprof && \
19492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19494 "RANLIB=$${RANLIB}" \
19495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19496 distclean) \
19497 || exit 1
19499 @endif gprof
19501 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
19502 maybe-maintainer-clean-gprof:
19503 @if gprof
19504 maybe-maintainer-clean-gprof: maintainer-clean-gprof
19506 maintainer-clean-gprof:
19507 @: $(MAKE); $(unstage)
19508 @[ -f ./gprof/Makefile ] || exit 0; \
19509 r=`${PWD_COMMAND}`; export r; \
19510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19511 $(HOST_EXPORTS) \
19512 for flag in $(EXTRA_HOST_FLAGS) ; do \
19513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19514 done; \
19515 echo "Doing maintainer-clean in gprof"; \
19516 (cd $(HOST_SUBDIR)/gprof && \
19517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19519 "RANLIB=$${RANLIB}" \
19520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19521 maintainer-clean) \
19522 || exit 1
19524 @endif gprof
19528 .PHONY: configure-intl maybe-configure-intl
19529 maybe-configure-intl:
19530 @if gcc-bootstrap
19531 configure-intl: stage_current
19532 @endif gcc-bootstrap
19533 @if intl
19534 maybe-configure-intl: configure-intl
19535 configure-intl:
19536 @r=`${PWD_COMMAND}`; export r; \
19537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19538 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19539 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19540 $(HOST_EXPORTS) \
19541 echo Configuring in $(HOST_SUBDIR)/intl; \
19542 cd "$(HOST_SUBDIR)/intl" || exit 1; \
19543 case $(srcdir) in \
19544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19545 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19547 esac; \
19548 module_srcdir=intl; \
19549 $(SHELL) \
19550 $$s/$$module_srcdir/configure \
19551 --srcdir=$${topdir}/$$module_srcdir \
19552 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19553 --target=${target_alias} \
19554 || exit 1
19555 @endif intl
19559 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
19560 maybe-configure-stage1-intl:
19561 @if intl-bootstrap
19562 maybe-configure-stage1-intl: configure-stage1-intl
19563 configure-stage1-intl:
19564 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19565 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19566 @r=`${PWD_COMMAND}`; export r; \
19567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19568 TFLAGS="$(STAGE1_TFLAGS)"; \
19569 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19570 $(HOST_EXPORTS) \
19571 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19572 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19573 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19574 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
19575 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19576 cd $(HOST_SUBDIR)/intl || exit 1; \
19577 case $(srcdir) in \
19578 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19579 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19580 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19581 esac; \
19582 module_srcdir=intl; \
19583 $(SHELL) $$s/$$module_srcdir/configure \
19584 --srcdir=$${topdir}/$$module_srcdir \
19585 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19586 --target=${target_alias} \
19588 $(STAGE1_CONFIGURE_FLAGS)
19589 @endif intl-bootstrap
19591 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
19592 maybe-configure-stage2-intl:
19593 @if intl-bootstrap
19594 maybe-configure-stage2-intl: configure-stage2-intl
19595 configure-stage2-intl:
19596 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19597 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19598 @r=`${PWD_COMMAND}`; export r; \
19599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19600 TFLAGS="$(STAGE2_TFLAGS)"; \
19601 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19602 $(HOST_EXPORTS) \
19603 $(POSTSTAGE1_HOST_EXPORTS) \
19604 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19605 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19606 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19607 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
19608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19609 cd $(HOST_SUBDIR)/intl || exit 1; \
19610 case $(srcdir) in \
19611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19612 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19614 esac; \
19615 module_srcdir=intl; \
19616 $(SHELL) $$s/$$module_srcdir/configure \
19617 --srcdir=$${topdir}/$$module_srcdir \
19618 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19619 --target=${target_alias} \
19620 --with-build-libsubdir=$(HOST_SUBDIR) \
19621 $(STAGE2_CONFIGURE_FLAGS)
19622 @endif intl-bootstrap
19624 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
19625 maybe-configure-stage3-intl:
19626 @if intl-bootstrap
19627 maybe-configure-stage3-intl: configure-stage3-intl
19628 configure-stage3-intl:
19629 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19630 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19631 @r=`${PWD_COMMAND}`; export r; \
19632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19633 TFLAGS="$(STAGE3_TFLAGS)"; \
19634 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19635 $(HOST_EXPORTS) \
19636 $(POSTSTAGE1_HOST_EXPORTS) \
19637 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19638 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19639 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19640 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
19641 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19642 cd $(HOST_SUBDIR)/intl || exit 1; \
19643 case $(srcdir) in \
19644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19645 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19647 esac; \
19648 module_srcdir=intl; \
19649 $(SHELL) $$s/$$module_srcdir/configure \
19650 --srcdir=$${topdir}/$$module_srcdir \
19651 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19652 --target=${target_alias} \
19653 --with-build-libsubdir=$(HOST_SUBDIR) \
19654 $(STAGE3_CONFIGURE_FLAGS)
19655 @endif intl-bootstrap
19657 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
19658 maybe-configure-stage4-intl:
19659 @if intl-bootstrap
19660 maybe-configure-stage4-intl: configure-stage4-intl
19661 configure-stage4-intl:
19662 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19663 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19664 @r=`${PWD_COMMAND}`; export r; \
19665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19666 TFLAGS="$(STAGE4_TFLAGS)"; \
19667 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19668 $(HOST_EXPORTS) \
19669 $(POSTSTAGE1_HOST_EXPORTS) \
19670 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19671 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19672 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19673 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
19674 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19675 cd $(HOST_SUBDIR)/intl || exit 1; \
19676 case $(srcdir) in \
19677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19678 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19680 esac; \
19681 module_srcdir=intl; \
19682 $(SHELL) $$s/$$module_srcdir/configure \
19683 --srcdir=$${topdir}/$$module_srcdir \
19684 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19685 --target=${target_alias} \
19686 --with-build-libsubdir=$(HOST_SUBDIR) \
19687 $(STAGE4_CONFIGURE_FLAGS)
19688 @endif intl-bootstrap
19690 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
19691 maybe-configure-stageprofile-intl:
19692 @if intl-bootstrap
19693 maybe-configure-stageprofile-intl: configure-stageprofile-intl
19694 configure-stageprofile-intl:
19695 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19696 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19697 @r=`${PWD_COMMAND}`; export r; \
19698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19699 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19700 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19701 $(HOST_EXPORTS) \
19702 $(POSTSTAGE1_HOST_EXPORTS) \
19703 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19704 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19705 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19706 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
19707 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19708 cd $(HOST_SUBDIR)/intl || exit 1; \
19709 case $(srcdir) in \
19710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19711 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19713 esac; \
19714 module_srcdir=intl; \
19715 $(SHELL) $$s/$$module_srcdir/configure \
19716 --srcdir=$${topdir}/$$module_srcdir \
19717 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19718 --target=${target_alias} \
19719 --with-build-libsubdir=$(HOST_SUBDIR) \
19720 $(STAGEprofile_CONFIGURE_FLAGS)
19721 @endif intl-bootstrap
19723 .PHONY: configure-stagetrain-intl maybe-configure-stagetrain-intl
19724 maybe-configure-stagetrain-intl:
19725 @if intl-bootstrap
19726 maybe-configure-stagetrain-intl: configure-stagetrain-intl
19727 configure-stagetrain-intl:
19728 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
19729 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19730 @r=`${PWD_COMMAND}`; export r; \
19731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19732 TFLAGS="$(STAGEtrain_TFLAGS)"; \
19733 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19734 $(HOST_EXPORTS) \
19735 $(POSTSTAGE1_HOST_EXPORTS) \
19736 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
19737 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
19738 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
19739 echo Configuring stage train in $(HOST_SUBDIR)/intl; \
19740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19741 cd $(HOST_SUBDIR)/intl || exit 1; \
19742 case $(srcdir) in \
19743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19744 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19746 esac; \
19747 module_srcdir=intl; \
19748 $(SHELL) $$s/$$module_srcdir/configure \
19749 --srcdir=$${topdir}/$$module_srcdir \
19750 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19751 --target=${target_alias} \
19752 --with-build-libsubdir=$(HOST_SUBDIR) \
19753 $(STAGEtrain_CONFIGURE_FLAGS)
19754 @endif intl-bootstrap
19756 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
19757 maybe-configure-stagefeedback-intl:
19758 @if intl-bootstrap
19759 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
19760 configure-stagefeedback-intl:
19761 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19762 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19763 @r=`${PWD_COMMAND}`; export r; \
19764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19765 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19766 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19767 $(HOST_EXPORTS) \
19768 $(POSTSTAGE1_HOST_EXPORTS) \
19769 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19770 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19771 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19772 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
19773 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19774 cd $(HOST_SUBDIR)/intl || exit 1; \
19775 case $(srcdir) in \
19776 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19777 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19778 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19779 esac; \
19780 module_srcdir=intl; \
19781 $(SHELL) $$s/$$module_srcdir/configure \
19782 --srcdir=$${topdir}/$$module_srcdir \
19783 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19784 --target=${target_alias} \
19785 --with-build-libsubdir=$(HOST_SUBDIR) \
19786 $(STAGEfeedback_CONFIGURE_FLAGS)
19787 @endif intl-bootstrap
19789 .PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl
19790 maybe-configure-stageautoprofile-intl:
19791 @if intl-bootstrap
19792 maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl
19793 configure-stageautoprofile-intl:
19794 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19795 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19796 @r=`${PWD_COMMAND}`; export r; \
19797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19798 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19799 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19800 $(HOST_EXPORTS) \
19801 $(POSTSTAGE1_HOST_EXPORTS) \
19802 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
19803 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
19804 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
19805 echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \
19806 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19807 cd $(HOST_SUBDIR)/intl || exit 1; \
19808 case $(srcdir) in \
19809 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19810 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19811 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19812 esac; \
19813 module_srcdir=intl; \
19814 $(SHELL) $$s/$$module_srcdir/configure \
19815 --srcdir=$${topdir}/$$module_srcdir \
19816 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19817 --target=${target_alias} \
19818 --with-build-libsubdir=$(HOST_SUBDIR) \
19819 $(STAGEautoprofile_CONFIGURE_FLAGS)
19820 @endif intl-bootstrap
19822 .PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl
19823 maybe-configure-stageautofeedback-intl:
19824 @if intl-bootstrap
19825 maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl
19826 configure-stageautofeedback-intl:
19827 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19828 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
19829 @r=`${PWD_COMMAND}`; export r; \
19830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19831 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19832 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
19833 $(HOST_EXPORTS) \
19834 $(POSTSTAGE1_HOST_EXPORTS) \
19835 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
19836 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
19837 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
19838 echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \
19839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
19840 cd $(HOST_SUBDIR)/intl || exit 1; \
19841 case $(srcdir) in \
19842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19843 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
19844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19845 esac; \
19846 module_srcdir=intl; \
19847 $(SHELL) $$s/$$module_srcdir/configure \
19848 --srcdir=$${topdir}/$$module_srcdir \
19849 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19850 --target=${target_alias} \
19851 --with-build-libsubdir=$(HOST_SUBDIR) \
19852 $(STAGEautofeedback_CONFIGURE_FLAGS)
19853 @endif intl-bootstrap
19859 .PHONY: all-intl maybe-all-intl
19860 maybe-all-intl:
19861 @if gcc-bootstrap
19862 all-intl: stage_current
19863 @endif gcc-bootstrap
19864 @if intl
19865 TARGET-intl=all
19866 maybe-all-intl: all-intl
19867 all-intl: configure-intl
19868 @r=`${PWD_COMMAND}`; export r; \
19869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19870 $(HOST_EXPORTS) \
19871 (cd $(HOST_SUBDIR)/intl && \
19872 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19873 $(TARGET-intl))
19874 @endif intl
19878 .PHONY: all-stage1-intl maybe-all-stage1-intl
19879 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
19880 maybe-all-stage1-intl:
19881 maybe-clean-stage1-intl:
19882 @if intl-bootstrap
19883 maybe-all-stage1-intl: all-stage1-intl
19884 all-stage1: all-stage1-intl
19885 TARGET-stage1-intl = $(TARGET-intl)
19886 all-stage1-intl: configure-stage1-intl
19887 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19888 @r=`${PWD_COMMAND}`; export r; \
19889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19890 TFLAGS="$(STAGE1_TFLAGS)"; \
19891 $(HOST_EXPORTS) \
19892 cd $(HOST_SUBDIR)/intl && \
19894 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19895 CFLAGS="$(STAGE1_CFLAGS)" \
19896 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19897 LIBCFLAGS="$(LIBCFLAGS)" \
19898 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19899 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19900 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19901 $(EXTRA_HOST_FLAGS) \
19902 $(STAGE1_FLAGS_TO_PASS) \
19903 TFLAGS="$(STAGE1_TFLAGS)" \
19904 $(TARGET-stage1-intl)
19906 maybe-clean-stage1-intl: clean-stage1-intl
19907 clean-stage1: clean-stage1-intl
19908 clean-stage1-intl:
19909 @if [ $(current_stage) = stage1 ]; then \
19910 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19911 else \
19912 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
19913 $(MAKE) stage1-start; \
19914 fi; \
19915 cd $(HOST_SUBDIR)/intl && \
19916 $(MAKE) $(EXTRA_HOST_FLAGS) \
19917 $(STAGE1_FLAGS_TO_PASS) clean
19918 @endif intl-bootstrap
19921 .PHONY: all-stage2-intl maybe-all-stage2-intl
19922 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
19923 maybe-all-stage2-intl:
19924 maybe-clean-stage2-intl:
19925 @if intl-bootstrap
19926 maybe-all-stage2-intl: all-stage2-intl
19927 all-stage2: all-stage2-intl
19928 TARGET-stage2-intl = $(TARGET-intl)
19929 all-stage2-intl: configure-stage2-intl
19930 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19931 @r=`${PWD_COMMAND}`; export r; \
19932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19933 TFLAGS="$(STAGE2_TFLAGS)"; \
19934 $(HOST_EXPORTS) \
19935 $(POSTSTAGE1_HOST_EXPORTS) \
19936 cd $(HOST_SUBDIR)/intl && \
19938 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19939 CFLAGS="$(STAGE2_CFLAGS)" \
19940 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19941 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19942 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19943 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19944 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19945 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19946 TFLAGS="$(STAGE2_TFLAGS)" \
19947 $(TARGET-stage2-intl)
19949 maybe-clean-stage2-intl: clean-stage2-intl
19950 clean-stage2: clean-stage2-intl
19951 clean-stage2-intl:
19952 @if [ $(current_stage) = stage2 ]; then \
19953 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19954 else \
19955 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
19956 $(MAKE) stage2-start; \
19957 fi; \
19958 cd $(HOST_SUBDIR)/intl && \
19959 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19960 @endif intl-bootstrap
19963 .PHONY: all-stage3-intl maybe-all-stage3-intl
19964 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
19965 maybe-all-stage3-intl:
19966 maybe-clean-stage3-intl:
19967 @if intl-bootstrap
19968 maybe-all-stage3-intl: all-stage3-intl
19969 all-stage3: all-stage3-intl
19970 TARGET-stage3-intl = $(TARGET-intl)
19971 all-stage3-intl: configure-stage3-intl
19972 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19973 @r=`${PWD_COMMAND}`; export r; \
19974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19975 TFLAGS="$(STAGE3_TFLAGS)"; \
19976 $(HOST_EXPORTS) \
19977 $(POSTSTAGE1_HOST_EXPORTS) \
19978 cd $(HOST_SUBDIR)/intl && \
19980 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19981 CFLAGS="$(STAGE3_CFLAGS)" \
19982 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19983 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19984 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19985 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19986 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19987 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19988 TFLAGS="$(STAGE3_TFLAGS)" \
19989 $(TARGET-stage3-intl)
19991 maybe-clean-stage3-intl: clean-stage3-intl
19992 clean-stage3: clean-stage3-intl
19993 clean-stage3-intl:
19994 @if [ $(current_stage) = stage3 ]; then \
19995 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19996 else \
19997 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
19998 $(MAKE) stage3-start; \
19999 fi; \
20000 cd $(HOST_SUBDIR)/intl && \
20001 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20002 @endif intl-bootstrap
20005 .PHONY: all-stage4-intl maybe-all-stage4-intl
20006 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
20007 maybe-all-stage4-intl:
20008 maybe-clean-stage4-intl:
20009 @if intl-bootstrap
20010 maybe-all-stage4-intl: all-stage4-intl
20011 all-stage4: all-stage4-intl
20012 TARGET-stage4-intl = $(TARGET-intl)
20013 all-stage4-intl: configure-stage4-intl
20014 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20015 @r=`${PWD_COMMAND}`; export r; \
20016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20017 TFLAGS="$(STAGE4_TFLAGS)"; \
20018 $(HOST_EXPORTS) \
20019 $(POSTSTAGE1_HOST_EXPORTS) \
20020 cd $(HOST_SUBDIR)/intl && \
20022 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20023 CFLAGS="$(STAGE4_CFLAGS)" \
20024 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20025 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20026 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20027 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20028 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20029 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20030 TFLAGS="$(STAGE4_TFLAGS)" \
20031 $(TARGET-stage4-intl)
20033 maybe-clean-stage4-intl: clean-stage4-intl
20034 clean-stage4: clean-stage4-intl
20035 clean-stage4-intl:
20036 @if [ $(current_stage) = stage4 ]; then \
20037 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20038 else \
20039 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
20040 $(MAKE) stage4-start; \
20041 fi; \
20042 cd $(HOST_SUBDIR)/intl && \
20043 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20044 @endif intl-bootstrap
20047 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
20048 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
20049 maybe-all-stageprofile-intl:
20050 maybe-clean-stageprofile-intl:
20051 @if intl-bootstrap
20052 maybe-all-stageprofile-intl: all-stageprofile-intl
20053 all-stageprofile: all-stageprofile-intl
20054 TARGET-stageprofile-intl = $(TARGET-intl)
20055 all-stageprofile-intl: configure-stageprofile-intl
20056 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20057 @r=`${PWD_COMMAND}`; export r; \
20058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20059 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20060 $(HOST_EXPORTS) \
20061 $(POSTSTAGE1_HOST_EXPORTS) \
20062 cd $(HOST_SUBDIR)/intl && \
20064 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20065 CFLAGS="$(STAGEprofile_CFLAGS)" \
20066 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20067 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20068 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20069 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20070 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20071 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20072 TFLAGS="$(STAGEprofile_TFLAGS)" \
20073 $(TARGET-stageprofile-intl)
20075 maybe-clean-stageprofile-intl: clean-stageprofile-intl
20076 clean-stageprofile: clean-stageprofile-intl
20077 clean-stageprofile-intl:
20078 @if [ $(current_stage) = stageprofile ]; then \
20079 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20080 else \
20081 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
20082 $(MAKE) stageprofile-start; \
20083 fi; \
20084 cd $(HOST_SUBDIR)/intl && \
20085 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20086 @endif intl-bootstrap
20089 .PHONY: all-stagetrain-intl maybe-all-stagetrain-intl
20090 .PHONY: clean-stagetrain-intl maybe-clean-stagetrain-intl
20091 maybe-all-stagetrain-intl:
20092 maybe-clean-stagetrain-intl:
20093 @if intl-bootstrap
20094 maybe-all-stagetrain-intl: all-stagetrain-intl
20095 all-stagetrain: all-stagetrain-intl
20096 TARGET-stagetrain-intl = $(TARGET-intl)
20097 all-stagetrain-intl: configure-stagetrain-intl
20098 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
20099 @r=`${PWD_COMMAND}`; export r; \
20100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20101 TFLAGS="$(STAGEtrain_TFLAGS)"; \
20102 $(HOST_EXPORTS) \
20103 $(POSTSTAGE1_HOST_EXPORTS) \
20104 cd $(HOST_SUBDIR)/intl && \
20106 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20107 CFLAGS="$(STAGEtrain_CFLAGS)" \
20108 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
20109 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
20110 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20111 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20112 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20113 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20114 TFLAGS="$(STAGEtrain_TFLAGS)" \
20115 $(TARGET-stagetrain-intl)
20117 maybe-clean-stagetrain-intl: clean-stagetrain-intl
20118 clean-stagetrain: clean-stagetrain-intl
20119 clean-stagetrain-intl:
20120 @if [ $(current_stage) = stagetrain ]; then \
20121 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20122 else \
20123 [ -f $(HOST_SUBDIR)/stagetrain-intl/Makefile ] || exit 0; \
20124 $(MAKE) stagetrain-start; \
20125 fi; \
20126 cd $(HOST_SUBDIR)/intl && \
20127 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20128 @endif intl-bootstrap
20131 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
20132 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
20133 maybe-all-stagefeedback-intl:
20134 maybe-clean-stagefeedback-intl:
20135 @if intl-bootstrap
20136 maybe-all-stagefeedback-intl: all-stagefeedback-intl
20137 all-stagefeedback: all-stagefeedback-intl
20138 TARGET-stagefeedback-intl = $(TARGET-intl)
20139 all-stagefeedback-intl: configure-stagefeedback-intl
20140 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20141 @r=`${PWD_COMMAND}`; export r; \
20142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20143 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20144 $(HOST_EXPORTS) \
20145 $(POSTSTAGE1_HOST_EXPORTS) \
20146 cd $(HOST_SUBDIR)/intl && \
20148 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20149 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20150 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20151 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20152 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20153 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20154 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20155 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20156 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20157 $(TARGET-stagefeedback-intl)
20159 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
20160 clean-stagefeedback: clean-stagefeedback-intl
20161 clean-stagefeedback-intl:
20162 @if [ $(current_stage) = stagefeedback ]; then \
20163 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20164 else \
20165 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
20166 $(MAKE) stagefeedback-start; \
20167 fi; \
20168 cd $(HOST_SUBDIR)/intl && \
20169 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20170 @endif intl-bootstrap
20173 .PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl
20174 .PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl
20175 maybe-all-stageautoprofile-intl:
20176 maybe-clean-stageautoprofile-intl:
20177 @if intl-bootstrap
20178 maybe-all-stageautoprofile-intl: all-stageautoprofile-intl
20179 all-stageautoprofile: all-stageautoprofile-intl
20180 TARGET-stageautoprofile-intl = $(TARGET-intl)
20181 all-stageautoprofile-intl: configure-stageautoprofile-intl
20182 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20183 @r=`${PWD_COMMAND}`; export r; \
20184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20185 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20186 $(HOST_EXPORTS) \
20187 $(POSTSTAGE1_HOST_EXPORTS) \
20188 cd $(HOST_SUBDIR)/intl && \
20189 $$s/gcc/config/i386/$(AUTO_PROFILE) \
20190 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20191 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
20192 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
20193 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
20194 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20195 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20196 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20197 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20198 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
20199 $(TARGET-stageautoprofile-intl)
20201 maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl
20202 clean-stageautoprofile: clean-stageautoprofile-intl
20203 clean-stageautoprofile-intl:
20204 @if [ $(current_stage) = stageautoprofile ]; then \
20205 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20206 else \
20207 [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \
20208 $(MAKE) stageautoprofile-start; \
20209 fi; \
20210 cd $(HOST_SUBDIR)/intl && \
20211 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20212 @endif intl-bootstrap
20215 .PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl
20216 .PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl
20217 maybe-all-stageautofeedback-intl:
20218 maybe-clean-stageautofeedback-intl:
20219 @if intl-bootstrap
20220 maybe-all-stageautofeedback-intl: all-stageautofeedback-intl
20221 all-stageautofeedback: all-stageautofeedback-intl
20222 TARGET-stageautofeedback-intl = $(TARGET-intl)
20223 all-stageautofeedback-intl: configure-stageautofeedback-intl
20224 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20225 @r=`${PWD_COMMAND}`; export r; \
20226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20227 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20228 $(HOST_EXPORTS) \
20229 $(POSTSTAGE1_HOST_EXPORTS) \
20230 cd $(HOST_SUBDIR)/intl && \
20232 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20233 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
20234 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
20235 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
20236 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20237 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20238 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20239 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20240 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
20241 $(TARGET-stageautofeedback-intl)
20243 maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl
20244 clean-stageautofeedback: clean-stageautofeedback-intl
20245 clean-stageautofeedback-intl:
20246 @if [ $(current_stage) = stageautofeedback ]; then \
20247 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20248 else \
20249 [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \
20250 $(MAKE) stageautofeedback-start; \
20251 fi; \
20252 cd $(HOST_SUBDIR)/intl && \
20253 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20254 @endif intl-bootstrap
20260 .PHONY: check-intl maybe-check-intl
20261 maybe-check-intl:
20262 @if intl
20263 maybe-check-intl: check-intl
20265 check-intl:
20266 @: $(MAKE); $(unstage)
20267 @r=`${PWD_COMMAND}`; export r; \
20268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20269 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
20270 (cd $(HOST_SUBDIR)/intl && \
20271 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
20273 @endif intl
20275 .PHONY: install-intl maybe-install-intl
20276 maybe-install-intl:
20277 @if intl
20278 maybe-install-intl: install-intl
20280 install-intl: installdirs
20281 @: $(MAKE); $(unstage)
20282 @r=`${PWD_COMMAND}`; export r; \
20283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20284 $(HOST_EXPORTS) \
20285 (cd $(HOST_SUBDIR)/intl && \
20286 $(MAKE) $(FLAGS_TO_PASS) install)
20288 @endif intl
20290 .PHONY: install-strip-intl maybe-install-strip-intl
20291 maybe-install-strip-intl:
20292 @if intl
20293 maybe-install-strip-intl: install-strip-intl
20295 install-strip-intl: installdirs
20296 @: $(MAKE); $(unstage)
20297 @r=`${PWD_COMMAND}`; export r; \
20298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20299 $(HOST_EXPORTS) \
20300 (cd $(HOST_SUBDIR)/intl && \
20301 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20303 @endif intl
20305 # Other targets (info, dvi, pdf, etc.)
20307 .PHONY: maybe-info-intl info-intl
20308 maybe-info-intl:
20309 @if intl
20310 maybe-info-intl: info-intl
20312 info-intl: \
20313 configure-intl
20314 @[ -f ./intl/Makefile ] || exit 0; \
20315 r=`${PWD_COMMAND}`; export r; \
20316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20317 $(HOST_EXPORTS) \
20318 for flag in $(EXTRA_HOST_FLAGS) ; do \
20319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20320 done; \
20321 echo "Doing info in intl"; \
20322 (cd $(HOST_SUBDIR)/intl && \
20323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20325 "RANLIB=$${RANLIB}" \
20326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20327 info) \
20328 || exit 1
20330 @endif intl
20332 .PHONY: maybe-dvi-intl dvi-intl
20333 maybe-dvi-intl:
20334 @if intl
20335 maybe-dvi-intl: dvi-intl
20337 dvi-intl: \
20338 configure-intl
20339 @[ -f ./intl/Makefile ] || exit 0; \
20340 r=`${PWD_COMMAND}`; export r; \
20341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20342 $(HOST_EXPORTS) \
20343 for flag in $(EXTRA_HOST_FLAGS) ; do \
20344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20345 done; \
20346 echo "Doing dvi in intl"; \
20347 (cd $(HOST_SUBDIR)/intl && \
20348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20350 "RANLIB=$${RANLIB}" \
20351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20352 dvi) \
20353 || exit 1
20355 @endif intl
20357 .PHONY: maybe-pdf-intl pdf-intl
20358 maybe-pdf-intl:
20359 @if intl
20360 maybe-pdf-intl: pdf-intl
20362 pdf-intl: \
20363 configure-intl
20364 @[ -f ./intl/Makefile ] || exit 0; \
20365 r=`${PWD_COMMAND}`; export r; \
20366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20367 $(HOST_EXPORTS) \
20368 for flag in $(EXTRA_HOST_FLAGS) ; do \
20369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20370 done; \
20371 echo "Doing pdf in intl"; \
20372 (cd $(HOST_SUBDIR)/intl && \
20373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20375 "RANLIB=$${RANLIB}" \
20376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20377 pdf) \
20378 || exit 1
20380 @endif intl
20382 .PHONY: maybe-html-intl html-intl
20383 maybe-html-intl:
20384 @if intl
20385 maybe-html-intl: html-intl
20387 html-intl: \
20388 configure-intl
20389 @[ -f ./intl/Makefile ] || exit 0; \
20390 r=`${PWD_COMMAND}`; export r; \
20391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20392 $(HOST_EXPORTS) \
20393 for flag in $(EXTRA_HOST_FLAGS) ; do \
20394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20395 done; \
20396 echo "Doing html in intl"; \
20397 (cd $(HOST_SUBDIR)/intl && \
20398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20400 "RANLIB=$${RANLIB}" \
20401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20402 html) \
20403 || exit 1
20405 @endif intl
20407 .PHONY: maybe-TAGS-intl TAGS-intl
20408 maybe-TAGS-intl:
20409 @if intl
20410 maybe-TAGS-intl: TAGS-intl
20412 TAGS-intl: \
20413 configure-intl
20414 @[ -f ./intl/Makefile ] || exit 0; \
20415 r=`${PWD_COMMAND}`; export r; \
20416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20417 $(HOST_EXPORTS) \
20418 for flag in $(EXTRA_HOST_FLAGS) ; do \
20419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20420 done; \
20421 echo "Doing TAGS in intl"; \
20422 (cd $(HOST_SUBDIR)/intl && \
20423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20425 "RANLIB=$${RANLIB}" \
20426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20427 TAGS) \
20428 || exit 1
20430 @endif intl
20432 .PHONY: maybe-install-info-intl install-info-intl
20433 maybe-install-info-intl:
20434 @if intl
20435 maybe-install-info-intl: install-info-intl
20437 install-info-intl: \
20438 configure-intl \
20439 info-intl
20440 @[ -f ./intl/Makefile ] || exit 0; \
20441 r=`${PWD_COMMAND}`; export r; \
20442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20443 $(HOST_EXPORTS) \
20444 for flag in $(EXTRA_HOST_FLAGS) ; do \
20445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20446 done; \
20447 echo "Doing install-info in intl"; \
20448 (cd $(HOST_SUBDIR)/intl && \
20449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20451 "RANLIB=$${RANLIB}" \
20452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20453 install-info) \
20454 || exit 1
20456 @endif intl
20458 .PHONY: maybe-install-pdf-intl install-pdf-intl
20459 maybe-install-pdf-intl:
20460 @if intl
20461 maybe-install-pdf-intl: install-pdf-intl
20463 install-pdf-intl: \
20464 configure-intl \
20465 pdf-intl
20466 @[ -f ./intl/Makefile ] || exit 0; \
20467 r=`${PWD_COMMAND}`; export r; \
20468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20469 $(HOST_EXPORTS) \
20470 for flag in $(EXTRA_HOST_FLAGS) ; do \
20471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20472 done; \
20473 echo "Doing install-pdf in intl"; \
20474 (cd $(HOST_SUBDIR)/intl && \
20475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20477 "RANLIB=$${RANLIB}" \
20478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20479 install-pdf) \
20480 || exit 1
20482 @endif intl
20484 .PHONY: maybe-install-html-intl install-html-intl
20485 maybe-install-html-intl:
20486 @if intl
20487 maybe-install-html-intl: install-html-intl
20489 install-html-intl: \
20490 configure-intl \
20491 html-intl
20492 @[ -f ./intl/Makefile ] || exit 0; \
20493 r=`${PWD_COMMAND}`; export r; \
20494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20495 $(HOST_EXPORTS) \
20496 for flag in $(EXTRA_HOST_FLAGS) ; do \
20497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20498 done; \
20499 echo "Doing install-html in intl"; \
20500 (cd $(HOST_SUBDIR)/intl && \
20501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20503 "RANLIB=$${RANLIB}" \
20504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20505 install-html) \
20506 || exit 1
20508 @endif intl
20510 .PHONY: maybe-installcheck-intl installcheck-intl
20511 maybe-installcheck-intl:
20512 @if intl
20513 maybe-installcheck-intl: installcheck-intl
20515 installcheck-intl: \
20516 configure-intl
20517 @[ -f ./intl/Makefile ] || exit 0; \
20518 r=`${PWD_COMMAND}`; export r; \
20519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20520 $(HOST_EXPORTS) \
20521 for flag in $(EXTRA_HOST_FLAGS) ; do \
20522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20523 done; \
20524 echo "Doing installcheck in intl"; \
20525 (cd $(HOST_SUBDIR)/intl && \
20526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20528 "RANLIB=$${RANLIB}" \
20529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20530 installcheck) \
20531 || exit 1
20533 @endif intl
20535 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
20536 maybe-mostlyclean-intl:
20537 @if intl
20538 maybe-mostlyclean-intl: mostlyclean-intl
20540 mostlyclean-intl:
20541 @[ -f ./intl/Makefile ] || exit 0; \
20542 r=`${PWD_COMMAND}`; export r; \
20543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20544 $(HOST_EXPORTS) \
20545 for flag in $(EXTRA_HOST_FLAGS) ; do \
20546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20547 done; \
20548 echo "Doing mostlyclean in intl"; \
20549 (cd $(HOST_SUBDIR)/intl && \
20550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20552 "RANLIB=$${RANLIB}" \
20553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20554 mostlyclean) \
20555 || exit 1
20557 @endif intl
20559 .PHONY: maybe-clean-intl clean-intl
20560 maybe-clean-intl:
20561 @if intl
20562 maybe-clean-intl: clean-intl
20564 clean-intl:
20565 @[ -f ./intl/Makefile ] || exit 0; \
20566 r=`${PWD_COMMAND}`; export r; \
20567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20568 $(HOST_EXPORTS) \
20569 for flag in $(EXTRA_HOST_FLAGS) ; do \
20570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20571 done; \
20572 echo "Doing clean in intl"; \
20573 (cd $(HOST_SUBDIR)/intl && \
20574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20576 "RANLIB=$${RANLIB}" \
20577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20578 clean) \
20579 || exit 1
20581 @endif intl
20583 .PHONY: maybe-distclean-intl distclean-intl
20584 maybe-distclean-intl:
20585 @if intl
20586 maybe-distclean-intl: distclean-intl
20588 distclean-intl:
20589 @[ -f ./intl/Makefile ] || exit 0; \
20590 r=`${PWD_COMMAND}`; export r; \
20591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20592 $(HOST_EXPORTS) \
20593 for flag in $(EXTRA_HOST_FLAGS) ; do \
20594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20595 done; \
20596 echo "Doing distclean in intl"; \
20597 (cd $(HOST_SUBDIR)/intl && \
20598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20600 "RANLIB=$${RANLIB}" \
20601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20602 distclean) \
20603 || exit 1
20605 @endif intl
20607 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
20608 maybe-maintainer-clean-intl:
20609 @if intl
20610 maybe-maintainer-clean-intl: maintainer-clean-intl
20612 maintainer-clean-intl:
20613 @[ -f ./intl/Makefile ] || exit 0; \
20614 r=`${PWD_COMMAND}`; export r; \
20615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20616 $(HOST_EXPORTS) \
20617 for flag in $(EXTRA_HOST_FLAGS) ; do \
20618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20619 done; \
20620 echo "Doing maintainer-clean in intl"; \
20621 (cd $(HOST_SUBDIR)/intl && \
20622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20624 "RANLIB=$${RANLIB}" \
20625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20626 maintainer-clean) \
20627 || exit 1
20629 @endif intl
20633 .PHONY: configure-tcl maybe-configure-tcl
20634 maybe-configure-tcl:
20635 @if gcc-bootstrap
20636 configure-tcl: stage_current
20637 @endif gcc-bootstrap
20638 @if tcl
20639 maybe-configure-tcl: configure-tcl
20640 configure-tcl:
20641 @: $(MAKE); $(unstage)
20642 @r=`${PWD_COMMAND}`; export r; \
20643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20644 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
20645 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
20646 $(HOST_EXPORTS) \
20647 echo Configuring in $(HOST_SUBDIR)/tcl; \
20648 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
20649 case $(srcdir) in \
20650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20651 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
20652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20653 esac; \
20654 module_srcdir=tcl; \
20655 $(SHELL) \
20656 $$s/$$module_srcdir/configure \
20657 --srcdir=$${topdir}/$$module_srcdir \
20658 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20659 --target=${target_alias} \
20660 || exit 1
20661 @endif tcl
20667 .PHONY: all-tcl maybe-all-tcl
20668 maybe-all-tcl:
20669 @if gcc-bootstrap
20670 all-tcl: stage_current
20671 @endif gcc-bootstrap
20672 @if tcl
20673 TARGET-tcl=all
20674 maybe-all-tcl: all-tcl
20675 all-tcl: configure-tcl
20676 @: $(MAKE); $(unstage)
20677 @r=`${PWD_COMMAND}`; export r; \
20678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20679 $(HOST_EXPORTS) \
20680 (cd $(HOST_SUBDIR)/tcl && \
20681 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20682 $(TARGET-tcl))
20683 @endif tcl
20688 .PHONY: check-tcl maybe-check-tcl
20689 maybe-check-tcl:
20690 @if tcl
20691 maybe-check-tcl: check-tcl
20693 check-tcl:
20694 @: $(MAKE); $(unstage)
20695 @r=`${PWD_COMMAND}`; export r; \
20696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20697 $(HOST_EXPORTS) \
20698 (cd $(HOST_SUBDIR)/tcl && \
20699 $(MAKE) $(FLAGS_TO_PASS) check)
20701 @endif tcl
20703 .PHONY: install-tcl maybe-install-tcl
20704 maybe-install-tcl:
20705 @if tcl
20706 maybe-install-tcl: install-tcl
20708 install-tcl: installdirs
20709 @: $(MAKE); $(unstage)
20710 @r=`${PWD_COMMAND}`; export r; \
20711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20712 $(HOST_EXPORTS) \
20713 (cd $(HOST_SUBDIR)/tcl && \
20714 $(MAKE) $(FLAGS_TO_PASS) install)
20716 @endif tcl
20718 .PHONY: install-strip-tcl maybe-install-strip-tcl
20719 maybe-install-strip-tcl:
20720 @if tcl
20721 maybe-install-strip-tcl: install-strip-tcl
20723 install-strip-tcl: installdirs
20724 @: $(MAKE); $(unstage)
20725 @r=`${PWD_COMMAND}`; export r; \
20726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20727 $(HOST_EXPORTS) \
20728 (cd $(HOST_SUBDIR)/tcl && \
20729 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20731 @endif tcl
20733 # Other targets (info, dvi, pdf, etc.)
20735 .PHONY: maybe-info-tcl info-tcl
20736 maybe-info-tcl:
20737 @if tcl
20738 maybe-info-tcl: info-tcl
20740 info-tcl: \
20741 configure-tcl
20742 @: $(MAKE); $(unstage)
20743 @[ -f ./tcl/Makefile ] || exit 0; \
20744 r=`${PWD_COMMAND}`; export r; \
20745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20746 $(HOST_EXPORTS) \
20747 for flag in $(EXTRA_HOST_FLAGS) ; do \
20748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20749 done; \
20750 echo "Doing info in tcl"; \
20751 (cd $(HOST_SUBDIR)/tcl && \
20752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20754 "RANLIB=$${RANLIB}" \
20755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20756 info) \
20757 || exit 1
20759 @endif tcl
20761 .PHONY: maybe-dvi-tcl dvi-tcl
20762 maybe-dvi-tcl:
20763 @if tcl
20764 maybe-dvi-tcl: dvi-tcl
20766 dvi-tcl: \
20767 configure-tcl
20768 @: $(MAKE); $(unstage)
20769 @[ -f ./tcl/Makefile ] || exit 0; \
20770 r=`${PWD_COMMAND}`; export r; \
20771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20772 $(HOST_EXPORTS) \
20773 for flag in $(EXTRA_HOST_FLAGS) ; do \
20774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20775 done; \
20776 echo "Doing dvi in tcl"; \
20777 (cd $(HOST_SUBDIR)/tcl && \
20778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20780 "RANLIB=$${RANLIB}" \
20781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20782 dvi) \
20783 || exit 1
20785 @endif tcl
20787 .PHONY: maybe-pdf-tcl pdf-tcl
20788 maybe-pdf-tcl:
20789 @if tcl
20790 maybe-pdf-tcl: pdf-tcl
20792 pdf-tcl: \
20793 configure-tcl
20794 @: $(MAKE); $(unstage)
20795 @[ -f ./tcl/Makefile ] || exit 0; \
20796 r=`${PWD_COMMAND}`; export r; \
20797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20798 $(HOST_EXPORTS) \
20799 for flag in $(EXTRA_HOST_FLAGS) ; do \
20800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20801 done; \
20802 echo "Doing pdf in tcl"; \
20803 (cd $(HOST_SUBDIR)/tcl && \
20804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20806 "RANLIB=$${RANLIB}" \
20807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20808 pdf) \
20809 || exit 1
20811 @endif tcl
20813 .PHONY: maybe-html-tcl html-tcl
20814 maybe-html-tcl:
20815 @if tcl
20816 maybe-html-tcl: html-tcl
20818 html-tcl: \
20819 configure-tcl
20820 @: $(MAKE); $(unstage)
20821 @[ -f ./tcl/Makefile ] || exit 0; \
20822 r=`${PWD_COMMAND}`; export r; \
20823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20824 $(HOST_EXPORTS) \
20825 for flag in $(EXTRA_HOST_FLAGS) ; do \
20826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20827 done; \
20828 echo "Doing html in tcl"; \
20829 (cd $(HOST_SUBDIR)/tcl && \
20830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20832 "RANLIB=$${RANLIB}" \
20833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20834 html) \
20835 || exit 1
20837 @endif tcl
20839 .PHONY: maybe-TAGS-tcl TAGS-tcl
20840 maybe-TAGS-tcl:
20841 @if tcl
20842 maybe-TAGS-tcl: TAGS-tcl
20844 TAGS-tcl: \
20845 configure-tcl
20846 @: $(MAKE); $(unstage)
20847 @[ -f ./tcl/Makefile ] || exit 0; \
20848 r=`${PWD_COMMAND}`; export r; \
20849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20850 $(HOST_EXPORTS) \
20851 for flag in $(EXTRA_HOST_FLAGS) ; do \
20852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20853 done; \
20854 echo "Doing TAGS in tcl"; \
20855 (cd $(HOST_SUBDIR)/tcl && \
20856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20858 "RANLIB=$${RANLIB}" \
20859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20860 TAGS) \
20861 || exit 1
20863 @endif tcl
20865 .PHONY: maybe-install-info-tcl install-info-tcl
20866 maybe-install-info-tcl:
20867 @if tcl
20868 maybe-install-info-tcl: install-info-tcl
20870 install-info-tcl: \
20871 configure-tcl \
20872 info-tcl
20873 @: $(MAKE); $(unstage)
20874 @[ -f ./tcl/Makefile ] || exit 0; \
20875 r=`${PWD_COMMAND}`; export r; \
20876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20877 $(HOST_EXPORTS) \
20878 for flag in $(EXTRA_HOST_FLAGS) ; do \
20879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20880 done; \
20881 echo "Doing install-info in tcl"; \
20882 (cd $(HOST_SUBDIR)/tcl && \
20883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20885 "RANLIB=$${RANLIB}" \
20886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20887 install-info) \
20888 || exit 1
20890 @endif tcl
20892 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
20893 maybe-install-pdf-tcl:
20894 @if tcl
20895 maybe-install-pdf-tcl: install-pdf-tcl
20897 install-pdf-tcl: \
20898 configure-tcl \
20899 pdf-tcl
20900 @: $(MAKE); $(unstage)
20901 @[ -f ./tcl/Makefile ] || exit 0; \
20902 r=`${PWD_COMMAND}`; export r; \
20903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20904 $(HOST_EXPORTS) \
20905 for flag in $(EXTRA_HOST_FLAGS) ; do \
20906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20907 done; \
20908 echo "Doing install-pdf in tcl"; \
20909 (cd $(HOST_SUBDIR)/tcl && \
20910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20912 "RANLIB=$${RANLIB}" \
20913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20914 install-pdf) \
20915 || exit 1
20917 @endif tcl
20919 .PHONY: maybe-install-html-tcl install-html-tcl
20920 maybe-install-html-tcl:
20921 @if tcl
20922 maybe-install-html-tcl: install-html-tcl
20924 install-html-tcl: \
20925 configure-tcl \
20926 html-tcl
20927 @: $(MAKE); $(unstage)
20928 @[ -f ./tcl/Makefile ] || exit 0; \
20929 r=`${PWD_COMMAND}`; export r; \
20930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20931 $(HOST_EXPORTS) \
20932 for flag in $(EXTRA_HOST_FLAGS) ; do \
20933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20934 done; \
20935 echo "Doing install-html in tcl"; \
20936 (cd $(HOST_SUBDIR)/tcl && \
20937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20939 "RANLIB=$${RANLIB}" \
20940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20941 install-html) \
20942 || exit 1
20944 @endif tcl
20946 .PHONY: maybe-installcheck-tcl installcheck-tcl
20947 maybe-installcheck-tcl:
20948 @if tcl
20949 maybe-installcheck-tcl: installcheck-tcl
20951 installcheck-tcl: \
20952 configure-tcl
20953 @: $(MAKE); $(unstage)
20954 @[ -f ./tcl/Makefile ] || exit 0; \
20955 r=`${PWD_COMMAND}`; export r; \
20956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20957 $(HOST_EXPORTS) \
20958 for flag in $(EXTRA_HOST_FLAGS) ; do \
20959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20960 done; \
20961 echo "Doing installcheck in tcl"; \
20962 (cd $(HOST_SUBDIR)/tcl && \
20963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20965 "RANLIB=$${RANLIB}" \
20966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20967 installcheck) \
20968 || exit 1
20970 @endif tcl
20972 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
20973 maybe-mostlyclean-tcl:
20974 @if tcl
20975 maybe-mostlyclean-tcl: mostlyclean-tcl
20977 # tcl doesn't support mostlyclean.
20978 mostlyclean-tcl:
20980 @endif tcl
20982 .PHONY: maybe-clean-tcl clean-tcl
20983 maybe-clean-tcl:
20984 @if tcl
20985 maybe-clean-tcl: clean-tcl
20987 clean-tcl:
20988 @: $(MAKE); $(unstage)
20989 @[ -f ./tcl/Makefile ] || exit 0; \
20990 r=`${PWD_COMMAND}`; export r; \
20991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20992 $(HOST_EXPORTS) \
20993 for flag in $(EXTRA_HOST_FLAGS) ; do \
20994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20995 done; \
20996 echo "Doing clean in tcl"; \
20997 (cd $(HOST_SUBDIR)/tcl && \
20998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21000 "RANLIB=$${RANLIB}" \
21001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21002 clean) \
21003 || exit 1
21005 @endif tcl
21007 .PHONY: maybe-distclean-tcl distclean-tcl
21008 maybe-distclean-tcl:
21009 @if tcl
21010 maybe-distclean-tcl: distclean-tcl
21012 distclean-tcl:
21013 @: $(MAKE); $(unstage)
21014 @[ -f ./tcl/Makefile ] || exit 0; \
21015 r=`${PWD_COMMAND}`; export r; \
21016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21017 $(HOST_EXPORTS) \
21018 for flag in $(EXTRA_HOST_FLAGS) ; do \
21019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21020 done; \
21021 echo "Doing distclean in tcl"; \
21022 (cd $(HOST_SUBDIR)/tcl && \
21023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21025 "RANLIB=$${RANLIB}" \
21026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21027 distclean) \
21028 || exit 1
21030 @endif tcl
21032 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
21033 maybe-maintainer-clean-tcl:
21034 @if tcl
21035 maybe-maintainer-clean-tcl: maintainer-clean-tcl
21037 maintainer-clean-tcl:
21038 @: $(MAKE); $(unstage)
21039 @[ -f ./tcl/Makefile ] || exit 0; \
21040 r=`${PWD_COMMAND}`; export r; \
21041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21042 $(HOST_EXPORTS) \
21043 for flag in $(EXTRA_HOST_FLAGS) ; do \
21044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21045 done; \
21046 echo "Doing maintainer-clean in tcl"; \
21047 (cd $(HOST_SUBDIR)/tcl && \
21048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21050 "RANLIB=$${RANLIB}" \
21051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21052 maintainer-clean) \
21053 || exit 1
21055 @endif tcl
21059 .PHONY: configure-itcl maybe-configure-itcl
21060 maybe-configure-itcl:
21061 @if gcc-bootstrap
21062 configure-itcl: stage_current
21063 @endif gcc-bootstrap
21064 @if itcl
21065 maybe-configure-itcl: configure-itcl
21066 configure-itcl:
21067 @: $(MAKE); $(unstage)
21068 @r=`${PWD_COMMAND}`; export r; \
21069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21070 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
21071 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
21072 $(HOST_EXPORTS) \
21073 echo Configuring in $(HOST_SUBDIR)/itcl; \
21074 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
21075 case $(srcdir) in \
21076 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21077 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
21078 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21079 esac; \
21080 module_srcdir=itcl; \
21081 $(SHELL) \
21082 $$s/$$module_srcdir/configure \
21083 --srcdir=$${topdir}/$$module_srcdir \
21084 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21085 --target=${target_alias} \
21086 || exit 1
21087 @endif itcl
21093 .PHONY: all-itcl maybe-all-itcl
21094 maybe-all-itcl:
21095 @if gcc-bootstrap
21096 all-itcl: stage_current
21097 @endif gcc-bootstrap
21098 @if itcl
21099 TARGET-itcl=all
21100 maybe-all-itcl: all-itcl
21101 all-itcl: configure-itcl
21102 @: $(MAKE); $(unstage)
21103 @r=`${PWD_COMMAND}`; export r; \
21104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21105 $(HOST_EXPORTS) \
21106 (cd $(HOST_SUBDIR)/itcl && \
21107 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21108 $(TARGET-itcl))
21109 @endif itcl
21114 .PHONY: check-itcl maybe-check-itcl
21115 maybe-check-itcl:
21116 @if itcl
21117 maybe-check-itcl: check-itcl
21119 check-itcl:
21120 @: $(MAKE); $(unstage)
21121 @r=`${PWD_COMMAND}`; export r; \
21122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21123 $(HOST_EXPORTS) \
21124 (cd $(HOST_SUBDIR)/itcl && \
21125 $(MAKE) $(FLAGS_TO_PASS) check)
21127 @endif itcl
21129 .PHONY: install-itcl maybe-install-itcl
21130 maybe-install-itcl:
21131 @if itcl
21132 maybe-install-itcl: install-itcl
21134 install-itcl: installdirs
21135 @: $(MAKE); $(unstage)
21136 @r=`${PWD_COMMAND}`; export r; \
21137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21138 $(HOST_EXPORTS) \
21139 (cd $(HOST_SUBDIR)/itcl && \
21140 $(MAKE) $(FLAGS_TO_PASS) install)
21142 @endif itcl
21144 .PHONY: install-strip-itcl maybe-install-strip-itcl
21145 maybe-install-strip-itcl:
21146 @if itcl
21147 maybe-install-strip-itcl: install-strip-itcl
21149 install-strip-itcl: installdirs
21150 @: $(MAKE); $(unstage)
21151 @r=`${PWD_COMMAND}`; export r; \
21152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21153 $(HOST_EXPORTS) \
21154 (cd $(HOST_SUBDIR)/itcl && \
21155 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21157 @endif itcl
21159 # Other targets (info, dvi, pdf, etc.)
21161 .PHONY: maybe-info-itcl info-itcl
21162 maybe-info-itcl:
21163 @if itcl
21164 maybe-info-itcl: info-itcl
21166 info-itcl: \
21167 configure-itcl
21168 @: $(MAKE); $(unstage)
21169 @[ -f ./itcl/Makefile ] || exit 0; \
21170 r=`${PWD_COMMAND}`; export r; \
21171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21172 $(HOST_EXPORTS) \
21173 for flag in $(EXTRA_HOST_FLAGS) ; do \
21174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21175 done; \
21176 echo "Doing info in itcl"; \
21177 (cd $(HOST_SUBDIR)/itcl && \
21178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21180 "RANLIB=$${RANLIB}" \
21181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21182 info) \
21183 || exit 1
21185 @endif itcl
21187 .PHONY: maybe-dvi-itcl dvi-itcl
21188 maybe-dvi-itcl:
21189 @if itcl
21190 maybe-dvi-itcl: dvi-itcl
21192 dvi-itcl: \
21193 configure-itcl
21194 @: $(MAKE); $(unstage)
21195 @[ -f ./itcl/Makefile ] || exit 0; \
21196 r=`${PWD_COMMAND}`; export r; \
21197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21198 $(HOST_EXPORTS) \
21199 for flag in $(EXTRA_HOST_FLAGS) ; do \
21200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21201 done; \
21202 echo "Doing dvi in itcl"; \
21203 (cd $(HOST_SUBDIR)/itcl && \
21204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21206 "RANLIB=$${RANLIB}" \
21207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21208 dvi) \
21209 || exit 1
21211 @endif itcl
21213 .PHONY: maybe-pdf-itcl pdf-itcl
21214 maybe-pdf-itcl:
21215 @if itcl
21216 maybe-pdf-itcl: pdf-itcl
21218 pdf-itcl: \
21219 configure-itcl
21220 @: $(MAKE); $(unstage)
21221 @[ -f ./itcl/Makefile ] || exit 0; \
21222 r=`${PWD_COMMAND}`; export r; \
21223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21224 $(HOST_EXPORTS) \
21225 for flag in $(EXTRA_HOST_FLAGS) ; do \
21226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21227 done; \
21228 echo "Doing pdf in itcl"; \
21229 (cd $(HOST_SUBDIR)/itcl && \
21230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21232 "RANLIB=$${RANLIB}" \
21233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21234 pdf) \
21235 || exit 1
21237 @endif itcl
21239 .PHONY: maybe-html-itcl html-itcl
21240 maybe-html-itcl:
21241 @if itcl
21242 maybe-html-itcl: html-itcl
21244 html-itcl: \
21245 configure-itcl
21246 @: $(MAKE); $(unstage)
21247 @[ -f ./itcl/Makefile ] || exit 0; \
21248 r=`${PWD_COMMAND}`; export r; \
21249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21250 $(HOST_EXPORTS) \
21251 for flag in $(EXTRA_HOST_FLAGS) ; do \
21252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21253 done; \
21254 echo "Doing html in itcl"; \
21255 (cd $(HOST_SUBDIR)/itcl && \
21256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21258 "RANLIB=$${RANLIB}" \
21259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21260 html) \
21261 || exit 1
21263 @endif itcl
21265 .PHONY: maybe-TAGS-itcl TAGS-itcl
21266 maybe-TAGS-itcl:
21267 @if itcl
21268 maybe-TAGS-itcl: TAGS-itcl
21270 TAGS-itcl: \
21271 configure-itcl
21272 @: $(MAKE); $(unstage)
21273 @[ -f ./itcl/Makefile ] || exit 0; \
21274 r=`${PWD_COMMAND}`; export r; \
21275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21276 $(HOST_EXPORTS) \
21277 for flag in $(EXTRA_HOST_FLAGS) ; do \
21278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21279 done; \
21280 echo "Doing TAGS in itcl"; \
21281 (cd $(HOST_SUBDIR)/itcl && \
21282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21284 "RANLIB=$${RANLIB}" \
21285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21286 TAGS) \
21287 || exit 1
21289 @endif itcl
21291 .PHONY: maybe-install-info-itcl install-info-itcl
21292 maybe-install-info-itcl:
21293 @if itcl
21294 maybe-install-info-itcl: install-info-itcl
21296 install-info-itcl: \
21297 configure-itcl \
21298 info-itcl
21299 @: $(MAKE); $(unstage)
21300 @[ -f ./itcl/Makefile ] || exit 0; \
21301 r=`${PWD_COMMAND}`; export r; \
21302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21303 $(HOST_EXPORTS) \
21304 for flag in $(EXTRA_HOST_FLAGS) ; do \
21305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21306 done; \
21307 echo "Doing install-info in itcl"; \
21308 (cd $(HOST_SUBDIR)/itcl && \
21309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21311 "RANLIB=$${RANLIB}" \
21312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21313 install-info) \
21314 || exit 1
21316 @endif itcl
21318 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
21319 maybe-install-pdf-itcl:
21320 @if itcl
21321 maybe-install-pdf-itcl: install-pdf-itcl
21323 install-pdf-itcl: \
21324 configure-itcl \
21325 pdf-itcl
21326 @: $(MAKE); $(unstage)
21327 @[ -f ./itcl/Makefile ] || exit 0; \
21328 r=`${PWD_COMMAND}`; export r; \
21329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21330 $(HOST_EXPORTS) \
21331 for flag in $(EXTRA_HOST_FLAGS) ; do \
21332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21333 done; \
21334 echo "Doing install-pdf in itcl"; \
21335 (cd $(HOST_SUBDIR)/itcl && \
21336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21338 "RANLIB=$${RANLIB}" \
21339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21340 install-pdf) \
21341 || exit 1
21343 @endif itcl
21345 .PHONY: maybe-install-html-itcl install-html-itcl
21346 maybe-install-html-itcl:
21347 @if itcl
21348 maybe-install-html-itcl: install-html-itcl
21350 install-html-itcl: \
21351 configure-itcl \
21352 html-itcl
21353 @: $(MAKE); $(unstage)
21354 @[ -f ./itcl/Makefile ] || exit 0; \
21355 r=`${PWD_COMMAND}`; export r; \
21356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21357 $(HOST_EXPORTS) \
21358 for flag in $(EXTRA_HOST_FLAGS) ; do \
21359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21360 done; \
21361 echo "Doing install-html in itcl"; \
21362 (cd $(HOST_SUBDIR)/itcl && \
21363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21365 "RANLIB=$${RANLIB}" \
21366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21367 install-html) \
21368 || exit 1
21370 @endif itcl
21372 .PHONY: maybe-installcheck-itcl installcheck-itcl
21373 maybe-installcheck-itcl:
21374 @if itcl
21375 maybe-installcheck-itcl: installcheck-itcl
21377 installcheck-itcl: \
21378 configure-itcl
21379 @: $(MAKE); $(unstage)
21380 @[ -f ./itcl/Makefile ] || exit 0; \
21381 r=`${PWD_COMMAND}`; export r; \
21382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21383 $(HOST_EXPORTS) \
21384 for flag in $(EXTRA_HOST_FLAGS) ; do \
21385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21386 done; \
21387 echo "Doing installcheck in itcl"; \
21388 (cd $(HOST_SUBDIR)/itcl && \
21389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21391 "RANLIB=$${RANLIB}" \
21392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21393 installcheck) \
21394 || exit 1
21396 @endif itcl
21398 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
21399 maybe-mostlyclean-itcl:
21400 @if itcl
21401 maybe-mostlyclean-itcl: mostlyclean-itcl
21403 mostlyclean-itcl:
21404 @: $(MAKE); $(unstage)
21405 @[ -f ./itcl/Makefile ] || exit 0; \
21406 r=`${PWD_COMMAND}`; export r; \
21407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21408 $(HOST_EXPORTS) \
21409 for flag in $(EXTRA_HOST_FLAGS) ; do \
21410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21411 done; \
21412 echo "Doing mostlyclean in itcl"; \
21413 (cd $(HOST_SUBDIR)/itcl && \
21414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21416 "RANLIB=$${RANLIB}" \
21417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21418 mostlyclean) \
21419 || exit 1
21421 @endif itcl
21423 .PHONY: maybe-clean-itcl clean-itcl
21424 maybe-clean-itcl:
21425 @if itcl
21426 maybe-clean-itcl: clean-itcl
21428 clean-itcl:
21429 @: $(MAKE); $(unstage)
21430 @[ -f ./itcl/Makefile ] || exit 0; \
21431 r=`${PWD_COMMAND}`; export r; \
21432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21433 $(HOST_EXPORTS) \
21434 for flag in $(EXTRA_HOST_FLAGS) ; do \
21435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21436 done; \
21437 echo "Doing clean in itcl"; \
21438 (cd $(HOST_SUBDIR)/itcl && \
21439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21441 "RANLIB=$${RANLIB}" \
21442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21443 clean) \
21444 || exit 1
21446 @endif itcl
21448 .PHONY: maybe-distclean-itcl distclean-itcl
21449 maybe-distclean-itcl:
21450 @if itcl
21451 maybe-distclean-itcl: distclean-itcl
21453 distclean-itcl:
21454 @: $(MAKE); $(unstage)
21455 @[ -f ./itcl/Makefile ] || exit 0; \
21456 r=`${PWD_COMMAND}`; export r; \
21457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21458 $(HOST_EXPORTS) \
21459 for flag in $(EXTRA_HOST_FLAGS) ; do \
21460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21461 done; \
21462 echo "Doing distclean in itcl"; \
21463 (cd $(HOST_SUBDIR)/itcl && \
21464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21466 "RANLIB=$${RANLIB}" \
21467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21468 distclean) \
21469 || exit 1
21471 @endif itcl
21473 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
21474 maybe-maintainer-clean-itcl:
21475 @if itcl
21476 maybe-maintainer-clean-itcl: maintainer-clean-itcl
21478 maintainer-clean-itcl:
21479 @: $(MAKE); $(unstage)
21480 @[ -f ./itcl/Makefile ] || exit 0; \
21481 r=`${PWD_COMMAND}`; export r; \
21482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21483 $(HOST_EXPORTS) \
21484 for flag in $(EXTRA_HOST_FLAGS) ; do \
21485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21486 done; \
21487 echo "Doing maintainer-clean in itcl"; \
21488 (cd $(HOST_SUBDIR)/itcl && \
21489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21491 "RANLIB=$${RANLIB}" \
21492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21493 maintainer-clean) \
21494 || exit 1
21496 @endif itcl
21500 .PHONY: configure-ld maybe-configure-ld
21501 maybe-configure-ld:
21502 @if gcc-bootstrap
21503 configure-ld: stage_current
21504 @endif gcc-bootstrap
21505 @if ld
21506 maybe-configure-ld: configure-ld
21507 configure-ld:
21508 @r=`${PWD_COMMAND}`; export r; \
21509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21510 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21511 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21512 $(HOST_EXPORTS) \
21513 echo Configuring in $(HOST_SUBDIR)/ld; \
21514 cd "$(HOST_SUBDIR)/ld" || exit 1; \
21515 case $(srcdir) in \
21516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21517 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21519 esac; \
21520 module_srcdir=ld; \
21521 $(SHELL) \
21522 $$s/$$module_srcdir/configure \
21523 --srcdir=$${topdir}/$$module_srcdir \
21524 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21525 --target=${target_alias} \
21526 || exit 1
21527 @endif ld
21531 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
21532 maybe-configure-stage1-ld:
21533 @if ld-bootstrap
21534 maybe-configure-stage1-ld: configure-stage1-ld
21535 configure-stage1-ld:
21536 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21537 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21538 @r=`${PWD_COMMAND}`; export r; \
21539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21540 TFLAGS="$(STAGE1_TFLAGS)"; \
21541 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21542 $(HOST_EXPORTS) \
21543 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21544 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21545 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21546 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
21547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21548 cd $(HOST_SUBDIR)/ld || exit 1; \
21549 case $(srcdir) in \
21550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21551 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21553 esac; \
21554 module_srcdir=ld; \
21555 $(SHELL) $$s/$$module_srcdir/configure \
21556 --srcdir=$${topdir}/$$module_srcdir \
21557 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21558 --target=${target_alias} \
21560 $(STAGE1_CONFIGURE_FLAGS)
21561 @endif ld-bootstrap
21563 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
21564 maybe-configure-stage2-ld:
21565 @if ld-bootstrap
21566 maybe-configure-stage2-ld: configure-stage2-ld
21567 configure-stage2-ld:
21568 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21569 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21570 @r=`${PWD_COMMAND}`; export r; \
21571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21572 TFLAGS="$(STAGE2_TFLAGS)"; \
21573 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21574 $(HOST_EXPORTS) \
21575 $(POSTSTAGE1_HOST_EXPORTS) \
21576 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21577 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21578 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21579 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
21580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21581 cd $(HOST_SUBDIR)/ld || exit 1; \
21582 case $(srcdir) in \
21583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21584 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21586 esac; \
21587 module_srcdir=ld; \
21588 $(SHELL) $$s/$$module_srcdir/configure \
21589 --srcdir=$${topdir}/$$module_srcdir \
21590 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21591 --target=${target_alias} \
21592 --with-build-libsubdir=$(HOST_SUBDIR) \
21593 $(STAGE2_CONFIGURE_FLAGS)
21594 @endif ld-bootstrap
21596 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
21597 maybe-configure-stage3-ld:
21598 @if ld-bootstrap
21599 maybe-configure-stage3-ld: configure-stage3-ld
21600 configure-stage3-ld:
21601 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21602 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21603 @r=`${PWD_COMMAND}`; export r; \
21604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21605 TFLAGS="$(STAGE3_TFLAGS)"; \
21606 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21607 $(HOST_EXPORTS) \
21608 $(POSTSTAGE1_HOST_EXPORTS) \
21609 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21610 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21611 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21612 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
21613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21614 cd $(HOST_SUBDIR)/ld || exit 1; \
21615 case $(srcdir) in \
21616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21617 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21619 esac; \
21620 module_srcdir=ld; \
21621 $(SHELL) $$s/$$module_srcdir/configure \
21622 --srcdir=$${topdir}/$$module_srcdir \
21623 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21624 --target=${target_alias} \
21625 --with-build-libsubdir=$(HOST_SUBDIR) \
21626 $(STAGE3_CONFIGURE_FLAGS)
21627 @endif ld-bootstrap
21629 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
21630 maybe-configure-stage4-ld:
21631 @if ld-bootstrap
21632 maybe-configure-stage4-ld: configure-stage4-ld
21633 configure-stage4-ld:
21634 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21635 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21636 @r=`${PWD_COMMAND}`; export r; \
21637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21638 TFLAGS="$(STAGE4_TFLAGS)"; \
21639 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21640 $(HOST_EXPORTS) \
21641 $(POSTSTAGE1_HOST_EXPORTS) \
21642 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21643 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21644 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21645 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
21646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21647 cd $(HOST_SUBDIR)/ld || exit 1; \
21648 case $(srcdir) in \
21649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21650 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21652 esac; \
21653 module_srcdir=ld; \
21654 $(SHELL) $$s/$$module_srcdir/configure \
21655 --srcdir=$${topdir}/$$module_srcdir \
21656 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21657 --target=${target_alias} \
21658 --with-build-libsubdir=$(HOST_SUBDIR) \
21659 $(STAGE4_CONFIGURE_FLAGS)
21660 @endif ld-bootstrap
21662 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
21663 maybe-configure-stageprofile-ld:
21664 @if ld-bootstrap
21665 maybe-configure-stageprofile-ld: configure-stageprofile-ld
21666 configure-stageprofile-ld:
21667 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21668 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21669 @r=`${PWD_COMMAND}`; export r; \
21670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21671 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21672 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21673 $(HOST_EXPORTS) \
21674 $(POSTSTAGE1_HOST_EXPORTS) \
21675 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21676 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21677 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21678 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
21679 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21680 cd $(HOST_SUBDIR)/ld || exit 1; \
21681 case $(srcdir) in \
21682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21683 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21685 esac; \
21686 module_srcdir=ld; \
21687 $(SHELL) $$s/$$module_srcdir/configure \
21688 --srcdir=$${topdir}/$$module_srcdir \
21689 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21690 --target=${target_alias} \
21691 --with-build-libsubdir=$(HOST_SUBDIR) \
21692 $(STAGEprofile_CONFIGURE_FLAGS)
21693 @endif ld-bootstrap
21695 .PHONY: configure-stagetrain-ld maybe-configure-stagetrain-ld
21696 maybe-configure-stagetrain-ld:
21697 @if ld-bootstrap
21698 maybe-configure-stagetrain-ld: configure-stagetrain-ld
21699 configure-stagetrain-ld:
21700 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
21701 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21702 @r=`${PWD_COMMAND}`; export r; \
21703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21704 TFLAGS="$(STAGEtrain_TFLAGS)"; \
21705 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21706 $(HOST_EXPORTS) \
21707 $(POSTSTAGE1_HOST_EXPORTS) \
21708 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
21709 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
21710 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
21711 echo Configuring stage train in $(HOST_SUBDIR)/ld; \
21712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21713 cd $(HOST_SUBDIR)/ld || exit 1; \
21714 case $(srcdir) in \
21715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21716 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21718 esac; \
21719 module_srcdir=ld; \
21720 $(SHELL) $$s/$$module_srcdir/configure \
21721 --srcdir=$${topdir}/$$module_srcdir \
21722 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21723 --target=${target_alias} \
21724 --with-build-libsubdir=$(HOST_SUBDIR) \
21725 $(STAGEtrain_CONFIGURE_FLAGS)
21726 @endif ld-bootstrap
21728 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
21729 maybe-configure-stagefeedback-ld:
21730 @if ld-bootstrap
21731 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
21732 configure-stagefeedback-ld:
21733 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21734 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21735 @r=`${PWD_COMMAND}`; export r; \
21736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21737 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21738 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21739 $(HOST_EXPORTS) \
21740 $(POSTSTAGE1_HOST_EXPORTS) \
21741 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21742 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21743 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21744 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
21745 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21746 cd $(HOST_SUBDIR)/ld || exit 1; \
21747 case $(srcdir) in \
21748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21749 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21751 esac; \
21752 module_srcdir=ld; \
21753 $(SHELL) $$s/$$module_srcdir/configure \
21754 --srcdir=$${topdir}/$$module_srcdir \
21755 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21756 --target=${target_alias} \
21757 --with-build-libsubdir=$(HOST_SUBDIR) \
21758 $(STAGEfeedback_CONFIGURE_FLAGS)
21759 @endif ld-bootstrap
21761 .PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
21762 maybe-configure-stageautoprofile-ld:
21763 @if ld-bootstrap
21764 maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
21765 configure-stageautoprofile-ld:
21766 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21767 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21768 @r=`${PWD_COMMAND}`; export r; \
21769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21770 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21771 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21772 $(HOST_EXPORTS) \
21773 $(POSTSTAGE1_HOST_EXPORTS) \
21774 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
21775 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
21776 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
21777 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
21778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21779 cd $(HOST_SUBDIR)/ld || exit 1; \
21780 case $(srcdir) in \
21781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21782 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21784 esac; \
21785 module_srcdir=ld; \
21786 $(SHELL) $$s/$$module_srcdir/configure \
21787 --srcdir=$${topdir}/$$module_srcdir \
21788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21789 --target=${target_alias} \
21790 --with-build-libsubdir=$(HOST_SUBDIR) \
21791 $(STAGEautoprofile_CONFIGURE_FLAGS)
21792 @endif ld-bootstrap
21794 .PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
21795 maybe-configure-stageautofeedback-ld:
21796 @if ld-bootstrap
21797 maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
21798 configure-stageautofeedback-ld:
21799 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21800 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
21801 @r=`${PWD_COMMAND}`; export r; \
21802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21803 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21804 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
21805 $(HOST_EXPORTS) \
21806 $(POSTSTAGE1_HOST_EXPORTS) \
21807 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
21808 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
21809 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
21810 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
21811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
21812 cd $(HOST_SUBDIR)/ld || exit 1; \
21813 case $(srcdir) in \
21814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21815 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
21816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21817 esac; \
21818 module_srcdir=ld; \
21819 $(SHELL) $$s/$$module_srcdir/configure \
21820 --srcdir=$${topdir}/$$module_srcdir \
21821 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21822 --target=${target_alias} \
21823 --with-build-libsubdir=$(HOST_SUBDIR) \
21824 $(STAGEautofeedback_CONFIGURE_FLAGS)
21825 @endif ld-bootstrap
21831 .PHONY: all-ld maybe-all-ld
21832 maybe-all-ld:
21833 @if gcc-bootstrap
21834 all-ld: stage_current
21835 @endif gcc-bootstrap
21836 @if ld
21837 TARGET-ld=all
21838 maybe-all-ld: all-ld
21839 all-ld: configure-ld
21840 @r=`${PWD_COMMAND}`; export r; \
21841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21842 $(HOST_EXPORTS) \
21843 (cd $(HOST_SUBDIR)/ld && \
21844 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21845 $(TARGET-ld))
21846 @endif ld
21850 .PHONY: all-stage1-ld maybe-all-stage1-ld
21851 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
21852 maybe-all-stage1-ld:
21853 maybe-clean-stage1-ld:
21854 @if ld-bootstrap
21855 maybe-all-stage1-ld: all-stage1-ld
21856 all-stage1: all-stage1-ld
21857 TARGET-stage1-ld = $(TARGET-ld)
21858 all-stage1-ld: configure-stage1-ld
21859 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21860 @r=`${PWD_COMMAND}`; export r; \
21861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21862 TFLAGS="$(STAGE1_TFLAGS)"; \
21863 $(HOST_EXPORTS) \
21864 cd $(HOST_SUBDIR)/ld && \
21866 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21867 CFLAGS="$(STAGE1_CFLAGS)" \
21868 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21869 LIBCFLAGS="$(LIBCFLAGS)" \
21870 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21871 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21872 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21873 $(EXTRA_HOST_FLAGS) \
21874 $(STAGE1_FLAGS_TO_PASS) \
21875 TFLAGS="$(STAGE1_TFLAGS)" \
21876 $(TARGET-stage1-ld)
21878 maybe-clean-stage1-ld: clean-stage1-ld
21879 clean-stage1: clean-stage1-ld
21880 clean-stage1-ld:
21881 @if [ $(current_stage) = stage1 ]; then \
21882 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21883 else \
21884 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
21885 $(MAKE) stage1-start; \
21886 fi; \
21887 cd $(HOST_SUBDIR)/ld && \
21888 $(MAKE) $(EXTRA_HOST_FLAGS) \
21889 $(STAGE1_FLAGS_TO_PASS) clean
21890 @endif ld-bootstrap
21893 .PHONY: all-stage2-ld maybe-all-stage2-ld
21894 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
21895 maybe-all-stage2-ld:
21896 maybe-clean-stage2-ld:
21897 @if ld-bootstrap
21898 maybe-all-stage2-ld: all-stage2-ld
21899 all-stage2: all-stage2-ld
21900 TARGET-stage2-ld = $(TARGET-ld)
21901 all-stage2-ld: configure-stage2-ld
21902 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21903 @r=`${PWD_COMMAND}`; export r; \
21904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21905 TFLAGS="$(STAGE2_TFLAGS)"; \
21906 $(HOST_EXPORTS) \
21907 $(POSTSTAGE1_HOST_EXPORTS) \
21908 cd $(HOST_SUBDIR)/ld && \
21910 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21911 CFLAGS="$(STAGE2_CFLAGS)" \
21912 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21913 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21914 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21915 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21916 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21917 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21918 TFLAGS="$(STAGE2_TFLAGS)" \
21919 $(TARGET-stage2-ld)
21921 maybe-clean-stage2-ld: clean-stage2-ld
21922 clean-stage2: clean-stage2-ld
21923 clean-stage2-ld:
21924 @if [ $(current_stage) = stage2 ]; then \
21925 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21926 else \
21927 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
21928 $(MAKE) stage2-start; \
21929 fi; \
21930 cd $(HOST_SUBDIR)/ld && \
21931 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21932 @endif ld-bootstrap
21935 .PHONY: all-stage3-ld maybe-all-stage3-ld
21936 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
21937 maybe-all-stage3-ld:
21938 maybe-clean-stage3-ld:
21939 @if ld-bootstrap
21940 maybe-all-stage3-ld: all-stage3-ld
21941 all-stage3: all-stage3-ld
21942 TARGET-stage3-ld = $(TARGET-ld)
21943 all-stage3-ld: configure-stage3-ld
21944 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21945 @r=`${PWD_COMMAND}`; export r; \
21946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21947 TFLAGS="$(STAGE3_TFLAGS)"; \
21948 $(HOST_EXPORTS) \
21949 $(POSTSTAGE1_HOST_EXPORTS) \
21950 cd $(HOST_SUBDIR)/ld && \
21952 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21953 CFLAGS="$(STAGE3_CFLAGS)" \
21954 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21955 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21956 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21957 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21958 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21959 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21960 TFLAGS="$(STAGE3_TFLAGS)" \
21961 $(TARGET-stage3-ld)
21963 maybe-clean-stage3-ld: clean-stage3-ld
21964 clean-stage3: clean-stage3-ld
21965 clean-stage3-ld:
21966 @if [ $(current_stage) = stage3 ]; then \
21967 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
21968 else \
21969 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
21970 $(MAKE) stage3-start; \
21971 fi; \
21972 cd $(HOST_SUBDIR)/ld && \
21973 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21974 @endif ld-bootstrap
21977 .PHONY: all-stage4-ld maybe-all-stage4-ld
21978 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
21979 maybe-all-stage4-ld:
21980 maybe-clean-stage4-ld:
21981 @if ld-bootstrap
21982 maybe-all-stage4-ld: all-stage4-ld
21983 all-stage4: all-stage4-ld
21984 TARGET-stage4-ld = $(TARGET-ld)
21985 all-stage4-ld: configure-stage4-ld
21986 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21987 @r=`${PWD_COMMAND}`; export r; \
21988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21989 TFLAGS="$(STAGE4_TFLAGS)"; \
21990 $(HOST_EXPORTS) \
21991 $(POSTSTAGE1_HOST_EXPORTS) \
21992 cd $(HOST_SUBDIR)/ld && \
21994 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21995 CFLAGS="$(STAGE4_CFLAGS)" \
21996 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21997 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21998 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21999 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22000 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22001 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22002 TFLAGS="$(STAGE4_TFLAGS)" \
22003 $(TARGET-stage4-ld)
22005 maybe-clean-stage4-ld: clean-stage4-ld
22006 clean-stage4: clean-stage4-ld
22007 clean-stage4-ld:
22008 @if [ $(current_stage) = stage4 ]; then \
22009 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22010 else \
22011 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
22012 $(MAKE) stage4-start; \
22013 fi; \
22014 cd $(HOST_SUBDIR)/ld && \
22015 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22016 @endif ld-bootstrap
22019 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
22020 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
22021 maybe-all-stageprofile-ld:
22022 maybe-clean-stageprofile-ld:
22023 @if ld-bootstrap
22024 maybe-all-stageprofile-ld: all-stageprofile-ld
22025 all-stageprofile: all-stageprofile-ld
22026 TARGET-stageprofile-ld = $(TARGET-ld)
22027 all-stageprofile-ld: configure-stageprofile-ld
22028 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22029 @r=`${PWD_COMMAND}`; export r; \
22030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22031 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22032 $(HOST_EXPORTS) \
22033 $(POSTSTAGE1_HOST_EXPORTS) \
22034 cd $(HOST_SUBDIR)/ld && \
22036 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22037 CFLAGS="$(STAGEprofile_CFLAGS)" \
22038 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22039 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22040 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22041 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22042 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22043 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22044 TFLAGS="$(STAGEprofile_TFLAGS)" \
22045 $(TARGET-stageprofile-ld)
22047 maybe-clean-stageprofile-ld: clean-stageprofile-ld
22048 clean-stageprofile: clean-stageprofile-ld
22049 clean-stageprofile-ld:
22050 @if [ $(current_stage) = stageprofile ]; then \
22051 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22052 else \
22053 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
22054 $(MAKE) stageprofile-start; \
22055 fi; \
22056 cd $(HOST_SUBDIR)/ld && \
22057 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22058 @endif ld-bootstrap
22061 .PHONY: all-stagetrain-ld maybe-all-stagetrain-ld
22062 .PHONY: clean-stagetrain-ld maybe-clean-stagetrain-ld
22063 maybe-all-stagetrain-ld:
22064 maybe-clean-stagetrain-ld:
22065 @if ld-bootstrap
22066 maybe-all-stagetrain-ld: all-stagetrain-ld
22067 all-stagetrain: all-stagetrain-ld
22068 TARGET-stagetrain-ld = $(TARGET-ld)
22069 all-stagetrain-ld: configure-stagetrain-ld
22070 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22071 @r=`${PWD_COMMAND}`; export r; \
22072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22073 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22074 $(HOST_EXPORTS) \
22075 $(POSTSTAGE1_HOST_EXPORTS) \
22076 cd $(HOST_SUBDIR)/ld && \
22078 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22079 CFLAGS="$(STAGEtrain_CFLAGS)" \
22080 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
22081 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
22082 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22083 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22084 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22085 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22086 TFLAGS="$(STAGEtrain_TFLAGS)" \
22087 $(TARGET-stagetrain-ld)
22089 maybe-clean-stagetrain-ld: clean-stagetrain-ld
22090 clean-stagetrain: clean-stagetrain-ld
22091 clean-stagetrain-ld:
22092 @if [ $(current_stage) = stagetrain ]; then \
22093 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22094 else \
22095 [ -f $(HOST_SUBDIR)/stagetrain-ld/Makefile ] || exit 0; \
22096 $(MAKE) stagetrain-start; \
22097 fi; \
22098 cd $(HOST_SUBDIR)/ld && \
22099 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22100 @endif ld-bootstrap
22103 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
22104 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
22105 maybe-all-stagefeedback-ld:
22106 maybe-clean-stagefeedback-ld:
22107 @if ld-bootstrap
22108 maybe-all-stagefeedback-ld: all-stagefeedback-ld
22109 all-stagefeedback: all-stagefeedback-ld
22110 TARGET-stagefeedback-ld = $(TARGET-ld)
22111 all-stagefeedback-ld: configure-stagefeedback-ld
22112 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22113 @r=`${PWD_COMMAND}`; export r; \
22114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22115 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22116 $(HOST_EXPORTS) \
22117 $(POSTSTAGE1_HOST_EXPORTS) \
22118 cd $(HOST_SUBDIR)/ld && \
22120 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22121 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22122 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22123 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22124 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22125 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22126 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22127 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22128 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22129 $(TARGET-stagefeedback-ld)
22131 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
22132 clean-stagefeedback: clean-stagefeedback-ld
22133 clean-stagefeedback-ld:
22134 @if [ $(current_stage) = stagefeedback ]; then \
22135 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22136 else \
22137 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
22138 $(MAKE) stagefeedback-start; \
22139 fi; \
22140 cd $(HOST_SUBDIR)/ld && \
22141 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22142 @endif ld-bootstrap
22145 .PHONY: all-stageautoprofile-ld maybe-all-stageautoprofile-ld
22146 .PHONY: clean-stageautoprofile-ld maybe-clean-stageautoprofile-ld
22147 maybe-all-stageautoprofile-ld:
22148 maybe-clean-stageautoprofile-ld:
22149 @if ld-bootstrap
22150 maybe-all-stageautoprofile-ld: all-stageautoprofile-ld
22151 all-stageautoprofile: all-stageautoprofile-ld
22152 TARGET-stageautoprofile-ld = $(TARGET-ld)
22153 all-stageautoprofile-ld: configure-stageautoprofile-ld
22154 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22155 @r=`${PWD_COMMAND}`; export r; \
22156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22157 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22158 $(HOST_EXPORTS) \
22159 $(POSTSTAGE1_HOST_EXPORTS) \
22160 cd $(HOST_SUBDIR)/ld && \
22161 $$s/gcc/config/i386/$(AUTO_PROFILE) \
22162 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22163 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
22164 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
22165 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
22166 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22167 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22168 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22169 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22170 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
22171 $(TARGET-stageautoprofile-ld)
22173 maybe-clean-stageautoprofile-ld: clean-stageautoprofile-ld
22174 clean-stageautoprofile: clean-stageautoprofile-ld
22175 clean-stageautoprofile-ld:
22176 @if [ $(current_stage) = stageautoprofile ]; then \
22177 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22178 else \
22179 [ -f $(HOST_SUBDIR)/stageautoprofile-ld/Makefile ] || exit 0; \
22180 $(MAKE) stageautoprofile-start; \
22181 fi; \
22182 cd $(HOST_SUBDIR)/ld && \
22183 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22184 @endif ld-bootstrap
22187 .PHONY: all-stageautofeedback-ld maybe-all-stageautofeedback-ld
22188 .PHONY: clean-stageautofeedback-ld maybe-clean-stageautofeedback-ld
22189 maybe-all-stageautofeedback-ld:
22190 maybe-clean-stageautofeedback-ld:
22191 @if ld-bootstrap
22192 maybe-all-stageautofeedback-ld: all-stageautofeedback-ld
22193 all-stageautofeedback: all-stageautofeedback-ld
22194 TARGET-stageautofeedback-ld = $(TARGET-ld)
22195 all-stageautofeedback-ld: configure-stageautofeedback-ld
22196 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22197 @r=`${PWD_COMMAND}`; export r; \
22198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22199 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22200 $(HOST_EXPORTS) \
22201 $(POSTSTAGE1_HOST_EXPORTS) \
22202 cd $(HOST_SUBDIR)/ld && \
22204 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22205 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
22206 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
22207 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
22208 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22209 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22210 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22211 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22212 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
22213 $(TARGET-stageautofeedback-ld)
22215 maybe-clean-stageautofeedback-ld: clean-stageautofeedback-ld
22216 clean-stageautofeedback: clean-stageautofeedback-ld
22217 clean-stageautofeedback-ld:
22218 @if [ $(current_stage) = stageautofeedback ]; then \
22219 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22220 else \
22221 [ -f $(HOST_SUBDIR)/stageautofeedback-ld/Makefile ] || exit 0; \
22222 $(MAKE) stageautofeedback-start; \
22223 fi; \
22224 cd $(HOST_SUBDIR)/ld && \
22225 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22226 @endif ld-bootstrap
22232 .PHONY: check-ld maybe-check-ld
22233 maybe-check-ld:
22234 @if ld
22235 maybe-check-ld: check-ld
22237 check-ld:
22238 @: $(MAKE); $(unstage)
22239 @r=`${PWD_COMMAND}`; export r; \
22240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22241 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
22242 (cd $(HOST_SUBDIR)/ld && \
22243 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
22245 @endif ld
22247 .PHONY: install-ld maybe-install-ld
22248 maybe-install-ld:
22249 @if ld
22250 maybe-install-ld: install-ld
22252 install-ld: installdirs
22253 @: $(MAKE); $(unstage)
22254 @r=`${PWD_COMMAND}`; export r; \
22255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22256 $(HOST_EXPORTS) \
22257 (cd $(HOST_SUBDIR)/ld && \
22258 $(MAKE) $(FLAGS_TO_PASS) install)
22260 @endif ld
22262 .PHONY: install-strip-ld maybe-install-strip-ld
22263 maybe-install-strip-ld:
22264 @if ld
22265 maybe-install-strip-ld: install-strip-ld
22267 install-strip-ld: installdirs
22268 @: $(MAKE); $(unstage)
22269 @r=`${PWD_COMMAND}`; export r; \
22270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22271 $(HOST_EXPORTS) \
22272 (cd $(HOST_SUBDIR)/ld && \
22273 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22275 @endif ld
22277 # Other targets (info, dvi, pdf, etc.)
22279 .PHONY: maybe-info-ld info-ld
22280 maybe-info-ld:
22281 @if ld
22282 maybe-info-ld: info-ld
22284 info-ld: \
22285 configure-ld
22286 @[ -f ./ld/Makefile ] || exit 0; \
22287 r=`${PWD_COMMAND}`; export r; \
22288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22289 $(HOST_EXPORTS) \
22290 for flag in $(EXTRA_HOST_FLAGS) ; do \
22291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22292 done; \
22293 echo "Doing info in ld"; \
22294 (cd $(HOST_SUBDIR)/ld && \
22295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22297 "RANLIB=$${RANLIB}" \
22298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22299 info) \
22300 || exit 1
22302 @endif ld
22304 .PHONY: maybe-dvi-ld dvi-ld
22305 maybe-dvi-ld:
22306 @if ld
22307 maybe-dvi-ld: dvi-ld
22309 dvi-ld: \
22310 configure-ld
22311 @[ -f ./ld/Makefile ] || exit 0; \
22312 r=`${PWD_COMMAND}`; export r; \
22313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22314 $(HOST_EXPORTS) \
22315 for flag in $(EXTRA_HOST_FLAGS) ; do \
22316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22317 done; \
22318 echo "Doing dvi in ld"; \
22319 (cd $(HOST_SUBDIR)/ld && \
22320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22322 "RANLIB=$${RANLIB}" \
22323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22324 dvi) \
22325 || exit 1
22327 @endif ld
22329 .PHONY: maybe-pdf-ld pdf-ld
22330 maybe-pdf-ld:
22331 @if ld
22332 maybe-pdf-ld: pdf-ld
22334 pdf-ld: \
22335 configure-ld
22336 @[ -f ./ld/Makefile ] || exit 0; \
22337 r=`${PWD_COMMAND}`; export r; \
22338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22339 $(HOST_EXPORTS) \
22340 for flag in $(EXTRA_HOST_FLAGS) ; do \
22341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22342 done; \
22343 echo "Doing pdf in ld"; \
22344 (cd $(HOST_SUBDIR)/ld && \
22345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22347 "RANLIB=$${RANLIB}" \
22348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22349 pdf) \
22350 || exit 1
22352 @endif ld
22354 .PHONY: maybe-html-ld html-ld
22355 maybe-html-ld:
22356 @if ld
22357 maybe-html-ld: html-ld
22359 html-ld: \
22360 configure-ld
22361 @[ -f ./ld/Makefile ] || exit 0; \
22362 r=`${PWD_COMMAND}`; export r; \
22363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22364 $(HOST_EXPORTS) \
22365 for flag in $(EXTRA_HOST_FLAGS) ; do \
22366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22367 done; \
22368 echo "Doing html in ld"; \
22369 (cd $(HOST_SUBDIR)/ld && \
22370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22372 "RANLIB=$${RANLIB}" \
22373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22374 html) \
22375 || exit 1
22377 @endif ld
22379 .PHONY: maybe-TAGS-ld TAGS-ld
22380 maybe-TAGS-ld:
22381 @if ld
22382 maybe-TAGS-ld: TAGS-ld
22384 TAGS-ld: \
22385 configure-ld
22386 @[ -f ./ld/Makefile ] || exit 0; \
22387 r=`${PWD_COMMAND}`; export r; \
22388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22389 $(HOST_EXPORTS) \
22390 for flag in $(EXTRA_HOST_FLAGS) ; do \
22391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22392 done; \
22393 echo "Doing TAGS in ld"; \
22394 (cd $(HOST_SUBDIR)/ld && \
22395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22397 "RANLIB=$${RANLIB}" \
22398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22399 TAGS) \
22400 || exit 1
22402 @endif ld
22404 .PHONY: maybe-install-info-ld install-info-ld
22405 maybe-install-info-ld:
22406 @if ld
22407 maybe-install-info-ld: install-info-ld
22409 install-info-ld: \
22410 configure-ld \
22411 info-ld
22412 @[ -f ./ld/Makefile ] || exit 0; \
22413 r=`${PWD_COMMAND}`; export r; \
22414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22415 $(HOST_EXPORTS) \
22416 for flag in $(EXTRA_HOST_FLAGS) ; do \
22417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22418 done; \
22419 echo "Doing install-info in ld"; \
22420 (cd $(HOST_SUBDIR)/ld && \
22421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22423 "RANLIB=$${RANLIB}" \
22424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22425 install-info) \
22426 || exit 1
22428 @endif ld
22430 .PHONY: maybe-install-pdf-ld install-pdf-ld
22431 maybe-install-pdf-ld:
22432 @if ld
22433 maybe-install-pdf-ld: install-pdf-ld
22435 install-pdf-ld: \
22436 configure-ld \
22437 pdf-ld
22438 @[ -f ./ld/Makefile ] || exit 0; \
22439 r=`${PWD_COMMAND}`; export r; \
22440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22441 $(HOST_EXPORTS) \
22442 for flag in $(EXTRA_HOST_FLAGS) ; do \
22443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22444 done; \
22445 echo "Doing install-pdf in ld"; \
22446 (cd $(HOST_SUBDIR)/ld && \
22447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22449 "RANLIB=$${RANLIB}" \
22450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22451 install-pdf) \
22452 || exit 1
22454 @endif ld
22456 .PHONY: maybe-install-html-ld install-html-ld
22457 maybe-install-html-ld:
22458 @if ld
22459 maybe-install-html-ld: install-html-ld
22461 install-html-ld: \
22462 configure-ld \
22463 html-ld
22464 @[ -f ./ld/Makefile ] || exit 0; \
22465 r=`${PWD_COMMAND}`; export r; \
22466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22467 $(HOST_EXPORTS) \
22468 for flag in $(EXTRA_HOST_FLAGS) ; do \
22469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22470 done; \
22471 echo "Doing install-html in ld"; \
22472 (cd $(HOST_SUBDIR)/ld && \
22473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22475 "RANLIB=$${RANLIB}" \
22476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22477 install-html) \
22478 || exit 1
22480 @endif ld
22482 .PHONY: maybe-installcheck-ld installcheck-ld
22483 maybe-installcheck-ld:
22484 @if ld
22485 maybe-installcheck-ld: installcheck-ld
22487 installcheck-ld: \
22488 configure-ld
22489 @[ -f ./ld/Makefile ] || exit 0; \
22490 r=`${PWD_COMMAND}`; export r; \
22491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22492 $(HOST_EXPORTS) \
22493 for flag in $(EXTRA_HOST_FLAGS) ; do \
22494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22495 done; \
22496 echo "Doing installcheck in ld"; \
22497 (cd $(HOST_SUBDIR)/ld && \
22498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22500 "RANLIB=$${RANLIB}" \
22501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22502 installcheck) \
22503 || exit 1
22505 @endif ld
22507 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
22508 maybe-mostlyclean-ld:
22509 @if ld
22510 maybe-mostlyclean-ld: mostlyclean-ld
22512 mostlyclean-ld:
22513 @[ -f ./ld/Makefile ] || exit 0; \
22514 r=`${PWD_COMMAND}`; export r; \
22515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22516 $(HOST_EXPORTS) \
22517 for flag in $(EXTRA_HOST_FLAGS) ; do \
22518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22519 done; \
22520 echo "Doing mostlyclean in ld"; \
22521 (cd $(HOST_SUBDIR)/ld && \
22522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22524 "RANLIB=$${RANLIB}" \
22525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22526 mostlyclean) \
22527 || exit 1
22529 @endif ld
22531 .PHONY: maybe-clean-ld clean-ld
22532 maybe-clean-ld:
22533 @if ld
22534 maybe-clean-ld: clean-ld
22536 clean-ld:
22537 @[ -f ./ld/Makefile ] || exit 0; \
22538 r=`${PWD_COMMAND}`; export r; \
22539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22540 $(HOST_EXPORTS) \
22541 for flag in $(EXTRA_HOST_FLAGS) ; do \
22542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22543 done; \
22544 echo "Doing clean in ld"; \
22545 (cd $(HOST_SUBDIR)/ld && \
22546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22548 "RANLIB=$${RANLIB}" \
22549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22550 clean) \
22551 || exit 1
22553 @endif ld
22555 .PHONY: maybe-distclean-ld distclean-ld
22556 maybe-distclean-ld:
22557 @if ld
22558 maybe-distclean-ld: distclean-ld
22560 distclean-ld:
22561 @[ -f ./ld/Makefile ] || exit 0; \
22562 r=`${PWD_COMMAND}`; export r; \
22563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22564 $(HOST_EXPORTS) \
22565 for flag in $(EXTRA_HOST_FLAGS) ; do \
22566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22567 done; \
22568 echo "Doing distclean in ld"; \
22569 (cd $(HOST_SUBDIR)/ld && \
22570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22572 "RANLIB=$${RANLIB}" \
22573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22574 distclean) \
22575 || exit 1
22577 @endif ld
22579 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
22580 maybe-maintainer-clean-ld:
22581 @if ld
22582 maybe-maintainer-clean-ld: maintainer-clean-ld
22584 maintainer-clean-ld:
22585 @[ -f ./ld/Makefile ] || exit 0; \
22586 r=`${PWD_COMMAND}`; export r; \
22587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22588 $(HOST_EXPORTS) \
22589 for flag in $(EXTRA_HOST_FLAGS) ; do \
22590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22591 done; \
22592 echo "Doing maintainer-clean in ld"; \
22593 (cd $(HOST_SUBDIR)/ld && \
22594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22596 "RANLIB=$${RANLIB}" \
22597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22598 maintainer-clean) \
22599 || exit 1
22601 @endif ld
22605 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
22606 maybe-configure-libbacktrace:
22607 @if gcc-bootstrap
22608 configure-libbacktrace: stage_current
22609 @endif gcc-bootstrap
22610 @if libbacktrace
22611 maybe-configure-libbacktrace: configure-libbacktrace
22612 configure-libbacktrace:
22613 @r=`${PWD_COMMAND}`; export r; \
22614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22615 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22616 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22617 $(HOST_EXPORTS) \
22618 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
22619 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
22620 case $(srcdir) in \
22621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22622 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22624 esac; \
22625 module_srcdir=libbacktrace; \
22626 $(SHELL) \
22627 $$s/$$module_srcdir/configure \
22628 --srcdir=$${topdir}/$$module_srcdir \
22629 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22630 --target=${target_alias} \
22631 || exit 1
22632 @endif libbacktrace
22636 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
22637 maybe-configure-stage1-libbacktrace:
22638 @if libbacktrace-bootstrap
22639 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
22640 configure-stage1-libbacktrace:
22641 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22642 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22643 @r=`${PWD_COMMAND}`; export r; \
22644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22645 TFLAGS="$(STAGE1_TFLAGS)"; \
22646 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22647 $(HOST_EXPORTS) \
22648 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22649 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22650 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22651 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
22652 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22653 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22654 case $(srcdir) in \
22655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22656 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22658 esac; \
22659 module_srcdir=libbacktrace; \
22660 $(SHELL) $$s/$$module_srcdir/configure \
22661 --srcdir=$${topdir}/$$module_srcdir \
22662 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22663 --target=${target_alias} \
22665 $(STAGE1_CONFIGURE_FLAGS)
22666 @endif libbacktrace-bootstrap
22668 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
22669 maybe-configure-stage2-libbacktrace:
22670 @if libbacktrace-bootstrap
22671 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
22672 configure-stage2-libbacktrace:
22673 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22674 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22675 @r=`${PWD_COMMAND}`; export r; \
22676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22677 TFLAGS="$(STAGE2_TFLAGS)"; \
22678 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22679 $(HOST_EXPORTS) \
22680 $(POSTSTAGE1_HOST_EXPORTS) \
22681 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22682 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22683 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22684 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
22685 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22686 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22687 case $(srcdir) in \
22688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22689 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22691 esac; \
22692 module_srcdir=libbacktrace; \
22693 $(SHELL) $$s/$$module_srcdir/configure \
22694 --srcdir=$${topdir}/$$module_srcdir \
22695 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22696 --target=${target_alias} \
22697 --with-build-libsubdir=$(HOST_SUBDIR) \
22698 $(STAGE2_CONFIGURE_FLAGS)
22699 @endif libbacktrace-bootstrap
22701 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
22702 maybe-configure-stage3-libbacktrace:
22703 @if libbacktrace-bootstrap
22704 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
22705 configure-stage3-libbacktrace:
22706 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22707 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22708 @r=`${PWD_COMMAND}`; export r; \
22709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22710 TFLAGS="$(STAGE3_TFLAGS)"; \
22711 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22712 $(HOST_EXPORTS) \
22713 $(POSTSTAGE1_HOST_EXPORTS) \
22714 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22715 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22716 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22717 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
22718 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22719 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22720 case $(srcdir) in \
22721 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22722 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22723 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22724 esac; \
22725 module_srcdir=libbacktrace; \
22726 $(SHELL) $$s/$$module_srcdir/configure \
22727 --srcdir=$${topdir}/$$module_srcdir \
22728 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22729 --target=${target_alias} \
22730 --with-build-libsubdir=$(HOST_SUBDIR) \
22731 $(STAGE3_CONFIGURE_FLAGS)
22732 @endif libbacktrace-bootstrap
22734 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
22735 maybe-configure-stage4-libbacktrace:
22736 @if libbacktrace-bootstrap
22737 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
22738 configure-stage4-libbacktrace:
22739 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22740 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22741 @r=`${PWD_COMMAND}`; export r; \
22742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22743 TFLAGS="$(STAGE4_TFLAGS)"; \
22744 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22745 $(HOST_EXPORTS) \
22746 $(POSTSTAGE1_HOST_EXPORTS) \
22747 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22748 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22749 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22750 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
22751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22752 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22753 case $(srcdir) in \
22754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22755 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22757 esac; \
22758 module_srcdir=libbacktrace; \
22759 $(SHELL) $$s/$$module_srcdir/configure \
22760 --srcdir=$${topdir}/$$module_srcdir \
22761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22762 --target=${target_alias} \
22763 --with-build-libsubdir=$(HOST_SUBDIR) \
22764 $(STAGE4_CONFIGURE_FLAGS)
22765 @endif libbacktrace-bootstrap
22767 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
22768 maybe-configure-stageprofile-libbacktrace:
22769 @if libbacktrace-bootstrap
22770 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
22771 configure-stageprofile-libbacktrace:
22772 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22773 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22774 @r=`${PWD_COMMAND}`; export r; \
22775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22776 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22777 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22778 $(HOST_EXPORTS) \
22779 $(POSTSTAGE1_HOST_EXPORTS) \
22780 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22781 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22782 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22783 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
22784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22785 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22786 case $(srcdir) in \
22787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22788 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22790 esac; \
22791 module_srcdir=libbacktrace; \
22792 $(SHELL) $$s/$$module_srcdir/configure \
22793 --srcdir=$${topdir}/$$module_srcdir \
22794 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22795 --target=${target_alias} \
22796 --with-build-libsubdir=$(HOST_SUBDIR) \
22797 $(STAGEprofile_CONFIGURE_FLAGS)
22798 @endif libbacktrace-bootstrap
22800 .PHONY: configure-stagetrain-libbacktrace maybe-configure-stagetrain-libbacktrace
22801 maybe-configure-stagetrain-libbacktrace:
22802 @if libbacktrace-bootstrap
22803 maybe-configure-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
22804 configure-stagetrain-libbacktrace:
22805 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22806 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22807 @r=`${PWD_COMMAND}`; export r; \
22808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22809 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22810 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22811 $(HOST_EXPORTS) \
22812 $(POSTSTAGE1_HOST_EXPORTS) \
22813 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
22814 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
22815 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
22816 echo Configuring stage train in $(HOST_SUBDIR)/libbacktrace; \
22817 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22818 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22819 case $(srcdir) in \
22820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22821 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22823 esac; \
22824 module_srcdir=libbacktrace; \
22825 $(SHELL) $$s/$$module_srcdir/configure \
22826 --srcdir=$${topdir}/$$module_srcdir \
22827 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22828 --target=${target_alias} \
22829 --with-build-libsubdir=$(HOST_SUBDIR) \
22830 $(STAGEtrain_CONFIGURE_FLAGS)
22831 @endif libbacktrace-bootstrap
22833 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
22834 maybe-configure-stagefeedback-libbacktrace:
22835 @if libbacktrace-bootstrap
22836 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
22837 configure-stagefeedback-libbacktrace:
22838 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22839 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22840 @r=`${PWD_COMMAND}`; export r; \
22841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22842 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22843 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22844 $(HOST_EXPORTS) \
22845 $(POSTSTAGE1_HOST_EXPORTS) \
22846 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22847 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22848 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22849 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
22850 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22851 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22852 case $(srcdir) in \
22853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22854 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22856 esac; \
22857 module_srcdir=libbacktrace; \
22858 $(SHELL) $$s/$$module_srcdir/configure \
22859 --srcdir=$${topdir}/$$module_srcdir \
22860 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22861 --target=${target_alias} \
22862 --with-build-libsubdir=$(HOST_SUBDIR) \
22863 $(STAGEfeedback_CONFIGURE_FLAGS)
22864 @endif libbacktrace-bootstrap
22866 .PHONY: configure-stageautoprofile-libbacktrace maybe-configure-stageautoprofile-libbacktrace
22867 maybe-configure-stageautoprofile-libbacktrace:
22868 @if libbacktrace-bootstrap
22869 maybe-configure-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
22870 configure-stageautoprofile-libbacktrace:
22871 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22872 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22873 @r=`${PWD_COMMAND}`; export r; \
22874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22875 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22876 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22877 $(HOST_EXPORTS) \
22878 $(POSTSTAGE1_HOST_EXPORTS) \
22879 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
22880 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
22881 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
22882 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libbacktrace; \
22883 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22884 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22885 case $(srcdir) in \
22886 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22887 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22888 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22889 esac; \
22890 module_srcdir=libbacktrace; \
22891 $(SHELL) $$s/$$module_srcdir/configure \
22892 --srcdir=$${topdir}/$$module_srcdir \
22893 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22894 --target=${target_alias} \
22895 --with-build-libsubdir=$(HOST_SUBDIR) \
22896 $(STAGEautoprofile_CONFIGURE_FLAGS)
22897 @endif libbacktrace-bootstrap
22899 .PHONY: configure-stageautofeedback-libbacktrace maybe-configure-stageautofeedback-libbacktrace
22900 maybe-configure-stageautofeedback-libbacktrace:
22901 @if libbacktrace-bootstrap
22902 maybe-configure-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
22903 configure-stageautofeedback-libbacktrace:
22904 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22905 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
22906 @r=`${PWD_COMMAND}`; export r; \
22907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22908 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22909 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
22910 $(HOST_EXPORTS) \
22911 $(POSTSTAGE1_HOST_EXPORTS) \
22912 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
22913 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
22914 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
22915 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libbacktrace; \
22916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
22917 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
22918 case $(srcdir) in \
22919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22920 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
22921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22922 esac; \
22923 module_srcdir=libbacktrace; \
22924 $(SHELL) $$s/$$module_srcdir/configure \
22925 --srcdir=$${topdir}/$$module_srcdir \
22926 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22927 --target=${target_alias} \
22928 --with-build-libsubdir=$(HOST_SUBDIR) \
22929 $(STAGEautofeedback_CONFIGURE_FLAGS)
22930 @endif libbacktrace-bootstrap
22936 .PHONY: all-libbacktrace maybe-all-libbacktrace
22937 maybe-all-libbacktrace:
22938 @if gcc-bootstrap
22939 all-libbacktrace: stage_current
22940 @endif gcc-bootstrap
22941 @if libbacktrace
22942 TARGET-libbacktrace=all
22943 maybe-all-libbacktrace: all-libbacktrace
22944 all-libbacktrace: configure-libbacktrace
22945 @r=`${PWD_COMMAND}`; export r; \
22946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22947 $(HOST_EXPORTS) \
22948 (cd $(HOST_SUBDIR)/libbacktrace && \
22949 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22950 $(TARGET-libbacktrace))
22951 @endif libbacktrace
22955 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
22956 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
22957 maybe-all-stage1-libbacktrace:
22958 maybe-clean-stage1-libbacktrace:
22959 @if libbacktrace-bootstrap
22960 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
22961 all-stage1: all-stage1-libbacktrace
22962 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
22963 all-stage1-libbacktrace: configure-stage1-libbacktrace
22964 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22965 @r=`${PWD_COMMAND}`; export r; \
22966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22967 TFLAGS="$(STAGE1_TFLAGS)"; \
22968 $(HOST_EXPORTS) \
22969 cd $(HOST_SUBDIR)/libbacktrace && \
22971 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22972 CFLAGS="$(STAGE1_CFLAGS)" \
22973 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22974 LIBCFLAGS="$(LIBCFLAGS)" \
22975 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22976 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22977 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22978 $(EXTRA_HOST_FLAGS) \
22979 $(STAGE1_FLAGS_TO_PASS) \
22980 TFLAGS="$(STAGE1_TFLAGS)" \
22981 $(TARGET-stage1-libbacktrace)
22983 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
22984 clean-stage1: clean-stage1-libbacktrace
22985 clean-stage1-libbacktrace:
22986 @if [ $(current_stage) = stage1 ]; then \
22987 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
22988 else \
22989 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
22990 $(MAKE) stage1-start; \
22991 fi; \
22992 cd $(HOST_SUBDIR)/libbacktrace && \
22993 $(MAKE) $(EXTRA_HOST_FLAGS) \
22994 $(STAGE1_FLAGS_TO_PASS) clean
22995 @endif libbacktrace-bootstrap
22998 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
22999 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
23000 maybe-all-stage2-libbacktrace:
23001 maybe-clean-stage2-libbacktrace:
23002 @if libbacktrace-bootstrap
23003 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
23004 all-stage2: all-stage2-libbacktrace
23005 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
23006 all-stage2-libbacktrace: configure-stage2-libbacktrace
23007 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23008 @r=`${PWD_COMMAND}`; export r; \
23009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23010 TFLAGS="$(STAGE2_TFLAGS)"; \
23011 $(HOST_EXPORTS) \
23012 $(POSTSTAGE1_HOST_EXPORTS) \
23013 cd $(HOST_SUBDIR)/libbacktrace && \
23015 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23016 CFLAGS="$(STAGE2_CFLAGS)" \
23017 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23018 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23019 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23020 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23021 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23022 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23023 TFLAGS="$(STAGE2_TFLAGS)" \
23024 $(TARGET-stage2-libbacktrace)
23026 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
23027 clean-stage2: clean-stage2-libbacktrace
23028 clean-stage2-libbacktrace:
23029 @if [ $(current_stage) = stage2 ]; then \
23030 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23031 else \
23032 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
23033 $(MAKE) stage2-start; \
23034 fi; \
23035 cd $(HOST_SUBDIR)/libbacktrace && \
23036 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23037 @endif libbacktrace-bootstrap
23040 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
23041 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
23042 maybe-all-stage3-libbacktrace:
23043 maybe-clean-stage3-libbacktrace:
23044 @if libbacktrace-bootstrap
23045 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
23046 all-stage3: all-stage3-libbacktrace
23047 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
23048 all-stage3-libbacktrace: configure-stage3-libbacktrace
23049 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23050 @r=`${PWD_COMMAND}`; export r; \
23051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23052 TFLAGS="$(STAGE3_TFLAGS)"; \
23053 $(HOST_EXPORTS) \
23054 $(POSTSTAGE1_HOST_EXPORTS) \
23055 cd $(HOST_SUBDIR)/libbacktrace && \
23057 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23058 CFLAGS="$(STAGE3_CFLAGS)" \
23059 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23060 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23061 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23062 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23063 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23064 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23065 TFLAGS="$(STAGE3_TFLAGS)" \
23066 $(TARGET-stage3-libbacktrace)
23068 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
23069 clean-stage3: clean-stage3-libbacktrace
23070 clean-stage3-libbacktrace:
23071 @if [ $(current_stage) = stage3 ]; then \
23072 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23073 else \
23074 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
23075 $(MAKE) stage3-start; \
23076 fi; \
23077 cd $(HOST_SUBDIR)/libbacktrace && \
23078 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23079 @endif libbacktrace-bootstrap
23082 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
23083 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
23084 maybe-all-stage4-libbacktrace:
23085 maybe-clean-stage4-libbacktrace:
23086 @if libbacktrace-bootstrap
23087 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
23088 all-stage4: all-stage4-libbacktrace
23089 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
23090 all-stage4-libbacktrace: configure-stage4-libbacktrace
23091 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23092 @r=`${PWD_COMMAND}`; export r; \
23093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23094 TFLAGS="$(STAGE4_TFLAGS)"; \
23095 $(HOST_EXPORTS) \
23096 $(POSTSTAGE1_HOST_EXPORTS) \
23097 cd $(HOST_SUBDIR)/libbacktrace && \
23099 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23100 CFLAGS="$(STAGE4_CFLAGS)" \
23101 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23102 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23103 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23104 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23105 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23106 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23107 TFLAGS="$(STAGE4_TFLAGS)" \
23108 $(TARGET-stage4-libbacktrace)
23110 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
23111 clean-stage4: clean-stage4-libbacktrace
23112 clean-stage4-libbacktrace:
23113 @if [ $(current_stage) = stage4 ]; then \
23114 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23115 else \
23116 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
23117 $(MAKE) stage4-start; \
23118 fi; \
23119 cd $(HOST_SUBDIR)/libbacktrace && \
23120 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23121 @endif libbacktrace-bootstrap
23124 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
23125 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
23126 maybe-all-stageprofile-libbacktrace:
23127 maybe-clean-stageprofile-libbacktrace:
23128 @if libbacktrace-bootstrap
23129 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
23130 all-stageprofile: all-stageprofile-libbacktrace
23131 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
23132 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
23133 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23134 @r=`${PWD_COMMAND}`; export r; \
23135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23136 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23137 $(HOST_EXPORTS) \
23138 $(POSTSTAGE1_HOST_EXPORTS) \
23139 cd $(HOST_SUBDIR)/libbacktrace && \
23141 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23142 CFLAGS="$(STAGEprofile_CFLAGS)" \
23143 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23144 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23145 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23146 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23147 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23148 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23149 TFLAGS="$(STAGEprofile_TFLAGS)" \
23150 $(TARGET-stageprofile-libbacktrace)
23152 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
23153 clean-stageprofile: clean-stageprofile-libbacktrace
23154 clean-stageprofile-libbacktrace:
23155 @if [ $(current_stage) = stageprofile ]; then \
23156 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23157 else \
23158 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
23159 $(MAKE) stageprofile-start; \
23160 fi; \
23161 cd $(HOST_SUBDIR)/libbacktrace && \
23162 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23163 @endif libbacktrace-bootstrap
23166 .PHONY: all-stagetrain-libbacktrace maybe-all-stagetrain-libbacktrace
23167 .PHONY: clean-stagetrain-libbacktrace maybe-clean-stagetrain-libbacktrace
23168 maybe-all-stagetrain-libbacktrace:
23169 maybe-clean-stagetrain-libbacktrace:
23170 @if libbacktrace-bootstrap
23171 maybe-all-stagetrain-libbacktrace: all-stagetrain-libbacktrace
23172 all-stagetrain: all-stagetrain-libbacktrace
23173 TARGET-stagetrain-libbacktrace = $(TARGET-libbacktrace)
23174 all-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
23175 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23176 @r=`${PWD_COMMAND}`; export r; \
23177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23178 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23179 $(HOST_EXPORTS) \
23180 $(POSTSTAGE1_HOST_EXPORTS) \
23181 cd $(HOST_SUBDIR)/libbacktrace && \
23183 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23184 CFLAGS="$(STAGEtrain_CFLAGS)" \
23185 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
23186 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
23187 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23188 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23189 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23190 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23191 TFLAGS="$(STAGEtrain_TFLAGS)" \
23192 $(TARGET-stagetrain-libbacktrace)
23194 maybe-clean-stagetrain-libbacktrace: clean-stagetrain-libbacktrace
23195 clean-stagetrain: clean-stagetrain-libbacktrace
23196 clean-stagetrain-libbacktrace:
23197 @if [ $(current_stage) = stagetrain ]; then \
23198 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23199 else \
23200 [ -f $(HOST_SUBDIR)/stagetrain-libbacktrace/Makefile ] || exit 0; \
23201 $(MAKE) stagetrain-start; \
23202 fi; \
23203 cd $(HOST_SUBDIR)/libbacktrace && \
23204 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23205 @endif libbacktrace-bootstrap
23208 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
23209 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
23210 maybe-all-stagefeedback-libbacktrace:
23211 maybe-clean-stagefeedback-libbacktrace:
23212 @if libbacktrace-bootstrap
23213 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
23214 all-stagefeedback: all-stagefeedback-libbacktrace
23215 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
23216 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
23217 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23218 @r=`${PWD_COMMAND}`; export r; \
23219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23220 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23221 $(HOST_EXPORTS) \
23222 $(POSTSTAGE1_HOST_EXPORTS) \
23223 cd $(HOST_SUBDIR)/libbacktrace && \
23225 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23226 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23227 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23228 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23229 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23230 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23231 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23232 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23233 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23234 $(TARGET-stagefeedback-libbacktrace)
23236 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
23237 clean-stagefeedback: clean-stagefeedback-libbacktrace
23238 clean-stagefeedback-libbacktrace:
23239 @if [ $(current_stage) = stagefeedback ]; then \
23240 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23241 else \
23242 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
23243 $(MAKE) stagefeedback-start; \
23244 fi; \
23245 cd $(HOST_SUBDIR)/libbacktrace && \
23246 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23247 @endif libbacktrace-bootstrap
23250 .PHONY: all-stageautoprofile-libbacktrace maybe-all-stageautoprofile-libbacktrace
23251 .PHONY: clean-stageautoprofile-libbacktrace maybe-clean-stageautoprofile-libbacktrace
23252 maybe-all-stageautoprofile-libbacktrace:
23253 maybe-clean-stageautoprofile-libbacktrace:
23254 @if libbacktrace-bootstrap
23255 maybe-all-stageautoprofile-libbacktrace: all-stageautoprofile-libbacktrace
23256 all-stageautoprofile: all-stageautoprofile-libbacktrace
23257 TARGET-stageautoprofile-libbacktrace = $(TARGET-libbacktrace)
23258 all-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23259 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23260 @r=`${PWD_COMMAND}`; export r; \
23261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23262 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23263 $(HOST_EXPORTS) \
23264 $(POSTSTAGE1_HOST_EXPORTS) \
23265 cd $(HOST_SUBDIR)/libbacktrace && \
23266 $$s/gcc/config/i386/$(AUTO_PROFILE) \
23267 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23268 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
23269 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
23270 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
23271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23274 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23275 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
23276 $(TARGET-stageautoprofile-libbacktrace)
23278 maybe-clean-stageautoprofile-libbacktrace: clean-stageautoprofile-libbacktrace
23279 clean-stageautoprofile: clean-stageautoprofile-libbacktrace
23280 clean-stageautoprofile-libbacktrace:
23281 @if [ $(current_stage) = stageautoprofile ]; then \
23282 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23283 else \
23284 [ -f $(HOST_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
23285 $(MAKE) stageautoprofile-start; \
23286 fi; \
23287 cd $(HOST_SUBDIR)/libbacktrace && \
23288 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23289 @endif libbacktrace-bootstrap
23292 .PHONY: all-stageautofeedback-libbacktrace maybe-all-stageautofeedback-libbacktrace
23293 .PHONY: clean-stageautofeedback-libbacktrace maybe-clean-stageautofeedback-libbacktrace
23294 maybe-all-stageautofeedback-libbacktrace:
23295 maybe-clean-stageautofeedback-libbacktrace:
23296 @if libbacktrace-bootstrap
23297 maybe-all-stageautofeedback-libbacktrace: all-stageautofeedback-libbacktrace
23298 all-stageautofeedback: all-stageautofeedback-libbacktrace
23299 TARGET-stageautofeedback-libbacktrace = $(TARGET-libbacktrace)
23300 all-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23301 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23302 @r=`${PWD_COMMAND}`; export r; \
23303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23304 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23305 $(HOST_EXPORTS) \
23306 $(POSTSTAGE1_HOST_EXPORTS) \
23307 cd $(HOST_SUBDIR)/libbacktrace && \
23309 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23310 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
23311 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
23312 LIBCFLAGS="$(STAGEautofeedback_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="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
23318 $(TARGET-stageautofeedback-libbacktrace)
23320 maybe-clean-stageautofeedback-libbacktrace: clean-stageautofeedback-libbacktrace
23321 clean-stageautofeedback: clean-stageautofeedback-libbacktrace
23322 clean-stageautofeedback-libbacktrace:
23323 @if [ $(current_stage) = stageautofeedback ]; then \
23324 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
23325 else \
23326 [ -f $(HOST_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
23327 $(MAKE) stageautofeedback-start; \
23328 fi; \
23329 cd $(HOST_SUBDIR)/libbacktrace && \
23330 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23331 @endif libbacktrace-bootstrap
23337 .PHONY: check-libbacktrace maybe-check-libbacktrace
23338 maybe-check-libbacktrace:
23339 @if libbacktrace
23340 maybe-check-libbacktrace: check-libbacktrace
23342 check-libbacktrace:
23343 @: $(MAKE); $(unstage)
23344 @r=`${PWD_COMMAND}`; export r; \
23345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23346 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23347 (cd $(HOST_SUBDIR)/libbacktrace && \
23348 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
23350 @endif libbacktrace
23352 .PHONY: install-libbacktrace maybe-install-libbacktrace
23353 maybe-install-libbacktrace:
23354 @if libbacktrace
23355 maybe-install-libbacktrace: install-libbacktrace
23357 install-libbacktrace: installdirs
23358 @: $(MAKE); $(unstage)
23359 @r=`${PWD_COMMAND}`; export r; \
23360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23361 $(HOST_EXPORTS) \
23362 (cd $(HOST_SUBDIR)/libbacktrace && \
23363 $(MAKE) $(FLAGS_TO_PASS) install)
23365 @endif libbacktrace
23367 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
23368 maybe-install-strip-libbacktrace:
23369 @if libbacktrace
23370 maybe-install-strip-libbacktrace: install-strip-libbacktrace
23372 install-strip-libbacktrace: installdirs
23373 @: $(MAKE); $(unstage)
23374 @r=`${PWD_COMMAND}`; export r; \
23375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23376 $(HOST_EXPORTS) \
23377 (cd $(HOST_SUBDIR)/libbacktrace && \
23378 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23380 @endif libbacktrace
23382 # Other targets (info, dvi, pdf, etc.)
23384 .PHONY: maybe-info-libbacktrace info-libbacktrace
23385 maybe-info-libbacktrace:
23386 @if libbacktrace
23387 maybe-info-libbacktrace: info-libbacktrace
23389 info-libbacktrace: \
23390 configure-libbacktrace
23391 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23392 r=`${PWD_COMMAND}`; export r; \
23393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23394 $(HOST_EXPORTS) \
23395 for flag in $(EXTRA_HOST_FLAGS) ; do \
23396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23397 done; \
23398 echo "Doing info in libbacktrace"; \
23399 (cd $(HOST_SUBDIR)/libbacktrace && \
23400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23402 "RANLIB=$${RANLIB}" \
23403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23404 info) \
23405 || exit 1
23407 @endif libbacktrace
23409 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
23410 maybe-dvi-libbacktrace:
23411 @if libbacktrace
23412 maybe-dvi-libbacktrace: dvi-libbacktrace
23414 dvi-libbacktrace: \
23415 configure-libbacktrace
23416 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23417 r=`${PWD_COMMAND}`; export r; \
23418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23419 $(HOST_EXPORTS) \
23420 for flag in $(EXTRA_HOST_FLAGS) ; do \
23421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23422 done; \
23423 echo "Doing dvi in libbacktrace"; \
23424 (cd $(HOST_SUBDIR)/libbacktrace && \
23425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23427 "RANLIB=$${RANLIB}" \
23428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23429 dvi) \
23430 || exit 1
23432 @endif libbacktrace
23434 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
23435 maybe-pdf-libbacktrace:
23436 @if libbacktrace
23437 maybe-pdf-libbacktrace: pdf-libbacktrace
23439 pdf-libbacktrace: \
23440 configure-libbacktrace
23441 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23442 r=`${PWD_COMMAND}`; export r; \
23443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23444 $(HOST_EXPORTS) \
23445 for flag in $(EXTRA_HOST_FLAGS) ; do \
23446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23447 done; \
23448 echo "Doing pdf in libbacktrace"; \
23449 (cd $(HOST_SUBDIR)/libbacktrace && \
23450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23452 "RANLIB=$${RANLIB}" \
23453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23454 pdf) \
23455 || exit 1
23457 @endif libbacktrace
23459 .PHONY: maybe-html-libbacktrace html-libbacktrace
23460 maybe-html-libbacktrace:
23461 @if libbacktrace
23462 maybe-html-libbacktrace: html-libbacktrace
23464 html-libbacktrace: \
23465 configure-libbacktrace
23466 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23467 r=`${PWD_COMMAND}`; export r; \
23468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23469 $(HOST_EXPORTS) \
23470 for flag in $(EXTRA_HOST_FLAGS) ; do \
23471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23472 done; \
23473 echo "Doing html in libbacktrace"; \
23474 (cd $(HOST_SUBDIR)/libbacktrace && \
23475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23477 "RANLIB=$${RANLIB}" \
23478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23479 html) \
23480 || exit 1
23482 @endif libbacktrace
23484 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
23485 maybe-TAGS-libbacktrace:
23486 @if libbacktrace
23487 maybe-TAGS-libbacktrace: TAGS-libbacktrace
23489 TAGS-libbacktrace: \
23490 configure-libbacktrace
23491 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23492 r=`${PWD_COMMAND}`; export r; \
23493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23494 $(HOST_EXPORTS) \
23495 for flag in $(EXTRA_HOST_FLAGS) ; do \
23496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23497 done; \
23498 echo "Doing TAGS in libbacktrace"; \
23499 (cd $(HOST_SUBDIR)/libbacktrace && \
23500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23502 "RANLIB=$${RANLIB}" \
23503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23504 TAGS) \
23505 || exit 1
23507 @endif libbacktrace
23509 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
23510 maybe-install-info-libbacktrace:
23511 @if libbacktrace
23512 maybe-install-info-libbacktrace: install-info-libbacktrace
23514 install-info-libbacktrace: \
23515 configure-libbacktrace \
23516 info-libbacktrace
23517 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23518 r=`${PWD_COMMAND}`; export r; \
23519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23520 $(HOST_EXPORTS) \
23521 for flag in $(EXTRA_HOST_FLAGS) ; do \
23522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23523 done; \
23524 echo "Doing install-info in libbacktrace"; \
23525 (cd $(HOST_SUBDIR)/libbacktrace && \
23526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23528 "RANLIB=$${RANLIB}" \
23529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23530 install-info) \
23531 || exit 1
23533 @endif libbacktrace
23535 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
23536 maybe-install-pdf-libbacktrace:
23537 @if libbacktrace
23538 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
23540 install-pdf-libbacktrace: \
23541 configure-libbacktrace \
23542 pdf-libbacktrace
23543 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23544 r=`${PWD_COMMAND}`; export r; \
23545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23546 $(HOST_EXPORTS) \
23547 for flag in $(EXTRA_HOST_FLAGS) ; do \
23548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23549 done; \
23550 echo "Doing install-pdf in libbacktrace"; \
23551 (cd $(HOST_SUBDIR)/libbacktrace && \
23552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23554 "RANLIB=$${RANLIB}" \
23555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23556 install-pdf) \
23557 || exit 1
23559 @endif libbacktrace
23561 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
23562 maybe-install-html-libbacktrace:
23563 @if libbacktrace
23564 maybe-install-html-libbacktrace: install-html-libbacktrace
23566 install-html-libbacktrace: \
23567 configure-libbacktrace \
23568 html-libbacktrace
23569 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23570 r=`${PWD_COMMAND}`; export r; \
23571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23572 $(HOST_EXPORTS) \
23573 for flag in $(EXTRA_HOST_FLAGS) ; do \
23574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23575 done; \
23576 echo "Doing install-html in libbacktrace"; \
23577 (cd $(HOST_SUBDIR)/libbacktrace && \
23578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23580 "RANLIB=$${RANLIB}" \
23581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23582 install-html) \
23583 || exit 1
23585 @endif libbacktrace
23587 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
23588 maybe-installcheck-libbacktrace:
23589 @if libbacktrace
23590 maybe-installcheck-libbacktrace: installcheck-libbacktrace
23592 installcheck-libbacktrace: \
23593 configure-libbacktrace
23594 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23595 r=`${PWD_COMMAND}`; export r; \
23596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23597 $(HOST_EXPORTS) \
23598 for flag in $(EXTRA_HOST_FLAGS) ; do \
23599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23600 done; \
23601 echo "Doing installcheck in libbacktrace"; \
23602 (cd $(HOST_SUBDIR)/libbacktrace && \
23603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23605 "RANLIB=$${RANLIB}" \
23606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23607 installcheck) \
23608 || exit 1
23610 @endif libbacktrace
23612 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
23613 maybe-mostlyclean-libbacktrace:
23614 @if libbacktrace
23615 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
23617 mostlyclean-libbacktrace:
23618 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23619 r=`${PWD_COMMAND}`; export r; \
23620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23621 $(HOST_EXPORTS) \
23622 for flag in $(EXTRA_HOST_FLAGS) ; do \
23623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23624 done; \
23625 echo "Doing mostlyclean in libbacktrace"; \
23626 (cd $(HOST_SUBDIR)/libbacktrace && \
23627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23629 "RANLIB=$${RANLIB}" \
23630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23631 mostlyclean) \
23632 || exit 1
23634 @endif libbacktrace
23636 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
23637 maybe-clean-libbacktrace:
23638 @if libbacktrace
23639 maybe-clean-libbacktrace: clean-libbacktrace
23641 clean-libbacktrace:
23642 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23643 r=`${PWD_COMMAND}`; export r; \
23644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23645 $(HOST_EXPORTS) \
23646 for flag in $(EXTRA_HOST_FLAGS) ; do \
23647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23648 done; \
23649 echo "Doing clean in libbacktrace"; \
23650 (cd $(HOST_SUBDIR)/libbacktrace && \
23651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23653 "RANLIB=$${RANLIB}" \
23654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23655 clean) \
23656 || exit 1
23658 @endif libbacktrace
23660 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
23661 maybe-distclean-libbacktrace:
23662 @if libbacktrace
23663 maybe-distclean-libbacktrace: distclean-libbacktrace
23665 distclean-libbacktrace:
23666 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23667 r=`${PWD_COMMAND}`; export r; \
23668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23669 $(HOST_EXPORTS) \
23670 for flag in $(EXTRA_HOST_FLAGS) ; do \
23671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23672 done; \
23673 echo "Doing distclean in libbacktrace"; \
23674 (cd $(HOST_SUBDIR)/libbacktrace && \
23675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23677 "RANLIB=$${RANLIB}" \
23678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23679 distclean) \
23680 || exit 1
23682 @endif libbacktrace
23684 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
23685 maybe-maintainer-clean-libbacktrace:
23686 @if libbacktrace
23687 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
23689 maintainer-clean-libbacktrace:
23690 @[ -f ./libbacktrace/Makefile ] || exit 0; \
23691 r=`${PWD_COMMAND}`; export r; \
23692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23693 $(HOST_EXPORTS) \
23694 for flag in $(EXTRA_HOST_FLAGS) ; do \
23695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23696 done; \
23697 echo "Doing maintainer-clean in libbacktrace"; \
23698 (cd $(HOST_SUBDIR)/libbacktrace && \
23699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23701 "RANLIB=$${RANLIB}" \
23702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23703 maintainer-clean) \
23704 || exit 1
23706 @endif libbacktrace
23710 .PHONY: configure-libcpp maybe-configure-libcpp
23711 maybe-configure-libcpp:
23712 @if gcc-bootstrap
23713 configure-libcpp: stage_current
23714 @endif gcc-bootstrap
23715 @if libcpp
23716 maybe-configure-libcpp: configure-libcpp
23717 configure-libcpp:
23718 @r=`${PWD_COMMAND}`; export r; \
23719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23720 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23721 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23722 $(HOST_EXPORTS) \
23723 echo Configuring in $(HOST_SUBDIR)/libcpp; \
23724 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
23725 case $(srcdir) in \
23726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23727 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23729 esac; \
23730 module_srcdir=libcpp; \
23731 $(SHELL) \
23732 $$s/$$module_srcdir/configure \
23733 --srcdir=$${topdir}/$$module_srcdir \
23734 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23735 --target=${target_alias} \
23736 || exit 1
23737 @endif libcpp
23741 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
23742 maybe-configure-stage1-libcpp:
23743 @if libcpp-bootstrap
23744 maybe-configure-stage1-libcpp: configure-stage1-libcpp
23745 configure-stage1-libcpp:
23746 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23747 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23748 @r=`${PWD_COMMAND}`; export r; \
23749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23750 TFLAGS="$(STAGE1_TFLAGS)"; \
23751 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23752 $(HOST_EXPORTS) \
23753 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23754 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23755 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23756 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
23757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23758 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23759 case $(srcdir) in \
23760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23761 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23763 esac; \
23764 module_srcdir=libcpp; \
23765 $(SHELL) $$s/$$module_srcdir/configure \
23766 --srcdir=$${topdir}/$$module_srcdir \
23767 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23768 --target=${target_alias} \
23770 $(STAGE1_CONFIGURE_FLAGS)
23771 @endif libcpp-bootstrap
23773 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
23774 maybe-configure-stage2-libcpp:
23775 @if libcpp-bootstrap
23776 maybe-configure-stage2-libcpp: configure-stage2-libcpp
23777 configure-stage2-libcpp:
23778 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23779 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23780 @r=`${PWD_COMMAND}`; export r; \
23781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23782 TFLAGS="$(STAGE2_TFLAGS)"; \
23783 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23784 $(HOST_EXPORTS) \
23785 $(POSTSTAGE1_HOST_EXPORTS) \
23786 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23787 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23788 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23789 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
23790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23791 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23792 case $(srcdir) in \
23793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23794 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23796 esac; \
23797 module_srcdir=libcpp; \
23798 $(SHELL) $$s/$$module_srcdir/configure \
23799 --srcdir=$${topdir}/$$module_srcdir \
23800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23801 --target=${target_alias} \
23802 --with-build-libsubdir=$(HOST_SUBDIR) \
23803 $(STAGE2_CONFIGURE_FLAGS)
23804 @endif libcpp-bootstrap
23806 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
23807 maybe-configure-stage3-libcpp:
23808 @if libcpp-bootstrap
23809 maybe-configure-stage3-libcpp: configure-stage3-libcpp
23810 configure-stage3-libcpp:
23811 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23812 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23813 @r=`${PWD_COMMAND}`; export r; \
23814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23815 TFLAGS="$(STAGE3_TFLAGS)"; \
23816 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23817 $(HOST_EXPORTS) \
23818 $(POSTSTAGE1_HOST_EXPORTS) \
23819 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23820 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23821 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23822 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
23823 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23824 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23825 case $(srcdir) in \
23826 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23827 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23828 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23829 esac; \
23830 module_srcdir=libcpp; \
23831 $(SHELL) $$s/$$module_srcdir/configure \
23832 --srcdir=$${topdir}/$$module_srcdir \
23833 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23834 --target=${target_alias} \
23835 --with-build-libsubdir=$(HOST_SUBDIR) \
23836 $(STAGE3_CONFIGURE_FLAGS)
23837 @endif libcpp-bootstrap
23839 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
23840 maybe-configure-stage4-libcpp:
23841 @if libcpp-bootstrap
23842 maybe-configure-stage4-libcpp: configure-stage4-libcpp
23843 configure-stage4-libcpp:
23844 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23845 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23846 @r=`${PWD_COMMAND}`; export r; \
23847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23848 TFLAGS="$(STAGE4_TFLAGS)"; \
23849 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23850 $(HOST_EXPORTS) \
23851 $(POSTSTAGE1_HOST_EXPORTS) \
23852 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23853 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23854 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23855 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
23856 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23857 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23858 case $(srcdir) in \
23859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23860 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23862 esac; \
23863 module_srcdir=libcpp; \
23864 $(SHELL) $$s/$$module_srcdir/configure \
23865 --srcdir=$${topdir}/$$module_srcdir \
23866 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23867 --target=${target_alias} \
23868 --with-build-libsubdir=$(HOST_SUBDIR) \
23869 $(STAGE4_CONFIGURE_FLAGS)
23870 @endif libcpp-bootstrap
23872 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
23873 maybe-configure-stageprofile-libcpp:
23874 @if libcpp-bootstrap
23875 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
23876 configure-stageprofile-libcpp:
23877 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23878 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23879 @r=`${PWD_COMMAND}`; export r; \
23880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23881 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23882 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23883 $(HOST_EXPORTS) \
23884 $(POSTSTAGE1_HOST_EXPORTS) \
23885 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23886 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23887 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23888 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
23889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23890 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23891 case $(srcdir) in \
23892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23893 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23895 esac; \
23896 module_srcdir=libcpp; \
23897 $(SHELL) $$s/$$module_srcdir/configure \
23898 --srcdir=$${topdir}/$$module_srcdir \
23899 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23900 --target=${target_alias} \
23901 --with-build-libsubdir=$(HOST_SUBDIR) \
23902 $(STAGEprofile_CONFIGURE_FLAGS)
23903 @endif libcpp-bootstrap
23905 .PHONY: configure-stagetrain-libcpp maybe-configure-stagetrain-libcpp
23906 maybe-configure-stagetrain-libcpp:
23907 @if libcpp-bootstrap
23908 maybe-configure-stagetrain-libcpp: configure-stagetrain-libcpp
23909 configure-stagetrain-libcpp:
23910 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23911 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23912 @r=`${PWD_COMMAND}`; export r; \
23913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23914 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23915 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23916 $(HOST_EXPORTS) \
23917 $(POSTSTAGE1_HOST_EXPORTS) \
23918 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
23919 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
23920 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
23921 echo Configuring stage train in $(HOST_SUBDIR)/libcpp; \
23922 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23923 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23924 case $(srcdir) in \
23925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23926 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23928 esac; \
23929 module_srcdir=libcpp; \
23930 $(SHELL) $$s/$$module_srcdir/configure \
23931 --srcdir=$${topdir}/$$module_srcdir \
23932 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23933 --target=${target_alias} \
23934 --with-build-libsubdir=$(HOST_SUBDIR) \
23935 $(STAGEtrain_CONFIGURE_FLAGS)
23936 @endif libcpp-bootstrap
23938 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
23939 maybe-configure-stagefeedback-libcpp:
23940 @if libcpp-bootstrap
23941 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
23942 configure-stagefeedback-libcpp:
23943 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23944 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23945 @r=`${PWD_COMMAND}`; export r; \
23946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23947 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23948 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23949 $(HOST_EXPORTS) \
23950 $(POSTSTAGE1_HOST_EXPORTS) \
23951 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23952 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23953 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23954 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
23955 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23956 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23957 case $(srcdir) in \
23958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23959 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23961 esac; \
23962 module_srcdir=libcpp; \
23963 $(SHELL) $$s/$$module_srcdir/configure \
23964 --srcdir=$${topdir}/$$module_srcdir \
23965 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23966 --target=${target_alias} \
23967 --with-build-libsubdir=$(HOST_SUBDIR) \
23968 $(STAGEfeedback_CONFIGURE_FLAGS)
23969 @endif libcpp-bootstrap
23971 .PHONY: configure-stageautoprofile-libcpp maybe-configure-stageautoprofile-libcpp
23972 maybe-configure-stageautoprofile-libcpp:
23973 @if libcpp-bootstrap
23974 maybe-configure-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
23975 configure-stageautoprofile-libcpp:
23976 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23977 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23978 @r=`${PWD_COMMAND}`; export r; \
23979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23980 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23981 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23982 $(HOST_EXPORTS) \
23983 $(POSTSTAGE1_HOST_EXPORTS) \
23984 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
23985 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
23986 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
23987 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcpp; \
23988 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
23989 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23990 case $(srcdir) in \
23991 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23992 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23993 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23994 esac; \
23995 module_srcdir=libcpp; \
23996 $(SHELL) $$s/$$module_srcdir/configure \
23997 --srcdir=$${topdir}/$$module_srcdir \
23998 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23999 --target=${target_alias} \
24000 --with-build-libsubdir=$(HOST_SUBDIR) \
24001 $(STAGEautoprofile_CONFIGURE_FLAGS)
24002 @endif libcpp-bootstrap
24004 .PHONY: configure-stageautofeedback-libcpp maybe-configure-stageautofeedback-libcpp
24005 maybe-configure-stageautofeedback-libcpp:
24006 @if libcpp-bootstrap
24007 maybe-configure-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24008 configure-stageautofeedback-libcpp:
24009 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24010 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24011 @r=`${PWD_COMMAND}`; export r; \
24012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24013 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24014 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24015 $(HOST_EXPORTS) \
24016 $(POSTSTAGE1_HOST_EXPORTS) \
24017 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
24018 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
24019 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
24020 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcpp; \
24021 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24022 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24023 case $(srcdir) in \
24024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24025 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24027 esac; \
24028 module_srcdir=libcpp; \
24029 $(SHELL) $$s/$$module_srcdir/configure \
24030 --srcdir=$${topdir}/$$module_srcdir \
24031 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24032 --target=${target_alias} \
24033 --with-build-libsubdir=$(HOST_SUBDIR) \
24034 $(STAGEautofeedback_CONFIGURE_FLAGS)
24035 @endif libcpp-bootstrap
24041 .PHONY: all-libcpp maybe-all-libcpp
24042 maybe-all-libcpp:
24043 @if gcc-bootstrap
24044 all-libcpp: stage_current
24045 @endif gcc-bootstrap
24046 @if libcpp
24047 TARGET-libcpp=all
24048 maybe-all-libcpp: all-libcpp
24049 all-libcpp: configure-libcpp
24050 @r=`${PWD_COMMAND}`; export r; \
24051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24052 $(HOST_EXPORTS) \
24053 (cd $(HOST_SUBDIR)/libcpp && \
24054 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24055 $(TARGET-libcpp))
24056 @endif libcpp
24060 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
24061 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
24062 maybe-all-stage1-libcpp:
24063 maybe-clean-stage1-libcpp:
24064 @if libcpp-bootstrap
24065 maybe-all-stage1-libcpp: all-stage1-libcpp
24066 all-stage1: all-stage1-libcpp
24067 TARGET-stage1-libcpp = $(TARGET-libcpp)
24068 all-stage1-libcpp: configure-stage1-libcpp
24069 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24070 @r=`${PWD_COMMAND}`; export r; \
24071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24072 TFLAGS="$(STAGE1_TFLAGS)"; \
24073 $(HOST_EXPORTS) \
24074 cd $(HOST_SUBDIR)/libcpp && \
24076 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24077 CFLAGS="$(STAGE1_CFLAGS)" \
24078 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
24079 LIBCFLAGS="$(LIBCFLAGS)" \
24080 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24081 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24082 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24083 $(EXTRA_HOST_FLAGS) \
24084 $(STAGE1_FLAGS_TO_PASS) \
24085 TFLAGS="$(STAGE1_TFLAGS)" \
24086 $(TARGET-stage1-libcpp)
24088 maybe-clean-stage1-libcpp: clean-stage1-libcpp
24089 clean-stage1: clean-stage1-libcpp
24090 clean-stage1-libcpp:
24091 @if [ $(current_stage) = stage1 ]; then \
24092 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24093 else \
24094 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
24095 $(MAKE) stage1-start; \
24096 fi; \
24097 cd $(HOST_SUBDIR)/libcpp && \
24098 $(MAKE) $(EXTRA_HOST_FLAGS) \
24099 $(STAGE1_FLAGS_TO_PASS) clean
24100 @endif libcpp-bootstrap
24103 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
24104 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
24105 maybe-all-stage2-libcpp:
24106 maybe-clean-stage2-libcpp:
24107 @if libcpp-bootstrap
24108 maybe-all-stage2-libcpp: all-stage2-libcpp
24109 all-stage2: all-stage2-libcpp
24110 TARGET-stage2-libcpp = $(TARGET-libcpp)
24111 all-stage2-libcpp: configure-stage2-libcpp
24112 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24113 @r=`${PWD_COMMAND}`; export r; \
24114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24115 TFLAGS="$(STAGE2_TFLAGS)"; \
24116 $(HOST_EXPORTS) \
24117 $(POSTSTAGE1_HOST_EXPORTS) \
24118 cd $(HOST_SUBDIR)/libcpp && \
24120 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24121 CFLAGS="$(STAGE2_CFLAGS)" \
24122 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24123 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24124 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24125 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24126 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24127 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24128 TFLAGS="$(STAGE2_TFLAGS)" \
24129 $(TARGET-stage2-libcpp)
24131 maybe-clean-stage2-libcpp: clean-stage2-libcpp
24132 clean-stage2: clean-stage2-libcpp
24133 clean-stage2-libcpp:
24134 @if [ $(current_stage) = stage2 ]; then \
24135 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24136 else \
24137 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
24138 $(MAKE) stage2-start; \
24139 fi; \
24140 cd $(HOST_SUBDIR)/libcpp && \
24141 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24142 @endif libcpp-bootstrap
24145 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
24146 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
24147 maybe-all-stage3-libcpp:
24148 maybe-clean-stage3-libcpp:
24149 @if libcpp-bootstrap
24150 maybe-all-stage3-libcpp: all-stage3-libcpp
24151 all-stage3: all-stage3-libcpp
24152 TARGET-stage3-libcpp = $(TARGET-libcpp)
24153 all-stage3-libcpp: configure-stage3-libcpp
24154 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24155 @r=`${PWD_COMMAND}`; export r; \
24156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24157 TFLAGS="$(STAGE3_TFLAGS)"; \
24158 $(HOST_EXPORTS) \
24159 $(POSTSTAGE1_HOST_EXPORTS) \
24160 cd $(HOST_SUBDIR)/libcpp && \
24162 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24163 CFLAGS="$(STAGE3_CFLAGS)" \
24164 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24165 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24166 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24167 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24168 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24169 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24170 TFLAGS="$(STAGE3_TFLAGS)" \
24171 $(TARGET-stage3-libcpp)
24173 maybe-clean-stage3-libcpp: clean-stage3-libcpp
24174 clean-stage3: clean-stage3-libcpp
24175 clean-stage3-libcpp:
24176 @if [ $(current_stage) = stage3 ]; then \
24177 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24178 else \
24179 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
24180 $(MAKE) stage3-start; \
24181 fi; \
24182 cd $(HOST_SUBDIR)/libcpp && \
24183 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24184 @endif libcpp-bootstrap
24187 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
24188 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
24189 maybe-all-stage4-libcpp:
24190 maybe-clean-stage4-libcpp:
24191 @if libcpp-bootstrap
24192 maybe-all-stage4-libcpp: all-stage4-libcpp
24193 all-stage4: all-stage4-libcpp
24194 TARGET-stage4-libcpp = $(TARGET-libcpp)
24195 all-stage4-libcpp: configure-stage4-libcpp
24196 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24197 @r=`${PWD_COMMAND}`; export r; \
24198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24199 TFLAGS="$(STAGE4_TFLAGS)"; \
24200 $(HOST_EXPORTS) \
24201 $(POSTSTAGE1_HOST_EXPORTS) \
24202 cd $(HOST_SUBDIR)/libcpp && \
24204 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24205 CFLAGS="$(STAGE4_CFLAGS)" \
24206 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24207 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24208 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24209 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24210 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24211 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24212 TFLAGS="$(STAGE4_TFLAGS)" \
24213 $(TARGET-stage4-libcpp)
24215 maybe-clean-stage4-libcpp: clean-stage4-libcpp
24216 clean-stage4: clean-stage4-libcpp
24217 clean-stage4-libcpp:
24218 @if [ $(current_stage) = stage4 ]; then \
24219 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24220 else \
24221 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
24222 $(MAKE) stage4-start; \
24223 fi; \
24224 cd $(HOST_SUBDIR)/libcpp && \
24225 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24226 @endif libcpp-bootstrap
24229 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
24230 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
24231 maybe-all-stageprofile-libcpp:
24232 maybe-clean-stageprofile-libcpp:
24233 @if libcpp-bootstrap
24234 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
24235 all-stageprofile: all-stageprofile-libcpp
24236 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
24237 all-stageprofile-libcpp: configure-stageprofile-libcpp
24238 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24239 @r=`${PWD_COMMAND}`; export r; \
24240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24241 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24242 $(HOST_EXPORTS) \
24243 $(POSTSTAGE1_HOST_EXPORTS) \
24244 cd $(HOST_SUBDIR)/libcpp && \
24246 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24247 CFLAGS="$(STAGEprofile_CFLAGS)" \
24248 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24249 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24250 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24251 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24252 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24253 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24254 TFLAGS="$(STAGEprofile_TFLAGS)" \
24255 $(TARGET-stageprofile-libcpp)
24257 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
24258 clean-stageprofile: clean-stageprofile-libcpp
24259 clean-stageprofile-libcpp:
24260 @if [ $(current_stage) = stageprofile ]; then \
24261 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24262 else \
24263 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
24264 $(MAKE) stageprofile-start; \
24265 fi; \
24266 cd $(HOST_SUBDIR)/libcpp && \
24267 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24268 @endif libcpp-bootstrap
24271 .PHONY: all-stagetrain-libcpp maybe-all-stagetrain-libcpp
24272 .PHONY: clean-stagetrain-libcpp maybe-clean-stagetrain-libcpp
24273 maybe-all-stagetrain-libcpp:
24274 maybe-clean-stagetrain-libcpp:
24275 @if libcpp-bootstrap
24276 maybe-all-stagetrain-libcpp: all-stagetrain-libcpp
24277 all-stagetrain: all-stagetrain-libcpp
24278 TARGET-stagetrain-libcpp = $(TARGET-libcpp)
24279 all-stagetrain-libcpp: configure-stagetrain-libcpp
24280 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24281 @r=`${PWD_COMMAND}`; export r; \
24282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24283 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24284 $(HOST_EXPORTS) \
24285 $(POSTSTAGE1_HOST_EXPORTS) \
24286 cd $(HOST_SUBDIR)/libcpp && \
24288 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24289 CFLAGS="$(STAGEtrain_CFLAGS)" \
24290 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
24291 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
24292 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24293 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24294 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24295 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24296 TFLAGS="$(STAGEtrain_TFLAGS)" \
24297 $(TARGET-stagetrain-libcpp)
24299 maybe-clean-stagetrain-libcpp: clean-stagetrain-libcpp
24300 clean-stagetrain: clean-stagetrain-libcpp
24301 clean-stagetrain-libcpp:
24302 @if [ $(current_stage) = stagetrain ]; then \
24303 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24304 else \
24305 [ -f $(HOST_SUBDIR)/stagetrain-libcpp/Makefile ] || exit 0; \
24306 $(MAKE) stagetrain-start; \
24307 fi; \
24308 cd $(HOST_SUBDIR)/libcpp && \
24309 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24310 @endif libcpp-bootstrap
24313 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
24314 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
24315 maybe-all-stagefeedback-libcpp:
24316 maybe-clean-stagefeedback-libcpp:
24317 @if libcpp-bootstrap
24318 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
24319 all-stagefeedback: all-stagefeedback-libcpp
24320 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
24321 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
24322 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24323 @r=`${PWD_COMMAND}`; export r; \
24324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24325 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24326 $(HOST_EXPORTS) \
24327 $(POSTSTAGE1_HOST_EXPORTS) \
24328 cd $(HOST_SUBDIR)/libcpp && \
24330 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24331 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24332 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24333 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24334 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24335 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24336 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24337 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24338 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24339 $(TARGET-stagefeedback-libcpp)
24341 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
24342 clean-stagefeedback: clean-stagefeedback-libcpp
24343 clean-stagefeedback-libcpp:
24344 @if [ $(current_stage) = stagefeedback ]; then \
24345 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24346 else \
24347 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
24348 $(MAKE) stagefeedback-start; \
24349 fi; \
24350 cd $(HOST_SUBDIR)/libcpp && \
24351 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24352 @endif libcpp-bootstrap
24355 .PHONY: all-stageautoprofile-libcpp maybe-all-stageautoprofile-libcpp
24356 .PHONY: clean-stageautoprofile-libcpp maybe-clean-stageautoprofile-libcpp
24357 maybe-all-stageautoprofile-libcpp:
24358 maybe-clean-stageautoprofile-libcpp:
24359 @if libcpp-bootstrap
24360 maybe-all-stageautoprofile-libcpp: all-stageautoprofile-libcpp
24361 all-stageautoprofile: all-stageautoprofile-libcpp
24362 TARGET-stageautoprofile-libcpp = $(TARGET-libcpp)
24363 all-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
24364 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24365 @r=`${PWD_COMMAND}`; export r; \
24366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24367 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24368 $(HOST_EXPORTS) \
24369 $(POSTSTAGE1_HOST_EXPORTS) \
24370 cd $(HOST_SUBDIR)/libcpp && \
24371 $$s/gcc/config/i386/$(AUTO_PROFILE) \
24372 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24373 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
24374 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
24375 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
24376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24379 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24380 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
24381 $(TARGET-stageautoprofile-libcpp)
24383 maybe-clean-stageautoprofile-libcpp: clean-stageautoprofile-libcpp
24384 clean-stageautoprofile: clean-stageautoprofile-libcpp
24385 clean-stageautoprofile-libcpp:
24386 @if [ $(current_stage) = stageautoprofile ]; then \
24387 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24388 else \
24389 [ -f $(HOST_SUBDIR)/stageautoprofile-libcpp/Makefile ] || exit 0; \
24390 $(MAKE) stageautoprofile-start; \
24391 fi; \
24392 cd $(HOST_SUBDIR)/libcpp && \
24393 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24394 @endif libcpp-bootstrap
24397 .PHONY: all-stageautofeedback-libcpp maybe-all-stageautofeedback-libcpp
24398 .PHONY: clean-stageautofeedback-libcpp maybe-clean-stageautofeedback-libcpp
24399 maybe-all-stageautofeedback-libcpp:
24400 maybe-clean-stageautofeedback-libcpp:
24401 @if libcpp-bootstrap
24402 maybe-all-stageautofeedback-libcpp: all-stageautofeedback-libcpp
24403 all-stageautofeedback: all-stageautofeedback-libcpp
24404 TARGET-stageautofeedback-libcpp = $(TARGET-libcpp)
24405 all-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
24406 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24407 @r=`${PWD_COMMAND}`; export r; \
24408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24409 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24410 $(HOST_EXPORTS) \
24411 $(POSTSTAGE1_HOST_EXPORTS) \
24412 cd $(HOST_SUBDIR)/libcpp && \
24414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24415 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
24416 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
24417 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
24418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24422 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
24423 $(TARGET-stageautofeedback-libcpp)
24425 maybe-clean-stageautofeedback-libcpp: clean-stageautofeedback-libcpp
24426 clean-stageautofeedback: clean-stageautofeedback-libcpp
24427 clean-stageautofeedback-libcpp:
24428 @if [ $(current_stage) = stageautofeedback ]; then \
24429 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24430 else \
24431 [ -f $(HOST_SUBDIR)/stageautofeedback-libcpp/Makefile ] || exit 0; \
24432 $(MAKE) stageautofeedback-start; \
24433 fi; \
24434 cd $(HOST_SUBDIR)/libcpp && \
24435 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24436 @endif libcpp-bootstrap
24442 .PHONY: check-libcpp maybe-check-libcpp
24443 maybe-check-libcpp:
24444 @if libcpp
24445 maybe-check-libcpp: check-libcpp
24447 check-libcpp:
24448 @: $(MAKE); $(unstage)
24449 @r=`${PWD_COMMAND}`; export r; \
24450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24451 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24452 (cd $(HOST_SUBDIR)/libcpp && \
24453 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24455 @endif libcpp
24457 .PHONY: install-libcpp maybe-install-libcpp
24458 maybe-install-libcpp:
24459 @if libcpp
24460 maybe-install-libcpp: install-libcpp
24462 install-libcpp: installdirs
24463 @: $(MAKE); $(unstage)
24464 @r=`${PWD_COMMAND}`; export r; \
24465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24466 $(HOST_EXPORTS) \
24467 (cd $(HOST_SUBDIR)/libcpp && \
24468 $(MAKE) $(FLAGS_TO_PASS) install)
24470 @endif libcpp
24472 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
24473 maybe-install-strip-libcpp:
24474 @if libcpp
24475 maybe-install-strip-libcpp: install-strip-libcpp
24477 install-strip-libcpp: installdirs
24478 @: $(MAKE); $(unstage)
24479 @r=`${PWD_COMMAND}`; export r; \
24480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24481 $(HOST_EXPORTS) \
24482 (cd $(HOST_SUBDIR)/libcpp && \
24483 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24485 @endif libcpp
24487 # Other targets (info, dvi, pdf, etc.)
24489 .PHONY: maybe-info-libcpp info-libcpp
24490 maybe-info-libcpp:
24491 @if libcpp
24492 maybe-info-libcpp: info-libcpp
24494 info-libcpp: \
24495 configure-libcpp
24496 @[ -f ./libcpp/Makefile ] || exit 0; \
24497 r=`${PWD_COMMAND}`; export r; \
24498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24499 $(HOST_EXPORTS) \
24500 for flag in $(EXTRA_HOST_FLAGS) ; do \
24501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24502 done; \
24503 echo "Doing info in libcpp"; \
24504 (cd $(HOST_SUBDIR)/libcpp && \
24505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24507 "RANLIB=$${RANLIB}" \
24508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24509 info) \
24510 || exit 1
24512 @endif libcpp
24514 .PHONY: maybe-dvi-libcpp dvi-libcpp
24515 maybe-dvi-libcpp:
24516 @if libcpp
24517 maybe-dvi-libcpp: dvi-libcpp
24519 dvi-libcpp: \
24520 configure-libcpp
24521 @[ -f ./libcpp/Makefile ] || exit 0; \
24522 r=`${PWD_COMMAND}`; export r; \
24523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24524 $(HOST_EXPORTS) \
24525 for flag in $(EXTRA_HOST_FLAGS) ; do \
24526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24527 done; \
24528 echo "Doing dvi in libcpp"; \
24529 (cd $(HOST_SUBDIR)/libcpp && \
24530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24532 "RANLIB=$${RANLIB}" \
24533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24534 dvi) \
24535 || exit 1
24537 @endif libcpp
24539 .PHONY: maybe-pdf-libcpp pdf-libcpp
24540 maybe-pdf-libcpp:
24541 @if libcpp
24542 maybe-pdf-libcpp: pdf-libcpp
24544 pdf-libcpp: \
24545 configure-libcpp
24546 @[ -f ./libcpp/Makefile ] || exit 0; \
24547 r=`${PWD_COMMAND}`; export r; \
24548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24549 $(HOST_EXPORTS) \
24550 for flag in $(EXTRA_HOST_FLAGS) ; do \
24551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24552 done; \
24553 echo "Doing pdf in libcpp"; \
24554 (cd $(HOST_SUBDIR)/libcpp && \
24555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24557 "RANLIB=$${RANLIB}" \
24558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24559 pdf) \
24560 || exit 1
24562 @endif libcpp
24564 .PHONY: maybe-html-libcpp html-libcpp
24565 maybe-html-libcpp:
24566 @if libcpp
24567 maybe-html-libcpp: html-libcpp
24569 html-libcpp: \
24570 configure-libcpp
24571 @[ -f ./libcpp/Makefile ] || exit 0; \
24572 r=`${PWD_COMMAND}`; export r; \
24573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24574 $(HOST_EXPORTS) \
24575 for flag in $(EXTRA_HOST_FLAGS) ; do \
24576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24577 done; \
24578 echo "Doing html in libcpp"; \
24579 (cd $(HOST_SUBDIR)/libcpp && \
24580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24582 "RANLIB=$${RANLIB}" \
24583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24584 html) \
24585 || exit 1
24587 @endif libcpp
24589 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
24590 maybe-TAGS-libcpp:
24591 @if libcpp
24592 maybe-TAGS-libcpp: TAGS-libcpp
24594 TAGS-libcpp: \
24595 configure-libcpp
24596 @[ -f ./libcpp/Makefile ] || exit 0; \
24597 r=`${PWD_COMMAND}`; export r; \
24598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24599 $(HOST_EXPORTS) \
24600 for flag in $(EXTRA_HOST_FLAGS) ; do \
24601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24602 done; \
24603 echo "Doing TAGS in libcpp"; \
24604 (cd $(HOST_SUBDIR)/libcpp && \
24605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24607 "RANLIB=$${RANLIB}" \
24608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24609 TAGS) \
24610 || exit 1
24612 @endif libcpp
24614 .PHONY: maybe-install-info-libcpp install-info-libcpp
24615 maybe-install-info-libcpp:
24616 @if libcpp
24617 maybe-install-info-libcpp: install-info-libcpp
24619 install-info-libcpp: \
24620 configure-libcpp \
24621 info-libcpp
24622 @[ -f ./libcpp/Makefile ] || exit 0; \
24623 r=`${PWD_COMMAND}`; export r; \
24624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24625 $(HOST_EXPORTS) \
24626 for flag in $(EXTRA_HOST_FLAGS) ; do \
24627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24628 done; \
24629 echo "Doing install-info in libcpp"; \
24630 (cd $(HOST_SUBDIR)/libcpp && \
24631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24633 "RANLIB=$${RANLIB}" \
24634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24635 install-info) \
24636 || exit 1
24638 @endif libcpp
24640 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
24641 maybe-install-pdf-libcpp:
24642 @if libcpp
24643 maybe-install-pdf-libcpp: install-pdf-libcpp
24645 install-pdf-libcpp: \
24646 configure-libcpp \
24647 pdf-libcpp
24648 @[ -f ./libcpp/Makefile ] || exit 0; \
24649 r=`${PWD_COMMAND}`; export r; \
24650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24651 $(HOST_EXPORTS) \
24652 for flag in $(EXTRA_HOST_FLAGS) ; do \
24653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24654 done; \
24655 echo "Doing install-pdf in libcpp"; \
24656 (cd $(HOST_SUBDIR)/libcpp && \
24657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24659 "RANLIB=$${RANLIB}" \
24660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24661 install-pdf) \
24662 || exit 1
24664 @endif libcpp
24666 .PHONY: maybe-install-html-libcpp install-html-libcpp
24667 maybe-install-html-libcpp:
24668 @if libcpp
24669 maybe-install-html-libcpp: install-html-libcpp
24671 install-html-libcpp: \
24672 configure-libcpp \
24673 html-libcpp
24674 @[ -f ./libcpp/Makefile ] || exit 0; \
24675 r=`${PWD_COMMAND}`; export r; \
24676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24677 $(HOST_EXPORTS) \
24678 for flag in $(EXTRA_HOST_FLAGS) ; do \
24679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24680 done; \
24681 echo "Doing install-html in libcpp"; \
24682 (cd $(HOST_SUBDIR)/libcpp && \
24683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24685 "RANLIB=$${RANLIB}" \
24686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24687 install-html) \
24688 || exit 1
24690 @endif libcpp
24692 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
24693 maybe-installcheck-libcpp:
24694 @if libcpp
24695 maybe-installcheck-libcpp: installcheck-libcpp
24697 installcheck-libcpp: \
24698 configure-libcpp
24699 @[ -f ./libcpp/Makefile ] || exit 0; \
24700 r=`${PWD_COMMAND}`; export r; \
24701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24702 $(HOST_EXPORTS) \
24703 for flag in $(EXTRA_HOST_FLAGS) ; do \
24704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24705 done; \
24706 echo "Doing installcheck in libcpp"; \
24707 (cd $(HOST_SUBDIR)/libcpp && \
24708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24710 "RANLIB=$${RANLIB}" \
24711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24712 installcheck) \
24713 || exit 1
24715 @endif libcpp
24717 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
24718 maybe-mostlyclean-libcpp:
24719 @if libcpp
24720 maybe-mostlyclean-libcpp: mostlyclean-libcpp
24722 mostlyclean-libcpp:
24723 @[ -f ./libcpp/Makefile ] || exit 0; \
24724 r=`${PWD_COMMAND}`; export r; \
24725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24726 $(HOST_EXPORTS) \
24727 for flag in $(EXTRA_HOST_FLAGS) ; do \
24728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24729 done; \
24730 echo "Doing mostlyclean in libcpp"; \
24731 (cd $(HOST_SUBDIR)/libcpp && \
24732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24734 "RANLIB=$${RANLIB}" \
24735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24736 mostlyclean) \
24737 || exit 1
24739 @endif libcpp
24741 .PHONY: maybe-clean-libcpp clean-libcpp
24742 maybe-clean-libcpp:
24743 @if libcpp
24744 maybe-clean-libcpp: clean-libcpp
24746 clean-libcpp:
24747 @[ -f ./libcpp/Makefile ] || exit 0; \
24748 r=`${PWD_COMMAND}`; export r; \
24749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24750 $(HOST_EXPORTS) \
24751 for flag in $(EXTRA_HOST_FLAGS) ; do \
24752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24753 done; \
24754 echo "Doing clean in libcpp"; \
24755 (cd $(HOST_SUBDIR)/libcpp && \
24756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24758 "RANLIB=$${RANLIB}" \
24759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24760 clean) \
24761 || exit 1
24763 @endif libcpp
24765 .PHONY: maybe-distclean-libcpp distclean-libcpp
24766 maybe-distclean-libcpp:
24767 @if libcpp
24768 maybe-distclean-libcpp: distclean-libcpp
24770 distclean-libcpp:
24771 @[ -f ./libcpp/Makefile ] || exit 0; \
24772 r=`${PWD_COMMAND}`; export r; \
24773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24774 $(HOST_EXPORTS) \
24775 for flag in $(EXTRA_HOST_FLAGS) ; do \
24776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24777 done; \
24778 echo "Doing distclean in libcpp"; \
24779 (cd $(HOST_SUBDIR)/libcpp && \
24780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24782 "RANLIB=$${RANLIB}" \
24783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24784 distclean) \
24785 || exit 1
24787 @endif libcpp
24789 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
24790 maybe-maintainer-clean-libcpp:
24791 @if libcpp
24792 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
24794 maintainer-clean-libcpp:
24795 @[ -f ./libcpp/Makefile ] || exit 0; \
24796 r=`${PWD_COMMAND}`; export r; \
24797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24798 $(HOST_EXPORTS) \
24799 for flag in $(EXTRA_HOST_FLAGS) ; do \
24800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24801 done; \
24802 echo "Doing maintainer-clean in libcpp"; \
24803 (cd $(HOST_SUBDIR)/libcpp && \
24804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24806 "RANLIB=$${RANLIB}" \
24807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24808 maintainer-clean) \
24809 || exit 1
24811 @endif libcpp
24815 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
24816 maybe-configure-libdecnumber:
24817 @if gcc-bootstrap
24818 configure-libdecnumber: stage_current
24819 @endif gcc-bootstrap
24820 @if libdecnumber
24821 maybe-configure-libdecnumber: configure-libdecnumber
24822 configure-libdecnumber:
24823 @r=`${PWD_COMMAND}`; export r; \
24824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24825 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24826 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24827 $(HOST_EXPORTS) \
24828 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
24829 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
24830 case $(srcdir) in \
24831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24832 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24834 esac; \
24835 module_srcdir=libdecnumber; \
24836 $(SHELL) \
24837 $$s/$$module_srcdir/configure \
24838 --srcdir=$${topdir}/$$module_srcdir \
24839 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24840 --target=${target_alias} \
24841 || exit 1
24842 @endif libdecnumber
24846 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
24847 maybe-configure-stage1-libdecnumber:
24848 @if libdecnumber-bootstrap
24849 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
24850 configure-stage1-libdecnumber:
24851 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24852 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24853 @r=`${PWD_COMMAND}`; export r; \
24854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24855 TFLAGS="$(STAGE1_TFLAGS)"; \
24856 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24857 $(HOST_EXPORTS) \
24858 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24859 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
24860 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
24861 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
24862 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24863 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24864 case $(srcdir) in \
24865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24866 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24868 esac; \
24869 module_srcdir=libdecnumber; \
24870 $(SHELL) $$s/$$module_srcdir/configure \
24871 --srcdir=$${topdir}/$$module_srcdir \
24872 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24873 --target=${target_alias} \
24875 $(STAGE1_CONFIGURE_FLAGS)
24876 @endif libdecnumber-bootstrap
24878 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
24879 maybe-configure-stage2-libdecnumber:
24880 @if libdecnumber-bootstrap
24881 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
24882 configure-stage2-libdecnumber:
24883 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24884 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24885 @r=`${PWD_COMMAND}`; export r; \
24886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24887 TFLAGS="$(STAGE2_TFLAGS)"; \
24888 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24889 $(HOST_EXPORTS) \
24890 $(POSTSTAGE1_HOST_EXPORTS) \
24891 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24892 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
24893 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24894 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
24895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24896 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24897 case $(srcdir) in \
24898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24899 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24901 esac; \
24902 module_srcdir=libdecnumber; \
24903 $(SHELL) $$s/$$module_srcdir/configure \
24904 --srcdir=$${topdir}/$$module_srcdir \
24905 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24906 --target=${target_alias} \
24907 --with-build-libsubdir=$(HOST_SUBDIR) \
24908 $(STAGE2_CONFIGURE_FLAGS)
24909 @endif libdecnumber-bootstrap
24911 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
24912 maybe-configure-stage3-libdecnumber:
24913 @if libdecnumber-bootstrap
24914 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
24915 configure-stage3-libdecnumber:
24916 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24917 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24918 @r=`${PWD_COMMAND}`; export r; \
24919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24920 TFLAGS="$(STAGE3_TFLAGS)"; \
24921 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24922 $(HOST_EXPORTS) \
24923 $(POSTSTAGE1_HOST_EXPORTS) \
24924 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24925 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24926 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24927 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
24928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24929 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24930 case $(srcdir) in \
24931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24932 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24934 esac; \
24935 module_srcdir=libdecnumber; \
24936 $(SHELL) $$s/$$module_srcdir/configure \
24937 --srcdir=$${topdir}/$$module_srcdir \
24938 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24939 --target=${target_alias} \
24940 --with-build-libsubdir=$(HOST_SUBDIR) \
24941 $(STAGE3_CONFIGURE_FLAGS)
24942 @endif libdecnumber-bootstrap
24944 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
24945 maybe-configure-stage4-libdecnumber:
24946 @if libdecnumber-bootstrap
24947 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
24948 configure-stage4-libdecnumber:
24949 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24950 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24951 @r=`${PWD_COMMAND}`; export r; \
24952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24953 TFLAGS="$(STAGE4_TFLAGS)"; \
24954 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24955 $(HOST_EXPORTS) \
24956 $(POSTSTAGE1_HOST_EXPORTS) \
24957 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24958 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24959 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24960 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
24961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24962 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24963 case $(srcdir) in \
24964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24965 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24967 esac; \
24968 module_srcdir=libdecnumber; \
24969 $(SHELL) $$s/$$module_srcdir/configure \
24970 --srcdir=$${topdir}/$$module_srcdir \
24971 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24972 --target=${target_alias} \
24973 --with-build-libsubdir=$(HOST_SUBDIR) \
24974 $(STAGE4_CONFIGURE_FLAGS)
24975 @endif libdecnumber-bootstrap
24977 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
24978 maybe-configure-stageprofile-libdecnumber:
24979 @if libdecnumber-bootstrap
24980 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
24981 configure-stageprofile-libdecnumber:
24982 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24983 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24984 @r=`${PWD_COMMAND}`; export r; \
24985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24986 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24987 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24988 $(HOST_EXPORTS) \
24989 $(POSTSTAGE1_HOST_EXPORTS) \
24990 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24991 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24992 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24993 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
24994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
24995 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24996 case $(srcdir) in \
24997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24998 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25000 esac; \
25001 module_srcdir=libdecnumber; \
25002 $(SHELL) $$s/$$module_srcdir/configure \
25003 --srcdir=$${topdir}/$$module_srcdir \
25004 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25005 --target=${target_alias} \
25006 --with-build-libsubdir=$(HOST_SUBDIR) \
25007 $(STAGEprofile_CONFIGURE_FLAGS)
25008 @endif libdecnumber-bootstrap
25010 .PHONY: configure-stagetrain-libdecnumber maybe-configure-stagetrain-libdecnumber
25011 maybe-configure-stagetrain-libdecnumber:
25012 @if libdecnumber-bootstrap
25013 maybe-configure-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25014 configure-stagetrain-libdecnumber:
25015 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25016 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25017 @r=`${PWD_COMMAND}`; export r; \
25018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25019 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25020 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25021 $(HOST_EXPORTS) \
25022 $(POSTSTAGE1_HOST_EXPORTS) \
25023 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
25024 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
25025 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
25026 echo Configuring stage train in $(HOST_SUBDIR)/libdecnumber; \
25027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25028 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25029 case $(srcdir) in \
25030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25031 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25033 esac; \
25034 module_srcdir=libdecnumber; \
25035 $(SHELL) $$s/$$module_srcdir/configure \
25036 --srcdir=$${topdir}/$$module_srcdir \
25037 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25038 --target=${target_alias} \
25039 --with-build-libsubdir=$(HOST_SUBDIR) \
25040 $(STAGEtrain_CONFIGURE_FLAGS)
25041 @endif libdecnumber-bootstrap
25043 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
25044 maybe-configure-stagefeedback-libdecnumber:
25045 @if libdecnumber-bootstrap
25046 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25047 configure-stagefeedback-libdecnumber:
25048 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25049 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25050 @r=`${PWD_COMMAND}`; export r; \
25051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25052 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25053 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25054 $(HOST_EXPORTS) \
25055 $(POSTSTAGE1_HOST_EXPORTS) \
25056 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25057 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25058 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25059 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
25060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25061 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25062 case $(srcdir) in \
25063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25064 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25066 esac; \
25067 module_srcdir=libdecnumber; \
25068 $(SHELL) $$s/$$module_srcdir/configure \
25069 --srcdir=$${topdir}/$$module_srcdir \
25070 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25071 --target=${target_alias} \
25072 --with-build-libsubdir=$(HOST_SUBDIR) \
25073 $(STAGEfeedback_CONFIGURE_FLAGS)
25074 @endif libdecnumber-bootstrap
25076 .PHONY: configure-stageautoprofile-libdecnumber maybe-configure-stageautoprofile-libdecnumber
25077 maybe-configure-stageautoprofile-libdecnumber:
25078 @if libdecnumber-bootstrap
25079 maybe-configure-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25080 configure-stageautoprofile-libdecnumber:
25081 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25082 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25083 @r=`${PWD_COMMAND}`; export r; \
25084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25085 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25086 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25087 $(HOST_EXPORTS) \
25088 $(POSTSTAGE1_HOST_EXPORTS) \
25089 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
25090 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
25091 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
25092 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libdecnumber; \
25093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25094 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25095 case $(srcdir) in \
25096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25097 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25099 esac; \
25100 module_srcdir=libdecnumber; \
25101 $(SHELL) $$s/$$module_srcdir/configure \
25102 --srcdir=$${topdir}/$$module_srcdir \
25103 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25104 --target=${target_alias} \
25105 --with-build-libsubdir=$(HOST_SUBDIR) \
25106 $(STAGEautoprofile_CONFIGURE_FLAGS)
25107 @endif libdecnumber-bootstrap
25109 .PHONY: configure-stageautofeedback-libdecnumber maybe-configure-stageautofeedback-libdecnumber
25110 maybe-configure-stageautofeedback-libdecnumber:
25111 @if libdecnumber-bootstrap
25112 maybe-configure-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25113 configure-stageautofeedback-libdecnumber:
25114 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25115 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
25116 @r=`${PWD_COMMAND}`; export r; \
25117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25118 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25119 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
25120 $(HOST_EXPORTS) \
25121 $(POSTSTAGE1_HOST_EXPORTS) \
25122 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
25123 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
25124 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
25125 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libdecnumber; \
25126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
25127 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
25128 case $(srcdir) in \
25129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25130 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
25131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25132 esac; \
25133 module_srcdir=libdecnumber; \
25134 $(SHELL) $$s/$$module_srcdir/configure \
25135 --srcdir=$${topdir}/$$module_srcdir \
25136 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25137 --target=${target_alias} \
25138 --with-build-libsubdir=$(HOST_SUBDIR) \
25139 $(STAGEautofeedback_CONFIGURE_FLAGS)
25140 @endif libdecnumber-bootstrap
25146 .PHONY: all-libdecnumber maybe-all-libdecnumber
25147 maybe-all-libdecnumber:
25148 @if gcc-bootstrap
25149 all-libdecnumber: stage_current
25150 @endif gcc-bootstrap
25151 @if libdecnumber
25152 TARGET-libdecnumber=all
25153 maybe-all-libdecnumber: all-libdecnumber
25154 all-libdecnumber: configure-libdecnumber
25155 @r=`${PWD_COMMAND}`; export r; \
25156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25157 $(HOST_EXPORTS) \
25158 (cd $(HOST_SUBDIR)/libdecnumber && \
25159 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25160 $(TARGET-libdecnumber))
25161 @endif libdecnumber
25165 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
25166 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
25167 maybe-all-stage1-libdecnumber:
25168 maybe-clean-stage1-libdecnumber:
25169 @if libdecnumber-bootstrap
25170 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
25171 all-stage1: all-stage1-libdecnumber
25172 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
25173 all-stage1-libdecnumber: configure-stage1-libdecnumber
25174 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25175 @r=`${PWD_COMMAND}`; export r; \
25176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25177 TFLAGS="$(STAGE1_TFLAGS)"; \
25178 $(HOST_EXPORTS) \
25179 cd $(HOST_SUBDIR)/libdecnumber && \
25181 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25182 CFLAGS="$(STAGE1_CFLAGS)" \
25183 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25184 LIBCFLAGS="$(LIBCFLAGS)" \
25185 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25186 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25187 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25188 $(EXTRA_HOST_FLAGS) \
25189 $(STAGE1_FLAGS_TO_PASS) \
25190 TFLAGS="$(STAGE1_TFLAGS)" \
25191 $(TARGET-stage1-libdecnumber)
25193 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
25194 clean-stage1: clean-stage1-libdecnumber
25195 clean-stage1-libdecnumber:
25196 @if [ $(current_stage) = stage1 ]; then \
25197 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25198 else \
25199 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
25200 $(MAKE) stage1-start; \
25201 fi; \
25202 cd $(HOST_SUBDIR)/libdecnumber && \
25203 $(MAKE) $(EXTRA_HOST_FLAGS) \
25204 $(STAGE1_FLAGS_TO_PASS) clean
25205 @endif libdecnumber-bootstrap
25208 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
25209 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
25210 maybe-all-stage2-libdecnumber:
25211 maybe-clean-stage2-libdecnumber:
25212 @if libdecnumber-bootstrap
25213 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
25214 all-stage2: all-stage2-libdecnumber
25215 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
25216 all-stage2-libdecnumber: configure-stage2-libdecnumber
25217 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25218 @r=`${PWD_COMMAND}`; export r; \
25219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25220 TFLAGS="$(STAGE2_TFLAGS)"; \
25221 $(HOST_EXPORTS) \
25222 $(POSTSTAGE1_HOST_EXPORTS) \
25223 cd $(HOST_SUBDIR)/libdecnumber && \
25225 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25226 CFLAGS="$(STAGE2_CFLAGS)" \
25227 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25228 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25229 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25230 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25231 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25232 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25233 TFLAGS="$(STAGE2_TFLAGS)" \
25234 $(TARGET-stage2-libdecnumber)
25236 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
25237 clean-stage2: clean-stage2-libdecnumber
25238 clean-stage2-libdecnumber:
25239 @if [ $(current_stage) = stage2 ]; then \
25240 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25241 else \
25242 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
25243 $(MAKE) stage2-start; \
25244 fi; \
25245 cd $(HOST_SUBDIR)/libdecnumber && \
25246 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25247 @endif libdecnumber-bootstrap
25250 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
25251 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
25252 maybe-all-stage3-libdecnumber:
25253 maybe-clean-stage3-libdecnumber:
25254 @if libdecnumber-bootstrap
25255 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
25256 all-stage3: all-stage3-libdecnumber
25257 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
25258 all-stage3-libdecnumber: configure-stage3-libdecnumber
25259 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25260 @r=`${PWD_COMMAND}`; export r; \
25261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25262 TFLAGS="$(STAGE3_TFLAGS)"; \
25263 $(HOST_EXPORTS) \
25264 $(POSTSTAGE1_HOST_EXPORTS) \
25265 cd $(HOST_SUBDIR)/libdecnumber && \
25267 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25268 CFLAGS="$(STAGE3_CFLAGS)" \
25269 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25270 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25274 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25275 TFLAGS="$(STAGE3_TFLAGS)" \
25276 $(TARGET-stage3-libdecnumber)
25278 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
25279 clean-stage3: clean-stage3-libdecnumber
25280 clean-stage3-libdecnumber:
25281 @if [ $(current_stage) = stage3 ]; then \
25282 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25283 else \
25284 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
25285 $(MAKE) stage3-start; \
25286 fi; \
25287 cd $(HOST_SUBDIR)/libdecnumber && \
25288 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25289 @endif libdecnumber-bootstrap
25292 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
25293 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
25294 maybe-all-stage4-libdecnumber:
25295 maybe-clean-stage4-libdecnumber:
25296 @if libdecnumber-bootstrap
25297 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
25298 all-stage4: all-stage4-libdecnumber
25299 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
25300 all-stage4-libdecnumber: configure-stage4-libdecnumber
25301 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25302 @r=`${PWD_COMMAND}`; export r; \
25303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25304 TFLAGS="$(STAGE4_TFLAGS)"; \
25305 $(HOST_EXPORTS) \
25306 $(POSTSTAGE1_HOST_EXPORTS) \
25307 cd $(HOST_SUBDIR)/libdecnumber && \
25309 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25310 CFLAGS="$(STAGE4_CFLAGS)" \
25311 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25312 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25313 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25314 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25315 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25316 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25317 TFLAGS="$(STAGE4_TFLAGS)" \
25318 $(TARGET-stage4-libdecnumber)
25320 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
25321 clean-stage4: clean-stage4-libdecnumber
25322 clean-stage4-libdecnumber:
25323 @if [ $(current_stage) = stage4 ]; then \
25324 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25325 else \
25326 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
25327 $(MAKE) stage4-start; \
25328 fi; \
25329 cd $(HOST_SUBDIR)/libdecnumber && \
25330 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25331 @endif libdecnumber-bootstrap
25334 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
25335 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
25336 maybe-all-stageprofile-libdecnumber:
25337 maybe-clean-stageprofile-libdecnumber:
25338 @if libdecnumber-bootstrap
25339 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
25340 all-stageprofile: all-stageprofile-libdecnumber
25341 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
25342 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
25343 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25344 @r=`${PWD_COMMAND}`; export r; \
25345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25346 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25347 $(HOST_EXPORTS) \
25348 $(POSTSTAGE1_HOST_EXPORTS) \
25349 cd $(HOST_SUBDIR)/libdecnumber && \
25351 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25352 CFLAGS="$(STAGEprofile_CFLAGS)" \
25353 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25354 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25355 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25356 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25357 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25358 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25359 TFLAGS="$(STAGEprofile_TFLAGS)" \
25360 $(TARGET-stageprofile-libdecnumber)
25362 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
25363 clean-stageprofile: clean-stageprofile-libdecnumber
25364 clean-stageprofile-libdecnumber:
25365 @if [ $(current_stage) = stageprofile ]; then \
25366 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25367 else \
25368 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
25369 $(MAKE) stageprofile-start; \
25370 fi; \
25371 cd $(HOST_SUBDIR)/libdecnumber && \
25372 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25373 @endif libdecnumber-bootstrap
25376 .PHONY: all-stagetrain-libdecnumber maybe-all-stagetrain-libdecnumber
25377 .PHONY: clean-stagetrain-libdecnumber maybe-clean-stagetrain-libdecnumber
25378 maybe-all-stagetrain-libdecnumber:
25379 maybe-clean-stagetrain-libdecnumber:
25380 @if libdecnumber-bootstrap
25381 maybe-all-stagetrain-libdecnumber: all-stagetrain-libdecnumber
25382 all-stagetrain: all-stagetrain-libdecnumber
25383 TARGET-stagetrain-libdecnumber = $(TARGET-libdecnumber)
25384 all-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
25385 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25386 @r=`${PWD_COMMAND}`; export r; \
25387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25388 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25389 $(HOST_EXPORTS) \
25390 $(POSTSTAGE1_HOST_EXPORTS) \
25391 cd $(HOST_SUBDIR)/libdecnumber && \
25393 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25394 CFLAGS="$(STAGEtrain_CFLAGS)" \
25395 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
25396 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
25397 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25398 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25399 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25400 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25401 TFLAGS="$(STAGEtrain_TFLAGS)" \
25402 $(TARGET-stagetrain-libdecnumber)
25404 maybe-clean-stagetrain-libdecnumber: clean-stagetrain-libdecnumber
25405 clean-stagetrain: clean-stagetrain-libdecnumber
25406 clean-stagetrain-libdecnumber:
25407 @if [ $(current_stage) = stagetrain ]; then \
25408 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25409 else \
25410 [ -f $(HOST_SUBDIR)/stagetrain-libdecnumber/Makefile ] || exit 0; \
25411 $(MAKE) stagetrain-start; \
25412 fi; \
25413 cd $(HOST_SUBDIR)/libdecnumber && \
25414 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25415 @endif libdecnumber-bootstrap
25418 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
25419 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
25420 maybe-all-stagefeedback-libdecnumber:
25421 maybe-clean-stagefeedback-libdecnumber:
25422 @if libdecnumber-bootstrap
25423 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
25424 all-stagefeedback: all-stagefeedback-libdecnumber
25425 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
25426 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25427 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25428 @r=`${PWD_COMMAND}`; export r; \
25429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25430 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25431 $(HOST_EXPORTS) \
25432 $(POSTSTAGE1_HOST_EXPORTS) \
25433 cd $(HOST_SUBDIR)/libdecnumber && \
25435 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25436 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25437 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25438 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25439 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25440 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25441 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25442 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25443 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25444 $(TARGET-stagefeedback-libdecnumber)
25446 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
25447 clean-stagefeedback: clean-stagefeedback-libdecnumber
25448 clean-stagefeedback-libdecnumber:
25449 @if [ $(current_stage) = stagefeedback ]; then \
25450 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25451 else \
25452 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
25453 $(MAKE) stagefeedback-start; \
25454 fi; \
25455 cd $(HOST_SUBDIR)/libdecnumber && \
25456 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25457 @endif libdecnumber-bootstrap
25460 .PHONY: all-stageautoprofile-libdecnumber maybe-all-stageautoprofile-libdecnumber
25461 .PHONY: clean-stageautoprofile-libdecnumber maybe-clean-stageautoprofile-libdecnumber
25462 maybe-all-stageautoprofile-libdecnumber:
25463 maybe-clean-stageautoprofile-libdecnumber:
25464 @if libdecnumber-bootstrap
25465 maybe-all-stageautoprofile-libdecnumber: all-stageautoprofile-libdecnumber
25466 all-stageautoprofile: all-stageautoprofile-libdecnumber
25467 TARGET-stageautoprofile-libdecnumber = $(TARGET-libdecnumber)
25468 all-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
25469 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25470 @r=`${PWD_COMMAND}`; export r; \
25471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25472 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25473 $(HOST_EXPORTS) \
25474 $(POSTSTAGE1_HOST_EXPORTS) \
25475 cd $(HOST_SUBDIR)/libdecnumber && \
25476 $$s/gcc/config/i386/$(AUTO_PROFILE) \
25477 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25478 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
25479 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
25480 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
25481 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25482 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25483 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25484 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25485 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
25486 $(TARGET-stageautoprofile-libdecnumber)
25488 maybe-clean-stageautoprofile-libdecnumber: clean-stageautoprofile-libdecnumber
25489 clean-stageautoprofile: clean-stageautoprofile-libdecnumber
25490 clean-stageautoprofile-libdecnumber:
25491 @if [ $(current_stage) = stageautoprofile ]; then \
25492 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25493 else \
25494 [ -f $(HOST_SUBDIR)/stageautoprofile-libdecnumber/Makefile ] || exit 0; \
25495 $(MAKE) stageautoprofile-start; \
25496 fi; \
25497 cd $(HOST_SUBDIR)/libdecnumber && \
25498 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25499 @endif libdecnumber-bootstrap
25502 .PHONY: all-stageautofeedback-libdecnumber maybe-all-stageautofeedback-libdecnumber
25503 .PHONY: clean-stageautofeedback-libdecnumber maybe-clean-stageautofeedback-libdecnumber
25504 maybe-all-stageautofeedback-libdecnumber:
25505 maybe-clean-stageautofeedback-libdecnumber:
25506 @if libdecnumber-bootstrap
25507 maybe-all-stageautofeedback-libdecnumber: all-stageautofeedback-libdecnumber
25508 all-stageautofeedback: all-stageautofeedback-libdecnumber
25509 TARGET-stageautofeedback-libdecnumber = $(TARGET-libdecnumber)
25510 all-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
25511 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25512 @r=`${PWD_COMMAND}`; export r; \
25513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25514 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25515 $(HOST_EXPORTS) \
25516 $(POSTSTAGE1_HOST_EXPORTS) \
25517 cd $(HOST_SUBDIR)/libdecnumber && \
25519 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25520 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
25521 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
25522 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
25523 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25524 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25525 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25526 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25527 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
25528 $(TARGET-stageautofeedback-libdecnumber)
25530 maybe-clean-stageautofeedback-libdecnumber: clean-stageautofeedback-libdecnumber
25531 clean-stageautofeedback: clean-stageautofeedback-libdecnumber
25532 clean-stageautofeedback-libdecnumber:
25533 @if [ $(current_stage) = stageautofeedback ]; then \
25534 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25535 else \
25536 [ -f $(HOST_SUBDIR)/stageautofeedback-libdecnumber/Makefile ] || exit 0; \
25537 $(MAKE) stageautofeedback-start; \
25538 fi; \
25539 cd $(HOST_SUBDIR)/libdecnumber && \
25540 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25541 @endif libdecnumber-bootstrap
25547 .PHONY: check-libdecnumber maybe-check-libdecnumber
25548 maybe-check-libdecnumber:
25549 @if libdecnumber
25550 maybe-check-libdecnumber: check-libdecnumber
25552 check-libdecnumber:
25553 @: $(MAKE); $(unstage)
25554 @r=`${PWD_COMMAND}`; export r; \
25555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25556 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
25557 (cd $(HOST_SUBDIR)/libdecnumber && \
25558 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
25560 @endif libdecnumber
25562 .PHONY: install-libdecnumber maybe-install-libdecnumber
25563 maybe-install-libdecnumber:
25564 @if libdecnumber
25565 maybe-install-libdecnumber: install-libdecnumber
25567 install-libdecnumber: installdirs
25568 @: $(MAKE); $(unstage)
25569 @r=`${PWD_COMMAND}`; export r; \
25570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25571 $(HOST_EXPORTS) \
25572 (cd $(HOST_SUBDIR)/libdecnumber && \
25573 $(MAKE) $(FLAGS_TO_PASS) install)
25575 @endif libdecnumber
25577 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
25578 maybe-install-strip-libdecnumber:
25579 @if libdecnumber
25580 maybe-install-strip-libdecnumber: install-strip-libdecnumber
25582 install-strip-libdecnumber: installdirs
25583 @: $(MAKE); $(unstage)
25584 @r=`${PWD_COMMAND}`; export r; \
25585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25586 $(HOST_EXPORTS) \
25587 (cd $(HOST_SUBDIR)/libdecnumber && \
25588 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25590 @endif libdecnumber
25592 # Other targets (info, dvi, pdf, etc.)
25594 .PHONY: maybe-info-libdecnumber info-libdecnumber
25595 maybe-info-libdecnumber:
25596 @if libdecnumber
25597 maybe-info-libdecnumber: info-libdecnumber
25599 info-libdecnumber: \
25600 configure-libdecnumber
25601 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25602 r=`${PWD_COMMAND}`; export r; \
25603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25604 $(HOST_EXPORTS) \
25605 for flag in $(EXTRA_HOST_FLAGS) ; do \
25606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25607 done; \
25608 echo "Doing info in libdecnumber"; \
25609 (cd $(HOST_SUBDIR)/libdecnumber && \
25610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25612 "RANLIB=$${RANLIB}" \
25613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25614 info) \
25615 || exit 1
25617 @endif libdecnumber
25619 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
25620 maybe-dvi-libdecnumber:
25621 @if libdecnumber
25622 maybe-dvi-libdecnumber: dvi-libdecnumber
25624 dvi-libdecnumber: \
25625 configure-libdecnumber
25626 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25627 r=`${PWD_COMMAND}`; export r; \
25628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25629 $(HOST_EXPORTS) \
25630 for flag in $(EXTRA_HOST_FLAGS) ; do \
25631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25632 done; \
25633 echo "Doing dvi in libdecnumber"; \
25634 (cd $(HOST_SUBDIR)/libdecnumber && \
25635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25637 "RANLIB=$${RANLIB}" \
25638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25639 dvi) \
25640 || exit 1
25642 @endif libdecnumber
25644 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
25645 maybe-pdf-libdecnumber:
25646 @if libdecnumber
25647 maybe-pdf-libdecnumber: pdf-libdecnumber
25649 pdf-libdecnumber: \
25650 configure-libdecnumber
25651 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25652 r=`${PWD_COMMAND}`; export r; \
25653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25654 $(HOST_EXPORTS) \
25655 for flag in $(EXTRA_HOST_FLAGS) ; do \
25656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25657 done; \
25658 echo "Doing pdf in libdecnumber"; \
25659 (cd $(HOST_SUBDIR)/libdecnumber && \
25660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25662 "RANLIB=$${RANLIB}" \
25663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25664 pdf) \
25665 || exit 1
25667 @endif libdecnumber
25669 .PHONY: maybe-html-libdecnumber html-libdecnumber
25670 maybe-html-libdecnumber:
25671 @if libdecnumber
25672 maybe-html-libdecnumber: html-libdecnumber
25674 html-libdecnumber: \
25675 configure-libdecnumber
25676 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25677 r=`${PWD_COMMAND}`; export r; \
25678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25679 $(HOST_EXPORTS) \
25680 for flag in $(EXTRA_HOST_FLAGS) ; do \
25681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25682 done; \
25683 echo "Doing html in libdecnumber"; \
25684 (cd $(HOST_SUBDIR)/libdecnumber && \
25685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25687 "RANLIB=$${RANLIB}" \
25688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25689 html) \
25690 || exit 1
25692 @endif libdecnumber
25694 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
25695 maybe-TAGS-libdecnumber:
25696 @if libdecnumber
25697 maybe-TAGS-libdecnumber: TAGS-libdecnumber
25699 TAGS-libdecnumber: \
25700 configure-libdecnumber
25701 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25702 r=`${PWD_COMMAND}`; export r; \
25703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25704 $(HOST_EXPORTS) \
25705 for flag in $(EXTRA_HOST_FLAGS) ; do \
25706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25707 done; \
25708 echo "Doing TAGS in libdecnumber"; \
25709 (cd $(HOST_SUBDIR)/libdecnumber && \
25710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25712 "RANLIB=$${RANLIB}" \
25713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25714 TAGS) \
25715 || exit 1
25717 @endif libdecnumber
25719 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
25720 maybe-install-info-libdecnumber:
25721 @if libdecnumber
25722 maybe-install-info-libdecnumber: install-info-libdecnumber
25724 install-info-libdecnumber: \
25725 configure-libdecnumber \
25726 info-libdecnumber
25727 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25728 r=`${PWD_COMMAND}`; export r; \
25729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25730 $(HOST_EXPORTS) \
25731 for flag in $(EXTRA_HOST_FLAGS) ; do \
25732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25733 done; \
25734 echo "Doing install-info in libdecnumber"; \
25735 (cd $(HOST_SUBDIR)/libdecnumber && \
25736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25738 "RANLIB=$${RANLIB}" \
25739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25740 install-info) \
25741 || exit 1
25743 @endif libdecnumber
25745 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
25746 maybe-install-pdf-libdecnumber:
25747 @if libdecnumber
25748 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
25750 install-pdf-libdecnumber: \
25751 configure-libdecnumber \
25752 pdf-libdecnumber
25753 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25754 r=`${PWD_COMMAND}`; export r; \
25755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25756 $(HOST_EXPORTS) \
25757 for flag in $(EXTRA_HOST_FLAGS) ; do \
25758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25759 done; \
25760 echo "Doing install-pdf in libdecnumber"; \
25761 (cd $(HOST_SUBDIR)/libdecnumber && \
25762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25764 "RANLIB=$${RANLIB}" \
25765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25766 install-pdf) \
25767 || exit 1
25769 @endif libdecnumber
25771 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
25772 maybe-install-html-libdecnumber:
25773 @if libdecnumber
25774 maybe-install-html-libdecnumber: install-html-libdecnumber
25776 install-html-libdecnumber: \
25777 configure-libdecnumber \
25778 html-libdecnumber
25779 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25780 r=`${PWD_COMMAND}`; export r; \
25781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25782 $(HOST_EXPORTS) \
25783 for flag in $(EXTRA_HOST_FLAGS) ; do \
25784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25785 done; \
25786 echo "Doing install-html in libdecnumber"; \
25787 (cd $(HOST_SUBDIR)/libdecnumber && \
25788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25790 "RANLIB=$${RANLIB}" \
25791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25792 install-html) \
25793 || exit 1
25795 @endif libdecnumber
25797 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
25798 maybe-installcheck-libdecnumber:
25799 @if libdecnumber
25800 maybe-installcheck-libdecnumber: installcheck-libdecnumber
25802 installcheck-libdecnumber: \
25803 configure-libdecnumber
25804 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25805 r=`${PWD_COMMAND}`; export r; \
25806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25807 $(HOST_EXPORTS) \
25808 for flag in $(EXTRA_HOST_FLAGS) ; do \
25809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25810 done; \
25811 echo "Doing installcheck in libdecnumber"; \
25812 (cd $(HOST_SUBDIR)/libdecnumber && \
25813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25815 "RANLIB=$${RANLIB}" \
25816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25817 installcheck) \
25818 || exit 1
25820 @endif libdecnumber
25822 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
25823 maybe-mostlyclean-libdecnumber:
25824 @if libdecnumber
25825 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
25827 mostlyclean-libdecnumber:
25828 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25829 r=`${PWD_COMMAND}`; export r; \
25830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25831 $(HOST_EXPORTS) \
25832 for flag in $(EXTRA_HOST_FLAGS) ; do \
25833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25834 done; \
25835 echo "Doing mostlyclean in libdecnumber"; \
25836 (cd $(HOST_SUBDIR)/libdecnumber && \
25837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25839 "RANLIB=$${RANLIB}" \
25840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25841 mostlyclean) \
25842 || exit 1
25844 @endif libdecnumber
25846 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
25847 maybe-clean-libdecnumber:
25848 @if libdecnumber
25849 maybe-clean-libdecnumber: clean-libdecnumber
25851 clean-libdecnumber:
25852 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25853 r=`${PWD_COMMAND}`; export r; \
25854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25855 $(HOST_EXPORTS) \
25856 for flag in $(EXTRA_HOST_FLAGS) ; do \
25857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25858 done; \
25859 echo "Doing clean in libdecnumber"; \
25860 (cd $(HOST_SUBDIR)/libdecnumber && \
25861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25863 "RANLIB=$${RANLIB}" \
25864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25865 clean) \
25866 || exit 1
25868 @endif libdecnumber
25870 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
25871 maybe-distclean-libdecnumber:
25872 @if libdecnumber
25873 maybe-distclean-libdecnumber: distclean-libdecnumber
25875 distclean-libdecnumber:
25876 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25877 r=`${PWD_COMMAND}`; export r; \
25878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25879 $(HOST_EXPORTS) \
25880 for flag in $(EXTRA_HOST_FLAGS) ; do \
25881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25882 done; \
25883 echo "Doing distclean in libdecnumber"; \
25884 (cd $(HOST_SUBDIR)/libdecnumber && \
25885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25887 "RANLIB=$${RANLIB}" \
25888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25889 distclean) \
25890 || exit 1
25892 @endif libdecnumber
25894 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
25895 maybe-maintainer-clean-libdecnumber:
25896 @if libdecnumber
25897 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
25899 maintainer-clean-libdecnumber:
25900 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25901 r=`${PWD_COMMAND}`; export r; \
25902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25903 $(HOST_EXPORTS) \
25904 for flag in $(EXTRA_HOST_FLAGS) ; do \
25905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25906 done; \
25907 echo "Doing maintainer-clean in libdecnumber"; \
25908 (cd $(HOST_SUBDIR)/libdecnumber && \
25909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25911 "RANLIB=$${RANLIB}" \
25912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25913 maintainer-clean) \
25914 || exit 1
25916 @endif libdecnumber
25920 .PHONY: configure-libgui maybe-configure-libgui
25921 maybe-configure-libgui:
25922 @if gcc-bootstrap
25923 configure-libgui: stage_current
25924 @endif gcc-bootstrap
25925 @if libgui
25926 maybe-configure-libgui: configure-libgui
25927 configure-libgui:
25928 @: $(MAKE); $(unstage)
25929 @r=`${PWD_COMMAND}`; export r; \
25930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25931 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
25932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
25933 $(HOST_EXPORTS) \
25934 echo Configuring in $(HOST_SUBDIR)/libgui; \
25935 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
25936 case $(srcdir) in \
25937 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25938 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
25939 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25940 esac; \
25941 module_srcdir=libgui; \
25942 $(SHELL) \
25943 $$s/$$module_srcdir/configure \
25944 --srcdir=$${topdir}/$$module_srcdir \
25945 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25946 --target=${target_alias} \
25947 || exit 1
25948 @endif libgui
25954 .PHONY: all-libgui maybe-all-libgui
25955 maybe-all-libgui:
25956 @if gcc-bootstrap
25957 all-libgui: stage_current
25958 @endif gcc-bootstrap
25959 @if libgui
25960 TARGET-libgui=all
25961 maybe-all-libgui: all-libgui
25962 all-libgui: configure-libgui
25963 @: $(MAKE); $(unstage)
25964 @r=`${PWD_COMMAND}`; export r; \
25965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25966 $(HOST_EXPORTS) \
25967 (cd $(HOST_SUBDIR)/libgui && \
25968 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25969 $(TARGET-libgui))
25970 @endif libgui
25975 .PHONY: check-libgui maybe-check-libgui
25976 maybe-check-libgui:
25977 @if libgui
25978 maybe-check-libgui: check-libgui
25980 check-libgui:
25981 @: $(MAKE); $(unstage)
25982 @r=`${PWD_COMMAND}`; export r; \
25983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25984 $(HOST_EXPORTS) \
25985 (cd $(HOST_SUBDIR)/libgui && \
25986 $(MAKE) $(FLAGS_TO_PASS) check)
25988 @endif libgui
25990 .PHONY: install-libgui maybe-install-libgui
25991 maybe-install-libgui:
25992 @if libgui
25993 maybe-install-libgui: install-libgui
25995 install-libgui: installdirs
25996 @: $(MAKE); $(unstage)
25997 @r=`${PWD_COMMAND}`; export r; \
25998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25999 $(HOST_EXPORTS) \
26000 (cd $(HOST_SUBDIR)/libgui && \
26001 $(MAKE) $(FLAGS_TO_PASS) install)
26003 @endif libgui
26005 .PHONY: install-strip-libgui maybe-install-strip-libgui
26006 maybe-install-strip-libgui:
26007 @if libgui
26008 maybe-install-strip-libgui: install-strip-libgui
26010 install-strip-libgui: installdirs
26011 @: $(MAKE); $(unstage)
26012 @r=`${PWD_COMMAND}`; export r; \
26013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26014 $(HOST_EXPORTS) \
26015 (cd $(HOST_SUBDIR)/libgui && \
26016 $(MAKE) $(FLAGS_TO_PASS) install-strip)
26018 @endif libgui
26020 # Other targets (info, dvi, pdf, etc.)
26022 .PHONY: maybe-info-libgui info-libgui
26023 maybe-info-libgui:
26024 @if libgui
26025 maybe-info-libgui: info-libgui
26027 info-libgui: \
26028 configure-libgui
26029 @: $(MAKE); $(unstage)
26030 @[ -f ./libgui/Makefile ] || exit 0; \
26031 r=`${PWD_COMMAND}`; export r; \
26032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26033 $(HOST_EXPORTS) \
26034 for flag in $(EXTRA_HOST_FLAGS) ; do \
26035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26036 done; \
26037 echo "Doing info in libgui"; \
26038 (cd $(HOST_SUBDIR)/libgui && \
26039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26041 "RANLIB=$${RANLIB}" \
26042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26043 info) \
26044 || exit 1
26046 @endif libgui
26048 .PHONY: maybe-dvi-libgui dvi-libgui
26049 maybe-dvi-libgui:
26050 @if libgui
26051 maybe-dvi-libgui: dvi-libgui
26053 dvi-libgui: \
26054 configure-libgui
26055 @: $(MAKE); $(unstage)
26056 @[ -f ./libgui/Makefile ] || exit 0; \
26057 r=`${PWD_COMMAND}`; export r; \
26058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26059 $(HOST_EXPORTS) \
26060 for flag in $(EXTRA_HOST_FLAGS) ; do \
26061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26062 done; \
26063 echo "Doing dvi in libgui"; \
26064 (cd $(HOST_SUBDIR)/libgui && \
26065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26067 "RANLIB=$${RANLIB}" \
26068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26069 dvi) \
26070 || exit 1
26072 @endif libgui
26074 .PHONY: maybe-pdf-libgui pdf-libgui
26075 maybe-pdf-libgui:
26076 @if libgui
26077 maybe-pdf-libgui: pdf-libgui
26079 pdf-libgui: \
26080 configure-libgui
26081 @: $(MAKE); $(unstage)
26082 @[ -f ./libgui/Makefile ] || exit 0; \
26083 r=`${PWD_COMMAND}`; export r; \
26084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26085 $(HOST_EXPORTS) \
26086 for flag in $(EXTRA_HOST_FLAGS) ; do \
26087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26088 done; \
26089 echo "Doing pdf in libgui"; \
26090 (cd $(HOST_SUBDIR)/libgui && \
26091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26093 "RANLIB=$${RANLIB}" \
26094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26095 pdf) \
26096 || exit 1
26098 @endif libgui
26100 .PHONY: maybe-html-libgui html-libgui
26101 maybe-html-libgui:
26102 @if libgui
26103 maybe-html-libgui: html-libgui
26105 html-libgui: \
26106 configure-libgui
26107 @: $(MAKE); $(unstage)
26108 @[ -f ./libgui/Makefile ] || exit 0; \
26109 r=`${PWD_COMMAND}`; export r; \
26110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26111 $(HOST_EXPORTS) \
26112 for flag in $(EXTRA_HOST_FLAGS) ; do \
26113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26114 done; \
26115 echo "Doing html in libgui"; \
26116 (cd $(HOST_SUBDIR)/libgui && \
26117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26119 "RANLIB=$${RANLIB}" \
26120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26121 html) \
26122 || exit 1
26124 @endif libgui
26126 .PHONY: maybe-TAGS-libgui TAGS-libgui
26127 maybe-TAGS-libgui:
26128 @if libgui
26129 maybe-TAGS-libgui: TAGS-libgui
26131 TAGS-libgui: \
26132 configure-libgui
26133 @: $(MAKE); $(unstage)
26134 @[ -f ./libgui/Makefile ] || exit 0; \
26135 r=`${PWD_COMMAND}`; export r; \
26136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26137 $(HOST_EXPORTS) \
26138 for flag in $(EXTRA_HOST_FLAGS) ; do \
26139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26140 done; \
26141 echo "Doing TAGS in libgui"; \
26142 (cd $(HOST_SUBDIR)/libgui && \
26143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26145 "RANLIB=$${RANLIB}" \
26146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26147 TAGS) \
26148 || exit 1
26150 @endif libgui
26152 .PHONY: maybe-install-info-libgui install-info-libgui
26153 maybe-install-info-libgui:
26154 @if libgui
26155 maybe-install-info-libgui: install-info-libgui
26157 install-info-libgui: \
26158 configure-libgui \
26159 info-libgui
26160 @: $(MAKE); $(unstage)
26161 @[ -f ./libgui/Makefile ] || exit 0; \
26162 r=`${PWD_COMMAND}`; export r; \
26163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26164 $(HOST_EXPORTS) \
26165 for flag in $(EXTRA_HOST_FLAGS) ; do \
26166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26167 done; \
26168 echo "Doing install-info in libgui"; \
26169 (cd $(HOST_SUBDIR)/libgui && \
26170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26172 "RANLIB=$${RANLIB}" \
26173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26174 install-info) \
26175 || exit 1
26177 @endif libgui
26179 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
26180 maybe-install-pdf-libgui:
26181 @if libgui
26182 maybe-install-pdf-libgui: install-pdf-libgui
26184 install-pdf-libgui: \
26185 configure-libgui \
26186 pdf-libgui
26187 @: $(MAKE); $(unstage)
26188 @[ -f ./libgui/Makefile ] || exit 0; \
26189 r=`${PWD_COMMAND}`; export r; \
26190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26191 $(HOST_EXPORTS) \
26192 for flag in $(EXTRA_HOST_FLAGS) ; do \
26193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26194 done; \
26195 echo "Doing install-pdf in libgui"; \
26196 (cd $(HOST_SUBDIR)/libgui && \
26197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26199 "RANLIB=$${RANLIB}" \
26200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26201 install-pdf) \
26202 || exit 1
26204 @endif libgui
26206 .PHONY: maybe-install-html-libgui install-html-libgui
26207 maybe-install-html-libgui:
26208 @if libgui
26209 maybe-install-html-libgui: install-html-libgui
26211 install-html-libgui: \
26212 configure-libgui \
26213 html-libgui
26214 @: $(MAKE); $(unstage)
26215 @[ -f ./libgui/Makefile ] || exit 0; \
26216 r=`${PWD_COMMAND}`; export r; \
26217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26218 $(HOST_EXPORTS) \
26219 for flag in $(EXTRA_HOST_FLAGS) ; do \
26220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26221 done; \
26222 echo "Doing install-html in libgui"; \
26223 (cd $(HOST_SUBDIR)/libgui && \
26224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26226 "RANLIB=$${RANLIB}" \
26227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26228 install-html) \
26229 || exit 1
26231 @endif libgui
26233 .PHONY: maybe-installcheck-libgui installcheck-libgui
26234 maybe-installcheck-libgui:
26235 @if libgui
26236 maybe-installcheck-libgui: installcheck-libgui
26238 installcheck-libgui: \
26239 configure-libgui
26240 @: $(MAKE); $(unstage)
26241 @[ -f ./libgui/Makefile ] || exit 0; \
26242 r=`${PWD_COMMAND}`; export r; \
26243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26244 $(HOST_EXPORTS) \
26245 for flag in $(EXTRA_HOST_FLAGS) ; do \
26246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26247 done; \
26248 echo "Doing installcheck in libgui"; \
26249 (cd $(HOST_SUBDIR)/libgui && \
26250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26252 "RANLIB=$${RANLIB}" \
26253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26254 installcheck) \
26255 || exit 1
26257 @endif libgui
26259 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
26260 maybe-mostlyclean-libgui:
26261 @if libgui
26262 maybe-mostlyclean-libgui: mostlyclean-libgui
26264 mostlyclean-libgui:
26265 @: $(MAKE); $(unstage)
26266 @[ -f ./libgui/Makefile ] || exit 0; \
26267 r=`${PWD_COMMAND}`; export r; \
26268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26269 $(HOST_EXPORTS) \
26270 for flag in $(EXTRA_HOST_FLAGS) ; do \
26271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26272 done; \
26273 echo "Doing mostlyclean in libgui"; \
26274 (cd $(HOST_SUBDIR)/libgui && \
26275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26277 "RANLIB=$${RANLIB}" \
26278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26279 mostlyclean) \
26280 || exit 1
26282 @endif libgui
26284 .PHONY: maybe-clean-libgui clean-libgui
26285 maybe-clean-libgui:
26286 @if libgui
26287 maybe-clean-libgui: clean-libgui
26289 clean-libgui:
26290 @: $(MAKE); $(unstage)
26291 @[ -f ./libgui/Makefile ] || exit 0; \
26292 r=`${PWD_COMMAND}`; export r; \
26293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26294 $(HOST_EXPORTS) \
26295 for flag in $(EXTRA_HOST_FLAGS) ; do \
26296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26297 done; \
26298 echo "Doing clean in libgui"; \
26299 (cd $(HOST_SUBDIR)/libgui && \
26300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26302 "RANLIB=$${RANLIB}" \
26303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26304 clean) \
26305 || exit 1
26307 @endif libgui
26309 .PHONY: maybe-distclean-libgui distclean-libgui
26310 maybe-distclean-libgui:
26311 @if libgui
26312 maybe-distclean-libgui: distclean-libgui
26314 distclean-libgui:
26315 @: $(MAKE); $(unstage)
26316 @[ -f ./libgui/Makefile ] || exit 0; \
26317 r=`${PWD_COMMAND}`; export r; \
26318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26319 $(HOST_EXPORTS) \
26320 for flag in $(EXTRA_HOST_FLAGS) ; do \
26321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26322 done; \
26323 echo "Doing distclean in libgui"; \
26324 (cd $(HOST_SUBDIR)/libgui && \
26325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26327 "RANLIB=$${RANLIB}" \
26328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26329 distclean) \
26330 || exit 1
26332 @endif libgui
26334 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
26335 maybe-maintainer-clean-libgui:
26336 @if libgui
26337 maybe-maintainer-clean-libgui: maintainer-clean-libgui
26339 maintainer-clean-libgui:
26340 @: $(MAKE); $(unstage)
26341 @[ -f ./libgui/Makefile ] || exit 0; \
26342 r=`${PWD_COMMAND}`; export r; \
26343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26344 $(HOST_EXPORTS) \
26345 for flag in $(EXTRA_HOST_FLAGS) ; do \
26346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26347 done; \
26348 echo "Doing maintainer-clean in libgui"; \
26349 (cd $(HOST_SUBDIR)/libgui && \
26350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26352 "RANLIB=$${RANLIB}" \
26353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26354 maintainer-clean) \
26355 || exit 1
26357 @endif libgui
26361 .PHONY: configure-libiberty maybe-configure-libiberty
26362 maybe-configure-libiberty:
26363 @if gcc-bootstrap
26364 configure-libiberty: stage_current
26365 @endif gcc-bootstrap
26366 @if libiberty
26367 maybe-configure-libiberty: configure-libiberty
26368 configure-libiberty:
26369 @r=`${PWD_COMMAND}`; export r; \
26370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26371 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26372 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26373 $(HOST_EXPORTS) \
26374 echo Configuring in $(HOST_SUBDIR)/libiberty; \
26375 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
26376 case $(srcdir) in \
26377 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26378 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26379 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26380 esac; \
26381 module_srcdir=libiberty; \
26382 $(SHELL) \
26383 $$s/$$module_srcdir/configure \
26384 --srcdir=$${topdir}/$$module_srcdir \
26385 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26386 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
26387 || exit 1
26388 @endif libiberty
26392 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
26393 maybe-configure-stage1-libiberty:
26394 @if libiberty-bootstrap
26395 maybe-configure-stage1-libiberty: configure-stage1-libiberty
26396 configure-stage1-libiberty:
26397 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26398 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26399 @r=`${PWD_COMMAND}`; export r; \
26400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26401 TFLAGS="$(STAGE1_TFLAGS)"; \
26402 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26403 $(HOST_EXPORTS) \
26404 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26405 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26406 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26407 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
26408 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26409 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26410 case $(srcdir) in \
26411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26412 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26414 esac; \
26415 module_srcdir=libiberty; \
26416 $(SHELL) $$s/$$module_srcdir/configure \
26417 --srcdir=$${topdir}/$$module_srcdir \
26418 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26419 --target=${target_alias} \
26421 $(STAGE1_CONFIGURE_FLAGS) \
26422 @extra_host_libiberty_configure_flags@
26423 @endif libiberty-bootstrap
26425 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
26426 maybe-configure-stage2-libiberty:
26427 @if libiberty-bootstrap
26428 maybe-configure-stage2-libiberty: configure-stage2-libiberty
26429 configure-stage2-libiberty:
26430 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26431 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26432 @r=`${PWD_COMMAND}`; export r; \
26433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26434 TFLAGS="$(STAGE2_TFLAGS)"; \
26435 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26436 $(HOST_EXPORTS) \
26437 $(POSTSTAGE1_HOST_EXPORTS) \
26438 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26439 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26440 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26441 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
26442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26443 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26444 case $(srcdir) in \
26445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26446 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26448 esac; \
26449 module_srcdir=libiberty; \
26450 $(SHELL) $$s/$$module_srcdir/configure \
26451 --srcdir=$${topdir}/$$module_srcdir \
26452 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26453 --target=${target_alias} \
26454 --with-build-libsubdir=$(HOST_SUBDIR) \
26455 $(STAGE2_CONFIGURE_FLAGS) \
26456 @extra_host_libiberty_configure_flags@
26457 @endif libiberty-bootstrap
26459 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
26460 maybe-configure-stage3-libiberty:
26461 @if libiberty-bootstrap
26462 maybe-configure-stage3-libiberty: configure-stage3-libiberty
26463 configure-stage3-libiberty:
26464 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26465 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26466 @r=`${PWD_COMMAND}`; export r; \
26467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26468 TFLAGS="$(STAGE3_TFLAGS)"; \
26469 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26470 $(HOST_EXPORTS) \
26471 $(POSTSTAGE1_HOST_EXPORTS) \
26472 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26473 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26474 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26475 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
26476 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26477 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26478 case $(srcdir) in \
26479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26480 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26482 esac; \
26483 module_srcdir=libiberty; \
26484 $(SHELL) $$s/$$module_srcdir/configure \
26485 --srcdir=$${topdir}/$$module_srcdir \
26486 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26487 --target=${target_alias} \
26488 --with-build-libsubdir=$(HOST_SUBDIR) \
26489 $(STAGE3_CONFIGURE_FLAGS) \
26490 @extra_host_libiberty_configure_flags@
26491 @endif libiberty-bootstrap
26493 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
26494 maybe-configure-stage4-libiberty:
26495 @if libiberty-bootstrap
26496 maybe-configure-stage4-libiberty: configure-stage4-libiberty
26497 configure-stage4-libiberty:
26498 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26499 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26500 @r=`${PWD_COMMAND}`; export r; \
26501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26502 TFLAGS="$(STAGE4_TFLAGS)"; \
26503 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26504 $(HOST_EXPORTS) \
26505 $(POSTSTAGE1_HOST_EXPORTS) \
26506 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26507 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26508 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26509 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
26510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26511 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26512 case $(srcdir) in \
26513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26514 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26516 esac; \
26517 module_srcdir=libiberty; \
26518 $(SHELL) $$s/$$module_srcdir/configure \
26519 --srcdir=$${topdir}/$$module_srcdir \
26520 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26521 --target=${target_alias} \
26522 --with-build-libsubdir=$(HOST_SUBDIR) \
26523 $(STAGE4_CONFIGURE_FLAGS) \
26524 @extra_host_libiberty_configure_flags@
26525 @endif libiberty-bootstrap
26527 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
26528 maybe-configure-stageprofile-libiberty:
26529 @if libiberty-bootstrap
26530 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
26531 configure-stageprofile-libiberty:
26532 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26533 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26534 @r=`${PWD_COMMAND}`; export r; \
26535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26536 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26537 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26538 $(HOST_EXPORTS) \
26539 $(POSTSTAGE1_HOST_EXPORTS) \
26540 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26541 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26542 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26543 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
26544 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26545 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26546 case $(srcdir) in \
26547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26548 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26550 esac; \
26551 module_srcdir=libiberty; \
26552 $(SHELL) $$s/$$module_srcdir/configure \
26553 --srcdir=$${topdir}/$$module_srcdir \
26554 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26555 --target=${target_alias} \
26556 --with-build-libsubdir=$(HOST_SUBDIR) \
26557 $(STAGEprofile_CONFIGURE_FLAGS) \
26558 @extra_host_libiberty_configure_flags@
26559 @endif libiberty-bootstrap
26561 .PHONY: configure-stagetrain-libiberty maybe-configure-stagetrain-libiberty
26562 maybe-configure-stagetrain-libiberty:
26563 @if libiberty-bootstrap
26564 maybe-configure-stagetrain-libiberty: configure-stagetrain-libiberty
26565 configure-stagetrain-libiberty:
26566 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26567 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26568 @r=`${PWD_COMMAND}`; export r; \
26569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26570 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26571 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26572 $(HOST_EXPORTS) \
26573 $(POSTSTAGE1_HOST_EXPORTS) \
26574 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
26575 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
26576 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
26577 echo Configuring stage train in $(HOST_SUBDIR)/libiberty; \
26578 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26579 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26580 case $(srcdir) in \
26581 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26582 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26583 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26584 esac; \
26585 module_srcdir=libiberty; \
26586 $(SHELL) $$s/$$module_srcdir/configure \
26587 --srcdir=$${topdir}/$$module_srcdir \
26588 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26589 --target=${target_alias} \
26590 --with-build-libsubdir=$(HOST_SUBDIR) \
26591 $(STAGEtrain_CONFIGURE_FLAGS) \
26592 @extra_host_libiberty_configure_flags@
26593 @endif libiberty-bootstrap
26595 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
26596 maybe-configure-stagefeedback-libiberty:
26597 @if libiberty-bootstrap
26598 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
26599 configure-stagefeedback-libiberty:
26600 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26601 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26602 @r=`${PWD_COMMAND}`; export r; \
26603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26604 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26605 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26606 $(HOST_EXPORTS) \
26607 $(POSTSTAGE1_HOST_EXPORTS) \
26608 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26609 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26610 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26611 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
26612 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26613 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26614 case $(srcdir) in \
26615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26616 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26618 esac; \
26619 module_srcdir=libiberty; \
26620 $(SHELL) $$s/$$module_srcdir/configure \
26621 --srcdir=$${topdir}/$$module_srcdir \
26622 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26623 --target=${target_alias} \
26624 --with-build-libsubdir=$(HOST_SUBDIR) \
26625 $(STAGEfeedback_CONFIGURE_FLAGS) \
26626 @extra_host_libiberty_configure_flags@
26627 @endif libiberty-bootstrap
26629 .PHONY: configure-stageautoprofile-libiberty maybe-configure-stageautoprofile-libiberty
26630 maybe-configure-stageautoprofile-libiberty:
26631 @if libiberty-bootstrap
26632 maybe-configure-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
26633 configure-stageautoprofile-libiberty:
26634 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26635 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26636 @r=`${PWD_COMMAND}`; export r; \
26637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26638 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26639 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26640 $(HOST_EXPORTS) \
26641 $(POSTSTAGE1_HOST_EXPORTS) \
26642 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
26643 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
26644 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
26645 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty; \
26646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26647 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26648 case $(srcdir) in \
26649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26650 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26652 esac; \
26653 module_srcdir=libiberty; \
26654 $(SHELL) $$s/$$module_srcdir/configure \
26655 --srcdir=$${topdir}/$$module_srcdir \
26656 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26657 --target=${target_alias} \
26658 --with-build-libsubdir=$(HOST_SUBDIR) \
26659 $(STAGEautoprofile_CONFIGURE_FLAGS) \
26660 @extra_host_libiberty_configure_flags@
26661 @endif libiberty-bootstrap
26663 .PHONY: configure-stageautofeedback-libiberty maybe-configure-stageautofeedback-libiberty
26664 maybe-configure-stageautofeedback-libiberty:
26665 @if libiberty-bootstrap
26666 maybe-configure-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
26667 configure-stageautofeedback-libiberty:
26668 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26669 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26670 @r=`${PWD_COMMAND}`; export r; \
26671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26672 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26673 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26674 $(HOST_EXPORTS) \
26675 $(POSTSTAGE1_HOST_EXPORTS) \
26676 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
26677 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
26678 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
26679 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty; \
26680 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
26681 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26682 case $(srcdir) in \
26683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26684 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26686 esac; \
26687 module_srcdir=libiberty; \
26688 $(SHELL) $$s/$$module_srcdir/configure \
26689 --srcdir=$${topdir}/$$module_srcdir \
26690 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26691 --target=${target_alias} \
26692 --with-build-libsubdir=$(HOST_SUBDIR) \
26693 $(STAGEautofeedback_CONFIGURE_FLAGS) \
26694 @extra_host_libiberty_configure_flags@
26695 @endif libiberty-bootstrap
26701 .PHONY: all-libiberty maybe-all-libiberty
26702 maybe-all-libiberty:
26703 @if gcc-bootstrap
26704 all-libiberty: stage_current
26705 @endif gcc-bootstrap
26706 @if libiberty
26707 TARGET-libiberty=all
26708 maybe-all-libiberty: all-libiberty
26709 all-libiberty: configure-libiberty
26710 @r=`${PWD_COMMAND}`; export r; \
26711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26712 $(HOST_EXPORTS) \
26713 (cd $(HOST_SUBDIR)/libiberty && \
26714 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26715 $(TARGET-libiberty))
26716 @endif libiberty
26720 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
26721 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
26722 maybe-all-stage1-libiberty:
26723 maybe-clean-stage1-libiberty:
26724 @if libiberty-bootstrap
26725 maybe-all-stage1-libiberty: all-stage1-libiberty
26726 all-stage1: all-stage1-libiberty
26727 TARGET-stage1-libiberty = $(TARGET-libiberty)
26728 all-stage1-libiberty: configure-stage1-libiberty
26729 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26730 @r=`${PWD_COMMAND}`; export r; \
26731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26732 TFLAGS="$(STAGE1_TFLAGS)"; \
26733 $(HOST_EXPORTS) \
26734 cd $(HOST_SUBDIR)/libiberty && \
26736 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26737 CFLAGS="$(STAGE1_CFLAGS)" \
26738 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26739 LIBCFLAGS="$(LIBCFLAGS)" \
26740 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26743 $(EXTRA_HOST_FLAGS) \
26744 $(STAGE1_FLAGS_TO_PASS) \
26745 TFLAGS="$(STAGE1_TFLAGS)" \
26746 $(TARGET-stage1-libiberty)
26748 maybe-clean-stage1-libiberty: clean-stage1-libiberty
26749 clean-stage1: clean-stage1-libiberty
26750 clean-stage1-libiberty:
26751 @if [ $(current_stage) = stage1 ]; then \
26752 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26753 else \
26754 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
26755 $(MAKE) stage1-start; \
26756 fi; \
26757 cd $(HOST_SUBDIR)/libiberty && \
26758 $(MAKE) $(EXTRA_HOST_FLAGS) \
26759 $(STAGE1_FLAGS_TO_PASS) clean
26760 @endif libiberty-bootstrap
26763 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
26764 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
26765 maybe-all-stage2-libiberty:
26766 maybe-clean-stage2-libiberty:
26767 @if libiberty-bootstrap
26768 maybe-all-stage2-libiberty: all-stage2-libiberty
26769 all-stage2: all-stage2-libiberty
26770 TARGET-stage2-libiberty = $(TARGET-libiberty)
26771 all-stage2-libiberty: configure-stage2-libiberty
26772 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26773 @r=`${PWD_COMMAND}`; export r; \
26774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26775 TFLAGS="$(STAGE2_TFLAGS)"; \
26776 $(HOST_EXPORTS) \
26777 $(POSTSTAGE1_HOST_EXPORTS) \
26778 cd $(HOST_SUBDIR)/libiberty && \
26780 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26781 CFLAGS="$(STAGE2_CFLAGS)" \
26782 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26783 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26784 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26785 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26786 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26787 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26788 TFLAGS="$(STAGE2_TFLAGS)" \
26789 $(TARGET-stage2-libiberty)
26791 maybe-clean-stage2-libiberty: clean-stage2-libiberty
26792 clean-stage2: clean-stage2-libiberty
26793 clean-stage2-libiberty:
26794 @if [ $(current_stage) = stage2 ]; then \
26795 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26796 else \
26797 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
26798 $(MAKE) stage2-start; \
26799 fi; \
26800 cd $(HOST_SUBDIR)/libiberty && \
26801 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26802 @endif libiberty-bootstrap
26805 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
26806 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
26807 maybe-all-stage3-libiberty:
26808 maybe-clean-stage3-libiberty:
26809 @if libiberty-bootstrap
26810 maybe-all-stage3-libiberty: all-stage3-libiberty
26811 all-stage3: all-stage3-libiberty
26812 TARGET-stage3-libiberty = $(TARGET-libiberty)
26813 all-stage3-libiberty: configure-stage3-libiberty
26814 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26815 @r=`${PWD_COMMAND}`; export r; \
26816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26817 TFLAGS="$(STAGE3_TFLAGS)"; \
26818 $(HOST_EXPORTS) \
26819 $(POSTSTAGE1_HOST_EXPORTS) \
26820 cd $(HOST_SUBDIR)/libiberty && \
26822 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26823 CFLAGS="$(STAGE3_CFLAGS)" \
26824 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26825 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26826 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26827 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26828 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26829 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26830 TFLAGS="$(STAGE3_TFLAGS)" \
26831 $(TARGET-stage3-libiberty)
26833 maybe-clean-stage3-libiberty: clean-stage3-libiberty
26834 clean-stage3: clean-stage3-libiberty
26835 clean-stage3-libiberty:
26836 @if [ $(current_stage) = stage3 ]; then \
26837 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26838 else \
26839 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
26840 $(MAKE) stage3-start; \
26841 fi; \
26842 cd $(HOST_SUBDIR)/libiberty && \
26843 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26844 @endif libiberty-bootstrap
26847 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
26848 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
26849 maybe-all-stage4-libiberty:
26850 maybe-clean-stage4-libiberty:
26851 @if libiberty-bootstrap
26852 maybe-all-stage4-libiberty: all-stage4-libiberty
26853 all-stage4: all-stage4-libiberty
26854 TARGET-stage4-libiberty = $(TARGET-libiberty)
26855 all-stage4-libiberty: configure-stage4-libiberty
26856 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26857 @r=`${PWD_COMMAND}`; export r; \
26858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26859 TFLAGS="$(STAGE4_TFLAGS)"; \
26860 $(HOST_EXPORTS) \
26861 $(POSTSTAGE1_HOST_EXPORTS) \
26862 cd $(HOST_SUBDIR)/libiberty && \
26864 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26865 CFLAGS="$(STAGE4_CFLAGS)" \
26866 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26867 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26868 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26869 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26870 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26871 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26872 TFLAGS="$(STAGE4_TFLAGS)" \
26873 $(TARGET-stage4-libiberty)
26875 maybe-clean-stage4-libiberty: clean-stage4-libiberty
26876 clean-stage4: clean-stage4-libiberty
26877 clean-stage4-libiberty:
26878 @if [ $(current_stage) = stage4 ]; then \
26879 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26880 else \
26881 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
26882 $(MAKE) stage4-start; \
26883 fi; \
26884 cd $(HOST_SUBDIR)/libiberty && \
26885 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26886 @endif libiberty-bootstrap
26889 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
26890 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
26891 maybe-all-stageprofile-libiberty:
26892 maybe-clean-stageprofile-libiberty:
26893 @if libiberty-bootstrap
26894 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
26895 all-stageprofile: all-stageprofile-libiberty
26896 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
26897 all-stageprofile-libiberty: configure-stageprofile-libiberty
26898 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26899 @r=`${PWD_COMMAND}`; export r; \
26900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26901 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26902 $(HOST_EXPORTS) \
26903 $(POSTSTAGE1_HOST_EXPORTS) \
26904 cd $(HOST_SUBDIR)/libiberty && \
26906 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26907 CFLAGS="$(STAGEprofile_CFLAGS)" \
26908 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26909 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26910 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26911 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26912 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26913 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26914 TFLAGS="$(STAGEprofile_TFLAGS)" \
26915 $(TARGET-stageprofile-libiberty)
26917 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
26918 clean-stageprofile: clean-stageprofile-libiberty
26919 clean-stageprofile-libiberty:
26920 @if [ $(current_stage) = stageprofile ]; then \
26921 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26922 else \
26923 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
26924 $(MAKE) stageprofile-start; \
26925 fi; \
26926 cd $(HOST_SUBDIR)/libiberty && \
26927 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26928 @endif libiberty-bootstrap
26931 .PHONY: all-stagetrain-libiberty maybe-all-stagetrain-libiberty
26932 .PHONY: clean-stagetrain-libiberty maybe-clean-stagetrain-libiberty
26933 maybe-all-stagetrain-libiberty:
26934 maybe-clean-stagetrain-libiberty:
26935 @if libiberty-bootstrap
26936 maybe-all-stagetrain-libiberty: all-stagetrain-libiberty
26937 all-stagetrain: all-stagetrain-libiberty
26938 TARGET-stagetrain-libiberty = $(TARGET-libiberty)
26939 all-stagetrain-libiberty: configure-stagetrain-libiberty
26940 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26941 @r=`${PWD_COMMAND}`; export r; \
26942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26943 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26944 $(HOST_EXPORTS) \
26945 $(POSTSTAGE1_HOST_EXPORTS) \
26946 cd $(HOST_SUBDIR)/libiberty && \
26948 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26949 CFLAGS="$(STAGEtrain_CFLAGS)" \
26950 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
26951 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
26952 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26953 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26954 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26955 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26956 TFLAGS="$(STAGEtrain_TFLAGS)" \
26957 $(TARGET-stagetrain-libiberty)
26959 maybe-clean-stagetrain-libiberty: clean-stagetrain-libiberty
26960 clean-stagetrain: clean-stagetrain-libiberty
26961 clean-stagetrain-libiberty:
26962 @if [ $(current_stage) = stagetrain ]; then \
26963 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26964 else \
26965 [ -f $(HOST_SUBDIR)/stagetrain-libiberty/Makefile ] || exit 0; \
26966 $(MAKE) stagetrain-start; \
26967 fi; \
26968 cd $(HOST_SUBDIR)/libiberty && \
26969 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26970 @endif libiberty-bootstrap
26973 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
26974 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
26975 maybe-all-stagefeedback-libiberty:
26976 maybe-clean-stagefeedback-libiberty:
26977 @if libiberty-bootstrap
26978 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
26979 all-stagefeedback: all-stagefeedback-libiberty
26980 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
26981 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
26982 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26983 @r=`${PWD_COMMAND}`; export r; \
26984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26985 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26986 $(HOST_EXPORTS) \
26987 $(POSTSTAGE1_HOST_EXPORTS) \
26988 cd $(HOST_SUBDIR)/libiberty && \
26990 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26991 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26992 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26993 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26994 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26995 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26996 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26997 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26998 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26999 $(TARGET-stagefeedback-libiberty)
27001 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
27002 clean-stagefeedback: clean-stagefeedback-libiberty
27003 clean-stagefeedback-libiberty:
27004 @if [ $(current_stage) = stagefeedback ]; then \
27005 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27006 else \
27007 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
27008 $(MAKE) stagefeedback-start; \
27009 fi; \
27010 cd $(HOST_SUBDIR)/libiberty && \
27011 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27012 @endif libiberty-bootstrap
27015 .PHONY: all-stageautoprofile-libiberty maybe-all-stageautoprofile-libiberty
27016 .PHONY: clean-stageautoprofile-libiberty maybe-clean-stageautoprofile-libiberty
27017 maybe-all-stageautoprofile-libiberty:
27018 maybe-clean-stageautoprofile-libiberty:
27019 @if libiberty-bootstrap
27020 maybe-all-stageautoprofile-libiberty: all-stageautoprofile-libiberty
27021 all-stageautoprofile: all-stageautoprofile-libiberty
27022 TARGET-stageautoprofile-libiberty = $(TARGET-libiberty)
27023 all-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
27024 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27025 @r=`${PWD_COMMAND}`; export r; \
27026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27027 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27028 $(HOST_EXPORTS) \
27029 $(POSTSTAGE1_HOST_EXPORTS) \
27030 cd $(HOST_SUBDIR)/libiberty && \
27031 $$s/gcc/config/i386/$(AUTO_PROFILE) \
27032 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27033 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
27034 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
27035 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
27036 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27037 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27038 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27039 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27040 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
27041 $(TARGET-stageautoprofile-libiberty)
27043 maybe-clean-stageautoprofile-libiberty: clean-stageautoprofile-libiberty
27044 clean-stageautoprofile: clean-stageautoprofile-libiberty
27045 clean-stageautoprofile-libiberty:
27046 @if [ $(current_stage) = stageautoprofile ]; then \
27047 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27048 else \
27049 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty/Makefile ] || exit 0; \
27050 $(MAKE) stageautoprofile-start; \
27051 fi; \
27052 cd $(HOST_SUBDIR)/libiberty && \
27053 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27054 @endif libiberty-bootstrap
27057 .PHONY: all-stageautofeedback-libiberty maybe-all-stageautofeedback-libiberty
27058 .PHONY: clean-stageautofeedback-libiberty maybe-clean-stageautofeedback-libiberty
27059 maybe-all-stageautofeedback-libiberty:
27060 maybe-clean-stageautofeedback-libiberty:
27061 @if libiberty-bootstrap
27062 maybe-all-stageautofeedback-libiberty: all-stageautofeedback-libiberty
27063 all-stageautofeedback: all-stageautofeedback-libiberty
27064 TARGET-stageautofeedback-libiberty = $(TARGET-libiberty)
27065 all-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
27066 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27067 @r=`${PWD_COMMAND}`; export r; \
27068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27069 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27070 $(HOST_EXPORTS) \
27071 $(POSTSTAGE1_HOST_EXPORTS) \
27072 cd $(HOST_SUBDIR)/libiberty && \
27074 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27075 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
27076 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
27077 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
27078 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27079 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27080 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27081 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27082 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
27083 $(TARGET-stageautofeedback-libiberty)
27085 maybe-clean-stageautofeedback-libiberty: clean-stageautofeedback-libiberty
27086 clean-stageautofeedback: clean-stageautofeedback-libiberty
27087 clean-stageautofeedback-libiberty:
27088 @if [ $(current_stage) = stageautofeedback ]; then \
27089 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
27090 else \
27091 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty/Makefile ] || exit 0; \
27092 $(MAKE) stageautofeedback-start; \
27093 fi; \
27094 cd $(HOST_SUBDIR)/libiberty && \
27095 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27096 @endif libiberty-bootstrap
27102 .PHONY: check-libiberty maybe-check-libiberty
27103 maybe-check-libiberty:
27104 @if libiberty
27105 maybe-check-libiberty: check-libiberty
27107 check-libiberty:
27108 @: $(MAKE); $(unstage)
27109 @r=`${PWD_COMMAND}`; export r; \
27110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27111 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
27112 (cd $(HOST_SUBDIR)/libiberty && \
27113 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
27115 @endif libiberty
27117 .PHONY: install-libiberty maybe-install-libiberty
27118 maybe-install-libiberty:
27119 @if libiberty
27120 maybe-install-libiberty: install-libiberty
27122 install-libiberty: installdirs
27123 @: $(MAKE); $(unstage)
27124 @r=`${PWD_COMMAND}`; export r; \
27125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27126 $(HOST_EXPORTS) \
27127 (cd $(HOST_SUBDIR)/libiberty && \
27128 $(MAKE) $(FLAGS_TO_PASS) install)
27130 @endif libiberty
27132 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
27133 maybe-install-strip-libiberty:
27134 @if libiberty
27135 maybe-install-strip-libiberty: install-strip-libiberty
27137 install-strip-libiberty: installdirs
27138 @: $(MAKE); $(unstage)
27139 @r=`${PWD_COMMAND}`; export r; \
27140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27141 $(HOST_EXPORTS) \
27142 (cd $(HOST_SUBDIR)/libiberty && \
27143 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27145 @endif libiberty
27147 # Other targets (info, dvi, pdf, etc.)
27149 .PHONY: maybe-info-libiberty info-libiberty
27150 maybe-info-libiberty:
27151 @if libiberty
27152 maybe-info-libiberty: info-libiberty
27154 info-libiberty: \
27155 configure-libiberty
27156 @[ -f ./libiberty/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 info in libiberty"; \
27164 (cd $(HOST_SUBDIR)/libiberty && \
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 info) \
27170 || exit 1
27172 @endif libiberty
27174 .PHONY: maybe-dvi-libiberty dvi-libiberty
27175 maybe-dvi-libiberty:
27176 @if libiberty
27177 maybe-dvi-libiberty: dvi-libiberty
27179 dvi-libiberty: \
27180 configure-libiberty
27181 @[ -f ./libiberty/Makefile ] || exit 0; \
27182 r=`${PWD_COMMAND}`; export r; \
27183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27184 $(HOST_EXPORTS) \
27185 for flag in $(EXTRA_HOST_FLAGS) ; do \
27186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27187 done; \
27188 echo "Doing dvi in libiberty"; \
27189 (cd $(HOST_SUBDIR)/libiberty && \
27190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27192 "RANLIB=$${RANLIB}" \
27193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27194 dvi) \
27195 || exit 1
27197 @endif libiberty
27199 .PHONY: maybe-pdf-libiberty pdf-libiberty
27200 maybe-pdf-libiberty:
27201 @if libiberty
27202 maybe-pdf-libiberty: pdf-libiberty
27204 pdf-libiberty: \
27205 configure-libiberty
27206 @[ -f ./libiberty/Makefile ] || exit 0; \
27207 r=`${PWD_COMMAND}`; export r; \
27208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27209 $(HOST_EXPORTS) \
27210 for flag in $(EXTRA_HOST_FLAGS) ; do \
27211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27212 done; \
27213 echo "Doing pdf in libiberty"; \
27214 (cd $(HOST_SUBDIR)/libiberty && \
27215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27217 "RANLIB=$${RANLIB}" \
27218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27219 pdf) \
27220 || exit 1
27222 @endif libiberty
27224 .PHONY: maybe-html-libiberty html-libiberty
27225 maybe-html-libiberty:
27226 @if libiberty
27227 maybe-html-libiberty: html-libiberty
27229 html-libiberty: \
27230 configure-libiberty
27231 @[ -f ./libiberty/Makefile ] || exit 0; \
27232 r=`${PWD_COMMAND}`; export r; \
27233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27234 $(HOST_EXPORTS) \
27235 for flag in $(EXTRA_HOST_FLAGS) ; do \
27236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27237 done; \
27238 echo "Doing html in libiberty"; \
27239 (cd $(HOST_SUBDIR)/libiberty && \
27240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27242 "RANLIB=$${RANLIB}" \
27243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27244 html) \
27245 || exit 1
27247 @endif libiberty
27249 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
27250 maybe-TAGS-libiberty:
27251 @if libiberty
27252 maybe-TAGS-libiberty: TAGS-libiberty
27254 TAGS-libiberty: \
27255 configure-libiberty
27256 @[ -f ./libiberty/Makefile ] || exit 0; \
27257 r=`${PWD_COMMAND}`; export r; \
27258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27259 $(HOST_EXPORTS) \
27260 for flag in $(EXTRA_HOST_FLAGS) ; do \
27261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27262 done; \
27263 echo "Doing TAGS in libiberty"; \
27264 (cd $(HOST_SUBDIR)/libiberty && \
27265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27267 "RANLIB=$${RANLIB}" \
27268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27269 TAGS) \
27270 || exit 1
27272 @endif libiberty
27274 .PHONY: maybe-install-info-libiberty install-info-libiberty
27275 maybe-install-info-libiberty:
27276 @if libiberty
27277 maybe-install-info-libiberty: install-info-libiberty
27279 install-info-libiberty: \
27280 configure-libiberty \
27281 info-libiberty
27282 @[ -f ./libiberty/Makefile ] || exit 0; \
27283 r=`${PWD_COMMAND}`; export r; \
27284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27285 $(HOST_EXPORTS) \
27286 for flag in $(EXTRA_HOST_FLAGS) ; do \
27287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27288 done; \
27289 echo "Doing install-info in libiberty"; \
27290 (cd $(HOST_SUBDIR)/libiberty && \
27291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27293 "RANLIB=$${RANLIB}" \
27294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27295 install-info) \
27296 || exit 1
27298 @endif libiberty
27300 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
27301 maybe-install-pdf-libiberty:
27302 @if libiberty
27303 maybe-install-pdf-libiberty: install-pdf-libiberty
27305 install-pdf-libiberty: \
27306 configure-libiberty \
27307 pdf-libiberty
27308 @[ -f ./libiberty/Makefile ] || exit 0; \
27309 r=`${PWD_COMMAND}`; export r; \
27310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27311 $(HOST_EXPORTS) \
27312 for flag in $(EXTRA_HOST_FLAGS) ; do \
27313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27314 done; \
27315 echo "Doing install-pdf in libiberty"; \
27316 (cd $(HOST_SUBDIR)/libiberty && \
27317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27319 "RANLIB=$${RANLIB}" \
27320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27321 install-pdf) \
27322 || exit 1
27324 @endif libiberty
27326 .PHONY: maybe-install-html-libiberty install-html-libiberty
27327 maybe-install-html-libiberty:
27328 @if libiberty
27329 maybe-install-html-libiberty: install-html-libiberty
27331 install-html-libiberty: \
27332 configure-libiberty \
27333 html-libiberty
27334 @[ -f ./libiberty/Makefile ] || exit 0; \
27335 r=`${PWD_COMMAND}`; export r; \
27336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27337 $(HOST_EXPORTS) \
27338 for flag in $(EXTRA_HOST_FLAGS) ; do \
27339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27340 done; \
27341 echo "Doing install-html in libiberty"; \
27342 (cd $(HOST_SUBDIR)/libiberty && \
27343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27345 "RANLIB=$${RANLIB}" \
27346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27347 install-html) \
27348 || exit 1
27350 @endif libiberty
27352 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
27353 maybe-installcheck-libiberty:
27354 @if libiberty
27355 maybe-installcheck-libiberty: installcheck-libiberty
27357 installcheck-libiberty: \
27358 configure-libiberty
27359 @[ -f ./libiberty/Makefile ] || exit 0; \
27360 r=`${PWD_COMMAND}`; export r; \
27361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27362 $(HOST_EXPORTS) \
27363 for flag in $(EXTRA_HOST_FLAGS) ; do \
27364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27365 done; \
27366 echo "Doing installcheck in libiberty"; \
27367 (cd $(HOST_SUBDIR)/libiberty && \
27368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27370 "RANLIB=$${RANLIB}" \
27371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27372 installcheck) \
27373 || exit 1
27375 @endif libiberty
27377 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
27378 maybe-mostlyclean-libiberty:
27379 @if libiberty
27380 maybe-mostlyclean-libiberty: mostlyclean-libiberty
27382 mostlyclean-libiberty:
27383 @[ -f ./libiberty/Makefile ] || exit 0; \
27384 r=`${PWD_COMMAND}`; export r; \
27385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27386 $(HOST_EXPORTS) \
27387 for flag in $(EXTRA_HOST_FLAGS) ; do \
27388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27389 done; \
27390 echo "Doing mostlyclean in libiberty"; \
27391 (cd $(HOST_SUBDIR)/libiberty && \
27392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27394 "RANLIB=$${RANLIB}" \
27395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27396 mostlyclean) \
27397 || exit 1
27399 @endif libiberty
27401 .PHONY: maybe-clean-libiberty clean-libiberty
27402 maybe-clean-libiberty:
27403 @if libiberty
27404 maybe-clean-libiberty: clean-libiberty
27406 clean-libiberty:
27407 @[ -f ./libiberty/Makefile ] || exit 0; \
27408 r=`${PWD_COMMAND}`; export r; \
27409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27410 $(HOST_EXPORTS) \
27411 for flag in $(EXTRA_HOST_FLAGS) ; do \
27412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27413 done; \
27414 echo "Doing clean in libiberty"; \
27415 (cd $(HOST_SUBDIR)/libiberty && \
27416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27418 "RANLIB=$${RANLIB}" \
27419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27420 clean) \
27421 || exit 1
27423 @endif libiberty
27425 .PHONY: maybe-distclean-libiberty distclean-libiberty
27426 maybe-distclean-libiberty:
27427 @if libiberty
27428 maybe-distclean-libiberty: distclean-libiberty
27430 distclean-libiberty:
27431 @[ -f ./libiberty/Makefile ] || exit 0; \
27432 r=`${PWD_COMMAND}`; export r; \
27433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27434 $(HOST_EXPORTS) \
27435 for flag in $(EXTRA_HOST_FLAGS) ; do \
27436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27437 done; \
27438 echo "Doing distclean in libiberty"; \
27439 (cd $(HOST_SUBDIR)/libiberty && \
27440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27442 "RANLIB=$${RANLIB}" \
27443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27444 distclean) \
27445 || exit 1
27447 @endif libiberty
27449 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
27450 maybe-maintainer-clean-libiberty:
27451 @if libiberty
27452 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
27454 maintainer-clean-libiberty:
27455 @[ -f ./libiberty/Makefile ] || exit 0; \
27456 r=`${PWD_COMMAND}`; export r; \
27457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27458 $(HOST_EXPORTS) \
27459 for flag in $(EXTRA_HOST_FLAGS) ; do \
27460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27461 done; \
27462 echo "Doing maintainer-clean in libiberty"; \
27463 (cd $(HOST_SUBDIR)/libiberty && \
27464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27466 "RANLIB=$${RANLIB}" \
27467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27468 maintainer-clean) \
27469 || exit 1
27471 @endif libiberty
27475 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
27476 maybe-configure-libiberty-linker-plugin:
27477 @if gcc-bootstrap
27478 configure-libiberty-linker-plugin: stage_current
27479 @endif gcc-bootstrap
27480 @if libiberty-linker-plugin
27481 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
27482 configure-libiberty-linker-plugin:
27483 @r=`${PWD_COMMAND}`; export r; \
27484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27485 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27487 $(HOST_EXPORTS) \
27488 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27489 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
27490 case $(srcdir) in \
27491 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27492 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27493 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27494 esac; \
27495 module_srcdir=libiberty; \
27496 $(SHELL) \
27497 $$s/$$module_srcdir/configure \
27498 --srcdir=$${topdir}/$$module_srcdir \
27499 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27500 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
27501 || exit 1
27502 @endif libiberty-linker-plugin
27506 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
27507 maybe-configure-stage1-libiberty-linker-plugin:
27508 @if libiberty-linker-plugin-bootstrap
27509 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
27510 configure-stage1-libiberty-linker-plugin:
27511 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27512 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27513 @r=`${PWD_COMMAND}`; export r; \
27514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27515 TFLAGS="$(STAGE1_TFLAGS)"; \
27516 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27517 $(HOST_EXPORTS) \
27518 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
27519 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
27520 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
27521 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27522 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27523 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27524 case $(srcdir) in \
27525 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27526 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27527 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27528 esac; \
27529 module_srcdir=libiberty; \
27530 $(SHELL) $$s/$$module_srcdir/configure \
27531 --srcdir=$${topdir}/$$module_srcdir \
27532 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27533 --target=${target_alias} \
27535 $(STAGE1_CONFIGURE_FLAGS) \
27536 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27537 @endif libiberty-linker-plugin-bootstrap
27539 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
27540 maybe-configure-stage2-libiberty-linker-plugin:
27541 @if libiberty-linker-plugin-bootstrap
27542 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
27543 configure-stage2-libiberty-linker-plugin:
27544 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27545 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27546 @r=`${PWD_COMMAND}`; export r; \
27547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27548 TFLAGS="$(STAGE2_TFLAGS)"; \
27549 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27550 $(HOST_EXPORTS) \
27551 $(POSTSTAGE1_HOST_EXPORTS) \
27552 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
27553 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
27554 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
27555 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27556 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27557 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27558 case $(srcdir) in \
27559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27560 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27562 esac; \
27563 module_srcdir=libiberty; \
27564 $(SHELL) $$s/$$module_srcdir/configure \
27565 --srcdir=$${topdir}/$$module_srcdir \
27566 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27567 --target=${target_alias} \
27568 --with-build-libsubdir=$(HOST_SUBDIR) \
27569 $(STAGE2_CONFIGURE_FLAGS) \
27570 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27571 @endif libiberty-linker-plugin-bootstrap
27573 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
27574 maybe-configure-stage3-libiberty-linker-plugin:
27575 @if libiberty-linker-plugin-bootstrap
27576 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
27577 configure-stage3-libiberty-linker-plugin:
27578 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27579 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27580 @r=`${PWD_COMMAND}`; export r; \
27581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27582 TFLAGS="$(STAGE3_TFLAGS)"; \
27583 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27584 $(HOST_EXPORTS) \
27585 $(POSTSTAGE1_HOST_EXPORTS) \
27586 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27587 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27588 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27589 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27590 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27591 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27592 case $(srcdir) in \
27593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27594 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27596 esac; \
27597 module_srcdir=libiberty; \
27598 $(SHELL) $$s/$$module_srcdir/configure \
27599 --srcdir=$${topdir}/$$module_srcdir \
27600 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27601 --target=${target_alias} \
27602 --with-build-libsubdir=$(HOST_SUBDIR) \
27603 $(STAGE3_CONFIGURE_FLAGS) \
27604 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27605 @endif libiberty-linker-plugin-bootstrap
27607 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
27608 maybe-configure-stage4-libiberty-linker-plugin:
27609 @if libiberty-linker-plugin-bootstrap
27610 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
27611 configure-stage4-libiberty-linker-plugin:
27612 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27613 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27614 @r=`${PWD_COMMAND}`; export r; \
27615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27616 TFLAGS="$(STAGE4_TFLAGS)"; \
27617 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27618 $(HOST_EXPORTS) \
27619 $(POSTSTAGE1_HOST_EXPORTS) \
27620 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27621 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27622 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27623 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27624 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27625 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27626 case $(srcdir) in \
27627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27628 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27630 esac; \
27631 module_srcdir=libiberty; \
27632 $(SHELL) $$s/$$module_srcdir/configure \
27633 --srcdir=$${topdir}/$$module_srcdir \
27634 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27635 --target=${target_alias} \
27636 --with-build-libsubdir=$(HOST_SUBDIR) \
27637 $(STAGE4_CONFIGURE_FLAGS) \
27638 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27639 @endif libiberty-linker-plugin-bootstrap
27641 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
27642 maybe-configure-stageprofile-libiberty-linker-plugin:
27643 @if libiberty-linker-plugin-bootstrap
27644 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
27645 configure-stageprofile-libiberty-linker-plugin:
27646 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27647 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27648 @r=`${PWD_COMMAND}`; export r; \
27649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27650 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27651 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27652 $(HOST_EXPORTS) \
27653 $(POSTSTAGE1_HOST_EXPORTS) \
27654 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27655 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27656 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27657 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27658 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27659 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27660 case $(srcdir) in \
27661 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27662 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27663 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27664 esac; \
27665 module_srcdir=libiberty; \
27666 $(SHELL) $$s/$$module_srcdir/configure \
27667 --srcdir=$${topdir}/$$module_srcdir \
27668 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27669 --target=${target_alias} \
27670 --with-build-libsubdir=$(HOST_SUBDIR) \
27671 $(STAGEprofile_CONFIGURE_FLAGS) \
27672 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27673 @endif libiberty-linker-plugin-bootstrap
27675 .PHONY: configure-stagetrain-libiberty-linker-plugin maybe-configure-stagetrain-libiberty-linker-plugin
27676 maybe-configure-stagetrain-libiberty-linker-plugin:
27677 @if libiberty-linker-plugin-bootstrap
27678 maybe-configure-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
27679 configure-stagetrain-libiberty-linker-plugin:
27680 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27681 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27682 @r=`${PWD_COMMAND}`; export r; \
27683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27684 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27685 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27686 $(HOST_EXPORTS) \
27687 $(POSTSTAGE1_HOST_EXPORTS) \
27688 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
27689 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
27690 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
27691 echo Configuring stage train in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27692 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27693 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27694 case $(srcdir) in \
27695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27696 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27698 esac; \
27699 module_srcdir=libiberty; \
27700 $(SHELL) $$s/$$module_srcdir/configure \
27701 --srcdir=$${topdir}/$$module_srcdir \
27702 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27703 --target=${target_alias} \
27704 --with-build-libsubdir=$(HOST_SUBDIR) \
27705 $(STAGEtrain_CONFIGURE_FLAGS) \
27706 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27707 @endif libiberty-linker-plugin-bootstrap
27709 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
27710 maybe-configure-stagefeedback-libiberty-linker-plugin:
27711 @if libiberty-linker-plugin-bootstrap
27712 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
27713 configure-stagefeedback-libiberty-linker-plugin:
27714 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27715 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27716 @r=`${PWD_COMMAND}`; export r; \
27717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27718 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27719 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27720 $(HOST_EXPORTS) \
27721 $(POSTSTAGE1_HOST_EXPORTS) \
27722 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27723 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27724 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27725 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27726 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27727 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27728 case $(srcdir) in \
27729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27730 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27732 esac; \
27733 module_srcdir=libiberty; \
27734 $(SHELL) $$s/$$module_srcdir/configure \
27735 --srcdir=$${topdir}/$$module_srcdir \
27736 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27737 --target=${target_alias} \
27738 --with-build-libsubdir=$(HOST_SUBDIR) \
27739 $(STAGEfeedback_CONFIGURE_FLAGS) \
27740 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27741 @endif libiberty-linker-plugin-bootstrap
27743 .PHONY: configure-stageautoprofile-libiberty-linker-plugin maybe-configure-stageautoprofile-libiberty-linker-plugin
27744 maybe-configure-stageautoprofile-libiberty-linker-plugin:
27745 @if libiberty-linker-plugin-bootstrap
27746 maybe-configure-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
27747 configure-stageautoprofile-libiberty-linker-plugin:
27748 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27749 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27750 @r=`${PWD_COMMAND}`; export r; \
27751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27752 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27753 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27754 $(HOST_EXPORTS) \
27755 $(POSTSTAGE1_HOST_EXPORTS) \
27756 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
27757 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
27758 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
27759 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27760 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27761 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27762 case $(srcdir) in \
27763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27764 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27766 esac; \
27767 module_srcdir=libiberty; \
27768 $(SHELL) $$s/$$module_srcdir/configure \
27769 --srcdir=$${topdir}/$$module_srcdir \
27770 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27771 --target=${target_alias} \
27772 --with-build-libsubdir=$(HOST_SUBDIR) \
27773 $(STAGEautoprofile_CONFIGURE_FLAGS) \
27774 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27775 @endif libiberty-linker-plugin-bootstrap
27777 .PHONY: configure-stageautofeedback-libiberty-linker-plugin maybe-configure-stageautofeedback-libiberty-linker-plugin
27778 maybe-configure-stageautofeedback-libiberty-linker-plugin:
27779 @if libiberty-linker-plugin-bootstrap
27780 maybe-configure-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
27781 configure-stageautofeedback-libiberty-linker-plugin:
27782 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27783 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
27784 @r=`${PWD_COMMAND}`; export r; \
27785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27786 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27787 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
27788 $(HOST_EXPORTS) \
27789 $(POSTSTAGE1_HOST_EXPORTS) \
27790 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
27791 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
27792 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
27793 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
27794 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
27795 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
27796 case $(srcdir) in \
27797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27798 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
27799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27800 esac; \
27801 module_srcdir=libiberty; \
27802 $(SHELL) $$s/$$module_srcdir/configure \
27803 --srcdir=$${topdir}/$$module_srcdir \
27804 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27805 --target=${target_alias} \
27806 --with-build-libsubdir=$(HOST_SUBDIR) \
27807 $(STAGEautofeedback_CONFIGURE_FLAGS) \
27808 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
27809 @endif libiberty-linker-plugin-bootstrap
27815 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
27816 maybe-all-libiberty-linker-plugin:
27817 @if gcc-bootstrap
27818 all-libiberty-linker-plugin: stage_current
27819 @endif gcc-bootstrap
27820 @if libiberty-linker-plugin
27821 TARGET-libiberty-linker-plugin=all
27822 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
27823 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
27824 @r=`${PWD_COMMAND}`; export r; \
27825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27826 $(HOST_EXPORTS) \
27827 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27828 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27829 $(TARGET-libiberty-linker-plugin))
27830 @endif libiberty-linker-plugin
27834 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
27835 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
27836 maybe-all-stage1-libiberty-linker-plugin:
27837 maybe-clean-stage1-libiberty-linker-plugin:
27838 @if libiberty-linker-plugin-bootstrap
27839 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
27840 all-stage1: all-stage1-libiberty-linker-plugin
27841 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27842 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
27843 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27844 @r=`${PWD_COMMAND}`; export r; \
27845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27846 TFLAGS="$(STAGE1_TFLAGS)"; \
27847 $(HOST_EXPORTS) \
27848 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27850 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27851 CFLAGS="$(STAGE1_CFLAGS)" \
27852 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27853 LIBCFLAGS="$(LIBCFLAGS)" \
27854 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27855 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27856 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27857 $(EXTRA_HOST_FLAGS) \
27858 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27859 TFLAGS="$(STAGE1_TFLAGS)" \
27860 $(TARGET-stage1-libiberty-linker-plugin)
27862 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
27863 clean-stage1: clean-stage1-libiberty-linker-plugin
27864 clean-stage1-libiberty-linker-plugin:
27865 @if [ $(current_stage) = stage1 ]; then \
27866 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27867 else \
27868 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
27869 $(MAKE) stage1-start; \
27870 fi; \
27871 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27872 $(MAKE) $(EXTRA_HOST_FLAGS) \
27873 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27874 @endif libiberty-linker-plugin-bootstrap
27877 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
27878 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
27879 maybe-all-stage2-libiberty-linker-plugin:
27880 maybe-clean-stage2-libiberty-linker-plugin:
27881 @if libiberty-linker-plugin-bootstrap
27882 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
27883 all-stage2: all-stage2-libiberty-linker-plugin
27884 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27885 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
27886 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27887 @r=`${PWD_COMMAND}`; export r; \
27888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27889 TFLAGS="$(STAGE2_TFLAGS)"; \
27890 $(HOST_EXPORTS) \
27891 $(POSTSTAGE1_HOST_EXPORTS) \
27892 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27894 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27895 CFLAGS="$(STAGE2_CFLAGS)" \
27896 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27897 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27898 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27899 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27900 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27901 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27902 TFLAGS="$(STAGE2_TFLAGS)" \
27903 $(TARGET-stage2-libiberty-linker-plugin)
27905 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
27906 clean-stage2: clean-stage2-libiberty-linker-plugin
27907 clean-stage2-libiberty-linker-plugin:
27908 @if [ $(current_stage) = stage2 ]; then \
27909 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27910 else \
27911 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
27912 $(MAKE) stage2-start; \
27913 fi; \
27914 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27915 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27916 @endif libiberty-linker-plugin-bootstrap
27919 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
27920 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
27921 maybe-all-stage3-libiberty-linker-plugin:
27922 maybe-clean-stage3-libiberty-linker-plugin:
27923 @if libiberty-linker-plugin-bootstrap
27924 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
27925 all-stage3: all-stage3-libiberty-linker-plugin
27926 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27927 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
27928 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27929 @r=`${PWD_COMMAND}`; export r; \
27930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27931 TFLAGS="$(STAGE3_TFLAGS)"; \
27932 $(HOST_EXPORTS) \
27933 $(POSTSTAGE1_HOST_EXPORTS) \
27934 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27936 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27937 CFLAGS="$(STAGE3_CFLAGS)" \
27938 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27939 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27940 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27941 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27942 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27943 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27944 TFLAGS="$(STAGE3_TFLAGS)" \
27945 $(TARGET-stage3-libiberty-linker-plugin)
27947 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
27948 clean-stage3: clean-stage3-libiberty-linker-plugin
27949 clean-stage3-libiberty-linker-plugin:
27950 @if [ $(current_stage) = stage3 ]; then \
27951 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27952 else \
27953 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
27954 $(MAKE) stage3-start; \
27955 fi; \
27956 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27957 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
27958 @endif libiberty-linker-plugin-bootstrap
27961 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
27962 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
27963 maybe-all-stage4-libiberty-linker-plugin:
27964 maybe-clean-stage4-libiberty-linker-plugin:
27965 @if libiberty-linker-plugin-bootstrap
27966 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
27967 all-stage4: all-stage4-libiberty-linker-plugin
27968 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
27969 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
27970 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27971 @r=`${PWD_COMMAND}`; export r; \
27972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27973 TFLAGS="$(STAGE4_TFLAGS)"; \
27974 $(HOST_EXPORTS) \
27975 $(POSTSTAGE1_HOST_EXPORTS) \
27976 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27978 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27979 CFLAGS="$(STAGE4_CFLAGS)" \
27980 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27981 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27982 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27983 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27984 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27985 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
27986 TFLAGS="$(STAGE4_TFLAGS)" \
27987 $(TARGET-stage4-libiberty-linker-plugin)
27989 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
27990 clean-stage4: clean-stage4-libiberty-linker-plugin
27991 clean-stage4-libiberty-linker-plugin:
27992 @if [ $(current_stage) = stage4 ]; then \
27993 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
27994 else \
27995 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
27996 $(MAKE) stage4-start; \
27997 fi; \
27998 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
27999 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28000 @endif libiberty-linker-plugin-bootstrap
28003 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
28004 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
28005 maybe-all-stageprofile-libiberty-linker-plugin:
28006 maybe-clean-stageprofile-libiberty-linker-plugin:
28007 @if libiberty-linker-plugin-bootstrap
28008 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
28009 all-stageprofile: all-stageprofile-libiberty-linker-plugin
28010 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28011 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
28012 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28013 @r=`${PWD_COMMAND}`; export r; \
28014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28015 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28016 $(HOST_EXPORTS) \
28017 $(POSTSTAGE1_HOST_EXPORTS) \
28018 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28020 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28021 CFLAGS="$(STAGEprofile_CFLAGS)" \
28022 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
28023 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
28024 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28025 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28026 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28027 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28028 TFLAGS="$(STAGEprofile_TFLAGS)" \
28029 $(TARGET-stageprofile-libiberty-linker-plugin)
28031 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
28032 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
28033 clean-stageprofile-libiberty-linker-plugin:
28034 @if [ $(current_stage) = stageprofile ]; then \
28035 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28036 else \
28037 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28038 $(MAKE) stageprofile-start; \
28039 fi; \
28040 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28041 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28042 @endif libiberty-linker-plugin-bootstrap
28045 .PHONY: all-stagetrain-libiberty-linker-plugin maybe-all-stagetrain-libiberty-linker-plugin
28046 .PHONY: clean-stagetrain-libiberty-linker-plugin maybe-clean-stagetrain-libiberty-linker-plugin
28047 maybe-all-stagetrain-libiberty-linker-plugin:
28048 maybe-clean-stagetrain-libiberty-linker-plugin:
28049 @if libiberty-linker-plugin-bootstrap
28050 maybe-all-stagetrain-libiberty-linker-plugin: all-stagetrain-libiberty-linker-plugin
28051 all-stagetrain: all-stagetrain-libiberty-linker-plugin
28052 TARGET-stagetrain-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28053 all-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
28054 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28055 @r=`${PWD_COMMAND}`; export r; \
28056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28057 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28058 $(HOST_EXPORTS) \
28059 $(POSTSTAGE1_HOST_EXPORTS) \
28060 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28062 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28063 CFLAGS="$(STAGEtrain_CFLAGS)" \
28064 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
28065 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
28066 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28067 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28068 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28069 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28070 TFLAGS="$(STAGEtrain_TFLAGS)" \
28071 $(TARGET-stagetrain-libiberty-linker-plugin)
28073 maybe-clean-stagetrain-libiberty-linker-plugin: clean-stagetrain-libiberty-linker-plugin
28074 clean-stagetrain: clean-stagetrain-libiberty-linker-plugin
28075 clean-stagetrain-libiberty-linker-plugin:
28076 @if [ $(current_stage) = stagetrain ]; then \
28077 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28078 else \
28079 [ -f $(HOST_SUBDIR)/stagetrain-libiberty-linker-plugin/Makefile ] || exit 0; \
28080 $(MAKE) stagetrain-start; \
28081 fi; \
28082 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28083 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28084 @endif libiberty-linker-plugin-bootstrap
28087 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
28088 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
28089 maybe-all-stagefeedback-libiberty-linker-plugin:
28090 maybe-clean-stagefeedback-libiberty-linker-plugin:
28091 @if libiberty-linker-plugin-bootstrap
28092 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
28093 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
28094 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28095 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
28096 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28097 @r=`${PWD_COMMAND}`; export r; \
28098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28099 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28100 $(HOST_EXPORTS) \
28101 $(POSTSTAGE1_HOST_EXPORTS) \
28102 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28104 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28105 CFLAGS="$(STAGEfeedback_CFLAGS)" \
28106 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
28107 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
28108 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28109 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28110 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28111 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28112 TFLAGS="$(STAGEfeedback_TFLAGS)" \
28113 $(TARGET-stagefeedback-libiberty-linker-plugin)
28115 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
28116 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
28117 clean-stagefeedback-libiberty-linker-plugin:
28118 @if [ $(current_stage) = stagefeedback ]; then \
28119 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28120 else \
28121 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28122 $(MAKE) stagefeedback-start; \
28123 fi; \
28124 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28125 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28126 @endif libiberty-linker-plugin-bootstrap
28129 .PHONY: all-stageautoprofile-libiberty-linker-plugin maybe-all-stageautoprofile-libiberty-linker-plugin
28130 .PHONY: clean-stageautoprofile-libiberty-linker-plugin maybe-clean-stageautoprofile-libiberty-linker-plugin
28131 maybe-all-stageautoprofile-libiberty-linker-plugin:
28132 maybe-clean-stageautoprofile-libiberty-linker-plugin:
28133 @if libiberty-linker-plugin-bootstrap
28134 maybe-all-stageautoprofile-libiberty-linker-plugin: all-stageautoprofile-libiberty-linker-plugin
28135 all-stageautoprofile: all-stageautoprofile-libiberty-linker-plugin
28136 TARGET-stageautoprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28137 all-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
28138 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28139 @r=`${PWD_COMMAND}`; export r; \
28140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28141 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28142 $(HOST_EXPORTS) \
28143 $(POSTSTAGE1_HOST_EXPORTS) \
28144 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28145 $$s/gcc/config/i386/$(AUTO_PROFILE) \
28146 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28147 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
28148 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
28149 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
28150 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28151 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28152 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28153 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28154 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
28155 $(TARGET-stageautoprofile-libiberty-linker-plugin)
28157 maybe-clean-stageautoprofile-libiberty-linker-plugin: clean-stageautoprofile-libiberty-linker-plugin
28158 clean-stageautoprofile: clean-stageautoprofile-libiberty-linker-plugin
28159 clean-stageautoprofile-libiberty-linker-plugin:
28160 @if [ $(current_stage) = stageautoprofile ]; then \
28161 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28162 else \
28163 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
28164 $(MAKE) stageautoprofile-start; \
28165 fi; \
28166 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28167 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28168 @endif libiberty-linker-plugin-bootstrap
28171 .PHONY: all-stageautofeedback-libiberty-linker-plugin maybe-all-stageautofeedback-libiberty-linker-plugin
28172 .PHONY: clean-stageautofeedback-libiberty-linker-plugin maybe-clean-stageautofeedback-libiberty-linker-plugin
28173 maybe-all-stageautofeedback-libiberty-linker-plugin:
28174 maybe-clean-stageautofeedback-libiberty-linker-plugin:
28175 @if libiberty-linker-plugin-bootstrap
28176 maybe-all-stageautofeedback-libiberty-linker-plugin: all-stageautofeedback-libiberty-linker-plugin
28177 all-stageautofeedback: all-stageautofeedback-libiberty-linker-plugin
28178 TARGET-stageautofeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
28179 all-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
28180 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28181 @r=`${PWD_COMMAND}`; export r; \
28182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28183 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28184 $(HOST_EXPORTS) \
28185 $(POSTSTAGE1_HOST_EXPORTS) \
28186 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28188 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28189 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
28190 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
28191 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
28192 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28193 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28194 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28195 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
28196 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
28197 $(TARGET-stageautofeedback-libiberty-linker-plugin)
28199 maybe-clean-stageautofeedback-libiberty-linker-plugin: clean-stageautofeedback-libiberty-linker-plugin
28200 clean-stageautofeedback: clean-stageautofeedback-libiberty-linker-plugin
28201 clean-stageautofeedback-libiberty-linker-plugin:
28202 @if [ $(current_stage) = stageautofeedback ]; then \
28203 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
28204 else \
28205 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
28206 $(MAKE) stageautofeedback-start; \
28207 fi; \
28208 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28209 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
28210 @endif libiberty-linker-plugin-bootstrap
28216 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
28217 maybe-check-libiberty-linker-plugin:
28218 @if libiberty-linker-plugin
28219 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
28221 check-libiberty-linker-plugin:
28222 @: $(MAKE); $(unstage)
28223 @r=`${PWD_COMMAND}`; export r; \
28224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28225 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
28226 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28227 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
28229 @endif libiberty-linker-plugin
28231 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
28232 maybe-install-libiberty-linker-plugin:
28233 @if libiberty-linker-plugin
28234 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
28236 install-libiberty-linker-plugin: installdirs
28237 @: $(MAKE); $(unstage)
28238 @r=`${PWD_COMMAND}`; export r; \
28239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28240 $(HOST_EXPORTS) \
28241 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28242 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
28244 @endif libiberty-linker-plugin
28246 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
28247 maybe-install-strip-libiberty-linker-plugin:
28248 @if libiberty-linker-plugin
28249 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
28251 install-strip-libiberty-linker-plugin: installdirs
28252 @: $(MAKE); $(unstage)
28253 @r=`${PWD_COMMAND}`; export r; \
28254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28255 $(HOST_EXPORTS) \
28256 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28257 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
28259 @endif libiberty-linker-plugin
28261 # Other targets (info, dvi, pdf, etc.)
28263 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
28264 maybe-info-libiberty-linker-plugin:
28265 @if libiberty-linker-plugin
28266 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
28268 info-libiberty-linker-plugin: \
28269 configure-libiberty-linker-plugin
28270 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28271 r=`${PWD_COMMAND}`; export r; \
28272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28273 $(HOST_EXPORTS) \
28274 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28276 done; \
28277 echo "Doing info in libiberty-linker-plugin"; \
28278 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28281 "RANLIB=$${RANLIB}" \
28282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28283 info) \
28284 || exit 1
28286 @endif libiberty-linker-plugin
28288 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
28289 maybe-dvi-libiberty-linker-plugin:
28290 @if libiberty-linker-plugin
28291 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
28293 dvi-libiberty-linker-plugin: \
28294 configure-libiberty-linker-plugin
28295 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28296 r=`${PWD_COMMAND}`; export r; \
28297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28298 $(HOST_EXPORTS) \
28299 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28301 done; \
28302 echo "Doing dvi in libiberty-linker-plugin"; \
28303 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28306 "RANLIB=$${RANLIB}" \
28307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28308 dvi) \
28309 || exit 1
28311 @endif libiberty-linker-plugin
28313 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
28314 maybe-pdf-libiberty-linker-plugin:
28315 @if libiberty-linker-plugin
28316 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
28318 pdf-libiberty-linker-plugin: \
28319 configure-libiberty-linker-plugin
28320 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28321 r=`${PWD_COMMAND}`; export r; \
28322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28323 $(HOST_EXPORTS) \
28324 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28326 done; \
28327 echo "Doing pdf in libiberty-linker-plugin"; \
28328 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28331 "RANLIB=$${RANLIB}" \
28332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28333 pdf) \
28334 || exit 1
28336 @endif libiberty-linker-plugin
28338 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
28339 maybe-html-libiberty-linker-plugin:
28340 @if libiberty-linker-plugin
28341 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
28343 html-libiberty-linker-plugin: \
28344 configure-libiberty-linker-plugin
28345 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28346 r=`${PWD_COMMAND}`; export r; \
28347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28348 $(HOST_EXPORTS) \
28349 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28351 done; \
28352 echo "Doing html in libiberty-linker-plugin"; \
28353 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28356 "RANLIB=$${RANLIB}" \
28357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28358 html) \
28359 || exit 1
28361 @endif libiberty-linker-plugin
28363 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
28364 maybe-TAGS-libiberty-linker-plugin:
28365 @if libiberty-linker-plugin
28366 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
28368 TAGS-libiberty-linker-plugin: \
28369 configure-libiberty-linker-plugin
28370 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28371 r=`${PWD_COMMAND}`; export r; \
28372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28373 $(HOST_EXPORTS) \
28374 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28376 done; \
28377 echo "Doing TAGS in libiberty-linker-plugin"; \
28378 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28381 "RANLIB=$${RANLIB}" \
28382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28383 TAGS) \
28384 || exit 1
28386 @endif libiberty-linker-plugin
28388 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
28389 maybe-install-info-libiberty-linker-plugin:
28390 @if libiberty-linker-plugin
28391 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
28393 install-info-libiberty-linker-plugin: \
28394 configure-libiberty-linker-plugin \
28395 info-libiberty-linker-plugin
28396 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28397 r=`${PWD_COMMAND}`; export r; \
28398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28399 $(HOST_EXPORTS) \
28400 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28402 done; \
28403 echo "Doing install-info in libiberty-linker-plugin"; \
28404 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28407 "RANLIB=$${RANLIB}" \
28408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28409 install-info) \
28410 || exit 1
28412 @endif libiberty-linker-plugin
28414 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
28415 maybe-install-pdf-libiberty-linker-plugin:
28416 @if libiberty-linker-plugin
28417 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
28419 install-pdf-libiberty-linker-plugin: \
28420 configure-libiberty-linker-plugin \
28421 pdf-libiberty-linker-plugin
28422 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28423 r=`${PWD_COMMAND}`; export r; \
28424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28425 $(HOST_EXPORTS) \
28426 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28428 done; \
28429 echo "Doing install-pdf in libiberty-linker-plugin"; \
28430 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28433 "RANLIB=$${RANLIB}" \
28434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28435 install-pdf) \
28436 || exit 1
28438 @endif libiberty-linker-plugin
28440 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
28441 maybe-install-html-libiberty-linker-plugin:
28442 @if libiberty-linker-plugin
28443 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
28445 install-html-libiberty-linker-plugin: \
28446 configure-libiberty-linker-plugin \
28447 html-libiberty-linker-plugin
28448 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28449 r=`${PWD_COMMAND}`; export r; \
28450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28451 $(HOST_EXPORTS) \
28452 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28454 done; \
28455 echo "Doing install-html in libiberty-linker-plugin"; \
28456 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28459 "RANLIB=$${RANLIB}" \
28460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28461 install-html) \
28462 || exit 1
28464 @endif libiberty-linker-plugin
28466 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
28467 maybe-installcheck-libiberty-linker-plugin:
28468 @if libiberty-linker-plugin
28469 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
28471 installcheck-libiberty-linker-plugin: \
28472 configure-libiberty-linker-plugin
28473 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28474 r=`${PWD_COMMAND}`; export r; \
28475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28476 $(HOST_EXPORTS) \
28477 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28479 done; \
28480 echo "Doing installcheck in libiberty-linker-plugin"; \
28481 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28484 "RANLIB=$${RANLIB}" \
28485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28486 installcheck) \
28487 || exit 1
28489 @endif libiberty-linker-plugin
28491 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
28492 maybe-mostlyclean-libiberty-linker-plugin:
28493 @if libiberty-linker-plugin
28494 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
28496 mostlyclean-libiberty-linker-plugin:
28497 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28498 r=`${PWD_COMMAND}`; export r; \
28499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28500 $(HOST_EXPORTS) \
28501 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28503 done; \
28504 echo "Doing mostlyclean in libiberty-linker-plugin"; \
28505 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28508 "RANLIB=$${RANLIB}" \
28509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28510 mostlyclean) \
28511 || exit 1
28513 @endif libiberty-linker-plugin
28515 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
28516 maybe-clean-libiberty-linker-plugin:
28517 @if libiberty-linker-plugin
28518 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
28520 clean-libiberty-linker-plugin:
28521 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28522 r=`${PWD_COMMAND}`; export r; \
28523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28524 $(HOST_EXPORTS) \
28525 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28527 done; \
28528 echo "Doing clean in libiberty-linker-plugin"; \
28529 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28532 "RANLIB=$${RANLIB}" \
28533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28534 clean) \
28535 || exit 1
28537 @endif libiberty-linker-plugin
28539 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
28540 maybe-distclean-libiberty-linker-plugin:
28541 @if libiberty-linker-plugin
28542 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
28544 distclean-libiberty-linker-plugin:
28545 @[ -f ./libiberty-linker-plugin/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) @extra_linker_plugin_flags@; do \
28550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28551 done; \
28552 echo "Doing distclean in libiberty-linker-plugin"; \
28553 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
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 distclean) \
28559 || exit 1
28561 @endif libiberty-linker-plugin
28563 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
28564 maybe-maintainer-clean-libiberty-linker-plugin:
28565 @if libiberty-linker-plugin
28566 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
28568 maintainer-clean-libiberty-linker-plugin:
28569 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
28570 r=`${PWD_COMMAND}`; export r; \
28571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28572 $(HOST_EXPORTS) \
28573 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
28574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28575 done; \
28576 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
28577 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
28578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28580 "RANLIB=$${RANLIB}" \
28581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28582 maintainer-clean) \
28583 || exit 1
28585 @endif libiberty-linker-plugin
28589 .PHONY: configure-libiconv maybe-configure-libiconv
28590 maybe-configure-libiconv:
28591 @if gcc-bootstrap
28592 configure-libiconv: stage_current
28593 @endif gcc-bootstrap
28594 @if libiconv
28595 maybe-configure-libiconv: configure-libiconv
28596 configure-libiconv:
28597 @r=`${PWD_COMMAND}`; export r; \
28598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28599 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28600 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28601 $(HOST_EXPORTS) \
28602 echo Configuring in $(HOST_SUBDIR)/libiconv; \
28603 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
28604 case $(srcdir) in \
28605 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28606 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28607 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28608 esac; \
28609 module_srcdir=libiconv; \
28610 $(SHELL) \
28611 $$s/$$module_srcdir/configure \
28612 --srcdir=$${topdir}/$$module_srcdir \
28613 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28614 --target=${target_alias} --disable-shared \
28615 || exit 1
28616 @endif libiconv
28620 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
28621 maybe-configure-stage1-libiconv:
28622 @if libiconv-bootstrap
28623 maybe-configure-stage1-libiconv: configure-stage1-libiconv
28624 configure-stage1-libiconv:
28625 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28626 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28627 @r=`${PWD_COMMAND}`; export r; \
28628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28629 TFLAGS="$(STAGE1_TFLAGS)"; \
28630 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28631 $(HOST_EXPORTS) \
28632 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
28633 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
28634 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
28635 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
28636 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28637 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28638 case $(srcdir) in \
28639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28640 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28642 esac; \
28643 module_srcdir=libiconv; \
28644 $(SHELL) $$s/$$module_srcdir/configure \
28645 --srcdir=$${topdir}/$$module_srcdir \
28646 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28647 --target=${target_alias} \
28649 $(STAGE1_CONFIGURE_FLAGS) \
28650 --disable-shared
28651 @endif libiconv-bootstrap
28653 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
28654 maybe-configure-stage2-libiconv:
28655 @if libiconv-bootstrap
28656 maybe-configure-stage2-libiconv: configure-stage2-libiconv
28657 configure-stage2-libiconv:
28658 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28659 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28660 @r=`${PWD_COMMAND}`; export r; \
28661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28662 TFLAGS="$(STAGE2_TFLAGS)"; \
28663 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28664 $(HOST_EXPORTS) \
28665 $(POSTSTAGE1_HOST_EXPORTS) \
28666 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
28667 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
28668 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
28669 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
28670 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28671 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28672 case $(srcdir) in \
28673 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28674 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28675 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28676 esac; \
28677 module_srcdir=libiconv; \
28678 $(SHELL) $$s/$$module_srcdir/configure \
28679 --srcdir=$${topdir}/$$module_srcdir \
28680 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28681 --target=${target_alias} \
28682 --with-build-libsubdir=$(HOST_SUBDIR) \
28683 $(STAGE2_CONFIGURE_FLAGS) \
28684 --disable-shared
28685 @endif libiconv-bootstrap
28687 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
28688 maybe-configure-stage3-libiconv:
28689 @if libiconv-bootstrap
28690 maybe-configure-stage3-libiconv: configure-stage3-libiconv
28691 configure-stage3-libiconv:
28692 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28693 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28694 @r=`${PWD_COMMAND}`; export r; \
28695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28696 TFLAGS="$(STAGE3_TFLAGS)"; \
28697 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28698 $(HOST_EXPORTS) \
28699 $(POSTSTAGE1_HOST_EXPORTS) \
28700 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
28701 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
28702 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
28703 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
28704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28705 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28706 case $(srcdir) in \
28707 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28708 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28709 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28710 esac; \
28711 module_srcdir=libiconv; \
28712 $(SHELL) $$s/$$module_srcdir/configure \
28713 --srcdir=$${topdir}/$$module_srcdir \
28714 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28715 --target=${target_alias} \
28716 --with-build-libsubdir=$(HOST_SUBDIR) \
28717 $(STAGE3_CONFIGURE_FLAGS) \
28718 --disable-shared
28719 @endif libiconv-bootstrap
28721 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
28722 maybe-configure-stage4-libiconv:
28723 @if libiconv-bootstrap
28724 maybe-configure-stage4-libiconv: configure-stage4-libiconv
28725 configure-stage4-libiconv:
28726 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28727 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28728 @r=`${PWD_COMMAND}`; export r; \
28729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28730 TFLAGS="$(STAGE4_TFLAGS)"; \
28731 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28732 $(HOST_EXPORTS) \
28733 $(POSTSTAGE1_HOST_EXPORTS) \
28734 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
28735 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
28736 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
28737 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
28738 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28739 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28740 case $(srcdir) in \
28741 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28742 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28743 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28744 esac; \
28745 module_srcdir=libiconv; \
28746 $(SHELL) $$s/$$module_srcdir/configure \
28747 --srcdir=$${topdir}/$$module_srcdir \
28748 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28749 --target=${target_alias} \
28750 --with-build-libsubdir=$(HOST_SUBDIR) \
28751 $(STAGE4_CONFIGURE_FLAGS) \
28752 --disable-shared
28753 @endif libiconv-bootstrap
28755 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
28756 maybe-configure-stageprofile-libiconv:
28757 @if libiconv-bootstrap
28758 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
28759 configure-stageprofile-libiconv:
28760 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28761 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28762 @r=`${PWD_COMMAND}`; export r; \
28763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28764 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28765 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28766 $(HOST_EXPORTS) \
28767 $(POSTSTAGE1_HOST_EXPORTS) \
28768 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
28769 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
28770 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
28771 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
28772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28773 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28774 case $(srcdir) in \
28775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28776 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28778 esac; \
28779 module_srcdir=libiconv; \
28780 $(SHELL) $$s/$$module_srcdir/configure \
28781 --srcdir=$${topdir}/$$module_srcdir \
28782 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28783 --target=${target_alias} \
28784 --with-build-libsubdir=$(HOST_SUBDIR) \
28785 $(STAGEprofile_CONFIGURE_FLAGS) \
28786 --disable-shared
28787 @endif libiconv-bootstrap
28789 .PHONY: configure-stagetrain-libiconv maybe-configure-stagetrain-libiconv
28790 maybe-configure-stagetrain-libiconv:
28791 @if libiconv-bootstrap
28792 maybe-configure-stagetrain-libiconv: configure-stagetrain-libiconv
28793 configure-stagetrain-libiconv:
28794 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28795 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28796 @r=`${PWD_COMMAND}`; export r; \
28797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28798 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28799 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28800 $(HOST_EXPORTS) \
28801 $(POSTSTAGE1_HOST_EXPORTS) \
28802 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
28803 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
28804 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
28805 echo Configuring stage train in $(HOST_SUBDIR)/libiconv; \
28806 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28807 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28808 case $(srcdir) in \
28809 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28810 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28811 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28812 esac; \
28813 module_srcdir=libiconv; \
28814 $(SHELL) $$s/$$module_srcdir/configure \
28815 --srcdir=$${topdir}/$$module_srcdir \
28816 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28817 --target=${target_alias} \
28818 --with-build-libsubdir=$(HOST_SUBDIR) \
28819 $(STAGEtrain_CONFIGURE_FLAGS) \
28820 --disable-shared
28821 @endif libiconv-bootstrap
28823 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
28824 maybe-configure-stagefeedback-libiconv:
28825 @if libiconv-bootstrap
28826 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
28827 configure-stagefeedback-libiconv:
28828 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28829 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28830 @r=`${PWD_COMMAND}`; export r; \
28831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28832 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28833 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28834 $(HOST_EXPORTS) \
28835 $(POSTSTAGE1_HOST_EXPORTS) \
28836 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
28837 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
28838 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
28839 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
28840 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28841 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28842 case $(srcdir) in \
28843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28844 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28846 esac; \
28847 module_srcdir=libiconv; \
28848 $(SHELL) $$s/$$module_srcdir/configure \
28849 --srcdir=$${topdir}/$$module_srcdir \
28850 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28851 --target=${target_alias} \
28852 --with-build-libsubdir=$(HOST_SUBDIR) \
28853 $(STAGEfeedback_CONFIGURE_FLAGS) \
28854 --disable-shared
28855 @endif libiconv-bootstrap
28857 .PHONY: configure-stageautoprofile-libiconv maybe-configure-stageautoprofile-libiconv
28858 maybe-configure-stageautoprofile-libiconv:
28859 @if libiconv-bootstrap
28860 maybe-configure-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
28861 configure-stageautoprofile-libiconv:
28862 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28863 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28864 @r=`${PWD_COMMAND}`; export r; \
28865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28866 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28867 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28868 $(HOST_EXPORTS) \
28869 $(POSTSTAGE1_HOST_EXPORTS) \
28870 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
28871 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
28872 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
28873 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiconv; \
28874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28875 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28876 case $(srcdir) in \
28877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28878 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28880 esac; \
28881 module_srcdir=libiconv; \
28882 $(SHELL) $$s/$$module_srcdir/configure \
28883 --srcdir=$${topdir}/$$module_srcdir \
28884 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28885 --target=${target_alias} \
28886 --with-build-libsubdir=$(HOST_SUBDIR) \
28887 $(STAGEautoprofile_CONFIGURE_FLAGS) \
28888 --disable-shared
28889 @endif libiconv-bootstrap
28891 .PHONY: configure-stageautofeedback-libiconv maybe-configure-stageautofeedback-libiconv
28892 maybe-configure-stageautofeedback-libiconv:
28893 @if libiconv-bootstrap
28894 maybe-configure-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
28895 configure-stageautofeedback-libiconv:
28896 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28897 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
28898 @r=`${PWD_COMMAND}`; export r; \
28899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28900 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28901 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
28902 $(HOST_EXPORTS) \
28903 $(POSTSTAGE1_HOST_EXPORTS) \
28904 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
28905 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
28906 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
28907 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiconv; \
28908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
28909 cd $(HOST_SUBDIR)/libiconv || exit 1; \
28910 case $(srcdir) in \
28911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28912 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
28913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28914 esac; \
28915 module_srcdir=libiconv; \
28916 $(SHELL) $$s/$$module_srcdir/configure \
28917 --srcdir=$${topdir}/$$module_srcdir \
28918 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28919 --target=${target_alias} \
28920 --with-build-libsubdir=$(HOST_SUBDIR) \
28921 $(STAGEautofeedback_CONFIGURE_FLAGS) \
28922 --disable-shared
28923 @endif libiconv-bootstrap
28929 .PHONY: all-libiconv maybe-all-libiconv
28930 maybe-all-libiconv:
28931 @if gcc-bootstrap
28932 all-libiconv: stage_current
28933 @endif gcc-bootstrap
28934 @if libiconv
28935 TARGET-libiconv=all
28936 maybe-all-libiconv: all-libiconv
28937 all-libiconv: configure-libiconv
28938 @r=`${PWD_COMMAND}`; export r; \
28939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28940 $(HOST_EXPORTS) \
28941 (cd $(HOST_SUBDIR)/libiconv && \
28942 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28943 $(TARGET-libiconv))
28944 @endif libiconv
28948 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
28949 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
28950 maybe-all-stage1-libiconv:
28951 maybe-clean-stage1-libiconv:
28952 @if libiconv-bootstrap
28953 maybe-all-stage1-libiconv: all-stage1-libiconv
28954 all-stage1: all-stage1-libiconv
28955 TARGET-stage1-libiconv = $(TARGET-libiconv)
28956 all-stage1-libiconv: configure-stage1-libiconv
28957 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28958 @r=`${PWD_COMMAND}`; export r; \
28959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28960 TFLAGS="$(STAGE1_TFLAGS)"; \
28961 $(HOST_EXPORTS) \
28962 cd $(HOST_SUBDIR)/libiconv && \
28964 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28965 CFLAGS="$(STAGE1_CFLAGS)" \
28966 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
28967 LIBCFLAGS="$(LIBCFLAGS)" \
28968 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28969 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28970 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28971 $(EXTRA_HOST_FLAGS) \
28972 $(STAGE1_FLAGS_TO_PASS) \
28973 TFLAGS="$(STAGE1_TFLAGS)" \
28974 $(TARGET-stage1-libiconv)
28976 maybe-clean-stage1-libiconv: clean-stage1-libiconv
28977 clean-stage1: clean-stage1-libiconv
28978 clean-stage1-libiconv:
28979 @if [ $(current_stage) = stage1 ]; then \
28980 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
28981 else \
28982 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
28983 $(MAKE) stage1-start; \
28984 fi; \
28985 cd $(HOST_SUBDIR)/libiconv && \
28986 $(MAKE) $(EXTRA_HOST_FLAGS) \
28987 $(STAGE1_FLAGS_TO_PASS) clean
28988 @endif libiconv-bootstrap
28991 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
28992 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
28993 maybe-all-stage2-libiconv:
28994 maybe-clean-stage2-libiconv:
28995 @if libiconv-bootstrap
28996 maybe-all-stage2-libiconv: all-stage2-libiconv
28997 all-stage2: all-stage2-libiconv
28998 TARGET-stage2-libiconv = $(TARGET-libiconv)
28999 all-stage2-libiconv: configure-stage2-libiconv
29000 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29001 @r=`${PWD_COMMAND}`; export r; \
29002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29003 TFLAGS="$(STAGE2_TFLAGS)"; \
29004 $(HOST_EXPORTS) \
29005 $(POSTSTAGE1_HOST_EXPORTS) \
29006 cd $(HOST_SUBDIR)/libiconv && \
29008 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29009 CFLAGS="$(STAGE2_CFLAGS)" \
29010 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
29011 LIBCFLAGS="$(STAGE2_CFLAGS)" \
29012 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29013 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29014 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29015 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29016 TFLAGS="$(STAGE2_TFLAGS)" \
29017 $(TARGET-stage2-libiconv)
29019 maybe-clean-stage2-libiconv: clean-stage2-libiconv
29020 clean-stage2: clean-stage2-libiconv
29021 clean-stage2-libiconv:
29022 @if [ $(current_stage) = stage2 ]; then \
29023 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29024 else \
29025 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
29026 $(MAKE) stage2-start; \
29027 fi; \
29028 cd $(HOST_SUBDIR)/libiconv && \
29029 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29030 @endif libiconv-bootstrap
29033 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
29034 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
29035 maybe-all-stage3-libiconv:
29036 maybe-clean-stage3-libiconv:
29037 @if libiconv-bootstrap
29038 maybe-all-stage3-libiconv: all-stage3-libiconv
29039 all-stage3: all-stage3-libiconv
29040 TARGET-stage3-libiconv = $(TARGET-libiconv)
29041 all-stage3-libiconv: configure-stage3-libiconv
29042 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29043 @r=`${PWD_COMMAND}`; export r; \
29044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29045 TFLAGS="$(STAGE3_TFLAGS)"; \
29046 $(HOST_EXPORTS) \
29047 $(POSTSTAGE1_HOST_EXPORTS) \
29048 cd $(HOST_SUBDIR)/libiconv && \
29050 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29051 CFLAGS="$(STAGE3_CFLAGS)" \
29052 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
29053 LIBCFLAGS="$(STAGE3_CFLAGS)" \
29054 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29055 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29056 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29057 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29058 TFLAGS="$(STAGE3_TFLAGS)" \
29059 $(TARGET-stage3-libiconv)
29061 maybe-clean-stage3-libiconv: clean-stage3-libiconv
29062 clean-stage3: clean-stage3-libiconv
29063 clean-stage3-libiconv:
29064 @if [ $(current_stage) = stage3 ]; then \
29065 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29066 else \
29067 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
29068 $(MAKE) stage3-start; \
29069 fi; \
29070 cd $(HOST_SUBDIR)/libiconv && \
29071 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29072 @endif libiconv-bootstrap
29075 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
29076 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
29077 maybe-all-stage4-libiconv:
29078 maybe-clean-stage4-libiconv:
29079 @if libiconv-bootstrap
29080 maybe-all-stage4-libiconv: all-stage4-libiconv
29081 all-stage4: all-stage4-libiconv
29082 TARGET-stage4-libiconv = $(TARGET-libiconv)
29083 all-stage4-libiconv: configure-stage4-libiconv
29084 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29085 @r=`${PWD_COMMAND}`; export r; \
29086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29087 TFLAGS="$(STAGE4_TFLAGS)"; \
29088 $(HOST_EXPORTS) \
29089 $(POSTSTAGE1_HOST_EXPORTS) \
29090 cd $(HOST_SUBDIR)/libiconv && \
29092 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29093 CFLAGS="$(STAGE4_CFLAGS)" \
29094 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
29095 LIBCFLAGS="$(STAGE4_CFLAGS)" \
29096 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29097 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29098 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29099 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29100 TFLAGS="$(STAGE4_TFLAGS)" \
29101 $(TARGET-stage4-libiconv)
29103 maybe-clean-stage4-libiconv: clean-stage4-libiconv
29104 clean-stage4: clean-stage4-libiconv
29105 clean-stage4-libiconv:
29106 @if [ $(current_stage) = stage4 ]; then \
29107 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29108 else \
29109 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
29110 $(MAKE) stage4-start; \
29111 fi; \
29112 cd $(HOST_SUBDIR)/libiconv && \
29113 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29114 @endif libiconv-bootstrap
29117 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
29118 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
29119 maybe-all-stageprofile-libiconv:
29120 maybe-clean-stageprofile-libiconv:
29121 @if libiconv-bootstrap
29122 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
29123 all-stageprofile: all-stageprofile-libiconv
29124 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
29125 all-stageprofile-libiconv: configure-stageprofile-libiconv
29126 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29127 @r=`${PWD_COMMAND}`; export r; \
29128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29129 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29130 $(HOST_EXPORTS) \
29131 $(POSTSTAGE1_HOST_EXPORTS) \
29132 cd $(HOST_SUBDIR)/libiconv && \
29134 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29135 CFLAGS="$(STAGEprofile_CFLAGS)" \
29136 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29137 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29138 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29139 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29140 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29141 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29142 TFLAGS="$(STAGEprofile_TFLAGS)" \
29143 $(TARGET-stageprofile-libiconv)
29145 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
29146 clean-stageprofile: clean-stageprofile-libiconv
29147 clean-stageprofile-libiconv:
29148 @if [ $(current_stage) = stageprofile ]; then \
29149 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29150 else \
29151 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
29152 $(MAKE) stageprofile-start; \
29153 fi; \
29154 cd $(HOST_SUBDIR)/libiconv && \
29155 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29156 @endif libiconv-bootstrap
29159 .PHONY: all-stagetrain-libiconv maybe-all-stagetrain-libiconv
29160 .PHONY: clean-stagetrain-libiconv maybe-clean-stagetrain-libiconv
29161 maybe-all-stagetrain-libiconv:
29162 maybe-clean-stagetrain-libiconv:
29163 @if libiconv-bootstrap
29164 maybe-all-stagetrain-libiconv: all-stagetrain-libiconv
29165 all-stagetrain: all-stagetrain-libiconv
29166 TARGET-stagetrain-libiconv = $(TARGET-libiconv)
29167 all-stagetrain-libiconv: configure-stagetrain-libiconv
29168 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29169 @r=`${PWD_COMMAND}`; export r; \
29170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29171 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29172 $(HOST_EXPORTS) \
29173 $(POSTSTAGE1_HOST_EXPORTS) \
29174 cd $(HOST_SUBDIR)/libiconv && \
29176 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29177 CFLAGS="$(STAGEtrain_CFLAGS)" \
29178 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
29179 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
29180 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29181 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29182 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29183 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29184 TFLAGS="$(STAGEtrain_TFLAGS)" \
29185 $(TARGET-stagetrain-libiconv)
29187 maybe-clean-stagetrain-libiconv: clean-stagetrain-libiconv
29188 clean-stagetrain: clean-stagetrain-libiconv
29189 clean-stagetrain-libiconv:
29190 @if [ $(current_stage) = stagetrain ]; then \
29191 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29192 else \
29193 [ -f $(HOST_SUBDIR)/stagetrain-libiconv/Makefile ] || exit 0; \
29194 $(MAKE) stagetrain-start; \
29195 fi; \
29196 cd $(HOST_SUBDIR)/libiconv && \
29197 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29198 @endif libiconv-bootstrap
29201 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
29202 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
29203 maybe-all-stagefeedback-libiconv:
29204 maybe-clean-stagefeedback-libiconv:
29205 @if libiconv-bootstrap
29206 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
29207 all-stagefeedback: all-stagefeedback-libiconv
29208 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
29209 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
29210 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29211 @r=`${PWD_COMMAND}`; export r; \
29212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29213 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29214 $(HOST_EXPORTS) \
29215 $(POSTSTAGE1_HOST_EXPORTS) \
29216 cd $(HOST_SUBDIR)/libiconv && \
29218 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29219 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29220 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29221 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29222 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29223 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29224 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29225 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29226 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29227 $(TARGET-stagefeedback-libiconv)
29229 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
29230 clean-stagefeedback: clean-stagefeedback-libiconv
29231 clean-stagefeedback-libiconv:
29232 @if [ $(current_stage) = stagefeedback ]; then \
29233 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29234 else \
29235 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
29236 $(MAKE) stagefeedback-start; \
29237 fi; \
29238 cd $(HOST_SUBDIR)/libiconv && \
29239 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29240 @endif libiconv-bootstrap
29243 .PHONY: all-stageautoprofile-libiconv maybe-all-stageautoprofile-libiconv
29244 .PHONY: clean-stageautoprofile-libiconv maybe-clean-stageautoprofile-libiconv
29245 maybe-all-stageautoprofile-libiconv:
29246 maybe-clean-stageautoprofile-libiconv:
29247 @if libiconv-bootstrap
29248 maybe-all-stageautoprofile-libiconv: all-stageautoprofile-libiconv
29249 all-stageautoprofile: all-stageautoprofile-libiconv
29250 TARGET-stageautoprofile-libiconv = $(TARGET-libiconv)
29251 all-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
29252 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29253 @r=`${PWD_COMMAND}`; export r; \
29254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29255 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29256 $(HOST_EXPORTS) \
29257 $(POSTSTAGE1_HOST_EXPORTS) \
29258 cd $(HOST_SUBDIR)/libiconv && \
29259 $$s/gcc/config/i386/$(AUTO_PROFILE) \
29260 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29261 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
29262 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
29263 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
29264 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29265 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29266 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29267 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29268 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
29269 $(TARGET-stageautoprofile-libiconv)
29271 maybe-clean-stageautoprofile-libiconv: clean-stageautoprofile-libiconv
29272 clean-stageautoprofile: clean-stageautoprofile-libiconv
29273 clean-stageautoprofile-libiconv:
29274 @if [ $(current_stage) = stageautoprofile ]; then \
29275 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29276 else \
29277 [ -f $(HOST_SUBDIR)/stageautoprofile-libiconv/Makefile ] || exit 0; \
29278 $(MAKE) stageautoprofile-start; \
29279 fi; \
29280 cd $(HOST_SUBDIR)/libiconv && \
29281 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29282 @endif libiconv-bootstrap
29285 .PHONY: all-stageautofeedback-libiconv maybe-all-stageautofeedback-libiconv
29286 .PHONY: clean-stageautofeedback-libiconv maybe-clean-stageautofeedback-libiconv
29287 maybe-all-stageautofeedback-libiconv:
29288 maybe-clean-stageautofeedback-libiconv:
29289 @if libiconv-bootstrap
29290 maybe-all-stageautofeedback-libiconv: all-stageautofeedback-libiconv
29291 all-stageautofeedback: all-stageautofeedback-libiconv
29292 TARGET-stageautofeedback-libiconv = $(TARGET-libiconv)
29293 all-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
29294 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29295 @r=`${PWD_COMMAND}`; export r; \
29296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29297 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29298 $(HOST_EXPORTS) \
29299 $(POSTSTAGE1_HOST_EXPORTS) \
29300 cd $(HOST_SUBDIR)/libiconv && \
29302 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29303 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
29304 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
29305 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
29306 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29307 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29308 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29309 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29310 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
29311 $(TARGET-stageautofeedback-libiconv)
29313 maybe-clean-stageautofeedback-libiconv: clean-stageautofeedback-libiconv
29314 clean-stageautofeedback: clean-stageautofeedback-libiconv
29315 clean-stageautofeedback-libiconv:
29316 @if [ $(current_stage) = stageautofeedback ]; then \
29317 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
29318 else \
29319 [ -f $(HOST_SUBDIR)/stageautofeedback-libiconv/Makefile ] || exit 0; \
29320 $(MAKE) stageautofeedback-start; \
29321 fi; \
29322 cd $(HOST_SUBDIR)/libiconv && \
29323 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29324 @endif libiconv-bootstrap
29330 .PHONY: check-libiconv maybe-check-libiconv
29331 maybe-check-libiconv:
29332 @if libiconv
29333 maybe-check-libiconv: check-libiconv
29335 check-libiconv:
29336 @: $(MAKE); $(unstage)
29337 @r=`${PWD_COMMAND}`; export r; \
29338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29339 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
29340 (cd $(HOST_SUBDIR)/libiconv && \
29341 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
29343 @endif libiconv
29345 .PHONY: install-libiconv maybe-install-libiconv
29346 maybe-install-libiconv:
29347 @if libiconv
29348 maybe-install-libiconv: install-libiconv
29350 install-libiconv:
29352 @endif libiconv
29354 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
29355 maybe-install-strip-libiconv:
29356 @if libiconv
29357 maybe-install-strip-libiconv: install-strip-libiconv
29359 install-strip-libiconv:
29361 @endif libiconv
29363 # Other targets (info, dvi, pdf, etc.)
29365 .PHONY: maybe-info-libiconv info-libiconv
29366 maybe-info-libiconv:
29367 @if libiconv
29368 maybe-info-libiconv: info-libiconv
29370 # libiconv doesn't support info.
29371 info-libiconv:
29373 @endif libiconv
29375 .PHONY: maybe-dvi-libiconv dvi-libiconv
29376 maybe-dvi-libiconv:
29377 @if libiconv
29378 maybe-dvi-libiconv: dvi-libiconv
29380 dvi-libiconv: \
29381 configure-libiconv
29382 @[ -f ./libiconv/Makefile ] || exit 0; \
29383 r=`${PWD_COMMAND}`; export r; \
29384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29385 $(HOST_EXPORTS) \
29386 for flag in $(EXTRA_HOST_FLAGS) ; do \
29387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29388 done; \
29389 echo "Doing dvi in libiconv"; \
29390 (cd $(HOST_SUBDIR)/libiconv && \
29391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29393 "RANLIB=$${RANLIB}" \
29394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29395 dvi) \
29396 || exit 1
29398 @endif libiconv
29400 .PHONY: maybe-pdf-libiconv pdf-libiconv
29401 maybe-pdf-libiconv:
29402 @if libiconv
29403 maybe-pdf-libiconv: pdf-libiconv
29405 # libiconv doesn't support pdf.
29406 pdf-libiconv:
29408 @endif libiconv
29410 .PHONY: maybe-html-libiconv html-libiconv
29411 maybe-html-libiconv:
29412 @if libiconv
29413 maybe-html-libiconv: html-libiconv
29415 # libiconv doesn't support html.
29416 html-libiconv:
29418 @endif libiconv
29420 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
29421 maybe-TAGS-libiconv:
29422 @if libiconv
29423 maybe-TAGS-libiconv: TAGS-libiconv
29425 TAGS-libiconv: \
29426 configure-libiconv
29427 @[ -f ./libiconv/Makefile ] || exit 0; \
29428 r=`${PWD_COMMAND}`; export r; \
29429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29430 $(HOST_EXPORTS) \
29431 for flag in $(EXTRA_HOST_FLAGS) ; do \
29432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29433 done; \
29434 echo "Doing TAGS in libiconv"; \
29435 (cd $(HOST_SUBDIR)/libiconv && \
29436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29438 "RANLIB=$${RANLIB}" \
29439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29440 TAGS) \
29441 || exit 1
29443 @endif libiconv
29445 .PHONY: maybe-install-info-libiconv install-info-libiconv
29446 maybe-install-info-libiconv:
29447 @if libiconv
29448 maybe-install-info-libiconv: install-info-libiconv
29450 # libiconv doesn't support install-info.
29451 install-info-libiconv:
29453 @endif libiconv
29455 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
29456 maybe-install-pdf-libiconv:
29457 @if libiconv
29458 maybe-install-pdf-libiconv: install-pdf-libiconv
29460 # libiconv doesn't support install-pdf.
29461 install-pdf-libiconv:
29463 @endif libiconv
29465 .PHONY: maybe-install-html-libiconv install-html-libiconv
29466 maybe-install-html-libiconv:
29467 @if libiconv
29468 maybe-install-html-libiconv: install-html-libiconv
29470 # libiconv doesn't support install-html.
29471 install-html-libiconv:
29473 @endif libiconv
29475 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
29476 maybe-installcheck-libiconv:
29477 @if libiconv
29478 maybe-installcheck-libiconv: installcheck-libiconv
29480 installcheck-libiconv: \
29481 configure-libiconv
29482 @[ -f ./libiconv/Makefile ] || exit 0; \
29483 r=`${PWD_COMMAND}`; export r; \
29484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29485 $(HOST_EXPORTS) \
29486 for flag in $(EXTRA_HOST_FLAGS) ; do \
29487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29488 done; \
29489 echo "Doing installcheck in libiconv"; \
29490 (cd $(HOST_SUBDIR)/libiconv && \
29491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29493 "RANLIB=$${RANLIB}" \
29494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29495 installcheck) \
29496 || exit 1
29498 @endif libiconv
29500 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
29501 maybe-mostlyclean-libiconv:
29502 @if libiconv
29503 maybe-mostlyclean-libiconv: mostlyclean-libiconv
29505 mostlyclean-libiconv:
29506 @[ -f ./libiconv/Makefile ] || exit 0; \
29507 r=`${PWD_COMMAND}`; export r; \
29508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29509 $(HOST_EXPORTS) \
29510 for flag in $(EXTRA_HOST_FLAGS) ; do \
29511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29512 done; \
29513 echo "Doing mostlyclean in libiconv"; \
29514 (cd $(HOST_SUBDIR)/libiconv && \
29515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29517 "RANLIB=$${RANLIB}" \
29518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29519 mostlyclean) \
29520 || exit 1
29522 @endif libiconv
29524 .PHONY: maybe-clean-libiconv clean-libiconv
29525 maybe-clean-libiconv:
29526 @if libiconv
29527 maybe-clean-libiconv: clean-libiconv
29529 clean-libiconv:
29530 @[ -f ./libiconv/Makefile ] || exit 0; \
29531 r=`${PWD_COMMAND}`; export r; \
29532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29533 $(HOST_EXPORTS) \
29534 for flag in $(EXTRA_HOST_FLAGS) ; do \
29535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29536 done; \
29537 echo "Doing clean in libiconv"; \
29538 (cd $(HOST_SUBDIR)/libiconv && \
29539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29541 "RANLIB=$${RANLIB}" \
29542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29543 clean) \
29544 || exit 1
29546 @endif libiconv
29548 .PHONY: maybe-distclean-libiconv distclean-libiconv
29549 maybe-distclean-libiconv:
29550 @if libiconv
29551 maybe-distclean-libiconv: distclean-libiconv
29553 distclean-libiconv:
29554 @[ -f ./libiconv/Makefile ] || exit 0; \
29555 r=`${PWD_COMMAND}`; export r; \
29556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29557 $(HOST_EXPORTS) \
29558 for flag in $(EXTRA_HOST_FLAGS) ; do \
29559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29560 done; \
29561 echo "Doing distclean in libiconv"; \
29562 (cd $(HOST_SUBDIR)/libiconv && \
29563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29565 "RANLIB=$${RANLIB}" \
29566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29567 distclean) \
29568 || exit 1
29570 @endif libiconv
29572 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
29573 maybe-maintainer-clean-libiconv:
29574 @if libiconv
29575 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
29577 maintainer-clean-libiconv:
29578 @[ -f ./libiconv/Makefile ] || exit 0; \
29579 r=`${PWD_COMMAND}`; export r; \
29580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29581 $(HOST_EXPORTS) \
29582 for flag in $(EXTRA_HOST_FLAGS) ; do \
29583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29584 done; \
29585 echo "Doing maintainer-clean in libiconv"; \
29586 (cd $(HOST_SUBDIR)/libiconv && \
29587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29589 "RANLIB=$${RANLIB}" \
29590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29591 maintainer-clean) \
29592 || exit 1
29594 @endif libiconv
29598 .PHONY: configure-m4 maybe-configure-m4
29599 maybe-configure-m4:
29600 @if gcc-bootstrap
29601 configure-m4: stage_current
29602 @endif gcc-bootstrap
29603 @if m4
29604 maybe-configure-m4: configure-m4
29605 configure-m4:
29606 @: $(MAKE); $(unstage)
29607 @r=`${PWD_COMMAND}`; export r; \
29608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29609 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
29610 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
29611 $(HOST_EXPORTS) \
29612 echo Configuring in $(HOST_SUBDIR)/m4; \
29613 cd "$(HOST_SUBDIR)/m4" || exit 1; \
29614 case $(srcdir) in \
29615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29616 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
29617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29618 esac; \
29619 module_srcdir=m4; \
29620 $(SHELL) \
29621 $$s/$$module_srcdir/configure \
29622 --srcdir=$${topdir}/$$module_srcdir \
29623 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29624 --target=${target_alias} \
29625 || exit 1
29626 @endif m4
29632 .PHONY: all-m4 maybe-all-m4
29633 maybe-all-m4:
29634 @if gcc-bootstrap
29635 all-m4: stage_current
29636 @endif gcc-bootstrap
29637 @if m4
29638 TARGET-m4=all
29639 maybe-all-m4: all-m4
29640 all-m4: configure-m4
29641 @: $(MAKE); $(unstage)
29642 @r=`${PWD_COMMAND}`; export r; \
29643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29644 $(HOST_EXPORTS) \
29645 (cd $(HOST_SUBDIR)/m4 && \
29646 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29647 $(TARGET-m4))
29648 @endif m4
29653 .PHONY: check-m4 maybe-check-m4
29654 maybe-check-m4:
29655 @if m4
29656 maybe-check-m4: check-m4
29658 check-m4:
29659 @: $(MAKE); $(unstage)
29660 @r=`${PWD_COMMAND}`; export r; \
29661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29662 $(HOST_EXPORTS) \
29663 (cd $(HOST_SUBDIR)/m4 && \
29664 $(MAKE) $(FLAGS_TO_PASS) check)
29666 @endif m4
29668 .PHONY: install-m4 maybe-install-m4
29669 maybe-install-m4:
29670 @if m4
29671 maybe-install-m4: install-m4
29673 install-m4: installdirs
29674 @: $(MAKE); $(unstage)
29675 @r=`${PWD_COMMAND}`; export r; \
29676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29677 $(HOST_EXPORTS) \
29678 (cd $(HOST_SUBDIR)/m4 && \
29679 $(MAKE) $(FLAGS_TO_PASS) install)
29681 @endif m4
29683 .PHONY: install-strip-m4 maybe-install-strip-m4
29684 maybe-install-strip-m4:
29685 @if m4
29686 maybe-install-strip-m4: install-strip-m4
29688 install-strip-m4: installdirs
29689 @: $(MAKE); $(unstage)
29690 @r=`${PWD_COMMAND}`; export r; \
29691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29692 $(HOST_EXPORTS) \
29693 (cd $(HOST_SUBDIR)/m4 && \
29694 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29696 @endif m4
29698 # Other targets (info, dvi, pdf, etc.)
29700 .PHONY: maybe-info-m4 info-m4
29701 maybe-info-m4:
29702 @if m4
29703 maybe-info-m4: info-m4
29705 info-m4: \
29706 configure-m4
29707 @: $(MAKE); $(unstage)
29708 @[ -f ./m4/Makefile ] || exit 0; \
29709 r=`${PWD_COMMAND}`; export r; \
29710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29711 $(HOST_EXPORTS) \
29712 for flag in $(EXTRA_HOST_FLAGS) ; do \
29713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29714 done; \
29715 echo "Doing info in m4"; \
29716 (cd $(HOST_SUBDIR)/m4 && \
29717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29719 "RANLIB=$${RANLIB}" \
29720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29721 info) \
29722 || exit 1
29724 @endif m4
29726 .PHONY: maybe-dvi-m4 dvi-m4
29727 maybe-dvi-m4:
29728 @if m4
29729 maybe-dvi-m4: dvi-m4
29731 dvi-m4: \
29732 configure-m4
29733 @: $(MAKE); $(unstage)
29734 @[ -f ./m4/Makefile ] || exit 0; \
29735 r=`${PWD_COMMAND}`; export r; \
29736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29737 $(HOST_EXPORTS) \
29738 for flag in $(EXTRA_HOST_FLAGS) ; do \
29739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29740 done; \
29741 echo "Doing dvi in m4"; \
29742 (cd $(HOST_SUBDIR)/m4 && \
29743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29745 "RANLIB=$${RANLIB}" \
29746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29747 dvi) \
29748 || exit 1
29750 @endif m4
29752 .PHONY: maybe-pdf-m4 pdf-m4
29753 maybe-pdf-m4:
29754 @if m4
29755 maybe-pdf-m4: pdf-m4
29757 pdf-m4: \
29758 configure-m4
29759 @: $(MAKE); $(unstage)
29760 @[ -f ./m4/Makefile ] || exit 0; \
29761 r=`${PWD_COMMAND}`; export r; \
29762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29763 $(HOST_EXPORTS) \
29764 for flag in $(EXTRA_HOST_FLAGS) ; do \
29765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29766 done; \
29767 echo "Doing pdf in m4"; \
29768 (cd $(HOST_SUBDIR)/m4 && \
29769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29771 "RANLIB=$${RANLIB}" \
29772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29773 pdf) \
29774 || exit 1
29776 @endif m4
29778 .PHONY: maybe-html-m4 html-m4
29779 maybe-html-m4:
29780 @if m4
29781 maybe-html-m4: html-m4
29783 html-m4: \
29784 configure-m4
29785 @: $(MAKE); $(unstage)
29786 @[ -f ./m4/Makefile ] || exit 0; \
29787 r=`${PWD_COMMAND}`; export r; \
29788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29789 $(HOST_EXPORTS) \
29790 for flag in $(EXTRA_HOST_FLAGS) ; do \
29791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29792 done; \
29793 echo "Doing html in m4"; \
29794 (cd $(HOST_SUBDIR)/m4 && \
29795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29797 "RANLIB=$${RANLIB}" \
29798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29799 html) \
29800 || exit 1
29802 @endif m4
29804 .PHONY: maybe-TAGS-m4 TAGS-m4
29805 maybe-TAGS-m4:
29806 @if m4
29807 maybe-TAGS-m4: TAGS-m4
29809 TAGS-m4: \
29810 configure-m4
29811 @: $(MAKE); $(unstage)
29812 @[ -f ./m4/Makefile ] || exit 0; \
29813 r=`${PWD_COMMAND}`; export r; \
29814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29815 $(HOST_EXPORTS) \
29816 for flag in $(EXTRA_HOST_FLAGS) ; do \
29817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29818 done; \
29819 echo "Doing TAGS in m4"; \
29820 (cd $(HOST_SUBDIR)/m4 && \
29821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29823 "RANLIB=$${RANLIB}" \
29824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29825 TAGS) \
29826 || exit 1
29828 @endif m4
29830 .PHONY: maybe-install-info-m4 install-info-m4
29831 maybe-install-info-m4:
29832 @if m4
29833 maybe-install-info-m4: install-info-m4
29835 install-info-m4: \
29836 configure-m4 \
29837 info-m4
29838 @: $(MAKE); $(unstage)
29839 @[ -f ./m4/Makefile ] || exit 0; \
29840 r=`${PWD_COMMAND}`; export r; \
29841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29842 $(HOST_EXPORTS) \
29843 for flag in $(EXTRA_HOST_FLAGS) ; do \
29844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29845 done; \
29846 echo "Doing install-info in m4"; \
29847 (cd $(HOST_SUBDIR)/m4 && \
29848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29850 "RANLIB=$${RANLIB}" \
29851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29852 install-info) \
29853 || exit 1
29855 @endif m4
29857 .PHONY: maybe-install-pdf-m4 install-pdf-m4
29858 maybe-install-pdf-m4:
29859 @if m4
29860 maybe-install-pdf-m4: install-pdf-m4
29862 install-pdf-m4: \
29863 configure-m4 \
29864 pdf-m4
29865 @: $(MAKE); $(unstage)
29866 @[ -f ./m4/Makefile ] || exit 0; \
29867 r=`${PWD_COMMAND}`; export r; \
29868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29869 $(HOST_EXPORTS) \
29870 for flag in $(EXTRA_HOST_FLAGS) ; do \
29871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29872 done; \
29873 echo "Doing install-pdf in m4"; \
29874 (cd $(HOST_SUBDIR)/m4 && \
29875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29877 "RANLIB=$${RANLIB}" \
29878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29879 install-pdf) \
29880 || exit 1
29882 @endif m4
29884 .PHONY: maybe-install-html-m4 install-html-m4
29885 maybe-install-html-m4:
29886 @if m4
29887 maybe-install-html-m4: install-html-m4
29889 install-html-m4: \
29890 configure-m4 \
29891 html-m4
29892 @: $(MAKE); $(unstage)
29893 @[ -f ./m4/Makefile ] || exit 0; \
29894 r=`${PWD_COMMAND}`; export r; \
29895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29896 $(HOST_EXPORTS) \
29897 for flag in $(EXTRA_HOST_FLAGS) ; do \
29898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29899 done; \
29900 echo "Doing install-html in m4"; \
29901 (cd $(HOST_SUBDIR)/m4 && \
29902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29904 "RANLIB=$${RANLIB}" \
29905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29906 install-html) \
29907 || exit 1
29909 @endif m4
29911 .PHONY: maybe-installcheck-m4 installcheck-m4
29912 maybe-installcheck-m4:
29913 @if m4
29914 maybe-installcheck-m4: installcheck-m4
29916 installcheck-m4: \
29917 configure-m4
29918 @: $(MAKE); $(unstage)
29919 @[ -f ./m4/Makefile ] || exit 0; \
29920 r=`${PWD_COMMAND}`; export r; \
29921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29922 $(HOST_EXPORTS) \
29923 for flag in $(EXTRA_HOST_FLAGS) ; do \
29924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29925 done; \
29926 echo "Doing installcheck in m4"; \
29927 (cd $(HOST_SUBDIR)/m4 && \
29928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29930 "RANLIB=$${RANLIB}" \
29931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29932 installcheck) \
29933 || exit 1
29935 @endif m4
29937 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
29938 maybe-mostlyclean-m4:
29939 @if m4
29940 maybe-mostlyclean-m4: mostlyclean-m4
29942 mostlyclean-m4:
29943 @: $(MAKE); $(unstage)
29944 @[ -f ./m4/Makefile ] || exit 0; \
29945 r=`${PWD_COMMAND}`; export r; \
29946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29947 $(HOST_EXPORTS) \
29948 for flag in $(EXTRA_HOST_FLAGS) ; do \
29949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29950 done; \
29951 echo "Doing mostlyclean in m4"; \
29952 (cd $(HOST_SUBDIR)/m4 && \
29953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29955 "RANLIB=$${RANLIB}" \
29956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29957 mostlyclean) \
29958 || exit 1
29960 @endif m4
29962 .PHONY: maybe-clean-m4 clean-m4
29963 maybe-clean-m4:
29964 @if m4
29965 maybe-clean-m4: clean-m4
29967 clean-m4:
29968 @: $(MAKE); $(unstage)
29969 @[ -f ./m4/Makefile ] || exit 0; \
29970 r=`${PWD_COMMAND}`; export r; \
29971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29972 $(HOST_EXPORTS) \
29973 for flag in $(EXTRA_HOST_FLAGS) ; do \
29974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29975 done; \
29976 echo "Doing clean in m4"; \
29977 (cd $(HOST_SUBDIR)/m4 && \
29978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29980 "RANLIB=$${RANLIB}" \
29981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29982 clean) \
29983 || exit 1
29985 @endif m4
29987 .PHONY: maybe-distclean-m4 distclean-m4
29988 maybe-distclean-m4:
29989 @if m4
29990 maybe-distclean-m4: distclean-m4
29992 distclean-m4:
29993 @: $(MAKE); $(unstage)
29994 @[ -f ./m4/Makefile ] || exit 0; \
29995 r=`${PWD_COMMAND}`; export r; \
29996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29997 $(HOST_EXPORTS) \
29998 for flag in $(EXTRA_HOST_FLAGS) ; do \
29999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30000 done; \
30001 echo "Doing distclean in m4"; \
30002 (cd $(HOST_SUBDIR)/m4 && \
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 distclean) \
30008 || exit 1
30010 @endif m4
30012 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
30013 maybe-maintainer-clean-m4:
30014 @if m4
30015 maybe-maintainer-clean-m4: maintainer-clean-m4
30017 maintainer-clean-m4:
30018 @: $(MAKE); $(unstage)
30019 @[ -f ./m4/Makefile ] || exit 0; \
30020 r=`${PWD_COMMAND}`; export r; \
30021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30022 $(HOST_EXPORTS) \
30023 for flag in $(EXTRA_HOST_FLAGS) ; do \
30024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30025 done; \
30026 echo "Doing maintainer-clean in m4"; \
30027 (cd $(HOST_SUBDIR)/m4 && \
30028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30030 "RANLIB=$${RANLIB}" \
30031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30032 maintainer-clean) \
30033 || exit 1
30035 @endif m4
30039 .PHONY: configure-readline maybe-configure-readline
30040 maybe-configure-readline:
30041 @if gcc-bootstrap
30042 configure-readline: stage_current
30043 @endif gcc-bootstrap
30044 @if readline
30045 maybe-configure-readline: configure-readline
30046 configure-readline:
30047 @: $(MAKE); $(unstage)
30048 @r=`${PWD_COMMAND}`; export r; \
30049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30050 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
30051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
30052 $(HOST_EXPORTS) \
30053 echo Configuring in $(HOST_SUBDIR)/readline; \
30054 cd "$(HOST_SUBDIR)/readline" || exit 1; \
30055 case $(srcdir) in \
30056 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30057 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
30058 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30059 esac; \
30060 module_srcdir=readline; \
30061 $(SHELL) \
30062 $$s/$$module_srcdir/configure \
30063 --srcdir=$${topdir}/$$module_srcdir \
30064 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30065 --target=${target_alias} \
30066 || exit 1
30067 @endif readline
30073 .PHONY: all-readline maybe-all-readline
30074 maybe-all-readline:
30075 @if gcc-bootstrap
30076 all-readline: stage_current
30077 @endif gcc-bootstrap
30078 @if readline
30079 TARGET-readline=all
30080 maybe-all-readline: all-readline
30081 all-readline: configure-readline
30082 @: $(MAKE); $(unstage)
30083 @r=`${PWD_COMMAND}`; export r; \
30084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30085 $(HOST_EXPORTS) \
30086 (cd $(HOST_SUBDIR)/readline && \
30087 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30088 $(TARGET-readline))
30089 @endif readline
30094 .PHONY: check-readline maybe-check-readline
30095 maybe-check-readline:
30096 @if readline
30097 maybe-check-readline: check-readline
30099 check-readline:
30100 @: $(MAKE); $(unstage)
30101 @r=`${PWD_COMMAND}`; export r; \
30102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30103 $(HOST_EXPORTS) \
30104 (cd $(HOST_SUBDIR)/readline && \
30105 $(MAKE) $(FLAGS_TO_PASS) check)
30107 @endif readline
30109 .PHONY: install-readline maybe-install-readline
30110 maybe-install-readline:
30111 @if readline
30112 maybe-install-readline: install-readline
30114 install-readline: installdirs
30115 @: $(MAKE); $(unstage)
30116 @r=`${PWD_COMMAND}`; export r; \
30117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30118 $(HOST_EXPORTS) \
30119 (cd $(HOST_SUBDIR)/readline && \
30120 $(MAKE) $(FLAGS_TO_PASS) install)
30122 @endif readline
30124 .PHONY: install-strip-readline maybe-install-strip-readline
30125 maybe-install-strip-readline:
30126 @if readline
30127 maybe-install-strip-readline: install-strip-readline
30129 install-strip-readline: installdirs
30130 @: $(MAKE); $(unstage)
30131 @r=`${PWD_COMMAND}`; export r; \
30132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30133 $(HOST_EXPORTS) \
30134 (cd $(HOST_SUBDIR)/readline && \
30135 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30137 @endif readline
30139 # Other targets (info, dvi, pdf, etc.)
30141 .PHONY: maybe-info-readline info-readline
30142 maybe-info-readline:
30143 @if readline
30144 maybe-info-readline: info-readline
30146 info-readline: \
30147 configure-readline
30148 @: $(MAKE); $(unstage)
30149 @[ -f ./readline/Makefile ] || exit 0; \
30150 r=`${PWD_COMMAND}`; export r; \
30151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30152 $(HOST_EXPORTS) \
30153 for flag in $(EXTRA_HOST_FLAGS) ; do \
30154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30155 done; \
30156 echo "Doing info in readline"; \
30157 (cd $(HOST_SUBDIR)/readline && \
30158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30160 "RANLIB=$${RANLIB}" \
30161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30162 info) \
30163 || exit 1
30165 @endif readline
30167 .PHONY: maybe-dvi-readline dvi-readline
30168 maybe-dvi-readline:
30169 @if readline
30170 maybe-dvi-readline: dvi-readline
30172 dvi-readline: \
30173 configure-readline
30174 @: $(MAKE); $(unstage)
30175 @[ -f ./readline/Makefile ] || exit 0; \
30176 r=`${PWD_COMMAND}`; export r; \
30177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30178 $(HOST_EXPORTS) \
30179 for flag in $(EXTRA_HOST_FLAGS) ; do \
30180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30181 done; \
30182 echo "Doing dvi in readline"; \
30183 (cd $(HOST_SUBDIR)/readline && \
30184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30186 "RANLIB=$${RANLIB}" \
30187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30188 dvi) \
30189 || exit 1
30191 @endif readline
30193 .PHONY: maybe-pdf-readline pdf-readline
30194 maybe-pdf-readline:
30195 @if readline
30196 maybe-pdf-readline: pdf-readline
30198 pdf-readline: \
30199 configure-readline
30200 @: $(MAKE); $(unstage)
30201 @[ -f ./readline/Makefile ] || exit 0; \
30202 r=`${PWD_COMMAND}`; export r; \
30203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30204 $(HOST_EXPORTS) \
30205 for flag in $(EXTRA_HOST_FLAGS) ; do \
30206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30207 done; \
30208 echo "Doing pdf in readline"; \
30209 (cd $(HOST_SUBDIR)/readline && \
30210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30212 "RANLIB=$${RANLIB}" \
30213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30214 pdf) \
30215 || exit 1
30217 @endif readline
30219 .PHONY: maybe-html-readline html-readline
30220 maybe-html-readline:
30221 @if readline
30222 maybe-html-readline: html-readline
30224 html-readline: \
30225 configure-readline
30226 @: $(MAKE); $(unstage)
30227 @[ -f ./readline/Makefile ] || exit 0; \
30228 r=`${PWD_COMMAND}`; export r; \
30229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30230 $(HOST_EXPORTS) \
30231 for flag in $(EXTRA_HOST_FLAGS) ; do \
30232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30233 done; \
30234 echo "Doing html in readline"; \
30235 (cd $(HOST_SUBDIR)/readline && \
30236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30238 "RANLIB=$${RANLIB}" \
30239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30240 html) \
30241 || exit 1
30243 @endif readline
30245 .PHONY: maybe-TAGS-readline TAGS-readline
30246 maybe-TAGS-readline:
30247 @if readline
30248 maybe-TAGS-readline: TAGS-readline
30250 TAGS-readline: \
30251 configure-readline
30252 @: $(MAKE); $(unstage)
30253 @[ -f ./readline/Makefile ] || exit 0; \
30254 r=`${PWD_COMMAND}`; export r; \
30255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30256 $(HOST_EXPORTS) \
30257 for flag in $(EXTRA_HOST_FLAGS) ; do \
30258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30259 done; \
30260 echo "Doing TAGS in readline"; \
30261 (cd $(HOST_SUBDIR)/readline && \
30262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30264 "RANLIB=$${RANLIB}" \
30265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30266 TAGS) \
30267 || exit 1
30269 @endif readline
30271 .PHONY: maybe-install-info-readline install-info-readline
30272 maybe-install-info-readline:
30273 @if readline
30274 maybe-install-info-readline: install-info-readline
30276 install-info-readline: \
30277 configure-readline \
30278 info-readline
30279 @: $(MAKE); $(unstage)
30280 @[ -f ./readline/Makefile ] || exit 0; \
30281 r=`${PWD_COMMAND}`; export r; \
30282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30283 $(HOST_EXPORTS) \
30284 for flag in $(EXTRA_HOST_FLAGS) ; do \
30285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30286 done; \
30287 echo "Doing install-info in readline"; \
30288 (cd $(HOST_SUBDIR)/readline && \
30289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30291 "RANLIB=$${RANLIB}" \
30292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30293 install-info) \
30294 || exit 1
30296 @endif readline
30298 .PHONY: maybe-install-pdf-readline install-pdf-readline
30299 maybe-install-pdf-readline:
30300 @if readline
30301 maybe-install-pdf-readline: install-pdf-readline
30303 install-pdf-readline: \
30304 configure-readline \
30305 pdf-readline
30306 @: $(MAKE); $(unstage)
30307 @[ -f ./readline/Makefile ] || exit 0; \
30308 r=`${PWD_COMMAND}`; export r; \
30309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30310 $(HOST_EXPORTS) \
30311 for flag in $(EXTRA_HOST_FLAGS) ; do \
30312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30313 done; \
30314 echo "Doing install-pdf in readline"; \
30315 (cd $(HOST_SUBDIR)/readline && \
30316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30318 "RANLIB=$${RANLIB}" \
30319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30320 install-pdf) \
30321 || exit 1
30323 @endif readline
30325 .PHONY: maybe-install-html-readline install-html-readline
30326 maybe-install-html-readline:
30327 @if readline
30328 maybe-install-html-readline: install-html-readline
30330 install-html-readline: \
30331 configure-readline \
30332 html-readline
30333 @: $(MAKE); $(unstage)
30334 @[ -f ./readline/Makefile ] || exit 0; \
30335 r=`${PWD_COMMAND}`; export r; \
30336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30337 $(HOST_EXPORTS) \
30338 for flag in $(EXTRA_HOST_FLAGS) ; do \
30339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30340 done; \
30341 echo "Doing install-html in readline"; \
30342 (cd $(HOST_SUBDIR)/readline && \
30343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30345 "RANLIB=$${RANLIB}" \
30346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30347 install-html) \
30348 || exit 1
30350 @endif readline
30352 .PHONY: maybe-installcheck-readline installcheck-readline
30353 maybe-installcheck-readline:
30354 @if readline
30355 maybe-installcheck-readline: installcheck-readline
30357 installcheck-readline: \
30358 configure-readline
30359 @: $(MAKE); $(unstage)
30360 @[ -f ./readline/Makefile ] || exit 0; \
30361 r=`${PWD_COMMAND}`; export r; \
30362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30363 $(HOST_EXPORTS) \
30364 for flag in $(EXTRA_HOST_FLAGS) ; do \
30365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30366 done; \
30367 echo "Doing installcheck in readline"; \
30368 (cd $(HOST_SUBDIR)/readline && \
30369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30371 "RANLIB=$${RANLIB}" \
30372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30373 installcheck) \
30374 || exit 1
30376 @endif readline
30378 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
30379 maybe-mostlyclean-readline:
30380 @if readline
30381 maybe-mostlyclean-readline: mostlyclean-readline
30383 mostlyclean-readline:
30384 @: $(MAKE); $(unstage)
30385 @[ -f ./readline/Makefile ] || exit 0; \
30386 r=`${PWD_COMMAND}`; export r; \
30387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30388 $(HOST_EXPORTS) \
30389 for flag in $(EXTRA_HOST_FLAGS) ; do \
30390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30391 done; \
30392 echo "Doing mostlyclean in readline"; \
30393 (cd $(HOST_SUBDIR)/readline && \
30394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30396 "RANLIB=$${RANLIB}" \
30397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30398 mostlyclean) \
30399 || exit 1
30401 @endif readline
30403 .PHONY: maybe-clean-readline clean-readline
30404 maybe-clean-readline:
30405 @if readline
30406 maybe-clean-readline: clean-readline
30408 clean-readline:
30409 @: $(MAKE); $(unstage)
30410 @[ -f ./readline/Makefile ] || exit 0; \
30411 r=`${PWD_COMMAND}`; export r; \
30412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30413 $(HOST_EXPORTS) \
30414 for flag in $(EXTRA_HOST_FLAGS) ; do \
30415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30416 done; \
30417 echo "Doing clean in readline"; \
30418 (cd $(HOST_SUBDIR)/readline && \
30419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30421 "RANLIB=$${RANLIB}" \
30422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30423 clean) \
30424 || exit 1
30426 @endif readline
30428 .PHONY: maybe-distclean-readline distclean-readline
30429 maybe-distclean-readline:
30430 @if readline
30431 maybe-distclean-readline: distclean-readline
30433 distclean-readline:
30434 @: $(MAKE); $(unstage)
30435 @[ -f ./readline/Makefile ] || exit 0; \
30436 r=`${PWD_COMMAND}`; export r; \
30437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30438 $(HOST_EXPORTS) \
30439 for flag in $(EXTRA_HOST_FLAGS) ; do \
30440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30441 done; \
30442 echo "Doing distclean in readline"; \
30443 (cd $(HOST_SUBDIR)/readline && \
30444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30446 "RANLIB=$${RANLIB}" \
30447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30448 distclean) \
30449 || exit 1
30451 @endif readline
30453 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
30454 maybe-maintainer-clean-readline:
30455 @if readline
30456 maybe-maintainer-clean-readline: maintainer-clean-readline
30458 maintainer-clean-readline:
30459 @: $(MAKE); $(unstage)
30460 @[ -f ./readline/Makefile ] || exit 0; \
30461 r=`${PWD_COMMAND}`; export r; \
30462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30463 $(HOST_EXPORTS) \
30464 for flag in $(EXTRA_HOST_FLAGS) ; do \
30465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30466 done; \
30467 echo "Doing maintainer-clean in readline"; \
30468 (cd $(HOST_SUBDIR)/readline && \
30469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30471 "RANLIB=$${RANLIB}" \
30472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30473 maintainer-clean) \
30474 || exit 1
30476 @endif readline
30480 .PHONY: configure-sid maybe-configure-sid
30481 maybe-configure-sid:
30482 @if gcc-bootstrap
30483 configure-sid: stage_current
30484 @endif gcc-bootstrap
30485 @if sid
30486 maybe-configure-sid: configure-sid
30487 configure-sid:
30488 @: $(MAKE); $(unstage)
30489 @r=`${PWD_COMMAND}`; export r; \
30490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30491 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
30492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
30493 $(HOST_EXPORTS) \
30494 echo Configuring in $(HOST_SUBDIR)/sid; \
30495 cd "$(HOST_SUBDIR)/sid" || exit 1; \
30496 case $(srcdir) in \
30497 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30498 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
30499 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30500 esac; \
30501 module_srcdir=sid; \
30502 $(SHELL) \
30503 $$s/$$module_srcdir/configure \
30504 --srcdir=$${topdir}/$$module_srcdir \
30505 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30506 --target=${target_alias} \
30507 || exit 1
30508 @endif sid
30514 .PHONY: all-sid maybe-all-sid
30515 maybe-all-sid:
30516 @if gcc-bootstrap
30517 all-sid: stage_current
30518 @endif gcc-bootstrap
30519 @if sid
30520 TARGET-sid=all
30521 maybe-all-sid: all-sid
30522 all-sid: configure-sid
30523 @: $(MAKE); $(unstage)
30524 @r=`${PWD_COMMAND}`; export r; \
30525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30526 $(HOST_EXPORTS) \
30527 (cd $(HOST_SUBDIR)/sid && \
30528 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30529 $(TARGET-sid))
30530 @endif sid
30535 .PHONY: check-sid maybe-check-sid
30536 maybe-check-sid:
30537 @if sid
30538 maybe-check-sid: check-sid
30540 check-sid:
30541 @: $(MAKE); $(unstage)
30542 @r=`${PWD_COMMAND}`; export r; \
30543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30544 $(HOST_EXPORTS) \
30545 (cd $(HOST_SUBDIR)/sid && \
30546 $(MAKE) $(FLAGS_TO_PASS) check)
30548 @endif sid
30550 .PHONY: install-sid maybe-install-sid
30551 maybe-install-sid:
30552 @if sid
30553 maybe-install-sid: install-sid
30555 install-sid: installdirs
30556 @: $(MAKE); $(unstage)
30557 @r=`${PWD_COMMAND}`; export r; \
30558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30559 $(HOST_EXPORTS) \
30560 (cd $(HOST_SUBDIR)/sid && \
30561 $(MAKE) $(FLAGS_TO_PASS) install)
30563 @endif sid
30565 .PHONY: install-strip-sid maybe-install-strip-sid
30566 maybe-install-strip-sid:
30567 @if sid
30568 maybe-install-strip-sid: install-strip-sid
30570 install-strip-sid: installdirs
30571 @: $(MAKE); $(unstage)
30572 @r=`${PWD_COMMAND}`; export r; \
30573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30574 $(HOST_EXPORTS) \
30575 (cd $(HOST_SUBDIR)/sid && \
30576 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30578 @endif sid
30580 # Other targets (info, dvi, pdf, etc.)
30582 .PHONY: maybe-info-sid info-sid
30583 maybe-info-sid:
30584 @if sid
30585 maybe-info-sid: info-sid
30587 info-sid: \
30588 configure-sid
30589 @: $(MAKE); $(unstage)
30590 @[ -f ./sid/Makefile ] || exit 0; \
30591 r=`${PWD_COMMAND}`; export r; \
30592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30593 $(HOST_EXPORTS) \
30594 for flag in $(EXTRA_HOST_FLAGS) ; do \
30595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30596 done; \
30597 echo "Doing info in sid"; \
30598 (cd $(HOST_SUBDIR)/sid && \
30599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30601 "RANLIB=$${RANLIB}" \
30602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30603 info) \
30604 || exit 1
30606 @endif sid
30608 .PHONY: maybe-dvi-sid dvi-sid
30609 maybe-dvi-sid:
30610 @if sid
30611 maybe-dvi-sid: dvi-sid
30613 dvi-sid: \
30614 configure-sid
30615 @: $(MAKE); $(unstage)
30616 @[ -f ./sid/Makefile ] || exit 0; \
30617 r=`${PWD_COMMAND}`; export r; \
30618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30619 $(HOST_EXPORTS) \
30620 for flag in $(EXTRA_HOST_FLAGS) ; do \
30621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30622 done; \
30623 echo "Doing dvi in sid"; \
30624 (cd $(HOST_SUBDIR)/sid && \
30625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30627 "RANLIB=$${RANLIB}" \
30628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30629 dvi) \
30630 || exit 1
30632 @endif sid
30634 .PHONY: maybe-pdf-sid pdf-sid
30635 maybe-pdf-sid:
30636 @if sid
30637 maybe-pdf-sid: pdf-sid
30639 pdf-sid: \
30640 configure-sid
30641 @: $(MAKE); $(unstage)
30642 @[ -f ./sid/Makefile ] || exit 0; \
30643 r=`${PWD_COMMAND}`; export r; \
30644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30645 $(HOST_EXPORTS) \
30646 for flag in $(EXTRA_HOST_FLAGS) ; do \
30647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30648 done; \
30649 echo "Doing pdf in sid"; \
30650 (cd $(HOST_SUBDIR)/sid && \
30651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30653 "RANLIB=$${RANLIB}" \
30654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30655 pdf) \
30656 || exit 1
30658 @endif sid
30660 .PHONY: maybe-html-sid html-sid
30661 maybe-html-sid:
30662 @if sid
30663 maybe-html-sid: html-sid
30665 html-sid: \
30666 configure-sid
30667 @: $(MAKE); $(unstage)
30668 @[ -f ./sid/Makefile ] || exit 0; \
30669 r=`${PWD_COMMAND}`; export r; \
30670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30671 $(HOST_EXPORTS) \
30672 for flag in $(EXTRA_HOST_FLAGS) ; do \
30673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30674 done; \
30675 echo "Doing html in sid"; \
30676 (cd $(HOST_SUBDIR)/sid && \
30677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30679 "RANLIB=$${RANLIB}" \
30680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30681 html) \
30682 || exit 1
30684 @endif sid
30686 .PHONY: maybe-TAGS-sid TAGS-sid
30687 maybe-TAGS-sid:
30688 @if sid
30689 maybe-TAGS-sid: TAGS-sid
30691 TAGS-sid: \
30692 configure-sid
30693 @: $(MAKE); $(unstage)
30694 @[ -f ./sid/Makefile ] || exit 0; \
30695 r=`${PWD_COMMAND}`; export r; \
30696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30697 $(HOST_EXPORTS) \
30698 for flag in $(EXTRA_HOST_FLAGS) ; do \
30699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30700 done; \
30701 echo "Doing TAGS in sid"; \
30702 (cd $(HOST_SUBDIR)/sid && \
30703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30705 "RANLIB=$${RANLIB}" \
30706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30707 TAGS) \
30708 || exit 1
30710 @endif sid
30712 .PHONY: maybe-install-info-sid install-info-sid
30713 maybe-install-info-sid:
30714 @if sid
30715 maybe-install-info-sid: install-info-sid
30717 install-info-sid: \
30718 configure-sid \
30719 info-sid
30720 @: $(MAKE); $(unstage)
30721 @[ -f ./sid/Makefile ] || exit 0; \
30722 r=`${PWD_COMMAND}`; export r; \
30723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30724 $(HOST_EXPORTS) \
30725 for flag in $(EXTRA_HOST_FLAGS) ; do \
30726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30727 done; \
30728 echo "Doing install-info in sid"; \
30729 (cd $(HOST_SUBDIR)/sid && \
30730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30732 "RANLIB=$${RANLIB}" \
30733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30734 install-info) \
30735 || exit 1
30737 @endif sid
30739 .PHONY: maybe-install-pdf-sid install-pdf-sid
30740 maybe-install-pdf-sid:
30741 @if sid
30742 maybe-install-pdf-sid: install-pdf-sid
30744 install-pdf-sid: \
30745 configure-sid \
30746 pdf-sid
30747 @: $(MAKE); $(unstage)
30748 @[ -f ./sid/Makefile ] || exit 0; \
30749 r=`${PWD_COMMAND}`; export r; \
30750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30751 $(HOST_EXPORTS) \
30752 for flag in $(EXTRA_HOST_FLAGS) ; do \
30753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30754 done; \
30755 echo "Doing install-pdf in sid"; \
30756 (cd $(HOST_SUBDIR)/sid && \
30757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30759 "RANLIB=$${RANLIB}" \
30760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30761 install-pdf) \
30762 || exit 1
30764 @endif sid
30766 .PHONY: maybe-install-html-sid install-html-sid
30767 maybe-install-html-sid:
30768 @if sid
30769 maybe-install-html-sid: install-html-sid
30771 install-html-sid: \
30772 configure-sid \
30773 html-sid
30774 @: $(MAKE); $(unstage)
30775 @[ -f ./sid/Makefile ] || exit 0; \
30776 r=`${PWD_COMMAND}`; export r; \
30777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30778 $(HOST_EXPORTS) \
30779 for flag in $(EXTRA_HOST_FLAGS) ; do \
30780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30781 done; \
30782 echo "Doing install-html in sid"; \
30783 (cd $(HOST_SUBDIR)/sid && \
30784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30786 "RANLIB=$${RANLIB}" \
30787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30788 install-html) \
30789 || exit 1
30791 @endif sid
30793 .PHONY: maybe-installcheck-sid installcheck-sid
30794 maybe-installcheck-sid:
30795 @if sid
30796 maybe-installcheck-sid: installcheck-sid
30798 installcheck-sid: \
30799 configure-sid
30800 @: $(MAKE); $(unstage)
30801 @[ -f ./sid/Makefile ] || exit 0; \
30802 r=`${PWD_COMMAND}`; export r; \
30803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30804 $(HOST_EXPORTS) \
30805 for flag in $(EXTRA_HOST_FLAGS) ; do \
30806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30807 done; \
30808 echo "Doing installcheck in sid"; \
30809 (cd $(HOST_SUBDIR)/sid && \
30810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30812 "RANLIB=$${RANLIB}" \
30813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30814 installcheck) \
30815 || exit 1
30817 @endif sid
30819 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
30820 maybe-mostlyclean-sid:
30821 @if sid
30822 maybe-mostlyclean-sid: mostlyclean-sid
30824 mostlyclean-sid:
30825 @: $(MAKE); $(unstage)
30826 @[ -f ./sid/Makefile ] || exit 0; \
30827 r=`${PWD_COMMAND}`; export r; \
30828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30829 $(HOST_EXPORTS) \
30830 for flag in $(EXTRA_HOST_FLAGS) ; do \
30831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30832 done; \
30833 echo "Doing mostlyclean in sid"; \
30834 (cd $(HOST_SUBDIR)/sid && \
30835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30837 "RANLIB=$${RANLIB}" \
30838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30839 mostlyclean) \
30840 || exit 1
30842 @endif sid
30844 .PHONY: maybe-clean-sid clean-sid
30845 maybe-clean-sid:
30846 @if sid
30847 maybe-clean-sid: clean-sid
30849 clean-sid:
30850 @: $(MAKE); $(unstage)
30851 @[ -f ./sid/Makefile ] || exit 0; \
30852 r=`${PWD_COMMAND}`; export r; \
30853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30854 $(HOST_EXPORTS) \
30855 for flag in $(EXTRA_HOST_FLAGS) ; do \
30856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30857 done; \
30858 echo "Doing clean in sid"; \
30859 (cd $(HOST_SUBDIR)/sid && \
30860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30862 "RANLIB=$${RANLIB}" \
30863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30864 clean) \
30865 || exit 1
30867 @endif sid
30869 .PHONY: maybe-distclean-sid distclean-sid
30870 maybe-distclean-sid:
30871 @if sid
30872 maybe-distclean-sid: distclean-sid
30874 distclean-sid:
30875 @: $(MAKE); $(unstage)
30876 @[ -f ./sid/Makefile ] || exit 0; \
30877 r=`${PWD_COMMAND}`; export r; \
30878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30879 $(HOST_EXPORTS) \
30880 for flag in $(EXTRA_HOST_FLAGS) ; do \
30881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30882 done; \
30883 echo "Doing distclean in sid"; \
30884 (cd $(HOST_SUBDIR)/sid && \
30885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30887 "RANLIB=$${RANLIB}" \
30888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30889 distclean) \
30890 || exit 1
30892 @endif sid
30894 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
30895 maybe-maintainer-clean-sid:
30896 @if sid
30897 maybe-maintainer-clean-sid: maintainer-clean-sid
30899 maintainer-clean-sid:
30900 @: $(MAKE); $(unstage)
30901 @[ -f ./sid/Makefile ] || exit 0; \
30902 r=`${PWD_COMMAND}`; export r; \
30903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30904 $(HOST_EXPORTS) \
30905 for flag in $(EXTRA_HOST_FLAGS) ; do \
30906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30907 done; \
30908 echo "Doing maintainer-clean in sid"; \
30909 (cd $(HOST_SUBDIR)/sid && \
30910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30912 "RANLIB=$${RANLIB}" \
30913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30914 maintainer-clean) \
30915 || exit 1
30917 @endif sid
30921 .PHONY: configure-sim maybe-configure-sim
30922 maybe-configure-sim:
30923 @if gcc-bootstrap
30924 configure-sim: stage_current
30925 @endif gcc-bootstrap
30926 @if sim
30927 maybe-configure-sim: configure-sim
30928 configure-sim:
30929 @: $(MAKE); $(unstage)
30930 @r=`${PWD_COMMAND}`; export r; \
30931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30932 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
30933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
30934 $(HOST_EXPORTS) \
30935 echo Configuring in $(HOST_SUBDIR)/sim; \
30936 cd "$(HOST_SUBDIR)/sim" || exit 1; \
30937 case $(srcdir) in \
30938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30939 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
30940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30941 esac; \
30942 module_srcdir=sim; \
30943 $(SHELL) \
30944 $$s/$$module_srcdir/configure \
30945 --srcdir=$${topdir}/$$module_srcdir \
30946 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30947 --target=${target_alias} \
30948 || exit 1
30949 @endif sim
30955 .PHONY: all-sim maybe-all-sim
30956 maybe-all-sim:
30957 @if gcc-bootstrap
30958 all-sim: stage_current
30959 @endif gcc-bootstrap
30960 @if sim
30961 TARGET-sim=all
30962 maybe-all-sim: all-sim
30963 all-sim: configure-sim
30964 @: $(MAKE); $(unstage)
30965 @r=`${PWD_COMMAND}`; export r; \
30966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30967 $(HOST_EXPORTS) \
30968 (cd $(HOST_SUBDIR)/sim && \
30969 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30970 $(TARGET-sim))
30971 @endif sim
30976 .PHONY: check-sim maybe-check-sim
30977 maybe-check-sim:
30978 @if sim
30979 maybe-check-sim: check-sim
30981 check-sim:
30982 @: $(MAKE); $(unstage)
30983 @r=`${PWD_COMMAND}`; export r; \
30984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30985 $(HOST_EXPORTS) \
30986 (cd $(HOST_SUBDIR)/sim && \
30987 $(MAKE) $(FLAGS_TO_PASS) check)
30989 @endif sim
30991 .PHONY: install-sim maybe-install-sim
30992 maybe-install-sim:
30993 @if sim
30994 maybe-install-sim: install-sim
30996 install-sim: installdirs
30997 @: $(MAKE); $(unstage)
30998 @r=`${PWD_COMMAND}`; export r; \
30999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31000 $(HOST_EXPORTS) \
31001 (cd $(HOST_SUBDIR)/sim && \
31002 $(MAKE) $(FLAGS_TO_PASS) install)
31004 @endif sim
31006 .PHONY: install-strip-sim maybe-install-strip-sim
31007 maybe-install-strip-sim:
31008 @if sim
31009 maybe-install-strip-sim: install-strip-sim
31011 install-strip-sim: installdirs
31012 @: $(MAKE); $(unstage)
31013 @r=`${PWD_COMMAND}`; export r; \
31014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31015 $(HOST_EXPORTS) \
31016 (cd $(HOST_SUBDIR)/sim && \
31017 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31019 @endif sim
31021 # Other targets (info, dvi, pdf, etc.)
31023 .PHONY: maybe-info-sim info-sim
31024 maybe-info-sim:
31025 @if sim
31026 maybe-info-sim: info-sim
31028 info-sim: \
31029 configure-sim
31030 @: $(MAKE); $(unstage)
31031 @[ -f ./sim/Makefile ] || exit 0; \
31032 r=`${PWD_COMMAND}`; export r; \
31033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31034 $(HOST_EXPORTS) \
31035 for flag in $(EXTRA_HOST_FLAGS) ; do \
31036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31037 done; \
31038 echo "Doing info in sim"; \
31039 (cd $(HOST_SUBDIR)/sim && \
31040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31042 "RANLIB=$${RANLIB}" \
31043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31044 info) \
31045 || exit 1
31047 @endif sim
31049 .PHONY: maybe-dvi-sim dvi-sim
31050 maybe-dvi-sim:
31051 @if sim
31052 maybe-dvi-sim: dvi-sim
31054 dvi-sim: \
31055 configure-sim
31056 @: $(MAKE); $(unstage)
31057 @[ -f ./sim/Makefile ] || exit 0; \
31058 r=`${PWD_COMMAND}`; export r; \
31059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31060 $(HOST_EXPORTS) \
31061 for flag in $(EXTRA_HOST_FLAGS) ; do \
31062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31063 done; \
31064 echo "Doing dvi in sim"; \
31065 (cd $(HOST_SUBDIR)/sim && \
31066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31068 "RANLIB=$${RANLIB}" \
31069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31070 dvi) \
31071 || exit 1
31073 @endif sim
31075 .PHONY: maybe-pdf-sim pdf-sim
31076 maybe-pdf-sim:
31077 @if sim
31078 maybe-pdf-sim: pdf-sim
31080 pdf-sim: \
31081 configure-sim
31082 @: $(MAKE); $(unstage)
31083 @[ -f ./sim/Makefile ] || exit 0; \
31084 r=`${PWD_COMMAND}`; export r; \
31085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31086 $(HOST_EXPORTS) \
31087 for flag in $(EXTRA_HOST_FLAGS) ; do \
31088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31089 done; \
31090 echo "Doing pdf in sim"; \
31091 (cd $(HOST_SUBDIR)/sim && \
31092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31094 "RANLIB=$${RANLIB}" \
31095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31096 pdf) \
31097 || exit 1
31099 @endif sim
31101 .PHONY: maybe-html-sim html-sim
31102 maybe-html-sim:
31103 @if sim
31104 maybe-html-sim: html-sim
31106 html-sim: \
31107 configure-sim
31108 @: $(MAKE); $(unstage)
31109 @[ -f ./sim/Makefile ] || exit 0; \
31110 r=`${PWD_COMMAND}`; export r; \
31111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31112 $(HOST_EXPORTS) \
31113 for flag in $(EXTRA_HOST_FLAGS) ; do \
31114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31115 done; \
31116 echo "Doing html in sim"; \
31117 (cd $(HOST_SUBDIR)/sim && \
31118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31120 "RANLIB=$${RANLIB}" \
31121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31122 html) \
31123 || exit 1
31125 @endif sim
31127 .PHONY: maybe-TAGS-sim TAGS-sim
31128 maybe-TAGS-sim:
31129 @if sim
31130 maybe-TAGS-sim: TAGS-sim
31132 TAGS-sim: \
31133 configure-sim
31134 @: $(MAKE); $(unstage)
31135 @[ -f ./sim/Makefile ] || exit 0; \
31136 r=`${PWD_COMMAND}`; export r; \
31137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31138 $(HOST_EXPORTS) \
31139 for flag in $(EXTRA_HOST_FLAGS) ; do \
31140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31141 done; \
31142 echo "Doing TAGS in sim"; \
31143 (cd $(HOST_SUBDIR)/sim && \
31144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31146 "RANLIB=$${RANLIB}" \
31147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31148 TAGS) \
31149 || exit 1
31151 @endif sim
31153 .PHONY: maybe-install-info-sim install-info-sim
31154 maybe-install-info-sim:
31155 @if sim
31156 maybe-install-info-sim: install-info-sim
31158 install-info-sim: \
31159 configure-sim \
31160 info-sim
31161 @: $(MAKE); $(unstage)
31162 @[ -f ./sim/Makefile ] || exit 0; \
31163 r=`${PWD_COMMAND}`; export r; \
31164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31165 $(HOST_EXPORTS) \
31166 for flag in $(EXTRA_HOST_FLAGS) ; do \
31167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31168 done; \
31169 echo "Doing install-info in sim"; \
31170 (cd $(HOST_SUBDIR)/sim && \
31171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31173 "RANLIB=$${RANLIB}" \
31174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31175 install-info) \
31176 || exit 1
31178 @endif sim
31180 .PHONY: maybe-install-pdf-sim install-pdf-sim
31181 maybe-install-pdf-sim:
31182 @if sim
31183 maybe-install-pdf-sim: install-pdf-sim
31185 install-pdf-sim: \
31186 configure-sim \
31187 pdf-sim
31188 @: $(MAKE); $(unstage)
31189 @[ -f ./sim/Makefile ] || exit 0; \
31190 r=`${PWD_COMMAND}`; export r; \
31191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31192 $(HOST_EXPORTS) \
31193 for flag in $(EXTRA_HOST_FLAGS) ; do \
31194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31195 done; \
31196 echo "Doing install-pdf in sim"; \
31197 (cd $(HOST_SUBDIR)/sim && \
31198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31200 "RANLIB=$${RANLIB}" \
31201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31202 install-pdf) \
31203 || exit 1
31205 @endif sim
31207 .PHONY: maybe-install-html-sim install-html-sim
31208 maybe-install-html-sim:
31209 @if sim
31210 maybe-install-html-sim: install-html-sim
31212 install-html-sim: \
31213 configure-sim \
31214 html-sim
31215 @: $(MAKE); $(unstage)
31216 @[ -f ./sim/Makefile ] || exit 0; \
31217 r=`${PWD_COMMAND}`; export r; \
31218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31219 $(HOST_EXPORTS) \
31220 for flag in $(EXTRA_HOST_FLAGS) ; do \
31221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31222 done; \
31223 echo "Doing install-html in sim"; \
31224 (cd $(HOST_SUBDIR)/sim && \
31225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31227 "RANLIB=$${RANLIB}" \
31228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31229 install-html) \
31230 || exit 1
31232 @endif sim
31234 .PHONY: maybe-installcheck-sim installcheck-sim
31235 maybe-installcheck-sim:
31236 @if sim
31237 maybe-installcheck-sim: installcheck-sim
31239 installcheck-sim: \
31240 configure-sim
31241 @: $(MAKE); $(unstage)
31242 @[ -f ./sim/Makefile ] || exit 0; \
31243 r=`${PWD_COMMAND}`; export r; \
31244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31245 $(HOST_EXPORTS) \
31246 for flag in $(EXTRA_HOST_FLAGS) ; do \
31247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31248 done; \
31249 echo "Doing installcheck in sim"; \
31250 (cd $(HOST_SUBDIR)/sim && \
31251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31253 "RANLIB=$${RANLIB}" \
31254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31255 installcheck) \
31256 || exit 1
31258 @endif sim
31260 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
31261 maybe-mostlyclean-sim:
31262 @if sim
31263 maybe-mostlyclean-sim: mostlyclean-sim
31265 mostlyclean-sim:
31266 @: $(MAKE); $(unstage)
31267 @[ -f ./sim/Makefile ] || exit 0; \
31268 r=`${PWD_COMMAND}`; export r; \
31269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31270 $(HOST_EXPORTS) \
31271 for flag in $(EXTRA_HOST_FLAGS) ; do \
31272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31273 done; \
31274 echo "Doing mostlyclean in sim"; \
31275 (cd $(HOST_SUBDIR)/sim && \
31276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31278 "RANLIB=$${RANLIB}" \
31279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31280 mostlyclean) \
31281 || exit 1
31283 @endif sim
31285 .PHONY: maybe-clean-sim clean-sim
31286 maybe-clean-sim:
31287 @if sim
31288 maybe-clean-sim: clean-sim
31290 clean-sim:
31291 @: $(MAKE); $(unstage)
31292 @[ -f ./sim/Makefile ] || exit 0; \
31293 r=`${PWD_COMMAND}`; export r; \
31294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31295 $(HOST_EXPORTS) \
31296 for flag in $(EXTRA_HOST_FLAGS) ; do \
31297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31298 done; \
31299 echo "Doing clean in sim"; \
31300 (cd $(HOST_SUBDIR)/sim && \
31301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31303 "RANLIB=$${RANLIB}" \
31304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31305 clean) \
31306 || exit 1
31308 @endif sim
31310 .PHONY: maybe-distclean-sim distclean-sim
31311 maybe-distclean-sim:
31312 @if sim
31313 maybe-distclean-sim: distclean-sim
31315 distclean-sim:
31316 @: $(MAKE); $(unstage)
31317 @[ -f ./sim/Makefile ] || exit 0; \
31318 r=`${PWD_COMMAND}`; export r; \
31319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31320 $(HOST_EXPORTS) \
31321 for flag in $(EXTRA_HOST_FLAGS) ; do \
31322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31323 done; \
31324 echo "Doing distclean in sim"; \
31325 (cd $(HOST_SUBDIR)/sim && \
31326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31328 "RANLIB=$${RANLIB}" \
31329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31330 distclean) \
31331 || exit 1
31333 @endif sim
31335 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
31336 maybe-maintainer-clean-sim:
31337 @if sim
31338 maybe-maintainer-clean-sim: maintainer-clean-sim
31340 maintainer-clean-sim:
31341 @: $(MAKE); $(unstage)
31342 @[ -f ./sim/Makefile ] || exit 0; \
31343 r=`${PWD_COMMAND}`; export r; \
31344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31345 $(HOST_EXPORTS) \
31346 for flag in $(EXTRA_HOST_FLAGS) ; do \
31347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31348 done; \
31349 echo "Doing maintainer-clean in sim"; \
31350 (cd $(HOST_SUBDIR)/sim && \
31351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31353 "RANLIB=$${RANLIB}" \
31354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31355 maintainer-clean) \
31356 || exit 1
31358 @endif sim
31362 .PHONY: configure-texinfo maybe-configure-texinfo
31363 maybe-configure-texinfo:
31364 @if gcc-bootstrap
31365 configure-texinfo: stage_current
31366 @endif gcc-bootstrap
31367 @if texinfo
31368 maybe-configure-texinfo: configure-texinfo
31369 configure-texinfo:
31370 @: $(MAKE); $(unstage)
31371 @r=`${PWD_COMMAND}`; export r; \
31372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31373 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
31374 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
31375 $(HOST_EXPORTS) \
31376 echo Configuring in $(HOST_SUBDIR)/texinfo; \
31377 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
31378 case $(srcdir) in \
31379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31380 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
31381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31382 esac; \
31383 module_srcdir=texinfo; \
31384 $(SHELL) \
31385 $$s/$$module_srcdir/configure \
31386 --srcdir=$${topdir}/$$module_srcdir \
31387 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31388 --target=${target_alias} \
31389 || exit 1
31390 @endif texinfo
31396 .PHONY: all-texinfo maybe-all-texinfo
31397 maybe-all-texinfo:
31398 @if gcc-bootstrap
31399 all-texinfo: stage_current
31400 @endif gcc-bootstrap
31401 @if texinfo
31402 TARGET-texinfo=all
31403 maybe-all-texinfo: all-texinfo
31404 all-texinfo: configure-texinfo
31405 @: $(MAKE); $(unstage)
31406 @r=`${PWD_COMMAND}`; export r; \
31407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31408 $(HOST_EXPORTS) \
31409 (cd $(HOST_SUBDIR)/texinfo && \
31410 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31411 $(TARGET-texinfo))
31412 @endif texinfo
31417 .PHONY: check-texinfo maybe-check-texinfo
31418 maybe-check-texinfo:
31419 @if texinfo
31420 maybe-check-texinfo: check-texinfo
31422 check-texinfo:
31423 @: $(MAKE); $(unstage)
31424 @r=`${PWD_COMMAND}`; export r; \
31425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31426 $(HOST_EXPORTS) \
31427 (cd $(HOST_SUBDIR)/texinfo && \
31428 $(MAKE) $(FLAGS_TO_PASS) check)
31430 @endif texinfo
31432 .PHONY: install-texinfo maybe-install-texinfo
31433 maybe-install-texinfo:
31434 @if texinfo
31435 maybe-install-texinfo: install-texinfo
31437 install-texinfo:
31439 @endif texinfo
31441 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
31442 maybe-install-strip-texinfo:
31443 @if texinfo
31444 maybe-install-strip-texinfo: install-strip-texinfo
31446 install-strip-texinfo:
31448 @endif texinfo
31450 # Other targets (info, dvi, pdf, etc.)
31452 .PHONY: maybe-info-texinfo info-texinfo
31453 maybe-info-texinfo:
31454 @if texinfo
31455 maybe-info-texinfo: info-texinfo
31457 info-texinfo: \
31458 configure-texinfo
31459 @: $(MAKE); $(unstage)
31460 @[ -f ./texinfo/Makefile ] || exit 0; \
31461 r=`${PWD_COMMAND}`; export r; \
31462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31463 $(HOST_EXPORTS) \
31464 for flag in $(EXTRA_HOST_FLAGS) ; do \
31465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31466 done; \
31467 echo "Doing info in texinfo"; \
31468 (cd $(HOST_SUBDIR)/texinfo && \
31469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31471 "RANLIB=$${RANLIB}" \
31472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31473 info) \
31474 || exit 1
31476 @endif texinfo
31478 .PHONY: maybe-dvi-texinfo dvi-texinfo
31479 maybe-dvi-texinfo:
31480 @if texinfo
31481 maybe-dvi-texinfo: dvi-texinfo
31483 dvi-texinfo: \
31484 configure-texinfo
31485 @: $(MAKE); $(unstage)
31486 @[ -f ./texinfo/Makefile ] || exit 0; \
31487 r=`${PWD_COMMAND}`; export r; \
31488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31489 $(HOST_EXPORTS) \
31490 for flag in $(EXTRA_HOST_FLAGS) ; do \
31491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31492 done; \
31493 echo "Doing dvi in texinfo"; \
31494 (cd $(HOST_SUBDIR)/texinfo && \
31495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31497 "RANLIB=$${RANLIB}" \
31498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31499 dvi) \
31500 || exit 1
31502 @endif texinfo
31504 .PHONY: maybe-pdf-texinfo pdf-texinfo
31505 maybe-pdf-texinfo:
31506 @if texinfo
31507 maybe-pdf-texinfo: pdf-texinfo
31509 pdf-texinfo: \
31510 configure-texinfo
31511 @: $(MAKE); $(unstage)
31512 @[ -f ./texinfo/Makefile ] || exit 0; \
31513 r=`${PWD_COMMAND}`; export r; \
31514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31515 $(HOST_EXPORTS) \
31516 for flag in $(EXTRA_HOST_FLAGS) ; do \
31517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31518 done; \
31519 echo "Doing pdf in texinfo"; \
31520 (cd $(HOST_SUBDIR)/texinfo && \
31521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31523 "RANLIB=$${RANLIB}" \
31524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31525 pdf) \
31526 || exit 1
31528 @endif texinfo
31530 .PHONY: maybe-html-texinfo html-texinfo
31531 maybe-html-texinfo:
31532 @if texinfo
31533 maybe-html-texinfo: html-texinfo
31535 html-texinfo: \
31536 configure-texinfo
31537 @: $(MAKE); $(unstage)
31538 @[ -f ./texinfo/Makefile ] || exit 0; \
31539 r=`${PWD_COMMAND}`; export r; \
31540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31541 $(HOST_EXPORTS) \
31542 for flag in $(EXTRA_HOST_FLAGS) ; do \
31543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31544 done; \
31545 echo "Doing html in texinfo"; \
31546 (cd $(HOST_SUBDIR)/texinfo && \
31547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31549 "RANLIB=$${RANLIB}" \
31550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31551 html) \
31552 || exit 1
31554 @endif texinfo
31556 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
31557 maybe-TAGS-texinfo:
31558 @if texinfo
31559 maybe-TAGS-texinfo: TAGS-texinfo
31561 TAGS-texinfo: \
31562 configure-texinfo
31563 @: $(MAKE); $(unstage)
31564 @[ -f ./texinfo/Makefile ] || exit 0; \
31565 r=`${PWD_COMMAND}`; export r; \
31566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31567 $(HOST_EXPORTS) \
31568 for flag in $(EXTRA_HOST_FLAGS) ; do \
31569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31570 done; \
31571 echo "Doing TAGS in texinfo"; \
31572 (cd $(HOST_SUBDIR)/texinfo && \
31573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31575 "RANLIB=$${RANLIB}" \
31576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31577 TAGS) \
31578 || exit 1
31580 @endif texinfo
31582 .PHONY: maybe-install-info-texinfo install-info-texinfo
31583 maybe-install-info-texinfo:
31584 @if texinfo
31585 maybe-install-info-texinfo: install-info-texinfo
31587 install-info-texinfo: \
31588 configure-texinfo \
31589 info-texinfo
31590 @: $(MAKE); $(unstage)
31591 @[ -f ./texinfo/Makefile ] || exit 0; \
31592 r=`${PWD_COMMAND}`; export r; \
31593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31594 $(HOST_EXPORTS) \
31595 for flag in $(EXTRA_HOST_FLAGS) ; do \
31596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31597 done; \
31598 echo "Doing install-info in texinfo"; \
31599 (cd $(HOST_SUBDIR)/texinfo && \
31600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31602 "RANLIB=$${RANLIB}" \
31603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31604 install-info) \
31605 || exit 1
31607 @endif texinfo
31609 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
31610 maybe-install-pdf-texinfo:
31611 @if texinfo
31612 maybe-install-pdf-texinfo: install-pdf-texinfo
31614 install-pdf-texinfo: \
31615 configure-texinfo \
31616 pdf-texinfo
31617 @: $(MAKE); $(unstage)
31618 @[ -f ./texinfo/Makefile ] || exit 0; \
31619 r=`${PWD_COMMAND}`; export r; \
31620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31621 $(HOST_EXPORTS) \
31622 for flag in $(EXTRA_HOST_FLAGS) ; do \
31623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31624 done; \
31625 echo "Doing install-pdf in texinfo"; \
31626 (cd $(HOST_SUBDIR)/texinfo && \
31627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31629 "RANLIB=$${RANLIB}" \
31630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31631 install-pdf) \
31632 || exit 1
31634 @endif texinfo
31636 .PHONY: maybe-install-html-texinfo install-html-texinfo
31637 maybe-install-html-texinfo:
31638 @if texinfo
31639 maybe-install-html-texinfo: install-html-texinfo
31641 install-html-texinfo: \
31642 configure-texinfo \
31643 html-texinfo
31644 @: $(MAKE); $(unstage)
31645 @[ -f ./texinfo/Makefile ] || exit 0; \
31646 r=`${PWD_COMMAND}`; export r; \
31647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31648 $(HOST_EXPORTS) \
31649 for flag in $(EXTRA_HOST_FLAGS) ; do \
31650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31651 done; \
31652 echo "Doing install-html in texinfo"; \
31653 (cd $(HOST_SUBDIR)/texinfo && \
31654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31656 "RANLIB=$${RANLIB}" \
31657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31658 install-html) \
31659 || exit 1
31661 @endif texinfo
31663 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
31664 maybe-installcheck-texinfo:
31665 @if texinfo
31666 maybe-installcheck-texinfo: installcheck-texinfo
31668 installcheck-texinfo: \
31669 configure-texinfo
31670 @: $(MAKE); $(unstage)
31671 @[ -f ./texinfo/Makefile ] || exit 0; \
31672 r=`${PWD_COMMAND}`; export r; \
31673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31674 $(HOST_EXPORTS) \
31675 for flag in $(EXTRA_HOST_FLAGS) ; do \
31676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31677 done; \
31678 echo "Doing installcheck in texinfo"; \
31679 (cd $(HOST_SUBDIR)/texinfo && \
31680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31682 "RANLIB=$${RANLIB}" \
31683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31684 installcheck) \
31685 || exit 1
31687 @endif texinfo
31689 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
31690 maybe-mostlyclean-texinfo:
31691 @if texinfo
31692 maybe-mostlyclean-texinfo: mostlyclean-texinfo
31694 mostlyclean-texinfo:
31695 @: $(MAKE); $(unstage)
31696 @[ -f ./texinfo/Makefile ] || exit 0; \
31697 r=`${PWD_COMMAND}`; export r; \
31698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31699 $(HOST_EXPORTS) \
31700 for flag in $(EXTRA_HOST_FLAGS) ; do \
31701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31702 done; \
31703 echo "Doing mostlyclean in texinfo"; \
31704 (cd $(HOST_SUBDIR)/texinfo && \
31705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31707 "RANLIB=$${RANLIB}" \
31708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31709 mostlyclean) \
31710 || exit 1
31712 @endif texinfo
31714 .PHONY: maybe-clean-texinfo clean-texinfo
31715 maybe-clean-texinfo:
31716 @if texinfo
31717 maybe-clean-texinfo: clean-texinfo
31719 clean-texinfo:
31720 @: $(MAKE); $(unstage)
31721 @[ -f ./texinfo/Makefile ] || exit 0; \
31722 r=`${PWD_COMMAND}`; export r; \
31723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31724 $(HOST_EXPORTS) \
31725 for flag in $(EXTRA_HOST_FLAGS) ; do \
31726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31727 done; \
31728 echo "Doing clean in texinfo"; \
31729 (cd $(HOST_SUBDIR)/texinfo && \
31730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31732 "RANLIB=$${RANLIB}" \
31733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31734 clean) \
31735 || exit 1
31737 @endif texinfo
31739 .PHONY: maybe-distclean-texinfo distclean-texinfo
31740 maybe-distclean-texinfo:
31741 @if texinfo
31742 maybe-distclean-texinfo: distclean-texinfo
31744 distclean-texinfo:
31745 @: $(MAKE); $(unstage)
31746 @[ -f ./texinfo/Makefile ] || exit 0; \
31747 r=`${PWD_COMMAND}`; export r; \
31748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31749 $(HOST_EXPORTS) \
31750 for flag in $(EXTRA_HOST_FLAGS) ; do \
31751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31752 done; \
31753 echo "Doing distclean in texinfo"; \
31754 (cd $(HOST_SUBDIR)/texinfo && \
31755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31757 "RANLIB=$${RANLIB}" \
31758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31759 distclean) \
31760 || exit 1
31762 @endif texinfo
31764 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
31765 maybe-maintainer-clean-texinfo:
31766 @if texinfo
31767 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
31769 maintainer-clean-texinfo:
31770 @: $(MAKE); $(unstage)
31771 @[ -f ./texinfo/Makefile ] || exit 0; \
31772 r=`${PWD_COMMAND}`; export r; \
31773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31774 $(HOST_EXPORTS) \
31775 for flag in $(EXTRA_HOST_FLAGS) ; do \
31776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31777 done; \
31778 echo "Doing maintainer-clean in texinfo"; \
31779 (cd $(HOST_SUBDIR)/texinfo && \
31780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31782 "RANLIB=$${RANLIB}" \
31783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31784 maintainer-clean) \
31785 || exit 1
31787 @endif texinfo
31791 .PHONY: configure-zlib maybe-configure-zlib
31792 maybe-configure-zlib:
31793 @if gcc-bootstrap
31794 configure-zlib: stage_current
31795 @endif gcc-bootstrap
31796 @if zlib
31797 maybe-configure-zlib: configure-zlib
31798 configure-zlib:
31799 @r=`${PWD_COMMAND}`; export r; \
31800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31801 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31803 $(HOST_EXPORTS) \
31804 echo Configuring in $(HOST_SUBDIR)/zlib; \
31805 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
31806 case $(srcdir) in \
31807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31808 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31810 esac; \
31811 module_srcdir=zlib; \
31812 $(SHELL) \
31813 $$s/$$module_srcdir/configure \
31814 --srcdir=$${topdir}/$$module_srcdir \
31815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31816 --target=${target_alias} @extra_host_zlib_configure_flags@ \
31817 || exit 1
31818 @endif zlib
31822 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31823 maybe-configure-stage1-zlib:
31824 @if zlib-bootstrap
31825 maybe-configure-stage1-zlib: configure-stage1-zlib
31826 configure-stage1-zlib:
31827 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31828 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31829 @r=`${PWD_COMMAND}`; export r; \
31830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31831 TFLAGS="$(STAGE1_TFLAGS)"; \
31832 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31833 $(HOST_EXPORTS) \
31834 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
31835 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
31836 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
31837 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
31838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31839 cd $(HOST_SUBDIR)/zlib || exit 1; \
31840 case $(srcdir) in \
31841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31842 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31844 esac; \
31845 module_srcdir=zlib; \
31846 $(SHELL) $$s/$$module_srcdir/configure \
31847 --srcdir=$${topdir}/$$module_srcdir \
31848 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31849 --target=${target_alias} \
31851 $(STAGE1_CONFIGURE_FLAGS) \
31852 @extra_host_zlib_configure_flags@
31853 @endif zlib-bootstrap
31855 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31856 maybe-configure-stage2-zlib:
31857 @if zlib-bootstrap
31858 maybe-configure-stage2-zlib: configure-stage2-zlib
31859 configure-stage2-zlib:
31860 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31861 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31862 @r=`${PWD_COMMAND}`; export r; \
31863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31864 TFLAGS="$(STAGE2_TFLAGS)"; \
31865 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31866 $(HOST_EXPORTS) \
31867 $(POSTSTAGE1_HOST_EXPORTS) \
31868 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
31869 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
31870 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
31871 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
31872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31873 cd $(HOST_SUBDIR)/zlib || exit 1; \
31874 case $(srcdir) in \
31875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31876 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31878 esac; \
31879 module_srcdir=zlib; \
31880 $(SHELL) $$s/$$module_srcdir/configure \
31881 --srcdir=$${topdir}/$$module_srcdir \
31882 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31883 --target=${target_alias} \
31884 --with-build-libsubdir=$(HOST_SUBDIR) \
31885 $(STAGE2_CONFIGURE_FLAGS) \
31886 @extra_host_zlib_configure_flags@
31887 @endif zlib-bootstrap
31889 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
31890 maybe-configure-stage3-zlib:
31891 @if zlib-bootstrap
31892 maybe-configure-stage3-zlib: configure-stage3-zlib
31893 configure-stage3-zlib:
31894 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31895 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31896 @r=`${PWD_COMMAND}`; export r; \
31897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31898 TFLAGS="$(STAGE3_TFLAGS)"; \
31899 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31900 $(HOST_EXPORTS) \
31901 $(POSTSTAGE1_HOST_EXPORTS) \
31902 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
31903 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
31904 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
31905 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
31906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31907 cd $(HOST_SUBDIR)/zlib || exit 1; \
31908 case $(srcdir) in \
31909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31910 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31912 esac; \
31913 module_srcdir=zlib; \
31914 $(SHELL) $$s/$$module_srcdir/configure \
31915 --srcdir=$${topdir}/$$module_srcdir \
31916 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31917 --target=${target_alias} \
31918 --with-build-libsubdir=$(HOST_SUBDIR) \
31919 $(STAGE3_CONFIGURE_FLAGS) \
31920 @extra_host_zlib_configure_flags@
31921 @endif zlib-bootstrap
31923 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
31924 maybe-configure-stage4-zlib:
31925 @if zlib-bootstrap
31926 maybe-configure-stage4-zlib: configure-stage4-zlib
31927 configure-stage4-zlib:
31928 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31929 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31930 @r=`${PWD_COMMAND}`; export r; \
31931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31932 TFLAGS="$(STAGE4_TFLAGS)"; \
31933 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31934 $(HOST_EXPORTS) \
31935 $(POSTSTAGE1_HOST_EXPORTS) \
31936 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
31937 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
31938 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
31939 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
31940 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31941 cd $(HOST_SUBDIR)/zlib || exit 1; \
31942 case $(srcdir) in \
31943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31944 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31946 esac; \
31947 module_srcdir=zlib; \
31948 $(SHELL) $$s/$$module_srcdir/configure \
31949 --srcdir=$${topdir}/$$module_srcdir \
31950 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31951 --target=${target_alias} \
31952 --with-build-libsubdir=$(HOST_SUBDIR) \
31953 $(STAGE4_CONFIGURE_FLAGS) \
31954 @extra_host_zlib_configure_flags@
31955 @endif zlib-bootstrap
31957 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
31958 maybe-configure-stageprofile-zlib:
31959 @if zlib-bootstrap
31960 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
31961 configure-stageprofile-zlib:
31962 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31963 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31964 @r=`${PWD_COMMAND}`; export r; \
31965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31966 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31967 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31968 $(HOST_EXPORTS) \
31969 $(POSTSTAGE1_HOST_EXPORTS) \
31970 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
31971 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
31972 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
31973 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
31974 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
31975 cd $(HOST_SUBDIR)/zlib || exit 1; \
31976 case $(srcdir) in \
31977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31978 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31980 esac; \
31981 module_srcdir=zlib; \
31982 $(SHELL) $$s/$$module_srcdir/configure \
31983 --srcdir=$${topdir}/$$module_srcdir \
31984 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31985 --target=${target_alias} \
31986 --with-build-libsubdir=$(HOST_SUBDIR) \
31987 $(STAGEprofile_CONFIGURE_FLAGS) \
31988 @extra_host_zlib_configure_flags@
31989 @endif zlib-bootstrap
31991 .PHONY: configure-stagetrain-zlib maybe-configure-stagetrain-zlib
31992 maybe-configure-stagetrain-zlib:
31993 @if zlib-bootstrap
31994 maybe-configure-stagetrain-zlib: configure-stagetrain-zlib
31995 configure-stagetrain-zlib:
31996 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
31997 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31998 @r=`${PWD_COMMAND}`; export r; \
31999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32000 TFLAGS="$(STAGEtrain_TFLAGS)"; \
32001 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32002 $(HOST_EXPORTS) \
32003 $(POSTSTAGE1_HOST_EXPORTS) \
32004 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
32005 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
32006 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
32007 echo Configuring stage train in $(HOST_SUBDIR)/zlib; \
32008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32009 cd $(HOST_SUBDIR)/zlib || exit 1; \
32010 case $(srcdir) in \
32011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32012 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32014 esac; \
32015 module_srcdir=zlib; \
32016 $(SHELL) $$s/$$module_srcdir/configure \
32017 --srcdir=$${topdir}/$$module_srcdir \
32018 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32019 --target=${target_alias} \
32020 --with-build-libsubdir=$(HOST_SUBDIR) \
32021 $(STAGEtrain_CONFIGURE_FLAGS) \
32022 @extra_host_zlib_configure_flags@
32023 @endif zlib-bootstrap
32025 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32026 maybe-configure-stagefeedback-zlib:
32027 @if zlib-bootstrap
32028 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32029 configure-stagefeedback-zlib:
32030 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32031 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32032 @r=`${PWD_COMMAND}`; export r; \
32033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32034 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32035 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32036 $(HOST_EXPORTS) \
32037 $(POSTSTAGE1_HOST_EXPORTS) \
32038 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
32039 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
32040 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
32041 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
32042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32043 cd $(HOST_SUBDIR)/zlib || exit 1; \
32044 case $(srcdir) in \
32045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32046 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32048 esac; \
32049 module_srcdir=zlib; \
32050 $(SHELL) $$s/$$module_srcdir/configure \
32051 --srcdir=$${topdir}/$$module_srcdir \
32052 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32053 --target=${target_alias} \
32054 --with-build-libsubdir=$(HOST_SUBDIR) \
32055 $(STAGEfeedback_CONFIGURE_FLAGS) \
32056 @extra_host_zlib_configure_flags@
32057 @endif zlib-bootstrap
32059 .PHONY: configure-stageautoprofile-zlib maybe-configure-stageautoprofile-zlib
32060 maybe-configure-stageautoprofile-zlib:
32061 @if zlib-bootstrap
32062 maybe-configure-stageautoprofile-zlib: configure-stageautoprofile-zlib
32063 configure-stageautoprofile-zlib:
32064 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32065 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32066 @r=`${PWD_COMMAND}`; export r; \
32067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32068 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32069 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32070 $(HOST_EXPORTS) \
32071 $(POSTSTAGE1_HOST_EXPORTS) \
32072 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
32073 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
32074 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
32075 echo Configuring stage autoprofile in $(HOST_SUBDIR)/zlib; \
32076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32077 cd $(HOST_SUBDIR)/zlib || exit 1; \
32078 case $(srcdir) in \
32079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32080 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32082 esac; \
32083 module_srcdir=zlib; \
32084 $(SHELL) $$s/$$module_srcdir/configure \
32085 --srcdir=$${topdir}/$$module_srcdir \
32086 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32087 --target=${target_alias} \
32088 --with-build-libsubdir=$(HOST_SUBDIR) \
32089 $(STAGEautoprofile_CONFIGURE_FLAGS) \
32090 @extra_host_zlib_configure_flags@
32091 @endif zlib-bootstrap
32093 .PHONY: configure-stageautofeedback-zlib maybe-configure-stageautofeedback-zlib
32094 maybe-configure-stageautofeedback-zlib:
32095 @if zlib-bootstrap
32096 maybe-configure-stageautofeedback-zlib: configure-stageautofeedback-zlib
32097 configure-stageautofeedback-zlib:
32098 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32099 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
32100 @r=`${PWD_COMMAND}`; export r; \
32101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32102 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32103 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
32104 $(HOST_EXPORTS) \
32105 $(POSTSTAGE1_HOST_EXPORTS) \
32106 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
32107 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
32108 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
32109 echo Configuring stage autofeedback in $(HOST_SUBDIR)/zlib; \
32110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
32111 cd $(HOST_SUBDIR)/zlib || exit 1; \
32112 case $(srcdir) in \
32113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32114 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32116 esac; \
32117 module_srcdir=zlib; \
32118 $(SHELL) $$s/$$module_srcdir/configure \
32119 --srcdir=$${topdir}/$$module_srcdir \
32120 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32121 --target=${target_alias} \
32122 --with-build-libsubdir=$(HOST_SUBDIR) \
32123 $(STAGEautofeedback_CONFIGURE_FLAGS) \
32124 @extra_host_zlib_configure_flags@
32125 @endif zlib-bootstrap
32131 .PHONY: all-zlib maybe-all-zlib
32132 maybe-all-zlib:
32133 @if gcc-bootstrap
32134 all-zlib: stage_current
32135 @endif gcc-bootstrap
32136 @if zlib
32137 TARGET-zlib=all
32138 maybe-all-zlib: all-zlib
32139 all-zlib: configure-zlib
32140 @r=`${PWD_COMMAND}`; export r; \
32141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32142 $(HOST_EXPORTS) \
32143 (cd $(HOST_SUBDIR)/zlib && \
32144 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32145 $(TARGET-zlib))
32146 @endif zlib
32150 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
32151 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
32152 maybe-all-stage1-zlib:
32153 maybe-clean-stage1-zlib:
32154 @if zlib-bootstrap
32155 maybe-all-stage1-zlib: all-stage1-zlib
32156 all-stage1: all-stage1-zlib
32157 TARGET-stage1-zlib = $(TARGET-zlib)
32158 all-stage1-zlib: configure-stage1-zlib
32159 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32160 @r=`${PWD_COMMAND}`; export r; \
32161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32162 TFLAGS="$(STAGE1_TFLAGS)"; \
32163 $(HOST_EXPORTS) \
32164 cd $(HOST_SUBDIR)/zlib && \
32166 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32167 CFLAGS="$(STAGE1_CFLAGS)" \
32168 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
32169 LIBCFLAGS="$(LIBCFLAGS)" \
32170 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32171 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32172 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32173 $(EXTRA_HOST_FLAGS) \
32174 $(STAGE1_FLAGS_TO_PASS) \
32175 TFLAGS="$(STAGE1_TFLAGS)" \
32176 $(TARGET-stage1-zlib)
32178 maybe-clean-stage1-zlib: clean-stage1-zlib
32179 clean-stage1: clean-stage1-zlib
32180 clean-stage1-zlib:
32181 @if [ $(current_stage) = stage1 ]; then \
32182 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32183 else \
32184 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
32185 $(MAKE) stage1-start; \
32186 fi; \
32187 cd $(HOST_SUBDIR)/zlib && \
32188 $(MAKE) $(EXTRA_HOST_FLAGS) \
32189 $(STAGE1_FLAGS_TO_PASS) clean
32190 @endif zlib-bootstrap
32193 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
32194 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
32195 maybe-all-stage2-zlib:
32196 maybe-clean-stage2-zlib:
32197 @if zlib-bootstrap
32198 maybe-all-stage2-zlib: all-stage2-zlib
32199 all-stage2: all-stage2-zlib
32200 TARGET-stage2-zlib = $(TARGET-zlib)
32201 all-stage2-zlib: configure-stage2-zlib
32202 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32203 @r=`${PWD_COMMAND}`; export r; \
32204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32205 TFLAGS="$(STAGE2_TFLAGS)"; \
32206 $(HOST_EXPORTS) \
32207 $(POSTSTAGE1_HOST_EXPORTS) \
32208 cd $(HOST_SUBDIR)/zlib && \
32210 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32211 CFLAGS="$(STAGE2_CFLAGS)" \
32212 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
32213 LIBCFLAGS="$(STAGE2_CFLAGS)" \
32214 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32215 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32216 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32217 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32218 TFLAGS="$(STAGE2_TFLAGS)" \
32219 $(TARGET-stage2-zlib)
32221 maybe-clean-stage2-zlib: clean-stage2-zlib
32222 clean-stage2: clean-stage2-zlib
32223 clean-stage2-zlib:
32224 @if [ $(current_stage) = stage2 ]; then \
32225 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32226 else \
32227 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
32228 $(MAKE) stage2-start; \
32229 fi; \
32230 cd $(HOST_SUBDIR)/zlib && \
32231 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32232 @endif zlib-bootstrap
32235 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32236 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32237 maybe-all-stage3-zlib:
32238 maybe-clean-stage3-zlib:
32239 @if zlib-bootstrap
32240 maybe-all-stage3-zlib: all-stage3-zlib
32241 all-stage3: all-stage3-zlib
32242 TARGET-stage3-zlib = $(TARGET-zlib)
32243 all-stage3-zlib: configure-stage3-zlib
32244 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32245 @r=`${PWD_COMMAND}`; export r; \
32246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32247 TFLAGS="$(STAGE3_TFLAGS)"; \
32248 $(HOST_EXPORTS) \
32249 $(POSTSTAGE1_HOST_EXPORTS) \
32250 cd $(HOST_SUBDIR)/zlib && \
32252 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32253 CFLAGS="$(STAGE3_CFLAGS)" \
32254 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
32255 LIBCFLAGS="$(STAGE3_CFLAGS)" \
32256 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32257 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32258 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32259 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32260 TFLAGS="$(STAGE3_TFLAGS)" \
32261 $(TARGET-stage3-zlib)
32263 maybe-clean-stage3-zlib: clean-stage3-zlib
32264 clean-stage3: clean-stage3-zlib
32265 clean-stage3-zlib:
32266 @if [ $(current_stage) = stage3 ]; then \
32267 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32268 else \
32269 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
32270 $(MAKE) stage3-start; \
32271 fi; \
32272 cd $(HOST_SUBDIR)/zlib && \
32273 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32274 @endif zlib-bootstrap
32277 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
32278 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
32279 maybe-all-stage4-zlib:
32280 maybe-clean-stage4-zlib:
32281 @if zlib-bootstrap
32282 maybe-all-stage4-zlib: all-stage4-zlib
32283 all-stage4: all-stage4-zlib
32284 TARGET-stage4-zlib = $(TARGET-zlib)
32285 all-stage4-zlib: configure-stage4-zlib
32286 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32287 @r=`${PWD_COMMAND}`; export r; \
32288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32289 TFLAGS="$(STAGE4_TFLAGS)"; \
32290 $(HOST_EXPORTS) \
32291 $(POSTSTAGE1_HOST_EXPORTS) \
32292 cd $(HOST_SUBDIR)/zlib && \
32294 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32295 CFLAGS="$(STAGE4_CFLAGS)" \
32296 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
32297 LIBCFLAGS="$(STAGE4_CFLAGS)" \
32298 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32299 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32300 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32301 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32302 TFLAGS="$(STAGE4_TFLAGS)" \
32303 $(TARGET-stage4-zlib)
32305 maybe-clean-stage4-zlib: clean-stage4-zlib
32306 clean-stage4: clean-stage4-zlib
32307 clean-stage4-zlib:
32308 @if [ $(current_stage) = stage4 ]; then \
32309 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32310 else \
32311 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
32312 $(MAKE) stage4-start; \
32313 fi; \
32314 cd $(HOST_SUBDIR)/zlib && \
32315 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32316 @endif zlib-bootstrap
32319 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
32320 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
32321 maybe-all-stageprofile-zlib:
32322 maybe-clean-stageprofile-zlib:
32323 @if zlib-bootstrap
32324 maybe-all-stageprofile-zlib: all-stageprofile-zlib
32325 all-stageprofile: all-stageprofile-zlib
32326 TARGET-stageprofile-zlib = $(TARGET-zlib)
32327 all-stageprofile-zlib: configure-stageprofile-zlib
32328 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32329 @r=`${PWD_COMMAND}`; export r; \
32330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32331 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32332 $(HOST_EXPORTS) \
32333 $(POSTSTAGE1_HOST_EXPORTS) \
32334 cd $(HOST_SUBDIR)/zlib && \
32336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32337 CFLAGS="$(STAGEprofile_CFLAGS)" \
32338 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
32339 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
32340 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32341 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32342 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32343 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32344 TFLAGS="$(STAGEprofile_TFLAGS)" \
32345 $(TARGET-stageprofile-zlib)
32347 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
32348 clean-stageprofile: clean-stageprofile-zlib
32349 clean-stageprofile-zlib:
32350 @if [ $(current_stage) = stageprofile ]; then \
32351 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32352 else \
32353 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
32354 $(MAKE) stageprofile-start; \
32355 fi; \
32356 cd $(HOST_SUBDIR)/zlib && \
32357 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32358 @endif zlib-bootstrap
32361 .PHONY: all-stagetrain-zlib maybe-all-stagetrain-zlib
32362 .PHONY: clean-stagetrain-zlib maybe-clean-stagetrain-zlib
32363 maybe-all-stagetrain-zlib:
32364 maybe-clean-stagetrain-zlib:
32365 @if zlib-bootstrap
32366 maybe-all-stagetrain-zlib: all-stagetrain-zlib
32367 all-stagetrain: all-stagetrain-zlib
32368 TARGET-stagetrain-zlib = $(TARGET-zlib)
32369 all-stagetrain-zlib: configure-stagetrain-zlib
32370 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
32371 @r=`${PWD_COMMAND}`; export r; \
32372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32373 TFLAGS="$(STAGEtrain_TFLAGS)"; \
32374 $(HOST_EXPORTS) \
32375 $(POSTSTAGE1_HOST_EXPORTS) \
32376 cd $(HOST_SUBDIR)/zlib && \
32378 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32379 CFLAGS="$(STAGEtrain_CFLAGS)" \
32380 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
32381 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
32382 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32383 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32384 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32385 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32386 TFLAGS="$(STAGEtrain_TFLAGS)" \
32387 $(TARGET-stagetrain-zlib)
32389 maybe-clean-stagetrain-zlib: clean-stagetrain-zlib
32390 clean-stagetrain: clean-stagetrain-zlib
32391 clean-stagetrain-zlib:
32392 @if [ $(current_stage) = stagetrain ]; then \
32393 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32394 else \
32395 [ -f $(HOST_SUBDIR)/stagetrain-zlib/Makefile ] || exit 0; \
32396 $(MAKE) stagetrain-start; \
32397 fi; \
32398 cd $(HOST_SUBDIR)/zlib && \
32399 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32400 @endif zlib-bootstrap
32403 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32404 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32405 maybe-all-stagefeedback-zlib:
32406 maybe-clean-stagefeedback-zlib:
32407 @if zlib-bootstrap
32408 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32409 all-stagefeedback: all-stagefeedback-zlib
32410 TARGET-stagefeedback-zlib = $(TARGET-zlib)
32411 all-stagefeedback-zlib: configure-stagefeedback-zlib
32412 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32413 @r=`${PWD_COMMAND}`; export r; \
32414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32415 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32416 $(HOST_EXPORTS) \
32417 $(POSTSTAGE1_HOST_EXPORTS) \
32418 cd $(HOST_SUBDIR)/zlib && \
32420 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32421 CFLAGS="$(STAGEfeedback_CFLAGS)" \
32422 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
32423 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
32424 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32425 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32426 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32427 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32428 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32429 $(TARGET-stagefeedback-zlib)
32431 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32432 clean-stagefeedback: clean-stagefeedback-zlib
32433 clean-stagefeedback-zlib:
32434 @if [ $(current_stage) = stagefeedback ]; then \
32435 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32436 else \
32437 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
32438 $(MAKE) stagefeedback-start; \
32439 fi; \
32440 cd $(HOST_SUBDIR)/zlib && \
32441 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32442 @endif zlib-bootstrap
32445 .PHONY: all-stageautoprofile-zlib maybe-all-stageautoprofile-zlib
32446 .PHONY: clean-stageautoprofile-zlib maybe-clean-stageautoprofile-zlib
32447 maybe-all-stageautoprofile-zlib:
32448 maybe-clean-stageautoprofile-zlib:
32449 @if zlib-bootstrap
32450 maybe-all-stageautoprofile-zlib: all-stageautoprofile-zlib
32451 all-stageautoprofile: all-stageautoprofile-zlib
32452 TARGET-stageautoprofile-zlib = $(TARGET-zlib)
32453 all-stageautoprofile-zlib: configure-stageautoprofile-zlib
32454 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
32455 @r=`${PWD_COMMAND}`; export r; \
32456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32457 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
32458 $(HOST_EXPORTS) \
32459 $(POSTSTAGE1_HOST_EXPORTS) \
32460 cd $(HOST_SUBDIR)/zlib && \
32461 $$s/gcc/config/i386/$(AUTO_PROFILE) \
32462 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32463 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
32464 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
32465 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
32466 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32467 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32468 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32469 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32470 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
32471 $(TARGET-stageautoprofile-zlib)
32473 maybe-clean-stageautoprofile-zlib: clean-stageautoprofile-zlib
32474 clean-stageautoprofile: clean-stageautoprofile-zlib
32475 clean-stageautoprofile-zlib:
32476 @if [ $(current_stage) = stageautoprofile ]; then \
32477 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32478 else \
32479 [ -f $(HOST_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
32480 $(MAKE) stageautoprofile-start; \
32481 fi; \
32482 cd $(HOST_SUBDIR)/zlib && \
32483 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32484 @endif zlib-bootstrap
32487 .PHONY: all-stageautofeedback-zlib maybe-all-stageautofeedback-zlib
32488 .PHONY: clean-stageautofeedback-zlib maybe-clean-stageautofeedback-zlib
32489 maybe-all-stageautofeedback-zlib:
32490 maybe-clean-stageautofeedback-zlib:
32491 @if zlib-bootstrap
32492 maybe-all-stageautofeedback-zlib: all-stageautofeedback-zlib
32493 all-stageautofeedback: all-stageautofeedback-zlib
32494 TARGET-stageautofeedback-zlib = $(TARGET-zlib)
32495 all-stageautofeedback-zlib: configure-stageautofeedback-zlib
32496 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
32497 @r=`${PWD_COMMAND}`; export r; \
32498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32499 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
32500 $(HOST_EXPORTS) \
32501 $(POSTSTAGE1_HOST_EXPORTS) \
32502 cd $(HOST_SUBDIR)/zlib && \
32504 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32505 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
32506 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
32507 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
32508 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32509 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32510 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32511 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32512 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
32513 $(TARGET-stageautofeedback-zlib)
32515 maybe-clean-stageautofeedback-zlib: clean-stageautofeedback-zlib
32516 clean-stageautofeedback: clean-stageautofeedback-zlib
32517 clean-stageautofeedback-zlib:
32518 @if [ $(current_stage) = stageautofeedback ]; then \
32519 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32520 else \
32521 [ -f $(HOST_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
32522 $(MAKE) stageautofeedback-start; \
32523 fi; \
32524 cd $(HOST_SUBDIR)/zlib && \
32525 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
32526 @endif zlib-bootstrap
32532 .PHONY: check-zlib maybe-check-zlib
32533 maybe-check-zlib:
32534 @if zlib
32535 maybe-check-zlib: check-zlib
32537 check-zlib:
32539 @endif zlib
32541 .PHONY: install-zlib maybe-install-zlib
32542 maybe-install-zlib:
32543 @if zlib
32544 maybe-install-zlib: install-zlib
32546 install-zlib:
32548 @endif zlib
32550 .PHONY: install-strip-zlib maybe-install-strip-zlib
32551 maybe-install-strip-zlib:
32552 @if zlib
32553 maybe-install-strip-zlib: install-strip-zlib
32555 install-strip-zlib:
32557 @endif zlib
32559 # Other targets (info, dvi, pdf, etc.)
32561 .PHONY: maybe-info-zlib info-zlib
32562 maybe-info-zlib:
32563 @if zlib
32564 maybe-info-zlib: info-zlib
32566 info-zlib: \
32567 configure-zlib
32568 @[ -f ./zlib/Makefile ] || exit 0; \
32569 r=`${PWD_COMMAND}`; export r; \
32570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32571 $(HOST_EXPORTS) \
32572 for flag in $(EXTRA_HOST_FLAGS) ; do \
32573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32574 done; \
32575 echo "Doing info in zlib"; \
32576 (cd $(HOST_SUBDIR)/zlib && \
32577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32579 "RANLIB=$${RANLIB}" \
32580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32581 info) \
32582 || exit 1
32584 @endif zlib
32586 .PHONY: maybe-dvi-zlib dvi-zlib
32587 maybe-dvi-zlib:
32588 @if zlib
32589 maybe-dvi-zlib: dvi-zlib
32591 dvi-zlib: \
32592 configure-zlib
32593 @[ -f ./zlib/Makefile ] || exit 0; \
32594 r=`${PWD_COMMAND}`; export r; \
32595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32596 $(HOST_EXPORTS) \
32597 for flag in $(EXTRA_HOST_FLAGS) ; do \
32598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32599 done; \
32600 echo "Doing dvi in zlib"; \
32601 (cd $(HOST_SUBDIR)/zlib && \
32602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32604 "RANLIB=$${RANLIB}" \
32605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32606 dvi) \
32607 || exit 1
32609 @endif zlib
32611 .PHONY: maybe-pdf-zlib pdf-zlib
32612 maybe-pdf-zlib:
32613 @if zlib
32614 maybe-pdf-zlib: pdf-zlib
32616 pdf-zlib: \
32617 configure-zlib
32618 @[ -f ./zlib/Makefile ] || exit 0; \
32619 r=`${PWD_COMMAND}`; export r; \
32620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32621 $(HOST_EXPORTS) \
32622 for flag in $(EXTRA_HOST_FLAGS) ; do \
32623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32624 done; \
32625 echo "Doing pdf in zlib"; \
32626 (cd $(HOST_SUBDIR)/zlib && \
32627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32629 "RANLIB=$${RANLIB}" \
32630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32631 pdf) \
32632 || exit 1
32634 @endif zlib
32636 .PHONY: maybe-html-zlib html-zlib
32637 maybe-html-zlib:
32638 @if zlib
32639 maybe-html-zlib: html-zlib
32641 html-zlib: \
32642 configure-zlib
32643 @[ -f ./zlib/Makefile ] || exit 0; \
32644 r=`${PWD_COMMAND}`; export r; \
32645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32646 $(HOST_EXPORTS) \
32647 for flag in $(EXTRA_HOST_FLAGS) ; do \
32648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32649 done; \
32650 echo "Doing html in zlib"; \
32651 (cd $(HOST_SUBDIR)/zlib && \
32652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32654 "RANLIB=$${RANLIB}" \
32655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32656 html) \
32657 || exit 1
32659 @endif zlib
32661 .PHONY: maybe-TAGS-zlib TAGS-zlib
32662 maybe-TAGS-zlib:
32663 @if zlib
32664 maybe-TAGS-zlib: TAGS-zlib
32666 TAGS-zlib: \
32667 configure-zlib
32668 @[ -f ./zlib/Makefile ] || exit 0; \
32669 r=`${PWD_COMMAND}`; export r; \
32670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32671 $(HOST_EXPORTS) \
32672 for flag in $(EXTRA_HOST_FLAGS) ; do \
32673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32674 done; \
32675 echo "Doing TAGS in zlib"; \
32676 (cd $(HOST_SUBDIR)/zlib && \
32677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32679 "RANLIB=$${RANLIB}" \
32680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32681 TAGS) \
32682 || exit 1
32684 @endif zlib
32686 .PHONY: maybe-install-info-zlib install-info-zlib
32687 maybe-install-info-zlib:
32688 @if zlib
32689 maybe-install-info-zlib: install-info-zlib
32691 install-info-zlib: \
32692 configure-zlib \
32693 info-zlib
32694 @[ -f ./zlib/Makefile ] || exit 0; \
32695 r=`${PWD_COMMAND}`; export r; \
32696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32697 $(HOST_EXPORTS) \
32698 for flag in $(EXTRA_HOST_FLAGS) ; do \
32699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32700 done; \
32701 echo "Doing install-info in zlib"; \
32702 (cd $(HOST_SUBDIR)/zlib && \
32703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32705 "RANLIB=$${RANLIB}" \
32706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32707 install-info) \
32708 || exit 1
32710 @endif zlib
32712 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
32713 maybe-install-pdf-zlib:
32714 @if zlib
32715 maybe-install-pdf-zlib: install-pdf-zlib
32717 install-pdf-zlib: \
32718 configure-zlib \
32719 pdf-zlib
32720 @[ -f ./zlib/Makefile ] || exit 0; \
32721 r=`${PWD_COMMAND}`; export r; \
32722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32723 $(HOST_EXPORTS) \
32724 for flag in $(EXTRA_HOST_FLAGS) ; do \
32725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32726 done; \
32727 echo "Doing install-pdf in zlib"; \
32728 (cd $(HOST_SUBDIR)/zlib && \
32729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32731 "RANLIB=$${RANLIB}" \
32732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32733 install-pdf) \
32734 || exit 1
32736 @endif zlib
32738 .PHONY: maybe-install-html-zlib install-html-zlib
32739 maybe-install-html-zlib:
32740 @if zlib
32741 maybe-install-html-zlib: install-html-zlib
32743 install-html-zlib: \
32744 configure-zlib \
32745 html-zlib
32746 @[ -f ./zlib/Makefile ] || exit 0; \
32747 r=`${PWD_COMMAND}`; export r; \
32748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32749 $(HOST_EXPORTS) \
32750 for flag in $(EXTRA_HOST_FLAGS) ; do \
32751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32752 done; \
32753 echo "Doing install-html in zlib"; \
32754 (cd $(HOST_SUBDIR)/zlib && \
32755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32757 "RANLIB=$${RANLIB}" \
32758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32759 install-html) \
32760 || exit 1
32762 @endif zlib
32764 .PHONY: maybe-installcheck-zlib installcheck-zlib
32765 maybe-installcheck-zlib:
32766 @if zlib
32767 maybe-installcheck-zlib: installcheck-zlib
32769 installcheck-zlib: \
32770 configure-zlib
32771 @[ -f ./zlib/Makefile ] || exit 0; \
32772 r=`${PWD_COMMAND}`; export r; \
32773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32774 $(HOST_EXPORTS) \
32775 for flag in $(EXTRA_HOST_FLAGS) ; do \
32776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32777 done; \
32778 echo "Doing installcheck in zlib"; \
32779 (cd $(HOST_SUBDIR)/zlib && \
32780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32782 "RANLIB=$${RANLIB}" \
32783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32784 installcheck) \
32785 || exit 1
32787 @endif zlib
32789 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
32790 maybe-mostlyclean-zlib:
32791 @if zlib
32792 maybe-mostlyclean-zlib: mostlyclean-zlib
32794 mostlyclean-zlib:
32795 @[ -f ./zlib/Makefile ] || exit 0; \
32796 r=`${PWD_COMMAND}`; export r; \
32797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32798 $(HOST_EXPORTS) \
32799 for flag in $(EXTRA_HOST_FLAGS) ; do \
32800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32801 done; \
32802 echo "Doing mostlyclean in zlib"; \
32803 (cd $(HOST_SUBDIR)/zlib && \
32804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32806 "RANLIB=$${RANLIB}" \
32807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32808 mostlyclean) \
32809 || exit 1
32811 @endif zlib
32813 .PHONY: maybe-clean-zlib clean-zlib
32814 maybe-clean-zlib:
32815 @if zlib
32816 maybe-clean-zlib: clean-zlib
32818 clean-zlib:
32819 @[ -f ./zlib/Makefile ] || exit 0; \
32820 r=`${PWD_COMMAND}`; export r; \
32821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32822 $(HOST_EXPORTS) \
32823 for flag in $(EXTRA_HOST_FLAGS) ; do \
32824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32825 done; \
32826 echo "Doing clean in zlib"; \
32827 (cd $(HOST_SUBDIR)/zlib && \
32828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32830 "RANLIB=$${RANLIB}" \
32831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32832 clean) \
32833 || exit 1
32835 @endif zlib
32837 .PHONY: maybe-distclean-zlib distclean-zlib
32838 maybe-distclean-zlib:
32839 @if zlib
32840 maybe-distclean-zlib: distclean-zlib
32842 distclean-zlib:
32843 @[ -f ./zlib/Makefile ] || exit 0; \
32844 r=`${PWD_COMMAND}`; export r; \
32845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32846 $(HOST_EXPORTS) \
32847 for flag in $(EXTRA_HOST_FLAGS) ; do \
32848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32849 done; \
32850 echo "Doing distclean in zlib"; \
32851 (cd $(HOST_SUBDIR)/zlib && \
32852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32854 "RANLIB=$${RANLIB}" \
32855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32856 distclean) \
32857 || exit 1
32859 @endif zlib
32861 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
32862 maybe-maintainer-clean-zlib:
32863 @if zlib
32864 maybe-maintainer-clean-zlib: maintainer-clean-zlib
32866 maintainer-clean-zlib:
32867 @[ -f ./zlib/Makefile ] || exit 0; \
32868 r=`${PWD_COMMAND}`; export r; \
32869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32870 $(HOST_EXPORTS) \
32871 for flag in $(EXTRA_HOST_FLAGS) ; do \
32872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32873 done; \
32874 echo "Doing maintainer-clean in zlib"; \
32875 (cd $(HOST_SUBDIR)/zlib && \
32876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32878 "RANLIB=$${RANLIB}" \
32879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32880 maintainer-clean) \
32881 || exit 1
32883 @endif zlib
32887 .PHONY: configure-gdb maybe-configure-gdb
32888 maybe-configure-gdb:
32889 @if gcc-bootstrap
32890 configure-gdb: stage_current
32891 @endif gcc-bootstrap
32892 @if gdb
32893 maybe-configure-gdb: configure-gdb
32894 configure-gdb:
32895 @: $(MAKE); $(unstage)
32896 @r=`${PWD_COMMAND}`; export r; \
32897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32898 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
32899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
32900 $(HOST_EXPORTS) \
32901 echo Configuring in $(HOST_SUBDIR)/gdb; \
32902 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
32903 case $(srcdir) in \
32904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32905 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
32906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32907 esac; \
32908 module_srcdir=gdb; \
32909 $(SHELL) \
32910 $$s/$$module_srcdir/configure \
32911 --srcdir=$${topdir}/$$module_srcdir \
32912 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32913 --target=${target_alias} \
32914 || exit 1
32915 @endif gdb
32921 .PHONY: all-gdb maybe-all-gdb
32922 maybe-all-gdb:
32923 @if gcc-bootstrap
32924 all-gdb: stage_current
32925 @endif gcc-bootstrap
32926 @if gdb
32927 TARGET-gdb=all
32928 maybe-all-gdb: all-gdb
32929 all-gdb: configure-gdb
32930 @: $(MAKE); $(unstage)
32931 @r=`${PWD_COMMAND}`; export r; \
32932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32933 $(HOST_EXPORTS) \
32934 (cd $(HOST_SUBDIR)/gdb && \
32935 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32936 $(TARGET-gdb))
32937 @endif gdb
32942 .PHONY: check-gdb maybe-check-gdb
32943 maybe-check-gdb:
32944 @if gdb
32945 maybe-check-gdb: check-gdb
32947 check-gdb:
32948 @: $(MAKE); $(unstage)
32949 @r=`${PWD_COMMAND}`; export r; \
32950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32951 $(HOST_EXPORTS) \
32952 (cd $(HOST_SUBDIR)/gdb && \
32953 $(MAKE) $(FLAGS_TO_PASS) check)
32955 @endif gdb
32957 .PHONY: install-gdb maybe-install-gdb
32958 maybe-install-gdb:
32959 @if gdb
32960 maybe-install-gdb: install-gdb
32962 install-gdb: installdirs
32963 @: $(MAKE); $(unstage)
32964 @r=`${PWD_COMMAND}`; export r; \
32965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32966 $(HOST_EXPORTS) \
32967 (cd $(HOST_SUBDIR)/gdb && \
32968 $(MAKE) $(FLAGS_TO_PASS) install)
32970 @endif gdb
32972 .PHONY: install-strip-gdb maybe-install-strip-gdb
32973 maybe-install-strip-gdb:
32974 @if gdb
32975 maybe-install-strip-gdb: install-strip-gdb
32977 install-strip-gdb: installdirs
32978 @: $(MAKE); $(unstage)
32979 @r=`${PWD_COMMAND}`; export r; \
32980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32981 $(HOST_EXPORTS) \
32982 (cd $(HOST_SUBDIR)/gdb && \
32983 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32985 @endif gdb
32987 # Other targets (info, dvi, pdf, etc.)
32989 .PHONY: maybe-info-gdb info-gdb
32990 maybe-info-gdb:
32991 @if gdb
32992 maybe-info-gdb: info-gdb
32994 info-gdb: \
32995 configure-gdb
32996 @: $(MAKE); $(unstage)
32997 @[ -f ./gdb/Makefile ] || exit 0; \
32998 r=`${PWD_COMMAND}`; export r; \
32999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33000 $(HOST_EXPORTS) \
33001 for flag in $(EXTRA_HOST_FLAGS) ; do \
33002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33003 done; \
33004 echo "Doing info in gdb"; \
33005 (cd $(HOST_SUBDIR)/gdb && \
33006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33008 "RANLIB=$${RANLIB}" \
33009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33010 info) \
33011 || exit 1
33013 @endif gdb
33015 .PHONY: maybe-dvi-gdb dvi-gdb
33016 maybe-dvi-gdb:
33017 @if gdb
33018 maybe-dvi-gdb: dvi-gdb
33020 dvi-gdb: \
33021 configure-gdb
33022 @: $(MAKE); $(unstage)
33023 @[ -f ./gdb/Makefile ] || exit 0; \
33024 r=`${PWD_COMMAND}`; export r; \
33025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33026 $(HOST_EXPORTS) \
33027 for flag in $(EXTRA_HOST_FLAGS) ; do \
33028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33029 done; \
33030 echo "Doing dvi in gdb"; \
33031 (cd $(HOST_SUBDIR)/gdb && \
33032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33034 "RANLIB=$${RANLIB}" \
33035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33036 dvi) \
33037 || exit 1
33039 @endif gdb
33041 .PHONY: maybe-pdf-gdb pdf-gdb
33042 maybe-pdf-gdb:
33043 @if gdb
33044 maybe-pdf-gdb: pdf-gdb
33046 pdf-gdb: \
33047 configure-gdb
33048 @: $(MAKE); $(unstage)
33049 @[ -f ./gdb/Makefile ] || exit 0; \
33050 r=`${PWD_COMMAND}`; export r; \
33051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33052 $(HOST_EXPORTS) \
33053 for flag in $(EXTRA_HOST_FLAGS) ; do \
33054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33055 done; \
33056 echo "Doing pdf in gdb"; \
33057 (cd $(HOST_SUBDIR)/gdb && \
33058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33060 "RANLIB=$${RANLIB}" \
33061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33062 pdf) \
33063 || exit 1
33065 @endif gdb
33067 .PHONY: maybe-html-gdb html-gdb
33068 maybe-html-gdb:
33069 @if gdb
33070 maybe-html-gdb: html-gdb
33072 html-gdb: \
33073 configure-gdb
33074 @: $(MAKE); $(unstage)
33075 @[ -f ./gdb/Makefile ] || exit 0; \
33076 r=`${PWD_COMMAND}`; export r; \
33077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33078 $(HOST_EXPORTS) \
33079 for flag in $(EXTRA_HOST_FLAGS) ; do \
33080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33081 done; \
33082 echo "Doing html in gdb"; \
33083 (cd $(HOST_SUBDIR)/gdb && \
33084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33086 "RANLIB=$${RANLIB}" \
33087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33088 html) \
33089 || exit 1
33091 @endif gdb
33093 .PHONY: maybe-TAGS-gdb TAGS-gdb
33094 maybe-TAGS-gdb:
33095 @if gdb
33096 maybe-TAGS-gdb: TAGS-gdb
33098 TAGS-gdb: \
33099 configure-gdb
33100 @: $(MAKE); $(unstage)
33101 @[ -f ./gdb/Makefile ] || exit 0; \
33102 r=`${PWD_COMMAND}`; export r; \
33103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33104 $(HOST_EXPORTS) \
33105 for flag in $(EXTRA_HOST_FLAGS) ; do \
33106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33107 done; \
33108 echo "Doing TAGS in gdb"; \
33109 (cd $(HOST_SUBDIR)/gdb && \
33110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33112 "RANLIB=$${RANLIB}" \
33113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33114 TAGS) \
33115 || exit 1
33117 @endif gdb
33119 .PHONY: maybe-install-info-gdb install-info-gdb
33120 maybe-install-info-gdb:
33121 @if gdb
33122 maybe-install-info-gdb: install-info-gdb
33124 install-info-gdb: \
33125 configure-gdb \
33126 info-gdb
33127 @: $(MAKE); $(unstage)
33128 @[ -f ./gdb/Makefile ] || exit 0; \
33129 r=`${PWD_COMMAND}`; export r; \
33130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33131 $(HOST_EXPORTS) \
33132 for flag in $(EXTRA_HOST_FLAGS) ; do \
33133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33134 done; \
33135 echo "Doing install-info in gdb"; \
33136 (cd $(HOST_SUBDIR)/gdb && \
33137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33139 "RANLIB=$${RANLIB}" \
33140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33141 install-info) \
33142 || exit 1
33144 @endif gdb
33146 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
33147 maybe-install-pdf-gdb:
33148 @if gdb
33149 maybe-install-pdf-gdb: install-pdf-gdb
33151 install-pdf-gdb: \
33152 configure-gdb \
33153 pdf-gdb
33154 @: $(MAKE); $(unstage)
33155 @[ -f ./gdb/Makefile ] || exit 0; \
33156 r=`${PWD_COMMAND}`; export r; \
33157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33158 $(HOST_EXPORTS) \
33159 for flag in $(EXTRA_HOST_FLAGS) ; do \
33160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33161 done; \
33162 echo "Doing install-pdf in gdb"; \
33163 (cd $(HOST_SUBDIR)/gdb && \
33164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33166 "RANLIB=$${RANLIB}" \
33167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33168 install-pdf) \
33169 || exit 1
33171 @endif gdb
33173 .PHONY: maybe-install-html-gdb install-html-gdb
33174 maybe-install-html-gdb:
33175 @if gdb
33176 maybe-install-html-gdb: install-html-gdb
33178 install-html-gdb: \
33179 configure-gdb \
33180 html-gdb
33181 @: $(MAKE); $(unstage)
33182 @[ -f ./gdb/Makefile ] || exit 0; \
33183 r=`${PWD_COMMAND}`; export r; \
33184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33185 $(HOST_EXPORTS) \
33186 for flag in $(EXTRA_HOST_FLAGS) ; do \
33187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33188 done; \
33189 echo "Doing install-html in gdb"; \
33190 (cd $(HOST_SUBDIR)/gdb && \
33191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33193 "RANLIB=$${RANLIB}" \
33194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33195 install-html) \
33196 || exit 1
33198 @endif gdb
33200 .PHONY: maybe-installcheck-gdb installcheck-gdb
33201 maybe-installcheck-gdb:
33202 @if gdb
33203 maybe-installcheck-gdb: installcheck-gdb
33205 installcheck-gdb: \
33206 configure-gdb
33207 @: $(MAKE); $(unstage)
33208 @[ -f ./gdb/Makefile ] || exit 0; \
33209 r=`${PWD_COMMAND}`; export r; \
33210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33211 $(HOST_EXPORTS) \
33212 for flag in $(EXTRA_HOST_FLAGS) ; do \
33213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33214 done; \
33215 echo "Doing installcheck in gdb"; \
33216 (cd $(HOST_SUBDIR)/gdb && \
33217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33219 "RANLIB=$${RANLIB}" \
33220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33221 installcheck) \
33222 || exit 1
33224 @endif gdb
33226 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
33227 maybe-mostlyclean-gdb:
33228 @if gdb
33229 maybe-mostlyclean-gdb: mostlyclean-gdb
33231 mostlyclean-gdb:
33232 @: $(MAKE); $(unstage)
33233 @[ -f ./gdb/Makefile ] || exit 0; \
33234 r=`${PWD_COMMAND}`; export r; \
33235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33236 $(HOST_EXPORTS) \
33237 for flag in $(EXTRA_HOST_FLAGS) ; do \
33238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33239 done; \
33240 echo "Doing mostlyclean in gdb"; \
33241 (cd $(HOST_SUBDIR)/gdb && \
33242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33244 "RANLIB=$${RANLIB}" \
33245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33246 mostlyclean) \
33247 || exit 1
33249 @endif gdb
33251 .PHONY: maybe-clean-gdb clean-gdb
33252 maybe-clean-gdb:
33253 @if gdb
33254 maybe-clean-gdb: clean-gdb
33256 clean-gdb:
33257 @: $(MAKE); $(unstage)
33258 @[ -f ./gdb/Makefile ] || exit 0; \
33259 r=`${PWD_COMMAND}`; export r; \
33260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33261 $(HOST_EXPORTS) \
33262 for flag in $(EXTRA_HOST_FLAGS) ; do \
33263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33264 done; \
33265 echo "Doing clean in gdb"; \
33266 (cd $(HOST_SUBDIR)/gdb && \
33267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33269 "RANLIB=$${RANLIB}" \
33270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33271 clean) \
33272 || exit 1
33274 @endif gdb
33276 .PHONY: maybe-distclean-gdb distclean-gdb
33277 maybe-distclean-gdb:
33278 @if gdb
33279 maybe-distclean-gdb: distclean-gdb
33281 distclean-gdb:
33282 @: $(MAKE); $(unstage)
33283 @[ -f ./gdb/Makefile ] || exit 0; \
33284 r=`${PWD_COMMAND}`; export r; \
33285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33286 $(HOST_EXPORTS) \
33287 for flag in $(EXTRA_HOST_FLAGS) ; do \
33288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33289 done; \
33290 echo "Doing distclean in gdb"; \
33291 (cd $(HOST_SUBDIR)/gdb && \
33292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33294 "RANLIB=$${RANLIB}" \
33295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33296 distclean) \
33297 || exit 1
33299 @endif gdb
33301 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
33302 maybe-maintainer-clean-gdb:
33303 @if gdb
33304 maybe-maintainer-clean-gdb: maintainer-clean-gdb
33306 maintainer-clean-gdb:
33307 @: $(MAKE); $(unstage)
33308 @[ -f ./gdb/Makefile ] || exit 0; \
33309 r=`${PWD_COMMAND}`; export r; \
33310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33311 $(HOST_EXPORTS) \
33312 for flag in $(EXTRA_HOST_FLAGS) ; do \
33313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33314 done; \
33315 echo "Doing maintainer-clean in gdb"; \
33316 (cd $(HOST_SUBDIR)/gdb && \
33317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33319 "RANLIB=$${RANLIB}" \
33320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33321 maintainer-clean) \
33322 || exit 1
33324 @endif gdb
33328 .PHONY: configure-expect maybe-configure-expect
33329 maybe-configure-expect:
33330 @if gcc-bootstrap
33331 configure-expect: stage_current
33332 @endif gcc-bootstrap
33333 @if expect
33334 maybe-configure-expect: configure-expect
33335 configure-expect:
33336 @: $(MAKE); $(unstage)
33337 @r=`${PWD_COMMAND}`; export r; \
33338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33339 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
33340 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
33341 $(HOST_EXPORTS) \
33342 echo Configuring in $(HOST_SUBDIR)/expect; \
33343 cd "$(HOST_SUBDIR)/expect" || exit 1; \
33344 case $(srcdir) in \
33345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33346 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
33347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33348 esac; \
33349 module_srcdir=expect; \
33350 $(SHELL) \
33351 $$s/$$module_srcdir/configure \
33352 --srcdir=$${topdir}/$$module_srcdir \
33353 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33354 --target=${target_alias} \
33355 || exit 1
33356 @endif expect
33362 .PHONY: all-expect maybe-all-expect
33363 maybe-all-expect:
33364 @if gcc-bootstrap
33365 all-expect: stage_current
33366 @endif gcc-bootstrap
33367 @if expect
33368 TARGET-expect=all
33369 maybe-all-expect: all-expect
33370 all-expect: configure-expect
33371 @: $(MAKE); $(unstage)
33372 @r=`${PWD_COMMAND}`; export r; \
33373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33374 $(HOST_EXPORTS) \
33375 (cd $(HOST_SUBDIR)/expect && \
33376 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33377 $(TARGET-expect))
33378 @endif expect
33383 .PHONY: check-expect maybe-check-expect
33384 maybe-check-expect:
33385 @if expect
33386 maybe-check-expect: check-expect
33388 check-expect:
33389 @: $(MAKE); $(unstage)
33390 @r=`${PWD_COMMAND}`; export r; \
33391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33392 $(HOST_EXPORTS) \
33393 (cd $(HOST_SUBDIR)/expect && \
33394 $(MAKE) $(FLAGS_TO_PASS) check)
33396 @endif expect
33398 .PHONY: install-expect maybe-install-expect
33399 maybe-install-expect:
33400 @if expect
33401 maybe-install-expect: install-expect
33403 install-expect: installdirs
33404 @: $(MAKE); $(unstage)
33405 @r=`${PWD_COMMAND}`; export r; \
33406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33407 $(HOST_EXPORTS) \
33408 (cd $(HOST_SUBDIR)/expect && \
33409 $(MAKE) $(FLAGS_TO_PASS) install)
33411 @endif expect
33413 .PHONY: install-strip-expect maybe-install-strip-expect
33414 maybe-install-strip-expect:
33415 @if expect
33416 maybe-install-strip-expect: install-strip-expect
33418 install-strip-expect: installdirs
33419 @: $(MAKE); $(unstage)
33420 @r=`${PWD_COMMAND}`; export r; \
33421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33422 $(HOST_EXPORTS) \
33423 (cd $(HOST_SUBDIR)/expect && \
33424 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33426 @endif expect
33428 # Other targets (info, dvi, pdf, etc.)
33430 .PHONY: maybe-info-expect info-expect
33431 maybe-info-expect:
33432 @if expect
33433 maybe-info-expect: info-expect
33435 info-expect: \
33436 configure-expect
33437 @: $(MAKE); $(unstage)
33438 @[ -f ./expect/Makefile ] || exit 0; \
33439 r=`${PWD_COMMAND}`; export r; \
33440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33441 $(HOST_EXPORTS) \
33442 for flag in $(EXTRA_HOST_FLAGS) ; do \
33443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33444 done; \
33445 echo "Doing info in expect"; \
33446 (cd $(HOST_SUBDIR)/expect && \
33447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33449 "RANLIB=$${RANLIB}" \
33450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33451 info) \
33452 || exit 1
33454 @endif expect
33456 .PHONY: maybe-dvi-expect dvi-expect
33457 maybe-dvi-expect:
33458 @if expect
33459 maybe-dvi-expect: dvi-expect
33461 dvi-expect: \
33462 configure-expect
33463 @: $(MAKE); $(unstage)
33464 @[ -f ./expect/Makefile ] || exit 0; \
33465 r=`${PWD_COMMAND}`; export r; \
33466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33467 $(HOST_EXPORTS) \
33468 for flag in $(EXTRA_HOST_FLAGS) ; do \
33469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33470 done; \
33471 echo "Doing dvi in expect"; \
33472 (cd $(HOST_SUBDIR)/expect && \
33473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33475 "RANLIB=$${RANLIB}" \
33476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33477 dvi) \
33478 || exit 1
33480 @endif expect
33482 .PHONY: maybe-pdf-expect pdf-expect
33483 maybe-pdf-expect:
33484 @if expect
33485 maybe-pdf-expect: pdf-expect
33487 pdf-expect: \
33488 configure-expect
33489 @: $(MAKE); $(unstage)
33490 @[ -f ./expect/Makefile ] || exit 0; \
33491 r=`${PWD_COMMAND}`; export r; \
33492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33493 $(HOST_EXPORTS) \
33494 for flag in $(EXTRA_HOST_FLAGS) ; do \
33495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33496 done; \
33497 echo "Doing pdf in expect"; \
33498 (cd $(HOST_SUBDIR)/expect && \
33499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33501 "RANLIB=$${RANLIB}" \
33502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33503 pdf) \
33504 || exit 1
33506 @endif expect
33508 .PHONY: maybe-html-expect html-expect
33509 maybe-html-expect:
33510 @if expect
33511 maybe-html-expect: html-expect
33513 html-expect: \
33514 configure-expect
33515 @: $(MAKE); $(unstage)
33516 @[ -f ./expect/Makefile ] || exit 0; \
33517 r=`${PWD_COMMAND}`; export r; \
33518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33519 $(HOST_EXPORTS) \
33520 for flag in $(EXTRA_HOST_FLAGS) ; do \
33521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33522 done; \
33523 echo "Doing html in expect"; \
33524 (cd $(HOST_SUBDIR)/expect && \
33525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33527 "RANLIB=$${RANLIB}" \
33528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33529 html) \
33530 || exit 1
33532 @endif expect
33534 .PHONY: maybe-TAGS-expect TAGS-expect
33535 maybe-TAGS-expect:
33536 @if expect
33537 maybe-TAGS-expect: TAGS-expect
33539 TAGS-expect: \
33540 configure-expect
33541 @: $(MAKE); $(unstage)
33542 @[ -f ./expect/Makefile ] || exit 0; \
33543 r=`${PWD_COMMAND}`; export r; \
33544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33545 $(HOST_EXPORTS) \
33546 for flag in $(EXTRA_HOST_FLAGS) ; do \
33547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33548 done; \
33549 echo "Doing TAGS in expect"; \
33550 (cd $(HOST_SUBDIR)/expect && \
33551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33553 "RANLIB=$${RANLIB}" \
33554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33555 TAGS) \
33556 || exit 1
33558 @endif expect
33560 .PHONY: maybe-install-info-expect install-info-expect
33561 maybe-install-info-expect:
33562 @if expect
33563 maybe-install-info-expect: install-info-expect
33565 install-info-expect: \
33566 configure-expect \
33567 info-expect
33568 @: $(MAKE); $(unstage)
33569 @[ -f ./expect/Makefile ] || exit 0; \
33570 r=`${PWD_COMMAND}`; export r; \
33571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33572 $(HOST_EXPORTS) \
33573 for flag in $(EXTRA_HOST_FLAGS) ; do \
33574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33575 done; \
33576 echo "Doing install-info in expect"; \
33577 (cd $(HOST_SUBDIR)/expect && \
33578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33580 "RANLIB=$${RANLIB}" \
33581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33582 install-info) \
33583 || exit 1
33585 @endif expect
33587 .PHONY: maybe-install-pdf-expect install-pdf-expect
33588 maybe-install-pdf-expect:
33589 @if expect
33590 maybe-install-pdf-expect: install-pdf-expect
33592 install-pdf-expect: \
33593 configure-expect \
33594 pdf-expect
33595 @: $(MAKE); $(unstage)
33596 @[ -f ./expect/Makefile ] || exit 0; \
33597 r=`${PWD_COMMAND}`; export r; \
33598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33599 $(HOST_EXPORTS) \
33600 for flag in $(EXTRA_HOST_FLAGS) ; do \
33601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33602 done; \
33603 echo "Doing install-pdf in expect"; \
33604 (cd $(HOST_SUBDIR)/expect && \
33605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33607 "RANLIB=$${RANLIB}" \
33608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33609 install-pdf) \
33610 || exit 1
33612 @endif expect
33614 .PHONY: maybe-install-html-expect install-html-expect
33615 maybe-install-html-expect:
33616 @if expect
33617 maybe-install-html-expect: install-html-expect
33619 install-html-expect: \
33620 configure-expect \
33621 html-expect
33622 @: $(MAKE); $(unstage)
33623 @[ -f ./expect/Makefile ] || exit 0; \
33624 r=`${PWD_COMMAND}`; export r; \
33625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33626 $(HOST_EXPORTS) \
33627 for flag in $(EXTRA_HOST_FLAGS) ; do \
33628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33629 done; \
33630 echo "Doing install-html in expect"; \
33631 (cd $(HOST_SUBDIR)/expect && \
33632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33634 "RANLIB=$${RANLIB}" \
33635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33636 install-html) \
33637 || exit 1
33639 @endif expect
33641 .PHONY: maybe-installcheck-expect installcheck-expect
33642 maybe-installcheck-expect:
33643 @if expect
33644 maybe-installcheck-expect: installcheck-expect
33646 installcheck-expect: \
33647 configure-expect
33648 @: $(MAKE); $(unstage)
33649 @[ -f ./expect/Makefile ] || exit 0; \
33650 r=`${PWD_COMMAND}`; export r; \
33651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33652 $(HOST_EXPORTS) \
33653 for flag in $(EXTRA_HOST_FLAGS) ; do \
33654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33655 done; \
33656 echo "Doing installcheck in expect"; \
33657 (cd $(HOST_SUBDIR)/expect && \
33658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33660 "RANLIB=$${RANLIB}" \
33661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33662 installcheck) \
33663 || exit 1
33665 @endif expect
33667 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
33668 maybe-mostlyclean-expect:
33669 @if expect
33670 maybe-mostlyclean-expect: mostlyclean-expect
33672 mostlyclean-expect:
33673 @: $(MAKE); $(unstage)
33674 @[ -f ./expect/Makefile ] || exit 0; \
33675 r=`${PWD_COMMAND}`; export r; \
33676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33677 $(HOST_EXPORTS) \
33678 for flag in $(EXTRA_HOST_FLAGS) ; do \
33679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33680 done; \
33681 echo "Doing mostlyclean in expect"; \
33682 (cd $(HOST_SUBDIR)/expect && \
33683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33685 "RANLIB=$${RANLIB}" \
33686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33687 mostlyclean) \
33688 || exit 1
33690 @endif expect
33692 .PHONY: maybe-clean-expect clean-expect
33693 maybe-clean-expect:
33694 @if expect
33695 maybe-clean-expect: clean-expect
33697 clean-expect:
33698 @: $(MAKE); $(unstage)
33699 @[ -f ./expect/Makefile ] || exit 0; \
33700 r=`${PWD_COMMAND}`; export r; \
33701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33702 $(HOST_EXPORTS) \
33703 for flag in $(EXTRA_HOST_FLAGS) ; do \
33704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33705 done; \
33706 echo "Doing clean in expect"; \
33707 (cd $(HOST_SUBDIR)/expect && \
33708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33710 "RANLIB=$${RANLIB}" \
33711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33712 clean) \
33713 || exit 1
33715 @endif expect
33717 .PHONY: maybe-distclean-expect distclean-expect
33718 maybe-distclean-expect:
33719 @if expect
33720 maybe-distclean-expect: distclean-expect
33722 distclean-expect:
33723 @: $(MAKE); $(unstage)
33724 @[ -f ./expect/Makefile ] || exit 0; \
33725 r=`${PWD_COMMAND}`; export r; \
33726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33727 $(HOST_EXPORTS) \
33728 for flag in $(EXTRA_HOST_FLAGS) ; do \
33729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33730 done; \
33731 echo "Doing distclean in expect"; \
33732 (cd $(HOST_SUBDIR)/expect && \
33733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33735 "RANLIB=$${RANLIB}" \
33736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33737 distclean) \
33738 || exit 1
33740 @endif expect
33742 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
33743 maybe-maintainer-clean-expect:
33744 @if expect
33745 maybe-maintainer-clean-expect: maintainer-clean-expect
33747 maintainer-clean-expect:
33748 @: $(MAKE); $(unstage)
33749 @[ -f ./expect/Makefile ] || exit 0; \
33750 r=`${PWD_COMMAND}`; export r; \
33751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33752 $(HOST_EXPORTS) \
33753 for flag in $(EXTRA_HOST_FLAGS) ; do \
33754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33755 done; \
33756 echo "Doing maintainer-clean in expect"; \
33757 (cd $(HOST_SUBDIR)/expect && \
33758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33760 "RANLIB=$${RANLIB}" \
33761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33762 maintainer-clean) \
33763 || exit 1
33765 @endif expect
33769 .PHONY: configure-guile maybe-configure-guile
33770 maybe-configure-guile:
33771 @if gcc-bootstrap
33772 configure-guile: stage_current
33773 @endif gcc-bootstrap
33774 @if guile
33775 maybe-configure-guile: configure-guile
33776 configure-guile:
33777 @: $(MAKE); $(unstage)
33778 @r=`${PWD_COMMAND}`; export r; \
33779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33780 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
33781 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
33782 $(HOST_EXPORTS) \
33783 echo Configuring in $(HOST_SUBDIR)/guile; \
33784 cd "$(HOST_SUBDIR)/guile" || exit 1; \
33785 case $(srcdir) in \
33786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33787 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
33788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33789 esac; \
33790 module_srcdir=guile; \
33791 $(SHELL) \
33792 $$s/$$module_srcdir/configure \
33793 --srcdir=$${topdir}/$$module_srcdir \
33794 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33795 --target=${target_alias} \
33796 || exit 1
33797 @endif guile
33803 .PHONY: all-guile maybe-all-guile
33804 maybe-all-guile:
33805 @if gcc-bootstrap
33806 all-guile: stage_current
33807 @endif gcc-bootstrap
33808 @if guile
33809 TARGET-guile=all
33810 maybe-all-guile: all-guile
33811 all-guile: configure-guile
33812 @: $(MAKE); $(unstage)
33813 @r=`${PWD_COMMAND}`; export r; \
33814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33815 $(HOST_EXPORTS) \
33816 (cd $(HOST_SUBDIR)/guile && \
33817 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33818 $(TARGET-guile))
33819 @endif guile
33824 .PHONY: check-guile maybe-check-guile
33825 maybe-check-guile:
33826 @if guile
33827 maybe-check-guile: check-guile
33829 check-guile:
33830 @: $(MAKE); $(unstage)
33831 @r=`${PWD_COMMAND}`; export r; \
33832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33833 $(HOST_EXPORTS) \
33834 (cd $(HOST_SUBDIR)/guile && \
33835 $(MAKE) $(FLAGS_TO_PASS) check)
33837 @endif guile
33839 .PHONY: install-guile maybe-install-guile
33840 maybe-install-guile:
33841 @if guile
33842 maybe-install-guile: install-guile
33844 install-guile: installdirs
33845 @: $(MAKE); $(unstage)
33846 @r=`${PWD_COMMAND}`; export r; \
33847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33848 $(HOST_EXPORTS) \
33849 (cd $(HOST_SUBDIR)/guile && \
33850 $(MAKE) $(FLAGS_TO_PASS) install)
33852 @endif guile
33854 .PHONY: install-strip-guile maybe-install-strip-guile
33855 maybe-install-strip-guile:
33856 @if guile
33857 maybe-install-strip-guile: install-strip-guile
33859 install-strip-guile: installdirs
33860 @: $(MAKE); $(unstage)
33861 @r=`${PWD_COMMAND}`; export r; \
33862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33863 $(HOST_EXPORTS) \
33864 (cd $(HOST_SUBDIR)/guile && \
33865 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33867 @endif guile
33869 # Other targets (info, dvi, pdf, etc.)
33871 .PHONY: maybe-info-guile info-guile
33872 maybe-info-guile:
33873 @if guile
33874 maybe-info-guile: info-guile
33876 info-guile: \
33877 configure-guile
33878 @: $(MAKE); $(unstage)
33879 @[ -f ./guile/Makefile ] || exit 0; \
33880 r=`${PWD_COMMAND}`; export r; \
33881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33882 $(HOST_EXPORTS) \
33883 for flag in $(EXTRA_HOST_FLAGS) ; do \
33884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33885 done; \
33886 echo "Doing info in guile"; \
33887 (cd $(HOST_SUBDIR)/guile && \
33888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33890 "RANLIB=$${RANLIB}" \
33891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33892 info) \
33893 || exit 1
33895 @endif guile
33897 .PHONY: maybe-dvi-guile dvi-guile
33898 maybe-dvi-guile:
33899 @if guile
33900 maybe-dvi-guile: dvi-guile
33902 dvi-guile: \
33903 configure-guile
33904 @: $(MAKE); $(unstage)
33905 @[ -f ./guile/Makefile ] || exit 0; \
33906 r=`${PWD_COMMAND}`; export r; \
33907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33908 $(HOST_EXPORTS) \
33909 for flag in $(EXTRA_HOST_FLAGS) ; do \
33910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33911 done; \
33912 echo "Doing dvi in guile"; \
33913 (cd $(HOST_SUBDIR)/guile && \
33914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33916 "RANLIB=$${RANLIB}" \
33917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33918 dvi) \
33919 || exit 1
33921 @endif guile
33923 .PHONY: maybe-pdf-guile pdf-guile
33924 maybe-pdf-guile:
33925 @if guile
33926 maybe-pdf-guile: pdf-guile
33928 pdf-guile: \
33929 configure-guile
33930 @: $(MAKE); $(unstage)
33931 @[ -f ./guile/Makefile ] || exit 0; \
33932 r=`${PWD_COMMAND}`; export r; \
33933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33934 $(HOST_EXPORTS) \
33935 for flag in $(EXTRA_HOST_FLAGS) ; do \
33936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33937 done; \
33938 echo "Doing pdf in guile"; \
33939 (cd $(HOST_SUBDIR)/guile && \
33940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33942 "RANLIB=$${RANLIB}" \
33943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33944 pdf) \
33945 || exit 1
33947 @endif guile
33949 .PHONY: maybe-html-guile html-guile
33950 maybe-html-guile:
33951 @if guile
33952 maybe-html-guile: html-guile
33954 html-guile: \
33955 configure-guile
33956 @: $(MAKE); $(unstage)
33957 @[ -f ./guile/Makefile ] || exit 0; \
33958 r=`${PWD_COMMAND}`; export r; \
33959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33960 $(HOST_EXPORTS) \
33961 for flag in $(EXTRA_HOST_FLAGS) ; do \
33962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33963 done; \
33964 echo "Doing html in guile"; \
33965 (cd $(HOST_SUBDIR)/guile && \
33966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33968 "RANLIB=$${RANLIB}" \
33969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33970 html) \
33971 || exit 1
33973 @endif guile
33975 .PHONY: maybe-TAGS-guile TAGS-guile
33976 maybe-TAGS-guile:
33977 @if guile
33978 maybe-TAGS-guile: TAGS-guile
33980 TAGS-guile: \
33981 configure-guile
33982 @: $(MAKE); $(unstage)
33983 @[ -f ./guile/Makefile ] || exit 0; \
33984 r=`${PWD_COMMAND}`; export r; \
33985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33986 $(HOST_EXPORTS) \
33987 for flag in $(EXTRA_HOST_FLAGS) ; do \
33988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33989 done; \
33990 echo "Doing TAGS in guile"; \
33991 (cd $(HOST_SUBDIR)/guile && \
33992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33994 "RANLIB=$${RANLIB}" \
33995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33996 TAGS) \
33997 || exit 1
33999 @endif guile
34001 .PHONY: maybe-install-info-guile install-info-guile
34002 maybe-install-info-guile:
34003 @if guile
34004 maybe-install-info-guile: install-info-guile
34006 install-info-guile: \
34007 configure-guile \
34008 info-guile
34009 @: $(MAKE); $(unstage)
34010 @[ -f ./guile/Makefile ] || exit 0; \
34011 r=`${PWD_COMMAND}`; export r; \
34012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34013 $(HOST_EXPORTS) \
34014 for flag in $(EXTRA_HOST_FLAGS) ; do \
34015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34016 done; \
34017 echo "Doing install-info in guile"; \
34018 (cd $(HOST_SUBDIR)/guile && \
34019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34021 "RANLIB=$${RANLIB}" \
34022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34023 install-info) \
34024 || exit 1
34026 @endif guile
34028 .PHONY: maybe-install-pdf-guile install-pdf-guile
34029 maybe-install-pdf-guile:
34030 @if guile
34031 maybe-install-pdf-guile: install-pdf-guile
34033 install-pdf-guile: \
34034 configure-guile \
34035 pdf-guile
34036 @: $(MAKE); $(unstage)
34037 @[ -f ./guile/Makefile ] || exit 0; \
34038 r=`${PWD_COMMAND}`; export r; \
34039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34040 $(HOST_EXPORTS) \
34041 for flag in $(EXTRA_HOST_FLAGS) ; do \
34042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34043 done; \
34044 echo "Doing install-pdf in guile"; \
34045 (cd $(HOST_SUBDIR)/guile && \
34046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34048 "RANLIB=$${RANLIB}" \
34049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34050 install-pdf) \
34051 || exit 1
34053 @endif guile
34055 .PHONY: maybe-install-html-guile install-html-guile
34056 maybe-install-html-guile:
34057 @if guile
34058 maybe-install-html-guile: install-html-guile
34060 install-html-guile: \
34061 configure-guile \
34062 html-guile
34063 @: $(MAKE); $(unstage)
34064 @[ -f ./guile/Makefile ] || exit 0; \
34065 r=`${PWD_COMMAND}`; export r; \
34066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34067 $(HOST_EXPORTS) \
34068 for flag in $(EXTRA_HOST_FLAGS) ; do \
34069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34070 done; \
34071 echo "Doing install-html in guile"; \
34072 (cd $(HOST_SUBDIR)/guile && \
34073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34075 "RANLIB=$${RANLIB}" \
34076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34077 install-html) \
34078 || exit 1
34080 @endif guile
34082 .PHONY: maybe-installcheck-guile installcheck-guile
34083 maybe-installcheck-guile:
34084 @if guile
34085 maybe-installcheck-guile: installcheck-guile
34087 installcheck-guile: \
34088 configure-guile
34089 @: $(MAKE); $(unstage)
34090 @[ -f ./guile/Makefile ] || exit 0; \
34091 r=`${PWD_COMMAND}`; export r; \
34092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34093 $(HOST_EXPORTS) \
34094 for flag in $(EXTRA_HOST_FLAGS) ; do \
34095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34096 done; \
34097 echo "Doing installcheck in guile"; \
34098 (cd $(HOST_SUBDIR)/guile && \
34099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34101 "RANLIB=$${RANLIB}" \
34102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34103 installcheck) \
34104 || exit 1
34106 @endif guile
34108 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
34109 maybe-mostlyclean-guile:
34110 @if guile
34111 maybe-mostlyclean-guile: mostlyclean-guile
34113 mostlyclean-guile:
34114 @: $(MAKE); $(unstage)
34115 @[ -f ./guile/Makefile ] || exit 0; \
34116 r=`${PWD_COMMAND}`; export r; \
34117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34118 $(HOST_EXPORTS) \
34119 for flag in $(EXTRA_HOST_FLAGS) ; do \
34120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34121 done; \
34122 echo "Doing mostlyclean in guile"; \
34123 (cd $(HOST_SUBDIR)/guile && \
34124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34126 "RANLIB=$${RANLIB}" \
34127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34128 mostlyclean) \
34129 || exit 1
34131 @endif guile
34133 .PHONY: maybe-clean-guile clean-guile
34134 maybe-clean-guile:
34135 @if guile
34136 maybe-clean-guile: clean-guile
34138 clean-guile:
34139 @: $(MAKE); $(unstage)
34140 @[ -f ./guile/Makefile ] || exit 0; \
34141 r=`${PWD_COMMAND}`; export r; \
34142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34143 $(HOST_EXPORTS) \
34144 for flag in $(EXTRA_HOST_FLAGS) ; do \
34145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34146 done; \
34147 echo "Doing clean in guile"; \
34148 (cd $(HOST_SUBDIR)/guile && \
34149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34151 "RANLIB=$${RANLIB}" \
34152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34153 clean) \
34154 || exit 1
34156 @endif guile
34158 .PHONY: maybe-distclean-guile distclean-guile
34159 maybe-distclean-guile:
34160 @if guile
34161 maybe-distclean-guile: distclean-guile
34163 distclean-guile:
34164 @: $(MAKE); $(unstage)
34165 @[ -f ./guile/Makefile ] || exit 0; \
34166 r=`${PWD_COMMAND}`; export r; \
34167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34168 $(HOST_EXPORTS) \
34169 for flag in $(EXTRA_HOST_FLAGS) ; do \
34170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34171 done; \
34172 echo "Doing distclean in guile"; \
34173 (cd $(HOST_SUBDIR)/guile && \
34174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34176 "RANLIB=$${RANLIB}" \
34177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34178 distclean) \
34179 || exit 1
34181 @endif guile
34183 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
34184 maybe-maintainer-clean-guile:
34185 @if guile
34186 maybe-maintainer-clean-guile: maintainer-clean-guile
34188 maintainer-clean-guile:
34189 @: $(MAKE); $(unstage)
34190 @[ -f ./guile/Makefile ] || exit 0; \
34191 r=`${PWD_COMMAND}`; export r; \
34192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34193 $(HOST_EXPORTS) \
34194 for flag in $(EXTRA_HOST_FLAGS) ; do \
34195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34196 done; \
34197 echo "Doing maintainer-clean in guile"; \
34198 (cd $(HOST_SUBDIR)/guile && \
34199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34201 "RANLIB=$${RANLIB}" \
34202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34203 maintainer-clean) \
34204 || exit 1
34206 @endif guile
34210 .PHONY: configure-tk maybe-configure-tk
34211 maybe-configure-tk:
34212 @if gcc-bootstrap
34213 configure-tk: stage_current
34214 @endif gcc-bootstrap
34215 @if tk
34216 maybe-configure-tk: configure-tk
34217 configure-tk:
34218 @: $(MAKE); $(unstage)
34219 @r=`${PWD_COMMAND}`; export r; \
34220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34221 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
34222 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
34223 $(HOST_EXPORTS) \
34224 echo Configuring in $(HOST_SUBDIR)/tk; \
34225 cd "$(HOST_SUBDIR)/tk" || exit 1; \
34226 case $(srcdir) in \
34227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34228 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
34229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34230 esac; \
34231 module_srcdir=tk; \
34232 $(SHELL) \
34233 $$s/$$module_srcdir/configure \
34234 --srcdir=$${topdir}/$$module_srcdir \
34235 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34236 --target=${target_alias} \
34237 || exit 1
34238 @endif tk
34244 .PHONY: all-tk maybe-all-tk
34245 maybe-all-tk:
34246 @if gcc-bootstrap
34247 all-tk: stage_current
34248 @endif gcc-bootstrap
34249 @if tk
34250 TARGET-tk=all
34251 maybe-all-tk: all-tk
34252 all-tk: configure-tk
34253 @: $(MAKE); $(unstage)
34254 @r=`${PWD_COMMAND}`; export r; \
34255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34256 $(HOST_EXPORTS) \
34257 (cd $(HOST_SUBDIR)/tk && \
34258 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34259 $(TARGET-tk))
34260 @endif tk
34265 .PHONY: check-tk maybe-check-tk
34266 maybe-check-tk:
34267 @if tk
34268 maybe-check-tk: check-tk
34270 check-tk:
34271 @: $(MAKE); $(unstage)
34272 @r=`${PWD_COMMAND}`; export r; \
34273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34274 $(HOST_EXPORTS) \
34275 (cd $(HOST_SUBDIR)/tk && \
34276 $(MAKE) $(FLAGS_TO_PASS) check)
34278 @endif tk
34280 .PHONY: install-tk maybe-install-tk
34281 maybe-install-tk:
34282 @if tk
34283 maybe-install-tk: install-tk
34285 install-tk: installdirs
34286 @: $(MAKE); $(unstage)
34287 @r=`${PWD_COMMAND}`; export r; \
34288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34289 $(HOST_EXPORTS) \
34290 (cd $(HOST_SUBDIR)/tk && \
34291 $(MAKE) $(FLAGS_TO_PASS) install)
34293 @endif tk
34295 .PHONY: install-strip-tk maybe-install-strip-tk
34296 maybe-install-strip-tk:
34297 @if tk
34298 maybe-install-strip-tk: install-strip-tk
34300 install-strip-tk: installdirs
34301 @: $(MAKE); $(unstage)
34302 @r=`${PWD_COMMAND}`; export r; \
34303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34304 $(HOST_EXPORTS) \
34305 (cd $(HOST_SUBDIR)/tk && \
34306 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34308 @endif tk
34310 # Other targets (info, dvi, pdf, etc.)
34312 .PHONY: maybe-info-tk info-tk
34313 maybe-info-tk:
34314 @if tk
34315 maybe-info-tk: info-tk
34317 info-tk: \
34318 configure-tk
34319 @: $(MAKE); $(unstage)
34320 @[ -f ./tk/Makefile ] || exit 0; \
34321 r=`${PWD_COMMAND}`; export r; \
34322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34323 $(HOST_EXPORTS) \
34324 for flag in $(EXTRA_HOST_FLAGS) ; do \
34325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34326 done; \
34327 echo "Doing info in tk"; \
34328 (cd $(HOST_SUBDIR)/tk && \
34329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34331 "RANLIB=$${RANLIB}" \
34332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34333 info) \
34334 || exit 1
34336 @endif tk
34338 .PHONY: maybe-dvi-tk dvi-tk
34339 maybe-dvi-tk:
34340 @if tk
34341 maybe-dvi-tk: dvi-tk
34343 dvi-tk: \
34344 configure-tk
34345 @: $(MAKE); $(unstage)
34346 @[ -f ./tk/Makefile ] || exit 0; \
34347 r=`${PWD_COMMAND}`; export r; \
34348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34349 $(HOST_EXPORTS) \
34350 for flag in $(EXTRA_HOST_FLAGS) ; do \
34351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34352 done; \
34353 echo "Doing dvi in tk"; \
34354 (cd $(HOST_SUBDIR)/tk && \
34355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34357 "RANLIB=$${RANLIB}" \
34358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34359 dvi) \
34360 || exit 1
34362 @endif tk
34364 .PHONY: maybe-pdf-tk pdf-tk
34365 maybe-pdf-tk:
34366 @if tk
34367 maybe-pdf-tk: pdf-tk
34369 pdf-tk: \
34370 configure-tk
34371 @: $(MAKE); $(unstage)
34372 @[ -f ./tk/Makefile ] || exit 0; \
34373 r=`${PWD_COMMAND}`; export r; \
34374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34375 $(HOST_EXPORTS) \
34376 for flag in $(EXTRA_HOST_FLAGS) ; do \
34377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34378 done; \
34379 echo "Doing pdf in tk"; \
34380 (cd $(HOST_SUBDIR)/tk && \
34381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34383 "RANLIB=$${RANLIB}" \
34384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34385 pdf) \
34386 || exit 1
34388 @endif tk
34390 .PHONY: maybe-html-tk html-tk
34391 maybe-html-tk:
34392 @if tk
34393 maybe-html-tk: html-tk
34395 html-tk: \
34396 configure-tk
34397 @: $(MAKE); $(unstage)
34398 @[ -f ./tk/Makefile ] || exit 0; \
34399 r=`${PWD_COMMAND}`; export r; \
34400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34401 $(HOST_EXPORTS) \
34402 for flag in $(EXTRA_HOST_FLAGS) ; do \
34403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34404 done; \
34405 echo "Doing html in tk"; \
34406 (cd $(HOST_SUBDIR)/tk && \
34407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34409 "RANLIB=$${RANLIB}" \
34410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34411 html) \
34412 || exit 1
34414 @endif tk
34416 .PHONY: maybe-TAGS-tk TAGS-tk
34417 maybe-TAGS-tk:
34418 @if tk
34419 maybe-TAGS-tk: TAGS-tk
34421 TAGS-tk: \
34422 configure-tk
34423 @: $(MAKE); $(unstage)
34424 @[ -f ./tk/Makefile ] || exit 0; \
34425 r=`${PWD_COMMAND}`; export r; \
34426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34427 $(HOST_EXPORTS) \
34428 for flag in $(EXTRA_HOST_FLAGS) ; do \
34429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34430 done; \
34431 echo "Doing TAGS in tk"; \
34432 (cd $(HOST_SUBDIR)/tk && \
34433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34435 "RANLIB=$${RANLIB}" \
34436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34437 TAGS) \
34438 || exit 1
34440 @endif tk
34442 .PHONY: maybe-install-info-tk install-info-tk
34443 maybe-install-info-tk:
34444 @if tk
34445 maybe-install-info-tk: install-info-tk
34447 install-info-tk: \
34448 configure-tk \
34449 info-tk
34450 @: $(MAKE); $(unstage)
34451 @[ -f ./tk/Makefile ] || exit 0; \
34452 r=`${PWD_COMMAND}`; export r; \
34453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34454 $(HOST_EXPORTS) \
34455 for flag in $(EXTRA_HOST_FLAGS) ; do \
34456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34457 done; \
34458 echo "Doing install-info in tk"; \
34459 (cd $(HOST_SUBDIR)/tk && \
34460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34462 "RANLIB=$${RANLIB}" \
34463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34464 install-info) \
34465 || exit 1
34467 @endif tk
34469 .PHONY: maybe-install-pdf-tk install-pdf-tk
34470 maybe-install-pdf-tk:
34471 @if tk
34472 maybe-install-pdf-tk: install-pdf-tk
34474 install-pdf-tk: \
34475 configure-tk \
34476 pdf-tk
34477 @: $(MAKE); $(unstage)
34478 @[ -f ./tk/Makefile ] || exit 0; \
34479 r=`${PWD_COMMAND}`; export r; \
34480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34481 $(HOST_EXPORTS) \
34482 for flag in $(EXTRA_HOST_FLAGS) ; do \
34483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34484 done; \
34485 echo "Doing install-pdf in tk"; \
34486 (cd $(HOST_SUBDIR)/tk && \
34487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34489 "RANLIB=$${RANLIB}" \
34490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34491 install-pdf) \
34492 || exit 1
34494 @endif tk
34496 .PHONY: maybe-install-html-tk install-html-tk
34497 maybe-install-html-tk:
34498 @if tk
34499 maybe-install-html-tk: install-html-tk
34501 install-html-tk: \
34502 configure-tk \
34503 html-tk
34504 @: $(MAKE); $(unstage)
34505 @[ -f ./tk/Makefile ] || exit 0; \
34506 r=`${PWD_COMMAND}`; export r; \
34507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34508 $(HOST_EXPORTS) \
34509 for flag in $(EXTRA_HOST_FLAGS) ; do \
34510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34511 done; \
34512 echo "Doing install-html in tk"; \
34513 (cd $(HOST_SUBDIR)/tk && \
34514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34516 "RANLIB=$${RANLIB}" \
34517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34518 install-html) \
34519 || exit 1
34521 @endif tk
34523 .PHONY: maybe-installcheck-tk installcheck-tk
34524 maybe-installcheck-tk:
34525 @if tk
34526 maybe-installcheck-tk: installcheck-tk
34528 installcheck-tk: \
34529 configure-tk
34530 @: $(MAKE); $(unstage)
34531 @[ -f ./tk/Makefile ] || exit 0; \
34532 r=`${PWD_COMMAND}`; export r; \
34533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34534 $(HOST_EXPORTS) \
34535 for flag in $(EXTRA_HOST_FLAGS) ; do \
34536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34537 done; \
34538 echo "Doing installcheck in tk"; \
34539 (cd $(HOST_SUBDIR)/tk && \
34540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34542 "RANLIB=$${RANLIB}" \
34543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34544 installcheck) \
34545 || exit 1
34547 @endif tk
34549 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
34550 maybe-mostlyclean-tk:
34551 @if tk
34552 maybe-mostlyclean-tk: mostlyclean-tk
34554 mostlyclean-tk:
34555 @: $(MAKE); $(unstage)
34556 @[ -f ./tk/Makefile ] || exit 0; \
34557 r=`${PWD_COMMAND}`; export r; \
34558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34559 $(HOST_EXPORTS) \
34560 for flag in $(EXTRA_HOST_FLAGS) ; do \
34561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34562 done; \
34563 echo "Doing mostlyclean in tk"; \
34564 (cd $(HOST_SUBDIR)/tk && \
34565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34567 "RANLIB=$${RANLIB}" \
34568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34569 mostlyclean) \
34570 || exit 1
34572 @endif tk
34574 .PHONY: maybe-clean-tk clean-tk
34575 maybe-clean-tk:
34576 @if tk
34577 maybe-clean-tk: clean-tk
34579 clean-tk:
34580 @: $(MAKE); $(unstage)
34581 @[ -f ./tk/Makefile ] || exit 0; \
34582 r=`${PWD_COMMAND}`; export r; \
34583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34584 $(HOST_EXPORTS) \
34585 for flag in $(EXTRA_HOST_FLAGS) ; do \
34586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34587 done; \
34588 echo "Doing clean in tk"; \
34589 (cd $(HOST_SUBDIR)/tk && \
34590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34592 "RANLIB=$${RANLIB}" \
34593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34594 clean) \
34595 || exit 1
34597 @endif tk
34599 .PHONY: maybe-distclean-tk distclean-tk
34600 maybe-distclean-tk:
34601 @if tk
34602 maybe-distclean-tk: distclean-tk
34604 distclean-tk:
34605 @: $(MAKE); $(unstage)
34606 @[ -f ./tk/Makefile ] || exit 0; \
34607 r=`${PWD_COMMAND}`; export r; \
34608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34609 $(HOST_EXPORTS) \
34610 for flag in $(EXTRA_HOST_FLAGS) ; do \
34611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34612 done; \
34613 echo "Doing distclean in tk"; \
34614 (cd $(HOST_SUBDIR)/tk && \
34615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34617 "RANLIB=$${RANLIB}" \
34618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34619 distclean) \
34620 || exit 1
34622 @endif tk
34624 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
34625 maybe-maintainer-clean-tk:
34626 @if tk
34627 maybe-maintainer-clean-tk: maintainer-clean-tk
34629 maintainer-clean-tk:
34630 @: $(MAKE); $(unstage)
34631 @[ -f ./tk/Makefile ] || exit 0; \
34632 r=`${PWD_COMMAND}`; export r; \
34633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34634 $(HOST_EXPORTS) \
34635 for flag in $(EXTRA_HOST_FLAGS) ; do \
34636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34637 done; \
34638 echo "Doing maintainer-clean in tk"; \
34639 (cd $(HOST_SUBDIR)/tk && \
34640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34642 "RANLIB=$${RANLIB}" \
34643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34644 maintainer-clean) \
34645 || exit 1
34647 @endif tk
34651 .PHONY: configure-libtermcap maybe-configure-libtermcap
34652 maybe-configure-libtermcap:
34653 @if gcc-bootstrap
34654 configure-libtermcap: stage_current
34655 @endif gcc-bootstrap
34656 @if libtermcap
34657 maybe-configure-libtermcap: configure-libtermcap
34658 configure-libtermcap:
34659 @: $(MAKE); $(unstage)
34660 @r=`${PWD_COMMAND}`; export r; \
34661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34662 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
34663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
34664 $(HOST_EXPORTS) \
34665 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
34666 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
34667 case $(srcdir) in \
34668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34669 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
34670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34671 esac; \
34672 module_srcdir=libtermcap; \
34673 $(SHELL) \
34674 $$s/$$module_srcdir/configure \
34675 --srcdir=$${topdir}/$$module_srcdir \
34676 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34677 --target=${target_alias} \
34678 || exit 1
34679 @endif libtermcap
34685 .PHONY: all-libtermcap maybe-all-libtermcap
34686 maybe-all-libtermcap:
34687 @if gcc-bootstrap
34688 all-libtermcap: stage_current
34689 @endif gcc-bootstrap
34690 @if libtermcap
34691 TARGET-libtermcap=all
34692 maybe-all-libtermcap: all-libtermcap
34693 all-libtermcap: configure-libtermcap
34694 @: $(MAKE); $(unstage)
34695 @r=`${PWD_COMMAND}`; export r; \
34696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34697 $(HOST_EXPORTS) \
34698 (cd $(HOST_SUBDIR)/libtermcap && \
34699 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34700 $(TARGET-libtermcap))
34701 @endif libtermcap
34706 .PHONY: check-libtermcap maybe-check-libtermcap
34707 maybe-check-libtermcap:
34708 @if libtermcap
34709 maybe-check-libtermcap: check-libtermcap
34711 check-libtermcap:
34713 @endif libtermcap
34715 .PHONY: install-libtermcap maybe-install-libtermcap
34716 maybe-install-libtermcap:
34717 @if libtermcap
34718 maybe-install-libtermcap: install-libtermcap
34720 install-libtermcap: installdirs
34721 @: $(MAKE); $(unstage)
34722 @r=`${PWD_COMMAND}`; export r; \
34723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34724 $(HOST_EXPORTS) \
34725 (cd $(HOST_SUBDIR)/libtermcap && \
34726 $(MAKE) $(FLAGS_TO_PASS) install)
34728 @endif libtermcap
34730 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
34731 maybe-install-strip-libtermcap:
34732 @if libtermcap
34733 maybe-install-strip-libtermcap: install-strip-libtermcap
34735 install-strip-libtermcap: installdirs
34736 @: $(MAKE); $(unstage)
34737 @r=`${PWD_COMMAND}`; export r; \
34738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34739 $(HOST_EXPORTS) \
34740 (cd $(HOST_SUBDIR)/libtermcap && \
34741 $(MAKE) $(FLAGS_TO_PASS) install-strip)
34743 @endif libtermcap
34745 # Other targets (info, dvi, pdf, etc.)
34747 .PHONY: maybe-info-libtermcap info-libtermcap
34748 maybe-info-libtermcap:
34749 @if libtermcap
34750 maybe-info-libtermcap: info-libtermcap
34752 info-libtermcap: \
34753 configure-libtermcap
34754 @: $(MAKE); $(unstage)
34755 @[ -f ./libtermcap/Makefile ] || exit 0; \
34756 r=`${PWD_COMMAND}`; export r; \
34757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34758 $(HOST_EXPORTS) \
34759 for flag in $(EXTRA_HOST_FLAGS) ; do \
34760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34761 done; \
34762 echo "Doing info in libtermcap"; \
34763 (cd $(HOST_SUBDIR)/libtermcap && \
34764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34766 "RANLIB=$${RANLIB}" \
34767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34768 info) \
34769 || exit 1
34771 @endif libtermcap
34773 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
34774 maybe-dvi-libtermcap:
34775 @if libtermcap
34776 maybe-dvi-libtermcap: dvi-libtermcap
34778 dvi-libtermcap: \
34779 configure-libtermcap
34780 @: $(MAKE); $(unstage)
34781 @[ -f ./libtermcap/Makefile ] || exit 0; \
34782 r=`${PWD_COMMAND}`; export r; \
34783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34784 $(HOST_EXPORTS) \
34785 for flag in $(EXTRA_HOST_FLAGS) ; do \
34786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34787 done; \
34788 echo "Doing dvi in libtermcap"; \
34789 (cd $(HOST_SUBDIR)/libtermcap && \
34790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34792 "RANLIB=$${RANLIB}" \
34793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34794 dvi) \
34795 || exit 1
34797 @endif libtermcap
34799 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
34800 maybe-pdf-libtermcap:
34801 @if libtermcap
34802 maybe-pdf-libtermcap: pdf-libtermcap
34804 pdf-libtermcap: \
34805 configure-libtermcap
34806 @: $(MAKE); $(unstage)
34807 @[ -f ./libtermcap/Makefile ] || exit 0; \
34808 r=`${PWD_COMMAND}`; export r; \
34809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34810 $(HOST_EXPORTS) \
34811 for flag in $(EXTRA_HOST_FLAGS) ; do \
34812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34813 done; \
34814 echo "Doing pdf in libtermcap"; \
34815 (cd $(HOST_SUBDIR)/libtermcap && \
34816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34818 "RANLIB=$${RANLIB}" \
34819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34820 pdf) \
34821 || exit 1
34823 @endif libtermcap
34825 .PHONY: maybe-html-libtermcap html-libtermcap
34826 maybe-html-libtermcap:
34827 @if libtermcap
34828 maybe-html-libtermcap: html-libtermcap
34830 html-libtermcap: \
34831 configure-libtermcap
34832 @: $(MAKE); $(unstage)
34833 @[ -f ./libtermcap/Makefile ] || exit 0; \
34834 r=`${PWD_COMMAND}`; export r; \
34835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34836 $(HOST_EXPORTS) \
34837 for flag in $(EXTRA_HOST_FLAGS) ; do \
34838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34839 done; \
34840 echo "Doing html in libtermcap"; \
34841 (cd $(HOST_SUBDIR)/libtermcap && \
34842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34844 "RANLIB=$${RANLIB}" \
34845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34846 html) \
34847 || exit 1
34849 @endif libtermcap
34851 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
34852 maybe-TAGS-libtermcap:
34853 @if libtermcap
34854 maybe-TAGS-libtermcap: TAGS-libtermcap
34856 TAGS-libtermcap: \
34857 configure-libtermcap
34858 @: $(MAKE); $(unstage)
34859 @[ -f ./libtermcap/Makefile ] || exit 0; \
34860 r=`${PWD_COMMAND}`; export r; \
34861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34862 $(HOST_EXPORTS) \
34863 for flag in $(EXTRA_HOST_FLAGS) ; do \
34864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34865 done; \
34866 echo "Doing TAGS in libtermcap"; \
34867 (cd $(HOST_SUBDIR)/libtermcap && \
34868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34870 "RANLIB=$${RANLIB}" \
34871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34872 TAGS) \
34873 || exit 1
34875 @endif libtermcap
34877 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
34878 maybe-install-info-libtermcap:
34879 @if libtermcap
34880 maybe-install-info-libtermcap: install-info-libtermcap
34882 install-info-libtermcap: \
34883 configure-libtermcap \
34884 info-libtermcap
34885 @: $(MAKE); $(unstage)
34886 @[ -f ./libtermcap/Makefile ] || exit 0; \
34887 r=`${PWD_COMMAND}`; export r; \
34888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34889 $(HOST_EXPORTS) \
34890 for flag in $(EXTRA_HOST_FLAGS) ; do \
34891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34892 done; \
34893 echo "Doing install-info in libtermcap"; \
34894 (cd $(HOST_SUBDIR)/libtermcap && \
34895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34897 "RANLIB=$${RANLIB}" \
34898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34899 install-info) \
34900 || exit 1
34902 @endif libtermcap
34904 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
34905 maybe-install-pdf-libtermcap:
34906 @if libtermcap
34907 maybe-install-pdf-libtermcap: install-pdf-libtermcap
34909 install-pdf-libtermcap: \
34910 configure-libtermcap \
34911 pdf-libtermcap
34912 @: $(MAKE); $(unstage)
34913 @[ -f ./libtermcap/Makefile ] || exit 0; \
34914 r=`${PWD_COMMAND}`; export r; \
34915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34916 $(HOST_EXPORTS) \
34917 for flag in $(EXTRA_HOST_FLAGS) ; do \
34918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34919 done; \
34920 echo "Doing install-pdf in libtermcap"; \
34921 (cd $(HOST_SUBDIR)/libtermcap && \
34922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34924 "RANLIB=$${RANLIB}" \
34925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34926 install-pdf) \
34927 || exit 1
34929 @endif libtermcap
34931 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
34932 maybe-install-html-libtermcap:
34933 @if libtermcap
34934 maybe-install-html-libtermcap: install-html-libtermcap
34936 install-html-libtermcap: \
34937 configure-libtermcap \
34938 html-libtermcap
34939 @: $(MAKE); $(unstage)
34940 @[ -f ./libtermcap/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 install-html in libtermcap"; \
34948 (cd $(HOST_SUBDIR)/libtermcap && \
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 install-html) \
34954 || exit 1
34956 @endif libtermcap
34958 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
34959 maybe-installcheck-libtermcap:
34960 @if libtermcap
34961 maybe-installcheck-libtermcap: installcheck-libtermcap
34963 installcheck-libtermcap: \
34964 configure-libtermcap
34965 @: $(MAKE); $(unstage)
34966 @[ -f ./libtermcap/Makefile ] || exit 0; \
34967 r=`${PWD_COMMAND}`; export r; \
34968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34969 $(HOST_EXPORTS) \
34970 for flag in $(EXTRA_HOST_FLAGS) ; do \
34971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34972 done; \
34973 echo "Doing installcheck in libtermcap"; \
34974 (cd $(HOST_SUBDIR)/libtermcap && \
34975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34977 "RANLIB=$${RANLIB}" \
34978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34979 installcheck) \
34980 || exit 1
34982 @endif libtermcap
34984 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
34985 maybe-mostlyclean-libtermcap:
34986 @if libtermcap
34987 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
34989 # libtermcap doesn't support mostlyclean.
34990 mostlyclean-libtermcap:
34992 @endif libtermcap
34994 .PHONY: maybe-clean-libtermcap clean-libtermcap
34995 maybe-clean-libtermcap:
34996 @if libtermcap
34997 maybe-clean-libtermcap: clean-libtermcap
34999 # libtermcap doesn't support clean.
35000 clean-libtermcap:
35002 @endif libtermcap
35004 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
35005 maybe-distclean-libtermcap:
35006 @if libtermcap
35007 maybe-distclean-libtermcap: distclean-libtermcap
35009 # libtermcap doesn't support distclean.
35010 distclean-libtermcap:
35012 @endif libtermcap
35014 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
35015 maybe-maintainer-clean-libtermcap:
35016 @if libtermcap
35017 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
35019 # libtermcap doesn't support maintainer-clean.
35020 maintainer-clean-libtermcap:
35022 @endif libtermcap
35026 .PHONY: configure-utils maybe-configure-utils
35027 maybe-configure-utils:
35028 @if gcc-bootstrap
35029 configure-utils: stage_current
35030 @endif gcc-bootstrap
35031 @if utils
35032 maybe-configure-utils: configure-utils
35033 configure-utils:
35034 @: $(MAKE); $(unstage)
35035 @r=`${PWD_COMMAND}`; export r; \
35036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35037 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
35038 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
35039 $(HOST_EXPORTS) \
35040 echo Configuring in $(HOST_SUBDIR)/utils; \
35041 cd "$(HOST_SUBDIR)/utils" || exit 1; \
35042 case $(srcdir) in \
35043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35044 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
35045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35046 esac; \
35047 module_srcdir=utils; \
35048 $(SHELL) \
35049 $$s/$$module_srcdir/configure \
35050 --srcdir=$${topdir}/$$module_srcdir \
35051 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35052 --target=${target_alias} \
35053 || exit 1
35054 @endif utils
35060 .PHONY: all-utils maybe-all-utils
35061 maybe-all-utils:
35062 @if gcc-bootstrap
35063 all-utils: stage_current
35064 @endif gcc-bootstrap
35065 @if utils
35066 TARGET-utils=all
35067 maybe-all-utils: all-utils
35068 all-utils: configure-utils
35069 @: $(MAKE); $(unstage)
35070 @r=`${PWD_COMMAND}`; export r; \
35071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35072 $(HOST_EXPORTS) \
35073 (cd $(HOST_SUBDIR)/utils && \
35074 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35075 $(TARGET-utils))
35076 @endif utils
35081 .PHONY: check-utils maybe-check-utils
35082 maybe-check-utils:
35083 @if utils
35084 maybe-check-utils: check-utils
35086 check-utils:
35088 @endif utils
35090 .PHONY: install-utils maybe-install-utils
35091 maybe-install-utils:
35092 @if utils
35093 maybe-install-utils: install-utils
35095 install-utils: installdirs
35096 @: $(MAKE); $(unstage)
35097 @r=`${PWD_COMMAND}`; export r; \
35098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35099 $(HOST_EXPORTS) \
35100 (cd $(HOST_SUBDIR)/utils && \
35101 $(MAKE) $(FLAGS_TO_PASS) install)
35103 @endif utils
35105 .PHONY: install-strip-utils maybe-install-strip-utils
35106 maybe-install-strip-utils:
35107 @if utils
35108 maybe-install-strip-utils: install-strip-utils
35110 install-strip-utils: installdirs
35111 @: $(MAKE); $(unstage)
35112 @r=`${PWD_COMMAND}`; export r; \
35113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35114 $(HOST_EXPORTS) \
35115 (cd $(HOST_SUBDIR)/utils && \
35116 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35118 @endif utils
35120 # Other targets (info, dvi, pdf, etc.)
35122 .PHONY: maybe-info-utils info-utils
35123 maybe-info-utils:
35124 @if utils
35125 maybe-info-utils: info-utils
35127 info-utils: \
35128 configure-utils
35129 @: $(MAKE); $(unstage)
35130 @[ -f ./utils/Makefile ] || exit 0; \
35131 r=`${PWD_COMMAND}`; export r; \
35132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35133 $(HOST_EXPORTS) \
35134 for flag in $(EXTRA_HOST_FLAGS) ; do \
35135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35136 done; \
35137 echo "Doing info in utils"; \
35138 (cd $(HOST_SUBDIR)/utils && \
35139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35141 "RANLIB=$${RANLIB}" \
35142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35143 info) \
35144 || exit 1
35146 @endif utils
35148 .PHONY: maybe-dvi-utils dvi-utils
35149 maybe-dvi-utils:
35150 @if utils
35151 maybe-dvi-utils: dvi-utils
35153 dvi-utils: \
35154 configure-utils
35155 @: $(MAKE); $(unstage)
35156 @[ -f ./utils/Makefile ] || exit 0; \
35157 r=`${PWD_COMMAND}`; export r; \
35158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35159 $(HOST_EXPORTS) \
35160 for flag in $(EXTRA_HOST_FLAGS) ; do \
35161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35162 done; \
35163 echo "Doing dvi in utils"; \
35164 (cd $(HOST_SUBDIR)/utils && \
35165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35167 "RANLIB=$${RANLIB}" \
35168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35169 dvi) \
35170 || exit 1
35172 @endif utils
35174 .PHONY: maybe-pdf-utils pdf-utils
35175 maybe-pdf-utils:
35176 @if utils
35177 maybe-pdf-utils: pdf-utils
35179 pdf-utils: \
35180 configure-utils
35181 @: $(MAKE); $(unstage)
35182 @[ -f ./utils/Makefile ] || exit 0; \
35183 r=`${PWD_COMMAND}`; export r; \
35184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35185 $(HOST_EXPORTS) \
35186 for flag in $(EXTRA_HOST_FLAGS) ; do \
35187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35188 done; \
35189 echo "Doing pdf in utils"; \
35190 (cd $(HOST_SUBDIR)/utils && \
35191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35193 "RANLIB=$${RANLIB}" \
35194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35195 pdf) \
35196 || exit 1
35198 @endif utils
35200 .PHONY: maybe-html-utils html-utils
35201 maybe-html-utils:
35202 @if utils
35203 maybe-html-utils: html-utils
35205 html-utils: \
35206 configure-utils
35207 @: $(MAKE); $(unstage)
35208 @[ -f ./utils/Makefile ] || exit 0; \
35209 r=`${PWD_COMMAND}`; export r; \
35210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35211 $(HOST_EXPORTS) \
35212 for flag in $(EXTRA_HOST_FLAGS) ; do \
35213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35214 done; \
35215 echo "Doing html in utils"; \
35216 (cd $(HOST_SUBDIR)/utils && \
35217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35219 "RANLIB=$${RANLIB}" \
35220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35221 html) \
35222 || exit 1
35224 @endif utils
35226 .PHONY: maybe-TAGS-utils TAGS-utils
35227 maybe-TAGS-utils:
35228 @if utils
35229 maybe-TAGS-utils: TAGS-utils
35231 TAGS-utils: \
35232 configure-utils
35233 @: $(MAKE); $(unstage)
35234 @[ -f ./utils/Makefile ] || exit 0; \
35235 r=`${PWD_COMMAND}`; export r; \
35236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35237 $(HOST_EXPORTS) \
35238 for flag in $(EXTRA_HOST_FLAGS) ; do \
35239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35240 done; \
35241 echo "Doing TAGS in utils"; \
35242 (cd $(HOST_SUBDIR)/utils && \
35243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35245 "RANLIB=$${RANLIB}" \
35246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35247 TAGS) \
35248 || exit 1
35250 @endif utils
35252 .PHONY: maybe-install-info-utils install-info-utils
35253 maybe-install-info-utils:
35254 @if utils
35255 maybe-install-info-utils: install-info-utils
35257 install-info-utils: \
35258 configure-utils \
35259 info-utils
35260 @: $(MAKE); $(unstage)
35261 @[ -f ./utils/Makefile ] || exit 0; \
35262 r=`${PWD_COMMAND}`; export r; \
35263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35264 $(HOST_EXPORTS) \
35265 for flag in $(EXTRA_HOST_FLAGS) ; do \
35266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35267 done; \
35268 echo "Doing install-info in utils"; \
35269 (cd $(HOST_SUBDIR)/utils && \
35270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35272 "RANLIB=$${RANLIB}" \
35273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35274 install-info) \
35275 || exit 1
35277 @endif utils
35279 .PHONY: maybe-install-pdf-utils install-pdf-utils
35280 maybe-install-pdf-utils:
35281 @if utils
35282 maybe-install-pdf-utils: install-pdf-utils
35284 install-pdf-utils: \
35285 configure-utils \
35286 pdf-utils
35287 @: $(MAKE); $(unstage)
35288 @[ -f ./utils/Makefile ] || exit 0; \
35289 r=`${PWD_COMMAND}`; export r; \
35290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35291 $(HOST_EXPORTS) \
35292 for flag in $(EXTRA_HOST_FLAGS) ; do \
35293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35294 done; \
35295 echo "Doing install-pdf in utils"; \
35296 (cd $(HOST_SUBDIR)/utils && \
35297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35299 "RANLIB=$${RANLIB}" \
35300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35301 install-pdf) \
35302 || exit 1
35304 @endif utils
35306 .PHONY: maybe-install-html-utils install-html-utils
35307 maybe-install-html-utils:
35308 @if utils
35309 maybe-install-html-utils: install-html-utils
35311 install-html-utils: \
35312 configure-utils \
35313 html-utils
35314 @: $(MAKE); $(unstage)
35315 @[ -f ./utils/Makefile ] || exit 0; \
35316 r=`${PWD_COMMAND}`; export r; \
35317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35318 $(HOST_EXPORTS) \
35319 for flag in $(EXTRA_HOST_FLAGS) ; do \
35320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35321 done; \
35322 echo "Doing install-html in utils"; \
35323 (cd $(HOST_SUBDIR)/utils && \
35324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35326 "RANLIB=$${RANLIB}" \
35327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35328 install-html) \
35329 || exit 1
35331 @endif utils
35333 .PHONY: maybe-installcheck-utils installcheck-utils
35334 maybe-installcheck-utils:
35335 @if utils
35336 maybe-installcheck-utils: installcheck-utils
35338 installcheck-utils: \
35339 configure-utils
35340 @: $(MAKE); $(unstage)
35341 @[ -f ./utils/Makefile ] || exit 0; \
35342 r=`${PWD_COMMAND}`; export r; \
35343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35344 $(HOST_EXPORTS) \
35345 for flag in $(EXTRA_HOST_FLAGS) ; do \
35346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35347 done; \
35348 echo "Doing installcheck in utils"; \
35349 (cd $(HOST_SUBDIR)/utils && \
35350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35352 "RANLIB=$${RANLIB}" \
35353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35354 installcheck) \
35355 || exit 1
35357 @endif utils
35359 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
35360 maybe-mostlyclean-utils:
35361 @if utils
35362 maybe-mostlyclean-utils: mostlyclean-utils
35364 mostlyclean-utils:
35365 @: $(MAKE); $(unstage)
35366 @[ -f ./utils/Makefile ] || exit 0; \
35367 r=`${PWD_COMMAND}`; export r; \
35368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35369 $(HOST_EXPORTS) \
35370 for flag in $(EXTRA_HOST_FLAGS) ; do \
35371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35372 done; \
35373 echo "Doing mostlyclean in utils"; \
35374 (cd $(HOST_SUBDIR)/utils && \
35375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35377 "RANLIB=$${RANLIB}" \
35378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35379 mostlyclean) \
35380 || exit 1
35382 @endif utils
35384 .PHONY: maybe-clean-utils clean-utils
35385 maybe-clean-utils:
35386 @if utils
35387 maybe-clean-utils: clean-utils
35389 clean-utils:
35390 @: $(MAKE); $(unstage)
35391 @[ -f ./utils/Makefile ] || exit 0; \
35392 r=`${PWD_COMMAND}`; export r; \
35393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35394 $(HOST_EXPORTS) \
35395 for flag in $(EXTRA_HOST_FLAGS) ; do \
35396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35397 done; \
35398 echo "Doing clean in utils"; \
35399 (cd $(HOST_SUBDIR)/utils && \
35400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35402 "RANLIB=$${RANLIB}" \
35403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35404 clean) \
35405 || exit 1
35407 @endif utils
35409 .PHONY: maybe-distclean-utils distclean-utils
35410 maybe-distclean-utils:
35411 @if utils
35412 maybe-distclean-utils: distclean-utils
35414 distclean-utils:
35415 @: $(MAKE); $(unstage)
35416 @[ -f ./utils/Makefile ] || exit 0; \
35417 r=`${PWD_COMMAND}`; export r; \
35418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35419 $(HOST_EXPORTS) \
35420 for flag in $(EXTRA_HOST_FLAGS) ; do \
35421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35422 done; \
35423 echo "Doing distclean in utils"; \
35424 (cd $(HOST_SUBDIR)/utils && \
35425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35427 "RANLIB=$${RANLIB}" \
35428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35429 distclean) \
35430 || exit 1
35432 @endif utils
35434 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
35435 maybe-maintainer-clean-utils:
35436 @if utils
35437 maybe-maintainer-clean-utils: maintainer-clean-utils
35439 maintainer-clean-utils:
35440 @: $(MAKE); $(unstage)
35441 @[ -f ./utils/Makefile ] || exit 0; \
35442 r=`${PWD_COMMAND}`; export r; \
35443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35444 $(HOST_EXPORTS) \
35445 for flag in $(EXTRA_HOST_FLAGS) ; do \
35446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35447 done; \
35448 echo "Doing maintainer-clean in utils"; \
35449 (cd $(HOST_SUBDIR)/utils && \
35450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35452 "RANLIB=$${RANLIB}" \
35453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35454 maintainer-clean) \
35455 || exit 1
35457 @endif utils
35461 .PHONY: configure-gnattools maybe-configure-gnattools
35462 maybe-configure-gnattools:
35463 @if gcc-bootstrap
35464 configure-gnattools: stage_current
35465 @endif gcc-bootstrap
35466 @if gnattools
35467 maybe-configure-gnattools: configure-gnattools
35468 configure-gnattools:
35469 @: $(MAKE); $(unstage)
35470 @r=`${PWD_COMMAND}`; export r; \
35471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35472 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
35473 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
35474 $(HOST_EXPORTS) \
35475 echo Configuring in $(HOST_SUBDIR)/gnattools; \
35476 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
35477 case $(srcdir) in \
35478 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35479 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
35480 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35481 esac; \
35482 module_srcdir=gnattools; \
35483 $(SHELL) \
35484 $$s/$$module_srcdir/configure \
35485 --srcdir=$${topdir}/$$module_srcdir \
35486 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35487 --target=${target_alias} \
35488 || exit 1
35489 @endif gnattools
35495 .PHONY: all-gnattools maybe-all-gnattools
35496 maybe-all-gnattools:
35497 @if gcc-bootstrap
35498 all-gnattools: stage_current
35499 @endif gcc-bootstrap
35500 @if gnattools
35501 TARGET-gnattools=all
35502 maybe-all-gnattools: all-gnattools
35503 all-gnattools: configure-gnattools
35504 @: $(MAKE); $(unstage)
35505 @r=`${PWD_COMMAND}`; export r; \
35506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35507 $(HOST_EXPORTS) \
35508 (cd $(HOST_SUBDIR)/gnattools && \
35509 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35510 $(TARGET-gnattools))
35511 @endif gnattools
35516 .PHONY: check-gnattools maybe-check-gnattools
35517 maybe-check-gnattools:
35518 @if gnattools
35519 maybe-check-gnattools: check-gnattools
35521 check-gnattools:
35522 @: $(MAKE); $(unstage)
35523 @r=`${PWD_COMMAND}`; export r; \
35524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35525 $(HOST_EXPORTS) \
35526 (cd $(HOST_SUBDIR)/gnattools && \
35527 $(MAKE) $(FLAGS_TO_PASS) check)
35529 @endif gnattools
35531 .PHONY: install-gnattools maybe-install-gnattools
35532 maybe-install-gnattools:
35533 @if gnattools
35534 maybe-install-gnattools: install-gnattools
35536 install-gnattools: installdirs
35537 @: $(MAKE); $(unstage)
35538 @r=`${PWD_COMMAND}`; export r; \
35539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35540 $(HOST_EXPORTS) \
35541 (cd $(HOST_SUBDIR)/gnattools && \
35542 $(MAKE) $(FLAGS_TO_PASS) install)
35544 @endif gnattools
35546 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
35547 maybe-install-strip-gnattools:
35548 @if gnattools
35549 maybe-install-strip-gnattools: install-strip-gnattools
35551 install-strip-gnattools: installdirs
35552 @: $(MAKE); $(unstage)
35553 @r=`${PWD_COMMAND}`; export r; \
35554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35555 $(HOST_EXPORTS) \
35556 (cd $(HOST_SUBDIR)/gnattools && \
35557 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35559 @endif gnattools
35561 # Other targets (info, dvi, pdf, etc.)
35563 .PHONY: maybe-info-gnattools info-gnattools
35564 maybe-info-gnattools:
35565 @if gnattools
35566 maybe-info-gnattools: info-gnattools
35568 info-gnattools: \
35569 configure-gnattools
35570 @: $(MAKE); $(unstage)
35571 @[ -f ./gnattools/Makefile ] || exit 0; \
35572 r=`${PWD_COMMAND}`; export r; \
35573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35574 $(HOST_EXPORTS) \
35575 for flag in $(EXTRA_HOST_FLAGS) ; do \
35576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35577 done; \
35578 echo "Doing info in gnattools"; \
35579 (cd $(HOST_SUBDIR)/gnattools && \
35580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35582 "RANLIB=$${RANLIB}" \
35583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35584 info) \
35585 || exit 1
35587 @endif gnattools
35589 .PHONY: maybe-dvi-gnattools dvi-gnattools
35590 maybe-dvi-gnattools:
35591 @if gnattools
35592 maybe-dvi-gnattools: dvi-gnattools
35594 dvi-gnattools: \
35595 configure-gnattools
35596 @: $(MAKE); $(unstage)
35597 @[ -f ./gnattools/Makefile ] || exit 0; \
35598 r=`${PWD_COMMAND}`; export r; \
35599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35600 $(HOST_EXPORTS) \
35601 for flag in $(EXTRA_HOST_FLAGS) ; do \
35602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35603 done; \
35604 echo "Doing dvi in gnattools"; \
35605 (cd $(HOST_SUBDIR)/gnattools && \
35606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35608 "RANLIB=$${RANLIB}" \
35609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35610 dvi) \
35611 || exit 1
35613 @endif gnattools
35615 .PHONY: maybe-pdf-gnattools pdf-gnattools
35616 maybe-pdf-gnattools:
35617 @if gnattools
35618 maybe-pdf-gnattools: pdf-gnattools
35620 pdf-gnattools: \
35621 configure-gnattools
35622 @: $(MAKE); $(unstage)
35623 @[ -f ./gnattools/Makefile ] || exit 0; \
35624 r=`${PWD_COMMAND}`; export r; \
35625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35626 $(HOST_EXPORTS) \
35627 for flag in $(EXTRA_HOST_FLAGS) ; do \
35628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35629 done; \
35630 echo "Doing pdf in gnattools"; \
35631 (cd $(HOST_SUBDIR)/gnattools && \
35632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35634 "RANLIB=$${RANLIB}" \
35635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35636 pdf) \
35637 || exit 1
35639 @endif gnattools
35641 .PHONY: maybe-html-gnattools html-gnattools
35642 maybe-html-gnattools:
35643 @if gnattools
35644 maybe-html-gnattools: html-gnattools
35646 html-gnattools: \
35647 configure-gnattools
35648 @: $(MAKE); $(unstage)
35649 @[ -f ./gnattools/Makefile ] || exit 0; \
35650 r=`${PWD_COMMAND}`; export r; \
35651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35652 $(HOST_EXPORTS) \
35653 for flag in $(EXTRA_HOST_FLAGS) ; do \
35654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35655 done; \
35656 echo "Doing html in gnattools"; \
35657 (cd $(HOST_SUBDIR)/gnattools && \
35658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35660 "RANLIB=$${RANLIB}" \
35661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35662 html) \
35663 || exit 1
35665 @endif gnattools
35667 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
35668 maybe-TAGS-gnattools:
35669 @if gnattools
35670 maybe-TAGS-gnattools: TAGS-gnattools
35672 TAGS-gnattools: \
35673 configure-gnattools
35674 @: $(MAKE); $(unstage)
35675 @[ -f ./gnattools/Makefile ] || exit 0; \
35676 r=`${PWD_COMMAND}`; export r; \
35677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35678 $(HOST_EXPORTS) \
35679 for flag in $(EXTRA_HOST_FLAGS) ; do \
35680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35681 done; \
35682 echo "Doing TAGS in gnattools"; \
35683 (cd $(HOST_SUBDIR)/gnattools && \
35684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35686 "RANLIB=$${RANLIB}" \
35687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35688 TAGS) \
35689 || exit 1
35691 @endif gnattools
35693 .PHONY: maybe-install-info-gnattools install-info-gnattools
35694 maybe-install-info-gnattools:
35695 @if gnattools
35696 maybe-install-info-gnattools: install-info-gnattools
35698 install-info-gnattools: \
35699 configure-gnattools \
35700 info-gnattools
35701 @: $(MAKE); $(unstage)
35702 @[ -f ./gnattools/Makefile ] || exit 0; \
35703 r=`${PWD_COMMAND}`; export r; \
35704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35705 $(HOST_EXPORTS) \
35706 for flag in $(EXTRA_HOST_FLAGS) ; do \
35707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35708 done; \
35709 echo "Doing install-info in gnattools"; \
35710 (cd $(HOST_SUBDIR)/gnattools && \
35711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35713 "RANLIB=$${RANLIB}" \
35714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35715 install-info) \
35716 || exit 1
35718 @endif gnattools
35720 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
35721 maybe-install-pdf-gnattools:
35722 @if gnattools
35723 maybe-install-pdf-gnattools: install-pdf-gnattools
35725 install-pdf-gnattools: \
35726 configure-gnattools \
35727 pdf-gnattools
35728 @: $(MAKE); $(unstage)
35729 @[ -f ./gnattools/Makefile ] || exit 0; \
35730 r=`${PWD_COMMAND}`; export r; \
35731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35732 $(HOST_EXPORTS) \
35733 for flag in $(EXTRA_HOST_FLAGS) ; do \
35734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35735 done; \
35736 echo "Doing install-pdf in gnattools"; \
35737 (cd $(HOST_SUBDIR)/gnattools && \
35738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35740 "RANLIB=$${RANLIB}" \
35741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35742 install-pdf) \
35743 || exit 1
35745 @endif gnattools
35747 .PHONY: maybe-install-html-gnattools install-html-gnattools
35748 maybe-install-html-gnattools:
35749 @if gnattools
35750 maybe-install-html-gnattools: install-html-gnattools
35752 install-html-gnattools: \
35753 configure-gnattools \
35754 html-gnattools
35755 @: $(MAKE); $(unstage)
35756 @[ -f ./gnattools/Makefile ] || exit 0; \
35757 r=`${PWD_COMMAND}`; export r; \
35758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35759 $(HOST_EXPORTS) \
35760 for flag in $(EXTRA_HOST_FLAGS) ; do \
35761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35762 done; \
35763 echo "Doing install-html in gnattools"; \
35764 (cd $(HOST_SUBDIR)/gnattools && \
35765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35767 "RANLIB=$${RANLIB}" \
35768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35769 install-html) \
35770 || exit 1
35772 @endif gnattools
35774 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
35775 maybe-installcheck-gnattools:
35776 @if gnattools
35777 maybe-installcheck-gnattools: installcheck-gnattools
35779 installcheck-gnattools: \
35780 configure-gnattools
35781 @: $(MAKE); $(unstage)
35782 @[ -f ./gnattools/Makefile ] || exit 0; \
35783 r=`${PWD_COMMAND}`; export r; \
35784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35785 $(HOST_EXPORTS) \
35786 for flag in $(EXTRA_HOST_FLAGS) ; do \
35787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35788 done; \
35789 echo "Doing installcheck in gnattools"; \
35790 (cd $(HOST_SUBDIR)/gnattools && \
35791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35793 "RANLIB=$${RANLIB}" \
35794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35795 installcheck) \
35796 || exit 1
35798 @endif gnattools
35800 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
35801 maybe-mostlyclean-gnattools:
35802 @if gnattools
35803 maybe-mostlyclean-gnattools: mostlyclean-gnattools
35805 mostlyclean-gnattools:
35806 @: $(MAKE); $(unstage)
35807 @[ -f ./gnattools/Makefile ] || exit 0; \
35808 r=`${PWD_COMMAND}`; export r; \
35809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35810 $(HOST_EXPORTS) \
35811 for flag in $(EXTRA_HOST_FLAGS) ; do \
35812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35813 done; \
35814 echo "Doing mostlyclean in gnattools"; \
35815 (cd $(HOST_SUBDIR)/gnattools && \
35816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35818 "RANLIB=$${RANLIB}" \
35819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35820 mostlyclean) \
35821 || exit 1
35823 @endif gnattools
35825 .PHONY: maybe-clean-gnattools clean-gnattools
35826 maybe-clean-gnattools:
35827 @if gnattools
35828 maybe-clean-gnattools: clean-gnattools
35830 clean-gnattools:
35831 @: $(MAKE); $(unstage)
35832 @[ -f ./gnattools/Makefile ] || exit 0; \
35833 r=`${PWD_COMMAND}`; export r; \
35834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35835 $(HOST_EXPORTS) \
35836 for flag in $(EXTRA_HOST_FLAGS) ; do \
35837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35838 done; \
35839 echo "Doing clean in gnattools"; \
35840 (cd $(HOST_SUBDIR)/gnattools && \
35841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35843 "RANLIB=$${RANLIB}" \
35844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35845 clean) \
35846 || exit 1
35848 @endif gnattools
35850 .PHONY: maybe-distclean-gnattools distclean-gnattools
35851 maybe-distclean-gnattools:
35852 @if gnattools
35853 maybe-distclean-gnattools: distclean-gnattools
35855 distclean-gnattools:
35856 @: $(MAKE); $(unstage)
35857 @[ -f ./gnattools/Makefile ] || exit 0; \
35858 r=`${PWD_COMMAND}`; export r; \
35859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35860 $(HOST_EXPORTS) \
35861 for flag in $(EXTRA_HOST_FLAGS) ; do \
35862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35863 done; \
35864 echo "Doing distclean in gnattools"; \
35865 (cd $(HOST_SUBDIR)/gnattools && \
35866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35868 "RANLIB=$${RANLIB}" \
35869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35870 distclean) \
35871 || exit 1
35873 @endif gnattools
35875 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
35876 maybe-maintainer-clean-gnattools:
35877 @if gnattools
35878 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
35880 maintainer-clean-gnattools:
35881 @: $(MAKE); $(unstage)
35882 @[ -f ./gnattools/Makefile ] || exit 0; \
35883 r=`${PWD_COMMAND}`; export r; \
35884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35885 $(HOST_EXPORTS) \
35886 for flag in $(EXTRA_HOST_FLAGS) ; do \
35887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35888 done; \
35889 echo "Doing maintainer-clean in gnattools"; \
35890 (cd $(HOST_SUBDIR)/gnattools && \
35891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35893 "RANLIB=$${RANLIB}" \
35894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35895 maintainer-clean) \
35896 || exit 1
35898 @endif gnattools
35902 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
35903 maybe-configure-lto-plugin:
35904 @if gcc-bootstrap
35905 configure-lto-plugin: stage_current
35906 @endif gcc-bootstrap
35907 @if lto-plugin
35908 maybe-configure-lto-plugin: configure-lto-plugin
35909 configure-lto-plugin:
35910 @r=`${PWD_COMMAND}`; export r; \
35911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35912 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35914 $(HOST_EXPORTS) \
35915 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
35916 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
35917 case $(srcdir) in \
35918 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35919 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35920 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35921 esac; \
35922 module_srcdir=lto-plugin; \
35923 $(SHELL) \
35924 $$s/$$module_srcdir/configure \
35925 --srcdir=$${topdir}/$$module_srcdir \
35926 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35927 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
35928 || exit 1
35929 @endif lto-plugin
35933 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
35934 maybe-configure-stage1-lto-plugin:
35935 @if lto-plugin-bootstrap
35936 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
35937 configure-stage1-lto-plugin:
35938 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
35939 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
35940 @r=`${PWD_COMMAND}`; export r; \
35941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35942 TFLAGS="$(STAGE1_TFLAGS)"; \
35943 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35944 $(HOST_EXPORTS) \
35945 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
35946 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
35947 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
35948 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
35949 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35950 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
35951 case $(srcdir) in \
35952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35953 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35955 esac; \
35956 module_srcdir=lto-plugin; \
35957 $(SHELL) $$s/$$module_srcdir/configure \
35958 --srcdir=$${topdir}/$$module_srcdir \
35959 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35960 --target=${target_alias} \
35962 $(STAGE1_CONFIGURE_FLAGS) \
35963 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
35964 @endif lto-plugin-bootstrap
35966 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
35967 maybe-configure-stage2-lto-plugin:
35968 @if lto-plugin-bootstrap
35969 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
35970 configure-stage2-lto-plugin:
35971 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
35972 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
35973 @r=`${PWD_COMMAND}`; export r; \
35974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35975 TFLAGS="$(STAGE2_TFLAGS)"; \
35976 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
35977 $(HOST_EXPORTS) \
35978 $(POSTSTAGE1_HOST_EXPORTS) \
35979 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
35980 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
35981 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
35982 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
35983 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
35984 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
35985 case $(srcdir) in \
35986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35987 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
35988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35989 esac; \
35990 module_srcdir=lto-plugin; \
35991 $(SHELL) $$s/$$module_srcdir/configure \
35992 --srcdir=$${topdir}/$$module_srcdir \
35993 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35994 --target=${target_alias} \
35995 --with-build-libsubdir=$(HOST_SUBDIR) \
35996 $(STAGE2_CONFIGURE_FLAGS) \
35997 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
35998 @endif lto-plugin-bootstrap
36000 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
36001 maybe-configure-stage3-lto-plugin:
36002 @if lto-plugin-bootstrap
36003 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
36004 configure-stage3-lto-plugin:
36005 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36006 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36007 @r=`${PWD_COMMAND}`; export r; \
36008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36009 TFLAGS="$(STAGE3_TFLAGS)"; \
36010 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36011 $(HOST_EXPORTS) \
36012 $(POSTSTAGE1_HOST_EXPORTS) \
36013 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
36014 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
36015 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
36016 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
36017 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36018 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36019 case $(srcdir) in \
36020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36021 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36023 esac; \
36024 module_srcdir=lto-plugin; \
36025 $(SHELL) $$s/$$module_srcdir/configure \
36026 --srcdir=$${topdir}/$$module_srcdir \
36027 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36028 --target=${target_alias} \
36029 --with-build-libsubdir=$(HOST_SUBDIR) \
36030 $(STAGE3_CONFIGURE_FLAGS) \
36031 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36032 @endif lto-plugin-bootstrap
36034 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
36035 maybe-configure-stage4-lto-plugin:
36036 @if lto-plugin-bootstrap
36037 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
36038 configure-stage4-lto-plugin:
36039 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36040 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36041 @r=`${PWD_COMMAND}`; export r; \
36042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36043 TFLAGS="$(STAGE4_TFLAGS)"; \
36044 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36045 $(HOST_EXPORTS) \
36046 $(POSTSTAGE1_HOST_EXPORTS) \
36047 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
36048 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
36049 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
36050 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
36051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36052 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36053 case $(srcdir) in \
36054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36055 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36057 esac; \
36058 module_srcdir=lto-plugin; \
36059 $(SHELL) $$s/$$module_srcdir/configure \
36060 --srcdir=$${topdir}/$$module_srcdir \
36061 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36062 --target=${target_alias} \
36063 --with-build-libsubdir=$(HOST_SUBDIR) \
36064 $(STAGE4_CONFIGURE_FLAGS) \
36065 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36066 @endif lto-plugin-bootstrap
36068 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
36069 maybe-configure-stageprofile-lto-plugin:
36070 @if lto-plugin-bootstrap
36071 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
36072 configure-stageprofile-lto-plugin:
36073 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36074 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36075 @r=`${PWD_COMMAND}`; export r; \
36076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36077 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36078 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36079 $(HOST_EXPORTS) \
36080 $(POSTSTAGE1_HOST_EXPORTS) \
36081 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
36082 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
36083 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
36084 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
36085 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36086 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36087 case $(srcdir) in \
36088 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36089 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36090 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36091 esac; \
36092 module_srcdir=lto-plugin; \
36093 $(SHELL) $$s/$$module_srcdir/configure \
36094 --srcdir=$${topdir}/$$module_srcdir \
36095 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36096 --target=${target_alias} \
36097 --with-build-libsubdir=$(HOST_SUBDIR) \
36098 $(STAGEprofile_CONFIGURE_FLAGS) \
36099 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36100 @endif lto-plugin-bootstrap
36102 .PHONY: configure-stagetrain-lto-plugin maybe-configure-stagetrain-lto-plugin
36103 maybe-configure-stagetrain-lto-plugin:
36104 @if lto-plugin-bootstrap
36105 maybe-configure-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
36106 configure-stagetrain-lto-plugin:
36107 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
36108 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36109 @r=`${PWD_COMMAND}`; export r; \
36110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36111 TFLAGS="$(STAGEtrain_TFLAGS)"; \
36112 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36113 $(HOST_EXPORTS) \
36114 $(POSTSTAGE1_HOST_EXPORTS) \
36115 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
36116 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
36117 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
36118 echo Configuring stage train in $(HOST_SUBDIR)/lto-plugin; \
36119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36120 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36121 case $(srcdir) in \
36122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36123 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36125 esac; \
36126 module_srcdir=lto-plugin; \
36127 $(SHELL) $$s/$$module_srcdir/configure \
36128 --srcdir=$${topdir}/$$module_srcdir \
36129 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36130 --target=${target_alias} \
36131 --with-build-libsubdir=$(HOST_SUBDIR) \
36132 $(STAGEtrain_CONFIGURE_FLAGS) \
36133 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36134 @endif lto-plugin-bootstrap
36136 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
36137 maybe-configure-stagefeedback-lto-plugin:
36138 @if lto-plugin-bootstrap
36139 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
36140 configure-stagefeedback-lto-plugin:
36141 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36142 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36143 @r=`${PWD_COMMAND}`; export r; \
36144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36145 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36146 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36147 $(HOST_EXPORTS) \
36148 $(POSTSTAGE1_HOST_EXPORTS) \
36149 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
36150 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
36151 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
36152 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
36153 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36154 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36155 case $(srcdir) in \
36156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36157 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36159 esac; \
36160 module_srcdir=lto-plugin; \
36161 $(SHELL) $$s/$$module_srcdir/configure \
36162 --srcdir=$${topdir}/$$module_srcdir \
36163 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36164 --target=${target_alias} \
36165 --with-build-libsubdir=$(HOST_SUBDIR) \
36166 $(STAGEfeedback_CONFIGURE_FLAGS) \
36167 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36168 @endif lto-plugin-bootstrap
36170 .PHONY: configure-stageautoprofile-lto-plugin maybe-configure-stageautoprofile-lto-plugin
36171 maybe-configure-stageautoprofile-lto-plugin:
36172 @if lto-plugin-bootstrap
36173 maybe-configure-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
36174 configure-stageautoprofile-lto-plugin:
36175 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36176 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36177 @r=`${PWD_COMMAND}`; export r; \
36178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36179 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36180 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36181 $(HOST_EXPORTS) \
36182 $(POSTSTAGE1_HOST_EXPORTS) \
36183 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
36184 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
36185 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
36186 echo Configuring stage autoprofile in $(HOST_SUBDIR)/lto-plugin; \
36187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36188 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36189 case $(srcdir) in \
36190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36191 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36193 esac; \
36194 module_srcdir=lto-plugin; \
36195 $(SHELL) $$s/$$module_srcdir/configure \
36196 --srcdir=$${topdir}/$$module_srcdir \
36197 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36198 --target=${target_alias} \
36199 --with-build-libsubdir=$(HOST_SUBDIR) \
36200 $(STAGEautoprofile_CONFIGURE_FLAGS) \
36201 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36202 @endif lto-plugin-bootstrap
36204 .PHONY: configure-stageautofeedback-lto-plugin maybe-configure-stageautofeedback-lto-plugin
36205 maybe-configure-stageautofeedback-lto-plugin:
36206 @if lto-plugin-bootstrap
36207 maybe-configure-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
36208 configure-stageautofeedback-lto-plugin:
36209 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36210 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
36211 @r=`${PWD_COMMAND}`; export r; \
36212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36213 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36214 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
36215 $(HOST_EXPORTS) \
36216 $(POSTSTAGE1_HOST_EXPORTS) \
36217 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
36218 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
36219 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
36220 echo Configuring stage autofeedback in $(HOST_SUBDIR)/lto-plugin; \
36221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
36222 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
36223 case $(srcdir) in \
36224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36225 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
36226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36227 esac; \
36228 module_srcdir=lto-plugin; \
36229 $(SHELL) $$s/$$module_srcdir/configure \
36230 --srcdir=$${topdir}/$$module_srcdir \
36231 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36232 --target=${target_alias} \
36233 --with-build-libsubdir=$(HOST_SUBDIR) \
36234 $(STAGEautofeedback_CONFIGURE_FLAGS) \
36235 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
36236 @endif lto-plugin-bootstrap
36242 .PHONY: all-lto-plugin maybe-all-lto-plugin
36243 maybe-all-lto-plugin:
36244 @if gcc-bootstrap
36245 all-lto-plugin: stage_current
36246 @endif gcc-bootstrap
36247 @if lto-plugin
36248 TARGET-lto-plugin=all
36249 maybe-all-lto-plugin: all-lto-plugin
36250 all-lto-plugin: configure-lto-plugin
36251 @r=`${PWD_COMMAND}`; export r; \
36252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36253 $(HOST_EXPORTS) \
36254 (cd $(HOST_SUBDIR)/lto-plugin && \
36255 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36256 $(TARGET-lto-plugin))
36257 @endif lto-plugin
36261 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
36262 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
36263 maybe-all-stage1-lto-plugin:
36264 maybe-clean-stage1-lto-plugin:
36265 @if lto-plugin-bootstrap
36266 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
36267 all-stage1: all-stage1-lto-plugin
36268 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
36269 all-stage1-lto-plugin: configure-stage1-lto-plugin
36270 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36271 @r=`${PWD_COMMAND}`; export r; \
36272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36273 TFLAGS="$(STAGE1_TFLAGS)"; \
36274 $(HOST_EXPORTS) \
36275 cd $(HOST_SUBDIR)/lto-plugin && \
36277 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36278 CFLAGS="$(STAGE1_CFLAGS)" \
36279 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
36280 LIBCFLAGS="$(LIBCFLAGS)" \
36281 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36282 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36283 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36284 $(EXTRA_HOST_FLAGS) \
36285 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36286 TFLAGS="$(STAGE1_TFLAGS)" \
36287 $(TARGET-stage1-lto-plugin)
36289 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
36290 clean-stage1: clean-stage1-lto-plugin
36291 clean-stage1-lto-plugin:
36292 @if [ $(current_stage) = stage1 ]; then \
36293 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36294 else \
36295 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
36296 $(MAKE) stage1-start; \
36297 fi; \
36298 cd $(HOST_SUBDIR)/lto-plugin && \
36299 $(MAKE) $(EXTRA_HOST_FLAGS) \
36300 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36301 @endif lto-plugin-bootstrap
36304 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
36305 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
36306 maybe-all-stage2-lto-plugin:
36307 maybe-clean-stage2-lto-plugin:
36308 @if lto-plugin-bootstrap
36309 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
36310 all-stage2: all-stage2-lto-plugin
36311 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
36312 all-stage2-lto-plugin: configure-stage2-lto-plugin
36313 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36314 @r=`${PWD_COMMAND}`; export r; \
36315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36316 TFLAGS="$(STAGE2_TFLAGS)"; \
36317 $(HOST_EXPORTS) \
36318 $(POSTSTAGE1_HOST_EXPORTS) \
36319 cd $(HOST_SUBDIR)/lto-plugin && \
36321 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36322 CFLAGS="$(STAGE2_CFLAGS)" \
36323 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
36324 LIBCFLAGS="$(STAGE2_CFLAGS)" \
36325 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36326 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36327 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36328 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36329 TFLAGS="$(STAGE2_TFLAGS)" \
36330 $(TARGET-stage2-lto-plugin)
36332 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
36333 clean-stage2: clean-stage2-lto-plugin
36334 clean-stage2-lto-plugin:
36335 @if [ $(current_stage) = stage2 ]; then \
36336 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36337 else \
36338 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
36339 $(MAKE) stage2-start; \
36340 fi; \
36341 cd $(HOST_SUBDIR)/lto-plugin && \
36342 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36343 @endif lto-plugin-bootstrap
36346 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
36347 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
36348 maybe-all-stage3-lto-plugin:
36349 maybe-clean-stage3-lto-plugin:
36350 @if lto-plugin-bootstrap
36351 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
36352 all-stage3: all-stage3-lto-plugin
36353 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
36354 all-stage3-lto-plugin: configure-stage3-lto-plugin
36355 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36356 @r=`${PWD_COMMAND}`; export r; \
36357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36358 TFLAGS="$(STAGE3_TFLAGS)"; \
36359 $(HOST_EXPORTS) \
36360 $(POSTSTAGE1_HOST_EXPORTS) \
36361 cd $(HOST_SUBDIR)/lto-plugin && \
36363 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36364 CFLAGS="$(STAGE3_CFLAGS)" \
36365 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
36366 LIBCFLAGS="$(STAGE3_CFLAGS)" \
36367 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36368 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36369 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36370 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36371 TFLAGS="$(STAGE3_TFLAGS)" \
36372 $(TARGET-stage3-lto-plugin)
36374 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
36375 clean-stage3: clean-stage3-lto-plugin
36376 clean-stage3-lto-plugin:
36377 @if [ $(current_stage) = stage3 ]; then \
36378 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36379 else \
36380 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
36381 $(MAKE) stage3-start; \
36382 fi; \
36383 cd $(HOST_SUBDIR)/lto-plugin && \
36384 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36385 @endif lto-plugin-bootstrap
36388 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
36389 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
36390 maybe-all-stage4-lto-plugin:
36391 maybe-clean-stage4-lto-plugin:
36392 @if lto-plugin-bootstrap
36393 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
36394 all-stage4: all-stage4-lto-plugin
36395 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
36396 all-stage4-lto-plugin: configure-stage4-lto-plugin
36397 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36398 @r=`${PWD_COMMAND}`; export r; \
36399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36400 TFLAGS="$(STAGE4_TFLAGS)"; \
36401 $(HOST_EXPORTS) \
36402 $(POSTSTAGE1_HOST_EXPORTS) \
36403 cd $(HOST_SUBDIR)/lto-plugin && \
36405 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36406 CFLAGS="$(STAGE4_CFLAGS)" \
36407 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
36408 LIBCFLAGS="$(STAGE4_CFLAGS)" \
36409 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36410 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36411 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36412 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36413 TFLAGS="$(STAGE4_TFLAGS)" \
36414 $(TARGET-stage4-lto-plugin)
36416 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
36417 clean-stage4: clean-stage4-lto-plugin
36418 clean-stage4-lto-plugin:
36419 @if [ $(current_stage) = stage4 ]; then \
36420 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36421 else \
36422 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
36423 $(MAKE) stage4-start; \
36424 fi; \
36425 cd $(HOST_SUBDIR)/lto-plugin && \
36426 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36427 @endif lto-plugin-bootstrap
36430 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
36431 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
36432 maybe-all-stageprofile-lto-plugin:
36433 maybe-clean-stageprofile-lto-plugin:
36434 @if lto-plugin-bootstrap
36435 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
36436 all-stageprofile: all-stageprofile-lto-plugin
36437 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
36438 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
36439 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36440 @r=`${PWD_COMMAND}`; export r; \
36441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36442 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36443 $(HOST_EXPORTS) \
36444 $(POSTSTAGE1_HOST_EXPORTS) \
36445 cd $(HOST_SUBDIR)/lto-plugin && \
36447 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36448 CFLAGS="$(STAGEprofile_CFLAGS)" \
36449 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
36450 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
36451 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36452 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36453 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36454 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36455 TFLAGS="$(STAGEprofile_TFLAGS)" \
36456 $(TARGET-stageprofile-lto-plugin)
36458 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
36459 clean-stageprofile: clean-stageprofile-lto-plugin
36460 clean-stageprofile-lto-plugin:
36461 @if [ $(current_stage) = stageprofile ]; then \
36462 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36463 else \
36464 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
36465 $(MAKE) stageprofile-start; \
36466 fi; \
36467 cd $(HOST_SUBDIR)/lto-plugin && \
36468 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36469 @endif lto-plugin-bootstrap
36472 .PHONY: all-stagetrain-lto-plugin maybe-all-stagetrain-lto-plugin
36473 .PHONY: clean-stagetrain-lto-plugin maybe-clean-stagetrain-lto-plugin
36474 maybe-all-stagetrain-lto-plugin:
36475 maybe-clean-stagetrain-lto-plugin:
36476 @if lto-plugin-bootstrap
36477 maybe-all-stagetrain-lto-plugin: all-stagetrain-lto-plugin
36478 all-stagetrain: all-stagetrain-lto-plugin
36479 TARGET-stagetrain-lto-plugin = $(TARGET-lto-plugin)
36480 all-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
36481 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
36482 @r=`${PWD_COMMAND}`; export r; \
36483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36484 TFLAGS="$(STAGEtrain_TFLAGS)"; \
36485 $(HOST_EXPORTS) \
36486 $(POSTSTAGE1_HOST_EXPORTS) \
36487 cd $(HOST_SUBDIR)/lto-plugin && \
36489 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36490 CFLAGS="$(STAGEtrain_CFLAGS)" \
36491 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
36492 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
36493 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36494 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36495 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36496 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36497 TFLAGS="$(STAGEtrain_TFLAGS)" \
36498 $(TARGET-stagetrain-lto-plugin)
36500 maybe-clean-stagetrain-lto-plugin: clean-stagetrain-lto-plugin
36501 clean-stagetrain: clean-stagetrain-lto-plugin
36502 clean-stagetrain-lto-plugin:
36503 @if [ $(current_stage) = stagetrain ]; then \
36504 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36505 else \
36506 [ -f $(HOST_SUBDIR)/stagetrain-lto-plugin/Makefile ] || exit 0; \
36507 $(MAKE) stagetrain-start; \
36508 fi; \
36509 cd $(HOST_SUBDIR)/lto-plugin && \
36510 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36511 @endif lto-plugin-bootstrap
36514 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
36515 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
36516 maybe-all-stagefeedback-lto-plugin:
36517 maybe-clean-stagefeedback-lto-plugin:
36518 @if lto-plugin-bootstrap
36519 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
36520 all-stagefeedback: all-stagefeedback-lto-plugin
36521 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
36522 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
36523 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36524 @r=`${PWD_COMMAND}`; export r; \
36525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36526 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36527 $(HOST_EXPORTS) \
36528 $(POSTSTAGE1_HOST_EXPORTS) \
36529 cd $(HOST_SUBDIR)/lto-plugin && \
36531 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36532 CFLAGS="$(STAGEfeedback_CFLAGS)" \
36533 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
36534 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
36535 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36536 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36537 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36538 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36539 TFLAGS="$(STAGEfeedback_TFLAGS)" \
36540 $(TARGET-stagefeedback-lto-plugin)
36542 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
36543 clean-stagefeedback: clean-stagefeedback-lto-plugin
36544 clean-stagefeedback-lto-plugin:
36545 @if [ $(current_stage) = stagefeedback ]; then \
36546 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36547 else \
36548 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
36549 $(MAKE) stagefeedback-start; \
36550 fi; \
36551 cd $(HOST_SUBDIR)/lto-plugin && \
36552 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36553 @endif lto-plugin-bootstrap
36556 .PHONY: all-stageautoprofile-lto-plugin maybe-all-stageautoprofile-lto-plugin
36557 .PHONY: clean-stageautoprofile-lto-plugin maybe-clean-stageautoprofile-lto-plugin
36558 maybe-all-stageautoprofile-lto-plugin:
36559 maybe-clean-stageautoprofile-lto-plugin:
36560 @if lto-plugin-bootstrap
36561 maybe-all-stageautoprofile-lto-plugin: all-stageautoprofile-lto-plugin
36562 all-stageautoprofile: all-stageautoprofile-lto-plugin
36563 TARGET-stageautoprofile-lto-plugin = $(TARGET-lto-plugin)
36564 all-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
36565 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
36566 @r=`${PWD_COMMAND}`; export r; \
36567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36568 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
36569 $(HOST_EXPORTS) \
36570 $(POSTSTAGE1_HOST_EXPORTS) \
36571 cd $(HOST_SUBDIR)/lto-plugin && \
36572 $$s/gcc/config/i386/$(AUTO_PROFILE) \
36573 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36574 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
36575 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
36576 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
36577 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36578 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36579 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36580 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36581 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
36582 $(TARGET-stageautoprofile-lto-plugin)
36584 maybe-clean-stageautoprofile-lto-plugin: clean-stageautoprofile-lto-plugin
36585 clean-stageautoprofile: clean-stageautoprofile-lto-plugin
36586 clean-stageautoprofile-lto-plugin:
36587 @if [ $(current_stage) = stageautoprofile ]; then \
36588 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36589 else \
36590 [ -f $(HOST_SUBDIR)/stageautoprofile-lto-plugin/Makefile ] || exit 0; \
36591 $(MAKE) stageautoprofile-start; \
36592 fi; \
36593 cd $(HOST_SUBDIR)/lto-plugin && \
36594 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36595 @endif lto-plugin-bootstrap
36598 .PHONY: all-stageautofeedback-lto-plugin maybe-all-stageautofeedback-lto-plugin
36599 .PHONY: clean-stageautofeedback-lto-plugin maybe-clean-stageautofeedback-lto-plugin
36600 maybe-all-stageautofeedback-lto-plugin:
36601 maybe-clean-stageautofeedback-lto-plugin:
36602 @if lto-plugin-bootstrap
36603 maybe-all-stageautofeedback-lto-plugin: all-stageautofeedback-lto-plugin
36604 all-stageautofeedback: all-stageautofeedback-lto-plugin
36605 TARGET-stageautofeedback-lto-plugin = $(TARGET-lto-plugin)
36606 all-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
36607 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
36608 @r=`${PWD_COMMAND}`; export r; \
36609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36610 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
36611 $(HOST_EXPORTS) \
36612 $(POSTSTAGE1_HOST_EXPORTS) \
36613 cd $(HOST_SUBDIR)/lto-plugin && \
36615 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36616 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
36617 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
36618 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
36619 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36620 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36621 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36622 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
36623 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
36624 $(TARGET-stageautofeedback-lto-plugin)
36626 maybe-clean-stageautofeedback-lto-plugin: clean-stageautofeedback-lto-plugin
36627 clean-stageautofeedback: clean-stageautofeedback-lto-plugin
36628 clean-stageautofeedback-lto-plugin:
36629 @if [ $(current_stage) = stageautofeedback ]; then \
36630 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
36631 else \
36632 [ -f $(HOST_SUBDIR)/stageautofeedback-lto-plugin/Makefile ] || exit 0; \
36633 $(MAKE) stageautofeedback-start; \
36634 fi; \
36635 cd $(HOST_SUBDIR)/lto-plugin && \
36636 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
36637 @endif lto-plugin-bootstrap
36643 .PHONY: check-lto-plugin maybe-check-lto-plugin
36644 maybe-check-lto-plugin:
36645 @if lto-plugin
36646 maybe-check-lto-plugin: check-lto-plugin
36648 check-lto-plugin:
36649 @: $(MAKE); $(unstage)
36650 @r=`${PWD_COMMAND}`; export r; \
36651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36652 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
36653 (cd $(HOST_SUBDIR)/lto-plugin && \
36654 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
36656 @endif lto-plugin
36658 .PHONY: install-lto-plugin maybe-install-lto-plugin
36659 maybe-install-lto-plugin:
36660 @if lto-plugin
36661 maybe-install-lto-plugin: install-lto-plugin
36663 install-lto-plugin: installdirs
36664 @: $(MAKE); $(unstage)
36665 @r=`${PWD_COMMAND}`; export r; \
36666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36667 $(HOST_EXPORTS) \
36668 (cd $(HOST_SUBDIR)/lto-plugin && \
36669 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
36671 @endif lto-plugin
36673 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
36674 maybe-install-strip-lto-plugin:
36675 @if lto-plugin
36676 maybe-install-strip-lto-plugin: install-strip-lto-plugin
36678 install-strip-lto-plugin: installdirs
36679 @: $(MAKE); $(unstage)
36680 @r=`${PWD_COMMAND}`; export r; \
36681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36682 $(HOST_EXPORTS) \
36683 (cd $(HOST_SUBDIR)/lto-plugin && \
36684 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
36686 @endif lto-plugin
36688 # Other targets (info, dvi, pdf, etc.)
36690 .PHONY: maybe-info-lto-plugin info-lto-plugin
36691 maybe-info-lto-plugin:
36692 @if lto-plugin
36693 maybe-info-lto-plugin: info-lto-plugin
36695 info-lto-plugin: \
36696 configure-lto-plugin
36697 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36698 r=`${PWD_COMMAND}`; export r; \
36699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36700 $(HOST_EXPORTS) \
36701 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36703 done; \
36704 echo "Doing info in lto-plugin"; \
36705 (cd $(HOST_SUBDIR)/lto-plugin && \
36706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36708 "RANLIB=$${RANLIB}" \
36709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36710 info) \
36711 || exit 1
36713 @endif lto-plugin
36715 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
36716 maybe-dvi-lto-plugin:
36717 @if lto-plugin
36718 maybe-dvi-lto-plugin: dvi-lto-plugin
36720 dvi-lto-plugin: \
36721 configure-lto-plugin
36722 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36723 r=`${PWD_COMMAND}`; export r; \
36724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36725 $(HOST_EXPORTS) \
36726 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36728 done; \
36729 echo "Doing dvi in lto-plugin"; \
36730 (cd $(HOST_SUBDIR)/lto-plugin && \
36731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36733 "RANLIB=$${RANLIB}" \
36734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36735 dvi) \
36736 || exit 1
36738 @endif lto-plugin
36740 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
36741 maybe-pdf-lto-plugin:
36742 @if lto-plugin
36743 maybe-pdf-lto-plugin: pdf-lto-plugin
36745 pdf-lto-plugin: \
36746 configure-lto-plugin
36747 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36748 r=`${PWD_COMMAND}`; export r; \
36749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36750 $(HOST_EXPORTS) \
36751 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36753 done; \
36754 echo "Doing pdf in lto-plugin"; \
36755 (cd $(HOST_SUBDIR)/lto-plugin && \
36756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36758 "RANLIB=$${RANLIB}" \
36759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36760 pdf) \
36761 || exit 1
36763 @endif lto-plugin
36765 .PHONY: maybe-html-lto-plugin html-lto-plugin
36766 maybe-html-lto-plugin:
36767 @if lto-plugin
36768 maybe-html-lto-plugin: html-lto-plugin
36770 html-lto-plugin: \
36771 configure-lto-plugin
36772 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36773 r=`${PWD_COMMAND}`; export r; \
36774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36775 $(HOST_EXPORTS) \
36776 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36778 done; \
36779 echo "Doing html in lto-plugin"; \
36780 (cd $(HOST_SUBDIR)/lto-plugin && \
36781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36783 "RANLIB=$${RANLIB}" \
36784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36785 html) \
36786 || exit 1
36788 @endif lto-plugin
36790 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
36791 maybe-TAGS-lto-plugin:
36792 @if lto-plugin
36793 maybe-TAGS-lto-plugin: TAGS-lto-plugin
36795 TAGS-lto-plugin: \
36796 configure-lto-plugin
36797 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36798 r=`${PWD_COMMAND}`; export r; \
36799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36800 $(HOST_EXPORTS) \
36801 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36803 done; \
36804 echo "Doing TAGS in lto-plugin"; \
36805 (cd $(HOST_SUBDIR)/lto-plugin && \
36806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36808 "RANLIB=$${RANLIB}" \
36809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36810 TAGS) \
36811 || exit 1
36813 @endif lto-plugin
36815 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
36816 maybe-install-info-lto-plugin:
36817 @if lto-plugin
36818 maybe-install-info-lto-plugin: install-info-lto-plugin
36820 install-info-lto-plugin: \
36821 configure-lto-plugin \
36822 info-lto-plugin
36823 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36824 r=`${PWD_COMMAND}`; export r; \
36825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36826 $(HOST_EXPORTS) \
36827 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36829 done; \
36830 echo "Doing install-info in lto-plugin"; \
36831 (cd $(HOST_SUBDIR)/lto-plugin && \
36832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36834 "RANLIB=$${RANLIB}" \
36835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36836 install-info) \
36837 || exit 1
36839 @endif lto-plugin
36841 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
36842 maybe-install-pdf-lto-plugin:
36843 @if lto-plugin
36844 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
36846 install-pdf-lto-plugin: \
36847 configure-lto-plugin \
36848 pdf-lto-plugin
36849 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36850 r=`${PWD_COMMAND}`; export r; \
36851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36852 $(HOST_EXPORTS) \
36853 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36855 done; \
36856 echo "Doing install-pdf in lto-plugin"; \
36857 (cd $(HOST_SUBDIR)/lto-plugin && \
36858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36860 "RANLIB=$${RANLIB}" \
36861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36862 install-pdf) \
36863 || exit 1
36865 @endif lto-plugin
36867 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
36868 maybe-install-html-lto-plugin:
36869 @if lto-plugin
36870 maybe-install-html-lto-plugin: install-html-lto-plugin
36872 install-html-lto-plugin: \
36873 configure-lto-plugin \
36874 html-lto-plugin
36875 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36876 r=`${PWD_COMMAND}`; export r; \
36877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36878 $(HOST_EXPORTS) \
36879 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36881 done; \
36882 echo "Doing install-html in lto-plugin"; \
36883 (cd $(HOST_SUBDIR)/lto-plugin && \
36884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36886 "RANLIB=$${RANLIB}" \
36887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36888 install-html) \
36889 || exit 1
36891 @endif lto-plugin
36893 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
36894 maybe-installcheck-lto-plugin:
36895 @if lto-plugin
36896 maybe-installcheck-lto-plugin: installcheck-lto-plugin
36898 installcheck-lto-plugin: \
36899 configure-lto-plugin
36900 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36901 r=`${PWD_COMMAND}`; export r; \
36902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36903 $(HOST_EXPORTS) \
36904 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36906 done; \
36907 echo "Doing installcheck in lto-plugin"; \
36908 (cd $(HOST_SUBDIR)/lto-plugin && \
36909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36911 "RANLIB=$${RANLIB}" \
36912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36913 installcheck) \
36914 || exit 1
36916 @endif lto-plugin
36918 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
36919 maybe-mostlyclean-lto-plugin:
36920 @if lto-plugin
36921 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
36923 mostlyclean-lto-plugin:
36924 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36925 r=`${PWD_COMMAND}`; export r; \
36926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36927 $(HOST_EXPORTS) \
36928 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36930 done; \
36931 echo "Doing mostlyclean in lto-plugin"; \
36932 (cd $(HOST_SUBDIR)/lto-plugin && \
36933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36935 "RANLIB=$${RANLIB}" \
36936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36937 mostlyclean) \
36938 || exit 1
36940 @endif lto-plugin
36942 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
36943 maybe-clean-lto-plugin:
36944 @if lto-plugin
36945 maybe-clean-lto-plugin: clean-lto-plugin
36947 clean-lto-plugin:
36948 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36949 r=`${PWD_COMMAND}`; export r; \
36950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36951 $(HOST_EXPORTS) \
36952 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36954 done; \
36955 echo "Doing clean in lto-plugin"; \
36956 (cd $(HOST_SUBDIR)/lto-plugin && \
36957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36959 "RANLIB=$${RANLIB}" \
36960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36961 clean) \
36962 || exit 1
36964 @endif lto-plugin
36966 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
36967 maybe-distclean-lto-plugin:
36968 @if lto-plugin
36969 maybe-distclean-lto-plugin: distclean-lto-plugin
36971 distclean-lto-plugin:
36972 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36973 r=`${PWD_COMMAND}`; export r; \
36974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36975 $(HOST_EXPORTS) \
36976 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
36977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36978 done; \
36979 echo "Doing distclean in lto-plugin"; \
36980 (cd $(HOST_SUBDIR)/lto-plugin && \
36981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36983 "RANLIB=$${RANLIB}" \
36984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36985 distclean) \
36986 || exit 1
36988 @endif lto-plugin
36990 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
36991 maybe-maintainer-clean-lto-plugin:
36992 @if lto-plugin
36993 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
36995 maintainer-clean-lto-plugin:
36996 @[ -f ./lto-plugin/Makefile ] || exit 0; \
36997 r=`${PWD_COMMAND}`; export r; \
36998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36999 $(HOST_EXPORTS) \
37000 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
37001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37002 done; \
37003 echo "Doing maintainer-clean in lto-plugin"; \
37004 (cd $(HOST_SUBDIR)/lto-plugin && \
37005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37007 "RANLIB=$${RANLIB}" \
37008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37009 maintainer-clean) \
37010 || exit 1
37012 @endif lto-plugin
37016 .PHONY: configure-libcc1 maybe-configure-libcc1
37017 maybe-configure-libcc1:
37018 @if gcc-bootstrap
37019 configure-libcc1: stage_current
37020 @endif gcc-bootstrap
37021 @if libcc1
37022 maybe-configure-libcc1: configure-libcc1
37023 configure-libcc1:
37024 @: $(MAKE); $(unstage)
37025 @r=`${PWD_COMMAND}`; export r; \
37026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37027 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
37028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
37029 $(HOST_EXPORTS) \
37030 echo Configuring in $(HOST_SUBDIR)/libcc1; \
37031 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
37032 case $(srcdir) in \
37033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37034 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
37035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37036 esac; \
37037 module_srcdir=libcc1; \
37038 $(SHELL) \
37039 $$s/$$module_srcdir/configure \
37040 --srcdir=$${topdir}/$$module_srcdir \
37041 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37042 --target=${target_alias} --enable-shared \
37043 || exit 1
37044 @endif libcc1
37050 .PHONY: all-libcc1 maybe-all-libcc1
37051 maybe-all-libcc1:
37052 @if gcc-bootstrap
37053 all-libcc1: stage_current
37054 @endif gcc-bootstrap
37055 @if libcc1
37056 TARGET-libcc1=all
37057 maybe-all-libcc1: all-libcc1
37058 all-libcc1: configure-libcc1
37059 @: $(MAKE); $(unstage)
37060 @r=`${PWD_COMMAND}`; export r; \
37061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37062 $(HOST_EXPORTS) \
37063 (cd $(HOST_SUBDIR)/libcc1 && \
37064 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37065 $(TARGET-libcc1))
37066 @endif libcc1
37071 .PHONY: check-libcc1 maybe-check-libcc1
37072 maybe-check-libcc1:
37073 @if libcc1
37074 maybe-check-libcc1: check-libcc1
37076 check-libcc1:
37077 @: $(MAKE); $(unstage)
37078 @r=`${PWD_COMMAND}`; export r; \
37079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37080 $(HOST_EXPORTS) \
37081 (cd $(HOST_SUBDIR)/libcc1 && \
37082 $(MAKE) $(FLAGS_TO_PASS) check)
37084 @endif libcc1
37086 .PHONY: install-libcc1 maybe-install-libcc1
37087 maybe-install-libcc1:
37088 @if libcc1
37089 maybe-install-libcc1: install-libcc1
37091 install-libcc1: installdirs
37092 @: $(MAKE); $(unstage)
37093 @r=`${PWD_COMMAND}`; export r; \
37094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37095 $(HOST_EXPORTS) \
37096 (cd $(HOST_SUBDIR)/libcc1 && \
37097 $(MAKE) $(FLAGS_TO_PASS) install)
37099 @endif libcc1
37101 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
37102 maybe-install-strip-libcc1:
37103 @if libcc1
37104 maybe-install-strip-libcc1: install-strip-libcc1
37106 install-strip-libcc1: installdirs
37107 @: $(MAKE); $(unstage)
37108 @r=`${PWD_COMMAND}`; export r; \
37109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37110 $(HOST_EXPORTS) \
37111 (cd $(HOST_SUBDIR)/libcc1 && \
37112 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37114 @endif libcc1
37116 # Other targets (info, dvi, pdf, etc.)
37118 .PHONY: maybe-info-libcc1 info-libcc1
37119 maybe-info-libcc1:
37120 @if libcc1
37121 maybe-info-libcc1: info-libcc1
37123 info-libcc1: \
37124 configure-libcc1
37125 @: $(MAKE); $(unstage)
37126 @[ -f ./libcc1/Makefile ] || exit 0; \
37127 r=`${PWD_COMMAND}`; export r; \
37128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37129 $(HOST_EXPORTS) \
37130 for flag in $(EXTRA_HOST_FLAGS) ; do \
37131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37132 done; \
37133 echo "Doing info in libcc1"; \
37134 (cd $(HOST_SUBDIR)/libcc1 && \
37135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37137 "RANLIB=$${RANLIB}" \
37138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37139 info) \
37140 || exit 1
37142 @endif libcc1
37144 .PHONY: maybe-dvi-libcc1 dvi-libcc1
37145 maybe-dvi-libcc1:
37146 @if libcc1
37147 maybe-dvi-libcc1: dvi-libcc1
37149 dvi-libcc1: \
37150 configure-libcc1
37151 @: $(MAKE); $(unstage)
37152 @[ -f ./libcc1/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 dvi in libcc1"; \
37160 (cd $(HOST_SUBDIR)/libcc1 && \
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 dvi) \
37166 || exit 1
37168 @endif libcc1
37170 .PHONY: maybe-pdf-libcc1 pdf-libcc1
37171 maybe-pdf-libcc1:
37172 @if libcc1
37173 maybe-pdf-libcc1: pdf-libcc1
37175 pdf-libcc1: \
37176 configure-libcc1
37177 @: $(MAKE); $(unstage)
37178 @[ -f ./libcc1/Makefile ] || exit 0; \
37179 r=`${PWD_COMMAND}`; export r; \
37180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37181 $(HOST_EXPORTS) \
37182 for flag in $(EXTRA_HOST_FLAGS) ; do \
37183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37184 done; \
37185 echo "Doing pdf in libcc1"; \
37186 (cd $(HOST_SUBDIR)/libcc1 && \
37187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37189 "RANLIB=$${RANLIB}" \
37190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37191 pdf) \
37192 || exit 1
37194 @endif libcc1
37196 .PHONY: maybe-html-libcc1 html-libcc1
37197 maybe-html-libcc1:
37198 @if libcc1
37199 maybe-html-libcc1: html-libcc1
37201 html-libcc1: \
37202 configure-libcc1
37203 @: $(MAKE); $(unstage)
37204 @[ -f ./libcc1/Makefile ] || exit 0; \
37205 r=`${PWD_COMMAND}`; export r; \
37206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37207 $(HOST_EXPORTS) \
37208 for flag in $(EXTRA_HOST_FLAGS) ; do \
37209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37210 done; \
37211 echo "Doing html in libcc1"; \
37212 (cd $(HOST_SUBDIR)/libcc1 && \
37213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37215 "RANLIB=$${RANLIB}" \
37216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37217 html) \
37218 || exit 1
37220 @endif libcc1
37222 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
37223 maybe-TAGS-libcc1:
37224 @if libcc1
37225 maybe-TAGS-libcc1: TAGS-libcc1
37227 TAGS-libcc1: \
37228 configure-libcc1
37229 @: $(MAKE); $(unstage)
37230 @[ -f ./libcc1/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 TAGS in libcc1"; \
37238 (cd $(HOST_SUBDIR)/libcc1 && \
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 TAGS) \
37244 || exit 1
37246 @endif libcc1
37248 .PHONY: maybe-install-info-libcc1 install-info-libcc1
37249 maybe-install-info-libcc1:
37250 @if libcc1
37251 maybe-install-info-libcc1: install-info-libcc1
37253 install-info-libcc1: \
37254 configure-libcc1 \
37255 info-libcc1
37256 @: $(MAKE); $(unstage)
37257 @[ -f ./libcc1/Makefile ] || exit 0; \
37258 r=`${PWD_COMMAND}`; export r; \
37259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37260 $(HOST_EXPORTS) \
37261 for flag in $(EXTRA_HOST_FLAGS) ; do \
37262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37263 done; \
37264 echo "Doing install-info in libcc1"; \
37265 (cd $(HOST_SUBDIR)/libcc1 && \
37266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37268 "RANLIB=$${RANLIB}" \
37269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37270 install-info) \
37271 || exit 1
37273 @endif libcc1
37275 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
37276 maybe-install-pdf-libcc1:
37277 @if libcc1
37278 maybe-install-pdf-libcc1: install-pdf-libcc1
37280 install-pdf-libcc1: \
37281 configure-libcc1 \
37282 pdf-libcc1
37283 @: $(MAKE); $(unstage)
37284 @[ -f ./libcc1/Makefile ] || exit 0; \
37285 r=`${PWD_COMMAND}`; export r; \
37286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37287 $(HOST_EXPORTS) \
37288 for flag in $(EXTRA_HOST_FLAGS) ; do \
37289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37290 done; \
37291 echo "Doing install-pdf in libcc1"; \
37292 (cd $(HOST_SUBDIR)/libcc1 && \
37293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37295 "RANLIB=$${RANLIB}" \
37296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37297 install-pdf) \
37298 || exit 1
37300 @endif libcc1
37302 .PHONY: maybe-install-html-libcc1 install-html-libcc1
37303 maybe-install-html-libcc1:
37304 @if libcc1
37305 maybe-install-html-libcc1: install-html-libcc1
37307 install-html-libcc1: \
37308 configure-libcc1 \
37309 html-libcc1
37310 @: $(MAKE); $(unstage)
37311 @[ -f ./libcc1/Makefile ] || exit 0; \
37312 r=`${PWD_COMMAND}`; export r; \
37313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37314 $(HOST_EXPORTS) \
37315 for flag in $(EXTRA_HOST_FLAGS) ; do \
37316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37317 done; \
37318 echo "Doing install-html in libcc1"; \
37319 (cd $(HOST_SUBDIR)/libcc1 && \
37320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37322 "RANLIB=$${RANLIB}" \
37323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37324 install-html) \
37325 || exit 1
37327 @endif libcc1
37329 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
37330 maybe-installcheck-libcc1:
37331 @if libcc1
37332 maybe-installcheck-libcc1: installcheck-libcc1
37334 installcheck-libcc1: \
37335 configure-libcc1
37336 @: $(MAKE); $(unstage)
37337 @[ -f ./libcc1/Makefile ] || exit 0; \
37338 r=`${PWD_COMMAND}`; export r; \
37339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37340 $(HOST_EXPORTS) \
37341 for flag in $(EXTRA_HOST_FLAGS) ; do \
37342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37343 done; \
37344 echo "Doing installcheck in libcc1"; \
37345 (cd $(HOST_SUBDIR)/libcc1 && \
37346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37348 "RANLIB=$${RANLIB}" \
37349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37350 installcheck) \
37351 || exit 1
37353 @endif libcc1
37355 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
37356 maybe-mostlyclean-libcc1:
37357 @if libcc1
37358 maybe-mostlyclean-libcc1: mostlyclean-libcc1
37360 mostlyclean-libcc1:
37361 @: $(MAKE); $(unstage)
37362 @[ -f ./libcc1/Makefile ] || exit 0; \
37363 r=`${PWD_COMMAND}`; export r; \
37364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37365 $(HOST_EXPORTS) \
37366 for flag in $(EXTRA_HOST_FLAGS) ; do \
37367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37368 done; \
37369 echo "Doing mostlyclean in libcc1"; \
37370 (cd $(HOST_SUBDIR)/libcc1 && \
37371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37373 "RANLIB=$${RANLIB}" \
37374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37375 mostlyclean) \
37376 || exit 1
37378 @endif libcc1
37380 .PHONY: maybe-clean-libcc1 clean-libcc1
37381 maybe-clean-libcc1:
37382 @if libcc1
37383 maybe-clean-libcc1: clean-libcc1
37385 clean-libcc1:
37386 @: $(MAKE); $(unstage)
37387 @[ -f ./libcc1/Makefile ] || exit 0; \
37388 r=`${PWD_COMMAND}`; export r; \
37389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37390 $(HOST_EXPORTS) \
37391 for flag in $(EXTRA_HOST_FLAGS) ; do \
37392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37393 done; \
37394 echo "Doing clean in libcc1"; \
37395 (cd $(HOST_SUBDIR)/libcc1 && \
37396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37398 "RANLIB=$${RANLIB}" \
37399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37400 clean) \
37401 || exit 1
37403 @endif libcc1
37405 .PHONY: maybe-distclean-libcc1 distclean-libcc1
37406 maybe-distclean-libcc1:
37407 @if libcc1
37408 maybe-distclean-libcc1: distclean-libcc1
37410 distclean-libcc1:
37411 @: $(MAKE); $(unstage)
37412 @[ -f ./libcc1/Makefile ] || exit 0; \
37413 r=`${PWD_COMMAND}`; export r; \
37414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37415 $(HOST_EXPORTS) \
37416 for flag in $(EXTRA_HOST_FLAGS) ; do \
37417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37418 done; \
37419 echo "Doing distclean in libcc1"; \
37420 (cd $(HOST_SUBDIR)/libcc1 && \
37421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37423 "RANLIB=$${RANLIB}" \
37424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37425 distclean) \
37426 || exit 1
37428 @endif libcc1
37430 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
37431 maybe-maintainer-clean-libcc1:
37432 @if libcc1
37433 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
37435 maintainer-clean-libcc1:
37436 @: $(MAKE); $(unstage)
37437 @[ -f ./libcc1/Makefile ] || exit 0; \
37438 r=`${PWD_COMMAND}`; export r; \
37439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37440 $(HOST_EXPORTS) \
37441 for flag in $(EXTRA_HOST_FLAGS) ; do \
37442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37443 done; \
37444 echo "Doing maintainer-clean in libcc1"; \
37445 (cd $(HOST_SUBDIR)/libcc1 && \
37446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37448 "RANLIB=$${RANLIB}" \
37449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37450 maintainer-clean) \
37451 || exit 1
37453 @endif libcc1
37457 .PHONY: configure-gotools maybe-configure-gotools
37458 maybe-configure-gotools:
37459 @if gcc-bootstrap
37460 configure-gotools: stage_current
37461 @endif gcc-bootstrap
37462 @if gotools
37463 maybe-configure-gotools: configure-gotools
37464 configure-gotools:
37465 @: $(MAKE); $(unstage)
37466 @r=`${PWD_COMMAND}`; export r; \
37467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37468 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
37469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
37470 $(HOST_EXPORTS) \
37471 echo Configuring in $(HOST_SUBDIR)/gotools; \
37472 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
37473 case $(srcdir) in \
37474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37475 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
37476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37477 esac; \
37478 module_srcdir=gotools; \
37479 $(SHELL) \
37480 $$s/$$module_srcdir/configure \
37481 --srcdir=$${topdir}/$$module_srcdir \
37482 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37483 --target=${target_alias} \
37484 || exit 1
37485 @endif gotools
37491 .PHONY: all-gotools maybe-all-gotools
37492 maybe-all-gotools:
37493 @if gcc-bootstrap
37494 all-gotools: stage_current
37495 @endif gcc-bootstrap
37496 @if gotools
37497 TARGET-gotools=all
37498 maybe-all-gotools: all-gotools
37499 all-gotools: configure-gotools
37500 @: $(MAKE); $(unstage)
37501 @r=`${PWD_COMMAND}`; export r; \
37502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37503 $(HOST_EXPORTS) \
37504 (cd $(HOST_SUBDIR)/gotools && \
37505 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37506 $(TARGET-gotools))
37507 @endif gotools
37512 .PHONY: check-gotools maybe-check-gotools
37513 maybe-check-gotools:
37514 @if gotools
37515 maybe-check-gotools: check-gotools
37517 check-gotools:
37518 @: $(MAKE); $(unstage)
37519 @r=`${PWD_COMMAND}`; export r; \
37520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37521 $(HOST_EXPORTS) \
37522 (cd $(HOST_SUBDIR)/gotools && \
37523 $(MAKE) $(FLAGS_TO_PASS) check)
37525 @endif gotools
37527 .PHONY: install-gotools maybe-install-gotools
37528 maybe-install-gotools:
37529 @if gotools
37530 maybe-install-gotools: install-gotools
37532 install-gotools: installdirs
37533 @: $(MAKE); $(unstage)
37534 @r=`${PWD_COMMAND}`; export r; \
37535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37536 $(HOST_EXPORTS) \
37537 (cd $(HOST_SUBDIR)/gotools && \
37538 $(MAKE) $(FLAGS_TO_PASS) install)
37540 @endif gotools
37542 .PHONY: install-strip-gotools maybe-install-strip-gotools
37543 maybe-install-strip-gotools:
37544 @if gotools
37545 maybe-install-strip-gotools: install-strip-gotools
37547 install-strip-gotools: installdirs
37548 @: $(MAKE); $(unstage)
37549 @r=`${PWD_COMMAND}`; export r; \
37550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37551 $(HOST_EXPORTS) \
37552 (cd $(HOST_SUBDIR)/gotools && \
37553 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37555 @endif gotools
37557 # Other targets (info, dvi, pdf, etc.)
37559 .PHONY: maybe-info-gotools info-gotools
37560 maybe-info-gotools:
37561 @if gotools
37562 maybe-info-gotools: info-gotools
37564 info-gotools: \
37565 configure-gotools
37566 @: $(MAKE); $(unstage)
37567 @[ -f ./gotools/Makefile ] || exit 0; \
37568 r=`${PWD_COMMAND}`; export r; \
37569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37570 $(HOST_EXPORTS) \
37571 for flag in $(EXTRA_HOST_FLAGS) ; do \
37572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37573 done; \
37574 echo "Doing info in gotools"; \
37575 (cd $(HOST_SUBDIR)/gotools && \
37576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37578 "RANLIB=$${RANLIB}" \
37579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37580 info) \
37581 || exit 1
37583 @endif gotools
37585 .PHONY: maybe-dvi-gotools dvi-gotools
37586 maybe-dvi-gotools:
37587 @if gotools
37588 maybe-dvi-gotools: dvi-gotools
37590 dvi-gotools: \
37591 configure-gotools
37592 @: $(MAKE); $(unstage)
37593 @[ -f ./gotools/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 dvi in gotools"; \
37601 (cd $(HOST_SUBDIR)/gotools && \
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 dvi) \
37607 || exit 1
37609 @endif gotools
37611 .PHONY: maybe-pdf-gotools pdf-gotools
37612 maybe-pdf-gotools:
37613 @if gotools
37614 maybe-pdf-gotools: pdf-gotools
37616 pdf-gotools: \
37617 configure-gotools
37618 @: $(MAKE); $(unstage)
37619 @[ -f ./gotools/Makefile ] || exit 0; \
37620 r=`${PWD_COMMAND}`; export r; \
37621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37622 $(HOST_EXPORTS) \
37623 for flag in $(EXTRA_HOST_FLAGS) ; do \
37624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37625 done; \
37626 echo "Doing pdf in gotools"; \
37627 (cd $(HOST_SUBDIR)/gotools && \
37628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37630 "RANLIB=$${RANLIB}" \
37631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37632 pdf) \
37633 || exit 1
37635 @endif gotools
37637 .PHONY: maybe-html-gotools html-gotools
37638 maybe-html-gotools:
37639 @if gotools
37640 maybe-html-gotools: html-gotools
37642 html-gotools: \
37643 configure-gotools
37644 @: $(MAKE); $(unstage)
37645 @[ -f ./gotools/Makefile ] || exit 0; \
37646 r=`${PWD_COMMAND}`; export r; \
37647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37648 $(HOST_EXPORTS) \
37649 for flag in $(EXTRA_HOST_FLAGS) ; do \
37650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37651 done; \
37652 echo "Doing html in gotools"; \
37653 (cd $(HOST_SUBDIR)/gotools && \
37654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37656 "RANLIB=$${RANLIB}" \
37657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37658 html) \
37659 || exit 1
37661 @endif gotools
37663 .PHONY: maybe-TAGS-gotools TAGS-gotools
37664 maybe-TAGS-gotools:
37665 @if gotools
37666 maybe-TAGS-gotools: TAGS-gotools
37668 TAGS-gotools: \
37669 configure-gotools
37670 @: $(MAKE); $(unstage)
37671 @[ -f ./gotools/Makefile ] || exit 0; \
37672 r=`${PWD_COMMAND}`; export r; \
37673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37674 $(HOST_EXPORTS) \
37675 for flag in $(EXTRA_HOST_FLAGS) ; do \
37676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37677 done; \
37678 echo "Doing TAGS in gotools"; \
37679 (cd $(HOST_SUBDIR)/gotools && \
37680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37682 "RANLIB=$${RANLIB}" \
37683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37684 TAGS) \
37685 || exit 1
37687 @endif gotools
37689 .PHONY: maybe-install-info-gotools install-info-gotools
37690 maybe-install-info-gotools:
37691 @if gotools
37692 maybe-install-info-gotools: install-info-gotools
37694 install-info-gotools: \
37695 configure-gotools \
37696 info-gotools
37697 @: $(MAKE); $(unstage)
37698 @[ -f ./gotools/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 install-info in gotools"; \
37706 (cd $(HOST_SUBDIR)/gotools && \
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 install-info) \
37712 || exit 1
37714 @endif gotools
37716 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
37717 maybe-install-pdf-gotools:
37718 @if gotools
37719 maybe-install-pdf-gotools: install-pdf-gotools
37721 install-pdf-gotools: \
37722 configure-gotools \
37723 pdf-gotools
37724 @: $(MAKE); $(unstage)
37725 @[ -f ./gotools/Makefile ] || exit 0; \
37726 r=`${PWD_COMMAND}`; export r; \
37727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37728 $(HOST_EXPORTS) \
37729 for flag in $(EXTRA_HOST_FLAGS) ; do \
37730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37731 done; \
37732 echo "Doing install-pdf in gotools"; \
37733 (cd $(HOST_SUBDIR)/gotools && \
37734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37736 "RANLIB=$${RANLIB}" \
37737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37738 install-pdf) \
37739 || exit 1
37741 @endif gotools
37743 .PHONY: maybe-install-html-gotools install-html-gotools
37744 maybe-install-html-gotools:
37745 @if gotools
37746 maybe-install-html-gotools: install-html-gotools
37748 install-html-gotools: \
37749 configure-gotools \
37750 html-gotools
37751 @: $(MAKE); $(unstage)
37752 @[ -f ./gotools/Makefile ] || exit 0; \
37753 r=`${PWD_COMMAND}`; export r; \
37754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37755 $(HOST_EXPORTS) \
37756 for flag in $(EXTRA_HOST_FLAGS) ; do \
37757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37758 done; \
37759 echo "Doing install-html in gotools"; \
37760 (cd $(HOST_SUBDIR)/gotools && \
37761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37763 "RANLIB=$${RANLIB}" \
37764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37765 install-html) \
37766 || exit 1
37768 @endif gotools
37770 .PHONY: maybe-installcheck-gotools installcheck-gotools
37771 maybe-installcheck-gotools:
37772 @if gotools
37773 maybe-installcheck-gotools: installcheck-gotools
37775 installcheck-gotools: \
37776 configure-gotools
37777 @: $(MAKE); $(unstage)
37778 @[ -f ./gotools/Makefile ] || exit 0; \
37779 r=`${PWD_COMMAND}`; export r; \
37780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37781 $(HOST_EXPORTS) \
37782 for flag in $(EXTRA_HOST_FLAGS) ; do \
37783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37784 done; \
37785 echo "Doing installcheck in gotools"; \
37786 (cd $(HOST_SUBDIR)/gotools && \
37787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37789 "RANLIB=$${RANLIB}" \
37790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37791 installcheck) \
37792 || exit 1
37794 @endif gotools
37796 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
37797 maybe-mostlyclean-gotools:
37798 @if gotools
37799 maybe-mostlyclean-gotools: mostlyclean-gotools
37801 mostlyclean-gotools:
37802 @: $(MAKE); $(unstage)
37803 @[ -f ./gotools/Makefile ] || exit 0; \
37804 r=`${PWD_COMMAND}`; export r; \
37805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37806 $(HOST_EXPORTS) \
37807 for flag in $(EXTRA_HOST_FLAGS) ; do \
37808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37809 done; \
37810 echo "Doing mostlyclean in gotools"; \
37811 (cd $(HOST_SUBDIR)/gotools && \
37812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37814 "RANLIB=$${RANLIB}" \
37815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37816 mostlyclean) \
37817 || exit 1
37819 @endif gotools
37821 .PHONY: maybe-clean-gotools clean-gotools
37822 maybe-clean-gotools:
37823 @if gotools
37824 maybe-clean-gotools: clean-gotools
37826 clean-gotools:
37827 @: $(MAKE); $(unstage)
37828 @[ -f ./gotools/Makefile ] || exit 0; \
37829 r=`${PWD_COMMAND}`; export r; \
37830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37831 $(HOST_EXPORTS) \
37832 for flag in $(EXTRA_HOST_FLAGS) ; do \
37833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37834 done; \
37835 echo "Doing clean in gotools"; \
37836 (cd $(HOST_SUBDIR)/gotools && \
37837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37839 "RANLIB=$${RANLIB}" \
37840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37841 clean) \
37842 || exit 1
37844 @endif gotools
37846 .PHONY: maybe-distclean-gotools distclean-gotools
37847 maybe-distclean-gotools:
37848 @if gotools
37849 maybe-distclean-gotools: distclean-gotools
37851 distclean-gotools:
37852 @: $(MAKE); $(unstage)
37853 @[ -f ./gotools/Makefile ] || exit 0; \
37854 r=`${PWD_COMMAND}`; export r; \
37855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37856 $(HOST_EXPORTS) \
37857 for flag in $(EXTRA_HOST_FLAGS) ; do \
37858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37859 done; \
37860 echo "Doing distclean in gotools"; \
37861 (cd $(HOST_SUBDIR)/gotools && \
37862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37864 "RANLIB=$${RANLIB}" \
37865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37866 distclean) \
37867 || exit 1
37869 @endif gotools
37871 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
37872 maybe-maintainer-clean-gotools:
37873 @if gotools
37874 maybe-maintainer-clean-gotools: maintainer-clean-gotools
37876 maintainer-clean-gotools:
37877 @: $(MAKE); $(unstage)
37878 @[ -f ./gotools/Makefile ] || exit 0; \
37879 r=`${PWD_COMMAND}`; export r; \
37880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37881 $(HOST_EXPORTS) \
37882 for flag in $(EXTRA_HOST_FLAGS) ; do \
37883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37884 done; \
37885 echo "Doing maintainer-clean in gotools"; \
37886 (cd $(HOST_SUBDIR)/gotools && \
37887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37889 "RANLIB=$${RANLIB}" \
37890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37891 maintainer-clean) \
37892 || exit 1
37894 @endif gotools
37898 # ---------------------------------------
37899 # Modules which run on the target machine
37900 # ---------------------------------------
37905 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
37906 maybe-configure-target-libstdc++-v3:
37907 @if gcc-bootstrap
37908 configure-target-libstdc++-v3: stage_current
37909 @endif gcc-bootstrap
37910 @if target-libstdc++-v3
37911 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
37912 configure-target-libstdc++-v3:
37913 @r=`${PWD_COMMAND}`; export r; \
37914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37915 echo "Checking multilib configuration for libstdc++-v3..."; \
37916 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37917 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
37918 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37919 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37920 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
37921 else \
37922 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
37923 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37924 fi; \
37925 else \
37926 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37927 fi; \
37928 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
37929 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37930 $(RAW_CXX_TARGET_EXPORTS) \
37931 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
37932 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
37933 case $(srcdir) in \
37934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37935 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
37936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37937 esac; \
37938 module_srcdir=libstdc++-v3; \
37939 rm -f no-such-file || : ; \
37940 CONFIG_SITE=no-such-file $(SHELL) \
37941 $$s/$$module_srcdir/configure \
37942 --srcdir=$${topdir}/$$module_srcdir \
37943 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37944 --target=${target_alias} \
37945 || exit 1
37946 @endif target-libstdc++-v3
37950 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
37951 maybe-configure-stage1-target-libstdc++-v3:
37952 @if target-libstdc++-v3-bootstrap
37953 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
37954 configure-stage1-target-libstdc++-v3:
37955 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37956 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
37957 @r=`${PWD_COMMAND}`; export r; \
37958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37959 TFLAGS="$(STAGE1_TFLAGS)"; \
37960 echo "Checking multilib configuration for libstdc++-v3..."; \
37961 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
37962 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37963 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37964 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
37965 else \
37966 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
37967 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37968 fi; \
37969 else \
37970 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37971 fi; \
37972 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
37973 $(RAW_CXX_TARGET_EXPORTS) \
37974 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37975 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37976 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37977 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
37978 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
37979 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
37980 case $(srcdir) in \
37981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37982 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
37983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37984 esac; \
37985 module_srcdir=libstdc++-v3; \
37986 $(SHELL) $$s/$$module_srcdir/configure \
37987 --srcdir=$${topdir}/$$module_srcdir \
37988 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37989 --target=${target_alias} \
37991 $(STAGE1_CONFIGURE_FLAGS)
37992 @endif target-libstdc++-v3-bootstrap
37994 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
37995 maybe-configure-stage2-target-libstdc++-v3:
37996 @if target-libstdc++-v3-bootstrap
37997 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
37998 configure-stage2-target-libstdc++-v3:
37999 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38000 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38001 @r=`${PWD_COMMAND}`; export r; \
38002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38003 TFLAGS="$(STAGE2_TFLAGS)"; \
38004 echo "Checking multilib configuration for libstdc++-v3..."; \
38005 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38006 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38007 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38008 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38009 else \
38010 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38011 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38012 fi; \
38013 else \
38014 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38015 fi; \
38016 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38017 $(RAW_CXX_TARGET_EXPORTS) \
38019 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38020 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38021 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38022 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
38023 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38024 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38025 case $(srcdir) in \
38026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38027 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38029 esac; \
38030 module_srcdir=libstdc++-v3; \
38031 $(SHELL) $$s/$$module_srcdir/configure \
38032 --srcdir=$${topdir}/$$module_srcdir \
38033 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38034 --target=${target_alias} \
38035 --with-build-libsubdir=$(HOST_SUBDIR) \
38036 $(STAGE2_CONFIGURE_FLAGS)
38037 @endif target-libstdc++-v3-bootstrap
38039 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
38040 maybe-configure-stage3-target-libstdc++-v3:
38041 @if target-libstdc++-v3-bootstrap
38042 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
38043 configure-stage3-target-libstdc++-v3:
38044 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38045 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38046 @r=`${PWD_COMMAND}`; export r; \
38047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38048 TFLAGS="$(STAGE3_TFLAGS)"; \
38049 echo "Checking multilib configuration for libstdc++-v3..."; \
38050 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38051 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38052 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38053 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38054 else \
38055 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38056 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38057 fi; \
38058 else \
38059 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38060 fi; \
38061 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38062 $(RAW_CXX_TARGET_EXPORTS) \
38064 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38065 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38066 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38067 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
38068 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38069 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38070 case $(srcdir) in \
38071 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38072 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38073 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38074 esac; \
38075 module_srcdir=libstdc++-v3; \
38076 $(SHELL) $$s/$$module_srcdir/configure \
38077 --srcdir=$${topdir}/$$module_srcdir \
38078 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38079 --target=${target_alias} \
38080 --with-build-libsubdir=$(HOST_SUBDIR) \
38081 $(STAGE3_CONFIGURE_FLAGS)
38082 @endif target-libstdc++-v3-bootstrap
38084 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
38085 maybe-configure-stage4-target-libstdc++-v3:
38086 @if target-libstdc++-v3-bootstrap
38087 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
38088 configure-stage4-target-libstdc++-v3:
38089 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38090 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38091 @r=`${PWD_COMMAND}`; export r; \
38092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38093 TFLAGS="$(STAGE4_TFLAGS)"; \
38094 echo "Checking multilib configuration for libstdc++-v3..."; \
38095 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38096 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38097 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38098 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38099 else \
38100 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38101 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38102 fi; \
38103 else \
38104 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38105 fi; \
38106 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38107 $(RAW_CXX_TARGET_EXPORTS) \
38109 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38110 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38111 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38112 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
38113 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38114 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38115 case $(srcdir) in \
38116 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38117 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38118 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38119 esac; \
38120 module_srcdir=libstdc++-v3; \
38121 $(SHELL) $$s/$$module_srcdir/configure \
38122 --srcdir=$${topdir}/$$module_srcdir \
38123 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38124 --target=${target_alias} \
38125 --with-build-libsubdir=$(HOST_SUBDIR) \
38126 $(STAGE4_CONFIGURE_FLAGS)
38127 @endif target-libstdc++-v3-bootstrap
38129 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
38130 maybe-configure-stageprofile-target-libstdc++-v3:
38131 @if target-libstdc++-v3-bootstrap
38132 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
38133 configure-stageprofile-target-libstdc++-v3:
38134 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38135 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38136 @r=`${PWD_COMMAND}`; export r; \
38137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38138 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38139 echo "Checking multilib configuration for libstdc++-v3..."; \
38140 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38141 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38142 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38143 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38144 else \
38145 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38146 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38147 fi; \
38148 else \
38149 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38150 fi; \
38151 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38152 $(RAW_CXX_TARGET_EXPORTS) \
38154 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38155 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38156 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38157 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
38158 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38159 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38160 case $(srcdir) in \
38161 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38162 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38163 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38164 esac; \
38165 module_srcdir=libstdc++-v3; \
38166 $(SHELL) $$s/$$module_srcdir/configure \
38167 --srcdir=$${topdir}/$$module_srcdir \
38168 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38169 --target=${target_alias} \
38170 --with-build-libsubdir=$(HOST_SUBDIR) \
38171 $(STAGEprofile_CONFIGURE_FLAGS)
38172 @endif target-libstdc++-v3-bootstrap
38174 .PHONY: configure-stagetrain-target-libstdc++-v3 maybe-configure-stagetrain-target-libstdc++-v3
38175 maybe-configure-stagetrain-target-libstdc++-v3:
38176 @if target-libstdc++-v3-bootstrap
38177 maybe-configure-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
38178 configure-stagetrain-target-libstdc++-v3:
38179 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
38180 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38181 @r=`${PWD_COMMAND}`; export r; \
38182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38183 TFLAGS="$(STAGEtrain_TFLAGS)"; \
38184 echo "Checking multilib configuration for libstdc++-v3..."; \
38185 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38186 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38187 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38188 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38189 else \
38190 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38191 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38192 fi; \
38193 else \
38194 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38195 fi; \
38196 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38197 $(RAW_CXX_TARGET_EXPORTS) \
38199 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38200 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38201 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38202 echo Configuring stage train in $(TARGET_SUBDIR)/libstdc++-v3; \
38203 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38204 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38205 case $(srcdir) in \
38206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38207 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38209 esac; \
38210 module_srcdir=libstdc++-v3; \
38211 $(SHELL) $$s/$$module_srcdir/configure \
38212 --srcdir=$${topdir}/$$module_srcdir \
38213 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38214 --target=${target_alias} \
38215 --with-build-libsubdir=$(HOST_SUBDIR) \
38216 $(STAGEtrain_CONFIGURE_FLAGS)
38217 @endif target-libstdc++-v3-bootstrap
38219 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
38220 maybe-configure-stagefeedback-target-libstdc++-v3:
38221 @if target-libstdc++-v3-bootstrap
38222 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
38223 configure-stagefeedback-target-libstdc++-v3:
38224 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38225 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38226 @r=`${PWD_COMMAND}`; export r; \
38227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38228 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38229 echo "Checking multilib configuration for libstdc++-v3..."; \
38230 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38231 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38232 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38233 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38234 else \
38235 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38236 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38237 fi; \
38238 else \
38239 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38240 fi; \
38241 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38242 $(RAW_CXX_TARGET_EXPORTS) \
38244 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38245 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38246 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38247 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
38248 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38249 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38250 case $(srcdir) in \
38251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38252 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38254 esac; \
38255 module_srcdir=libstdc++-v3; \
38256 $(SHELL) $$s/$$module_srcdir/configure \
38257 --srcdir=$${topdir}/$$module_srcdir \
38258 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38259 --target=${target_alias} \
38260 --with-build-libsubdir=$(HOST_SUBDIR) \
38261 $(STAGEfeedback_CONFIGURE_FLAGS)
38262 @endif target-libstdc++-v3-bootstrap
38264 .PHONY: configure-stageautoprofile-target-libstdc++-v3 maybe-configure-stageautoprofile-target-libstdc++-v3
38265 maybe-configure-stageautoprofile-target-libstdc++-v3:
38266 @if target-libstdc++-v3-bootstrap
38267 maybe-configure-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
38268 configure-stageautoprofile-target-libstdc++-v3:
38269 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38270 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38271 @r=`${PWD_COMMAND}`; export r; \
38272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38273 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38274 echo "Checking multilib configuration for libstdc++-v3..."; \
38275 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38276 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38277 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38278 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38279 else \
38280 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38281 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38282 fi; \
38283 else \
38284 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38285 fi; \
38286 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38287 $(RAW_CXX_TARGET_EXPORTS) \
38289 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38290 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38291 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38292 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libstdc++-v3; \
38293 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38294 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38295 case $(srcdir) in \
38296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38297 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38299 esac; \
38300 module_srcdir=libstdc++-v3; \
38301 $(SHELL) $$s/$$module_srcdir/configure \
38302 --srcdir=$${topdir}/$$module_srcdir \
38303 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38304 --target=${target_alias} \
38305 --with-build-libsubdir=$(HOST_SUBDIR) \
38306 $(STAGEautoprofile_CONFIGURE_FLAGS)
38307 @endif target-libstdc++-v3-bootstrap
38309 .PHONY: configure-stageautofeedback-target-libstdc++-v3 maybe-configure-stageautofeedback-target-libstdc++-v3
38310 maybe-configure-stageautofeedback-target-libstdc++-v3:
38311 @if target-libstdc++-v3-bootstrap
38312 maybe-configure-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
38313 configure-stageautofeedback-target-libstdc++-v3:
38314 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38315 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
38316 @r=`${PWD_COMMAND}`; export r; \
38317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38318 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38319 echo "Checking multilib configuration for libstdc++-v3..."; \
38320 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
38321 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38322 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
38323 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
38324 else \
38325 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
38326 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38327 fi; \
38328 else \
38329 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
38330 fi; \
38331 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
38332 $(RAW_CXX_TARGET_EXPORTS) \
38334 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
38335 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
38336 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
38337 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libstdc++-v3; \
38338 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
38339 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
38340 case $(srcdir) in \
38341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38342 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
38343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38344 esac; \
38345 module_srcdir=libstdc++-v3; \
38346 $(SHELL) $$s/$$module_srcdir/configure \
38347 --srcdir=$${topdir}/$$module_srcdir \
38348 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38349 --target=${target_alias} \
38350 --with-build-libsubdir=$(HOST_SUBDIR) \
38351 $(STAGEautofeedback_CONFIGURE_FLAGS)
38352 @endif target-libstdc++-v3-bootstrap
38358 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
38359 maybe-all-target-libstdc++-v3:
38360 @if gcc-bootstrap
38361 all-target-libstdc++-v3: stage_current
38362 @endif gcc-bootstrap
38363 @if target-libstdc++-v3
38364 TARGET-target-libstdc++-v3=all
38365 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
38366 all-target-libstdc++-v3: configure-target-libstdc++-v3
38367 @r=`${PWD_COMMAND}`; export r; \
38368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38369 $(RAW_CXX_TARGET_EXPORTS) \
38370 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38371 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38372 $(TARGET-target-libstdc++-v3))
38373 @endif target-libstdc++-v3
38377 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
38378 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
38379 maybe-all-stage1-target-libstdc++-v3:
38380 maybe-clean-stage1-target-libstdc++-v3:
38381 @if target-libstdc++-v3-bootstrap
38382 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
38383 all-stage1: all-stage1-target-libstdc++-v3
38384 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38385 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
38386 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
38387 @r=`${PWD_COMMAND}`; export r; \
38388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38389 TFLAGS="$(STAGE1_TFLAGS)"; \
38390 $(RAW_CXX_TARGET_EXPORTS) \
38391 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38393 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38394 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38395 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38396 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38397 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38398 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38399 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38400 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38402 TFLAGS="$(STAGE1_TFLAGS)" \
38403 $(TARGET-stage1-target-libstdc++-v3)
38405 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
38406 clean-stage1: clean-stage1-target-libstdc++-v3
38407 clean-stage1-target-libstdc++-v3:
38408 @if [ $(current_stage) = stage1 ]; then \
38409 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38410 else \
38411 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
38412 $(MAKE) stage1-start; \
38413 fi; \
38414 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38415 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38416 clean
38417 @endif target-libstdc++-v3-bootstrap
38420 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
38421 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
38422 maybe-all-stage2-target-libstdc++-v3:
38423 maybe-clean-stage2-target-libstdc++-v3:
38424 @if target-libstdc++-v3-bootstrap
38425 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
38426 all-stage2: all-stage2-target-libstdc++-v3
38427 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38428 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
38429 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
38430 @r=`${PWD_COMMAND}`; export r; \
38431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38432 TFLAGS="$(STAGE2_TFLAGS)"; \
38433 $(RAW_CXX_TARGET_EXPORTS) \
38435 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38437 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38438 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38439 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38440 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38441 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38442 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38443 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38444 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38445 TFLAGS="$(STAGE2_TFLAGS)" \
38446 $(TARGET-stage2-target-libstdc++-v3)
38448 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
38449 clean-stage2: clean-stage2-target-libstdc++-v3
38450 clean-stage2-target-libstdc++-v3:
38451 @if [ $(current_stage) = stage2 ]; then \
38452 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38453 else \
38454 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
38455 $(MAKE) stage2-start; \
38456 fi; \
38457 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38458 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38459 @endif target-libstdc++-v3-bootstrap
38462 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
38463 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
38464 maybe-all-stage3-target-libstdc++-v3:
38465 maybe-clean-stage3-target-libstdc++-v3:
38466 @if target-libstdc++-v3-bootstrap
38467 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
38468 all-stage3: all-stage3-target-libstdc++-v3
38469 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38470 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
38471 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
38472 @r=`${PWD_COMMAND}`; export r; \
38473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38474 TFLAGS="$(STAGE3_TFLAGS)"; \
38475 $(RAW_CXX_TARGET_EXPORTS) \
38477 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38479 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38480 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38481 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38482 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38483 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38484 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38485 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38486 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38487 TFLAGS="$(STAGE3_TFLAGS)" \
38488 $(TARGET-stage3-target-libstdc++-v3)
38490 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
38491 clean-stage3: clean-stage3-target-libstdc++-v3
38492 clean-stage3-target-libstdc++-v3:
38493 @if [ $(current_stage) = stage3 ]; then \
38494 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38495 else \
38496 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
38497 $(MAKE) stage3-start; \
38498 fi; \
38499 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38500 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38501 @endif target-libstdc++-v3-bootstrap
38504 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
38505 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
38506 maybe-all-stage4-target-libstdc++-v3:
38507 maybe-clean-stage4-target-libstdc++-v3:
38508 @if target-libstdc++-v3-bootstrap
38509 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
38510 all-stage4: all-stage4-target-libstdc++-v3
38511 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38512 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
38513 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
38514 @r=`${PWD_COMMAND}`; export r; \
38515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38516 TFLAGS="$(STAGE4_TFLAGS)"; \
38517 $(RAW_CXX_TARGET_EXPORTS) \
38519 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38521 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38522 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38523 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38524 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38525 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38526 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38527 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38528 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38529 TFLAGS="$(STAGE4_TFLAGS)" \
38530 $(TARGET-stage4-target-libstdc++-v3)
38532 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
38533 clean-stage4: clean-stage4-target-libstdc++-v3
38534 clean-stage4-target-libstdc++-v3:
38535 @if [ $(current_stage) = stage4 ]; then \
38536 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38537 else \
38538 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
38539 $(MAKE) stage4-start; \
38540 fi; \
38541 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38542 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38543 @endif target-libstdc++-v3-bootstrap
38546 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
38547 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
38548 maybe-all-stageprofile-target-libstdc++-v3:
38549 maybe-clean-stageprofile-target-libstdc++-v3:
38550 @if target-libstdc++-v3-bootstrap
38551 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
38552 all-stageprofile: all-stageprofile-target-libstdc++-v3
38553 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38554 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
38555 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
38556 @r=`${PWD_COMMAND}`; export r; \
38557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38558 TFLAGS="$(STAGEprofile_TFLAGS)"; \
38559 $(RAW_CXX_TARGET_EXPORTS) \
38561 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38563 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38564 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38565 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38566 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38567 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38568 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38569 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38570 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38571 TFLAGS="$(STAGEprofile_TFLAGS)" \
38572 $(TARGET-stageprofile-target-libstdc++-v3)
38574 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
38575 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
38576 clean-stageprofile-target-libstdc++-v3:
38577 @if [ $(current_stage) = stageprofile ]; then \
38578 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38579 else \
38580 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
38581 $(MAKE) stageprofile-start; \
38582 fi; \
38583 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38584 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38585 @endif target-libstdc++-v3-bootstrap
38588 .PHONY: all-stagetrain-target-libstdc++-v3 maybe-all-stagetrain-target-libstdc++-v3
38589 .PHONY: clean-stagetrain-target-libstdc++-v3 maybe-clean-stagetrain-target-libstdc++-v3
38590 maybe-all-stagetrain-target-libstdc++-v3:
38591 maybe-clean-stagetrain-target-libstdc++-v3:
38592 @if target-libstdc++-v3-bootstrap
38593 maybe-all-stagetrain-target-libstdc++-v3: all-stagetrain-target-libstdc++-v3
38594 all-stagetrain: all-stagetrain-target-libstdc++-v3
38595 TARGET-stagetrain-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38596 all-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
38597 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
38598 @r=`${PWD_COMMAND}`; export r; \
38599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38600 TFLAGS="$(STAGEtrain_TFLAGS)"; \
38601 $(RAW_CXX_TARGET_EXPORTS) \
38603 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38605 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38606 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38607 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38608 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38609 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38610 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38611 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38612 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38613 TFLAGS="$(STAGEtrain_TFLAGS)" \
38614 $(TARGET-stagetrain-target-libstdc++-v3)
38616 maybe-clean-stagetrain-target-libstdc++-v3: clean-stagetrain-target-libstdc++-v3
38617 clean-stagetrain: clean-stagetrain-target-libstdc++-v3
38618 clean-stagetrain-target-libstdc++-v3:
38619 @if [ $(current_stage) = stagetrain ]; then \
38620 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38621 else \
38622 [ -f $(TARGET_SUBDIR)/stagetrain-libstdc++-v3/Makefile ] || exit 0; \
38623 $(MAKE) stagetrain-start; \
38624 fi; \
38625 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38626 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38627 @endif target-libstdc++-v3-bootstrap
38630 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
38631 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
38632 maybe-all-stagefeedback-target-libstdc++-v3:
38633 maybe-clean-stagefeedback-target-libstdc++-v3:
38634 @if target-libstdc++-v3-bootstrap
38635 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
38636 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
38637 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38638 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
38639 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
38640 @r=`${PWD_COMMAND}`; export r; \
38641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38642 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
38643 $(RAW_CXX_TARGET_EXPORTS) \
38645 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38647 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38648 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38649 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38650 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38651 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38652 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38653 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38654 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38655 TFLAGS="$(STAGEfeedback_TFLAGS)" \
38656 $(TARGET-stagefeedback-target-libstdc++-v3)
38658 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
38659 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
38660 clean-stagefeedback-target-libstdc++-v3:
38661 @if [ $(current_stage) = stagefeedback ]; then \
38662 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38663 else \
38664 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
38665 $(MAKE) stagefeedback-start; \
38666 fi; \
38667 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38668 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38669 @endif target-libstdc++-v3-bootstrap
38672 .PHONY: all-stageautoprofile-target-libstdc++-v3 maybe-all-stageautoprofile-target-libstdc++-v3
38673 .PHONY: clean-stageautoprofile-target-libstdc++-v3 maybe-clean-stageautoprofile-target-libstdc++-v3
38674 maybe-all-stageautoprofile-target-libstdc++-v3:
38675 maybe-clean-stageautoprofile-target-libstdc++-v3:
38676 @if target-libstdc++-v3-bootstrap
38677 maybe-all-stageautoprofile-target-libstdc++-v3: all-stageautoprofile-target-libstdc++-v3
38678 all-stageautoprofile: all-stageautoprofile-target-libstdc++-v3
38679 TARGET-stageautoprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38680 all-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
38681 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
38682 @r=`${PWD_COMMAND}`; export r; \
38683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38684 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
38685 $(RAW_CXX_TARGET_EXPORTS) \
38687 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38688 $$s/gcc/config/i386/$(AUTO_PROFILE) \
38689 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38690 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38691 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38692 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38693 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38694 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38695 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38696 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38697 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
38698 $(TARGET-stageautoprofile-target-libstdc++-v3)
38700 maybe-clean-stageautoprofile-target-libstdc++-v3: clean-stageautoprofile-target-libstdc++-v3
38701 clean-stageautoprofile: clean-stageautoprofile-target-libstdc++-v3
38702 clean-stageautoprofile-target-libstdc++-v3:
38703 @if [ $(current_stage) = stageautoprofile ]; then \
38704 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38705 else \
38706 [ -f $(TARGET_SUBDIR)/stageautoprofile-libstdc++-v3/Makefile ] || exit 0; \
38707 $(MAKE) stageautoprofile-start; \
38708 fi; \
38709 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38710 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38711 @endif target-libstdc++-v3-bootstrap
38714 .PHONY: all-stageautofeedback-target-libstdc++-v3 maybe-all-stageautofeedback-target-libstdc++-v3
38715 .PHONY: clean-stageautofeedback-target-libstdc++-v3 maybe-clean-stageautofeedback-target-libstdc++-v3
38716 maybe-all-stageautofeedback-target-libstdc++-v3:
38717 maybe-clean-stageautofeedback-target-libstdc++-v3:
38718 @if target-libstdc++-v3-bootstrap
38719 maybe-all-stageautofeedback-target-libstdc++-v3: all-stageautofeedback-target-libstdc++-v3
38720 all-stageautofeedback: all-stageautofeedback-target-libstdc++-v3
38721 TARGET-stageautofeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
38722 all-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
38723 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
38724 @r=`${PWD_COMMAND}`; export r; \
38725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38726 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
38727 $(RAW_CXX_TARGET_EXPORTS) \
38729 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38731 $(MAKE) $(BASE_FLAGS_TO_PASS) \
38732 CFLAGS="$(CFLAGS_FOR_TARGET)" \
38733 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
38734 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
38735 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
38736 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
38737 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
38738 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
38739 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
38740 $(TARGET-stageautofeedback-target-libstdc++-v3)
38742 maybe-clean-stageautofeedback-target-libstdc++-v3: clean-stageautofeedback-target-libstdc++-v3
38743 clean-stageautofeedback: clean-stageautofeedback-target-libstdc++-v3
38744 clean-stageautofeedback-target-libstdc++-v3:
38745 @if [ $(current_stage) = stageautofeedback ]; then \
38746 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38747 else \
38748 [ -f $(TARGET_SUBDIR)/stageautofeedback-libstdc++-v3/Makefile ] || exit 0; \
38749 $(MAKE) stageautofeedback-start; \
38750 fi; \
38751 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38752 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
38753 @endif target-libstdc++-v3-bootstrap
38760 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
38761 maybe-check-target-libstdc++-v3:
38762 @if target-libstdc++-v3
38763 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
38765 check-target-libstdc++-v3:
38766 @: $(MAKE); $(unstage)
38767 @r=`${PWD_COMMAND}`; export r; \
38768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38769 $(RAW_CXX_TARGET_EXPORTS) \
38770 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38771 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
38773 @endif target-libstdc++-v3
38775 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
38776 maybe-install-target-libstdc++-v3:
38777 @if target-libstdc++-v3
38778 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
38780 install-target-libstdc++-v3: installdirs
38781 @: $(MAKE); $(unstage)
38782 @r=`${PWD_COMMAND}`; export r; \
38783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38784 $(RAW_CXX_TARGET_EXPORTS) \
38785 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38786 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38788 @endif target-libstdc++-v3
38790 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
38791 maybe-install-strip-target-libstdc++-v3:
38792 @if target-libstdc++-v3
38793 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
38795 install-strip-target-libstdc++-v3: installdirs
38796 @: $(MAKE); $(unstage)
38797 @r=`${PWD_COMMAND}`; export r; \
38798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38799 $(RAW_CXX_TARGET_EXPORTS) \
38800 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38801 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38803 @endif target-libstdc++-v3
38805 # Other targets (info, dvi, pdf, etc.)
38807 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
38808 maybe-info-target-libstdc++-v3:
38809 @if target-libstdc++-v3
38810 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
38812 info-target-libstdc++-v3: \
38813 configure-target-libstdc++-v3
38814 @: $(MAKE); $(unstage)
38815 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38816 r=`${PWD_COMMAND}`; export r; \
38817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38818 $(RAW_CXX_TARGET_EXPORTS) \
38819 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
38820 for flag in $(EXTRA_TARGET_FLAGS); do \
38821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38822 done; \
38823 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38826 "RANLIB=$${RANLIB}" \
38827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38828 info) \
38829 || exit 1
38831 @endif target-libstdc++-v3
38833 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
38834 maybe-dvi-target-libstdc++-v3:
38835 @if target-libstdc++-v3
38836 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
38838 dvi-target-libstdc++-v3: \
38839 configure-target-libstdc++-v3
38840 @: $(MAKE); $(unstage)
38841 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38842 r=`${PWD_COMMAND}`; export r; \
38843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38844 $(RAW_CXX_TARGET_EXPORTS) \
38845 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
38846 for flag in $(EXTRA_TARGET_FLAGS); do \
38847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38848 done; \
38849 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38852 "RANLIB=$${RANLIB}" \
38853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38854 dvi) \
38855 || exit 1
38857 @endif target-libstdc++-v3
38859 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
38860 maybe-pdf-target-libstdc++-v3:
38861 @if target-libstdc++-v3
38862 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
38864 pdf-target-libstdc++-v3: \
38865 configure-target-libstdc++-v3
38866 @: $(MAKE); $(unstage)
38867 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38868 r=`${PWD_COMMAND}`; export r; \
38869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38870 $(RAW_CXX_TARGET_EXPORTS) \
38871 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
38872 for flag in $(EXTRA_TARGET_FLAGS); do \
38873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38874 done; \
38875 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38878 "RANLIB=$${RANLIB}" \
38879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38880 pdf) \
38881 || exit 1
38883 @endif target-libstdc++-v3
38885 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
38886 maybe-html-target-libstdc++-v3:
38887 @if target-libstdc++-v3
38888 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
38890 html-target-libstdc++-v3: \
38891 configure-target-libstdc++-v3
38892 @: $(MAKE); $(unstage)
38893 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38894 r=`${PWD_COMMAND}`; export r; \
38895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38896 $(RAW_CXX_TARGET_EXPORTS) \
38897 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
38898 for flag in $(EXTRA_TARGET_FLAGS); do \
38899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38900 done; \
38901 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38904 "RANLIB=$${RANLIB}" \
38905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38906 html) \
38907 || exit 1
38909 @endif target-libstdc++-v3
38911 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
38912 maybe-TAGS-target-libstdc++-v3:
38913 @if target-libstdc++-v3
38914 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
38916 TAGS-target-libstdc++-v3: \
38917 configure-target-libstdc++-v3
38918 @: $(MAKE); $(unstage)
38919 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38920 r=`${PWD_COMMAND}`; export r; \
38921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38922 $(RAW_CXX_TARGET_EXPORTS) \
38923 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
38924 for flag in $(EXTRA_TARGET_FLAGS); do \
38925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38926 done; \
38927 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38930 "RANLIB=$${RANLIB}" \
38931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38932 TAGS) \
38933 || exit 1
38935 @endif target-libstdc++-v3
38937 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
38938 maybe-install-info-target-libstdc++-v3:
38939 @if target-libstdc++-v3
38940 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
38942 install-info-target-libstdc++-v3: \
38943 configure-target-libstdc++-v3 \
38944 info-target-libstdc++-v3
38945 @: $(MAKE); $(unstage)
38946 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38947 r=`${PWD_COMMAND}`; export r; \
38948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38949 $(RAW_CXX_TARGET_EXPORTS) \
38950 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
38951 for flag in $(EXTRA_TARGET_FLAGS); do \
38952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38953 done; \
38954 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38957 "RANLIB=$${RANLIB}" \
38958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38959 install-info) \
38960 || exit 1
38962 @endif target-libstdc++-v3
38964 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
38965 maybe-install-pdf-target-libstdc++-v3:
38966 @if target-libstdc++-v3
38967 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
38969 install-pdf-target-libstdc++-v3: \
38970 configure-target-libstdc++-v3 \
38971 pdf-target-libstdc++-v3
38972 @: $(MAKE); $(unstage)
38973 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
38974 r=`${PWD_COMMAND}`; export r; \
38975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38976 $(RAW_CXX_TARGET_EXPORTS) \
38977 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
38978 for flag in $(EXTRA_TARGET_FLAGS); do \
38979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38980 done; \
38981 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
38982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38984 "RANLIB=$${RANLIB}" \
38985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38986 install-pdf) \
38987 || exit 1
38989 @endif target-libstdc++-v3
38991 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
38992 maybe-install-html-target-libstdc++-v3:
38993 @if target-libstdc++-v3
38994 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
38996 install-html-target-libstdc++-v3: \
38997 configure-target-libstdc++-v3 \
38998 html-target-libstdc++-v3
38999 @: $(MAKE); $(unstage)
39000 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39001 r=`${PWD_COMMAND}`; export r; \
39002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39003 $(RAW_CXX_TARGET_EXPORTS) \
39004 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
39005 for flag in $(EXTRA_TARGET_FLAGS); do \
39006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39007 done; \
39008 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39011 "RANLIB=$${RANLIB}" \
39012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39013 install-html) \
39014 || exit 1
39016 @endif target-libstdc++-v3
39018 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
39019 maybe-installcheck-target-libstdc++-v3:
39020 @if target-libstdc++-v3
39021 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
39023 installcheck-target-libstdc++-v3: \
39024 configure-target-libstdc++-v3
39025 @: $(MAKE); $(unstage)
39026 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39027 r=`${PWD_COMMAND}`; export r; \
39028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39029 $(RAW_CXX_TARGET_EXPORTS) \
39030 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
39031 for flag in $(EXTRA_TARGET_FLAGS); do \
39032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39033 done; \
39034 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39037 "RANLIB=$${RANLIB}" \
39038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39039 installcheck) \
39040 || exit 1
39042 @endif target-libstdc++-v3
39044 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
39045 maybe-mostlyclean-target-libstdc++-v3:
39046 @if target-libstdc++-v3
39047 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
39049 mostlyclean-target-libstdc++-v3:
39050 @: $(MAKE); $(unstage)
39051 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39052 r=`${PWD_COMMAND}`; export r; \
39053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39054 $(RAW_CXX_TARGET_EXPORTS) \
39055 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39056 for flag in $(EXTRA_TARGET_FLAGS); do \
39057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39058 done; \
39059 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39062 "RANLIB=$${RANLIB}" \
39063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39064 mostlyclean) \
39065 || exit 1
39067 @endif target-libstdc++-v3
39069 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
39070 maybe-clean-target-libstdc++-v3:
39071 @if target-libstdc++-v3
39072 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
39074 clean-target-libstdc++-v3:
39075 @: $(MAKE); $(unstage)
39076 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39077 r=`${PWD_COMMAND}`; export r; \
39078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39079 $(RAW_CXX_TARGET_EXPORTS) \
39080 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39081 for flag in $(EXTRA_TARGET_FLAGS); do \
39082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39083 done; \
39084 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39087 "RANLIB=$${RANLIB}" \
39088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39089 clean) \
39090 || exit 1
39092 @endif target-libstdc++-v3
39094 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
39095 maybe-distclean-target-libstdc++-v3:
39096 @if target-libstdc++-v3
39097 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
39099 distclean-target-libstdc++-v3:
39100 @: $(MAKE); $(unstage)
39101 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39102 r=`${PWD_COMMAND}`; export r; \
39103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39104 $(RAW_CXX_TARGET_EXPORTS) \
39105 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39106 for flag in $(EXTRA_TARGET_FLAGS); do \
39107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39108 done; \
39109 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39112 "RANLIB=$${RANLIB}" \
39113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39114 distclean) \
39115 || exit 1
39117 @endif target-libstdc++-v3
39119 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
39120 maybe-maintainer-clean-target-libstdc++-v3:
39121 @if target-libstdc++-v3
39122 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
39124 maintainer-clean-target-libstdc++-v3:
39125 @: $(MAKE); $(unstage)
39126 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
39127 r=`${PWD_COMMAND}`; export r; \
39128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39129 $(RAW_CXX_TARGET_EXPORTS) \
39130 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
39131 for flag in $(EXTRA_TARGET_FLAGS); do \
39132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39133 done; \
39134 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
39135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39137 "RANLIB=$${RANLIB}" \
39138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39139 maintainer-clean) \
39140 || exit 1
39142 @endif target-libstdc++-v3
39148 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
39149 maybe-configure-target-libsanitizer:
39150 @if gcc-bootstrap
39151 configure-target-libsanitizer: stage_current
39152 @endif gcc-bootstrap
39153 @if target-libsanitizer
39154 maybe-configure-target-libsanitizer: configure-target-libsanitizer
39155 configure-target-libsanitizer:
39156 @r=`${PWD_COMMAND}`; export r; \
39157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39158 echo "Checking multilib configuration for libsanitizer..."; \
39159 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39160 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39161 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39162 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39163 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39164 else \
39165 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39166 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39167 fi; \
39168 else \
39169 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39170 fi; \
39171 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39172 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39173 $(RAW_CXX_TARGET_EXPORTS) \
39174 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
39175 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
39176 case $(srcdir) in \
39177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39178 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39180 esac; \
39181 module_srcdir=libsanitizer; \
39182 rm -f no-such-file || : ; \
39183 CONFIG_SITE=no-such-file $(SHELL) \
39184 $$s/$$module_srcdir/configure \
39185 --srcdir=$${topdir}/$$module_srcdir \
39186 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39187 --target=${target_alias} \
39188 || exit 1
39189 @endif target-libsanitizer
39193 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
39194 maybe-configure-stage1-target-libsanitizer:
39195 @if target-libsanitizer-bootstrap
39196 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
39197 configure-stage1-target-libsanitizer:
39198 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39199 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39200 @r=`${PWD_COMMAND}`; export r; \
39201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39202 TFLAGS="$(STAGE1_TFLAGS)"; \
39203 echo "Checking multilib configuration for libsanitizer..."; \
39204 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39205 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39206 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39207 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39208 else \
39209 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39210 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39211 fi; \
39212 else \
39213 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39214 fi; \
39215 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39216 $(RAW_CXX_TARGET_EXPORTS) \
39217 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39218 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39219 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39220 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
39221 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39222 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39223 case $(srcdir) in \
39224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39225 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39227 esac; \
39228 module_srcdir=libsanitizer; \
39229 $(SHELL) $$s/$$module_srcdir/configure \
39230 --srcdir=$${topdir}/$$module_srcdir \
39231 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39232 --target=${target_alias} \
39234 $(STAGE1_CONFIGURE_FLAGS)
39235 @endif target-libsanitizer-bootstrap
39237 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
39238 maybe-configure-stage2-target-libsanitizer:
39239 @if target-libsanitizer-bootstrap
39240 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
39241 configure-stage2-target-libsanitizer:
39242 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39243 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39244 @r=`${PWD_COMMAND}`; export r; \
39245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39246 TFLAGS="$(STAGE2_TFLAGS)"; \
39247 echo "Checking multilib configuration for libsanitizer..."; \
39248 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39249 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39250 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39251 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39252 else \
39253 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39254 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39255 fi; \
39256 else \
39257 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39258 fi; \
39259 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39260 $(RAW_CXX_TARGET_EXPORTS) \
39262 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39263 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39264 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39265 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
39266 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39267 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39268 case $(srcdir) in \
39269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39270 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39272 esac; \
39273 module_srcdir=libsanitizer; \
39274 $(SHELL) $$s/$$module_srcdir/configure \
39275 --srcdir=$${topdir}/$$module_srcdir \
39276 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39277 --target=${target_alias} \
39278 --with-build-libsubdir=$(HOST_SUBDIR) \
39279 $(STAGE2_CONFIGURE_FLAGS)
39280 @endif target-libsanitizer-bootstrap
39282 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
39283 maybe-configure-stage3-target-libsanitizer:
39284 @if target-libsanitizer-bootstrap
39285 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
39286 configure-stage3-target-libsanitizer:
39287 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39288 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39289 @r=`${PWD_COMMAND}`; export r; \
39290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39291 TFLAGS="$(STAGE3_TFLAGS)"; \
39292 echo "Checking multilib configuration for libsanitizer..."; \
39293 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39294 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39295 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39296 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39297 else \
39298 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39299 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39300 fi; \
39301 else \
39302 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39303 fi; \
39304 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39305 $(RAW_CXX_TARGET_EXPORTS) \
39307 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39308 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39309 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39310 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
39311 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39312 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39313 case $(srcdir) in \
39314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39315 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39317 esac; \
39318 module_srcdir=libsanitizer; \
39319 $(SHELL) $$s/$$module_srcdir/configure \
39320 --srcdir=$${topdir}/$$module_srcdir \
39321 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39322 --target=${target_alias} \
39323 --with-build-libsubdir=$(HOST_SUBDIR) \
39324 $(STAGE3_CONFIGURE_FLAGS)
39325 @endif target-libsanitizer-bootstrap
39327 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
39328 maybe-configure-stage4-target-libsanitizer:
39329 @if target-libsanitizer-bootstrap
39330 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
39331 configure-stage4-target-libsanitizer:
39332 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39333 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39334 @r=`${PWD_COMMAND}`; export r; \
39335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39336 TFLAGS="$(STAGE4_TFLAGS)"; \
39337 echo "Checking multilib configuration for libsanitizer..."; \
39338 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39339 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39340 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39341 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39342 else \
39343 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39344 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39345 fi; \
39346 else \
39347 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39348 fi; \
39349 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39350 $(RAW_CXX_TARGET_EXPORTS) \
39352 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39353 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39354 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39355 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
39356 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39357 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39358 case $(srcdir) in \
39359 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39360 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39361 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39362 esac; \
39363 module_srcdir=libsanitizer; \
39364 $(SHELL) $$s/$$module_srcdir/configure \
39365 --srcdir=$${topdir}/$$module_srcdir \
39366 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39367 --target=${target_alias} \
39368 --with-build-libsubdir=$(HOST_SUBDIR) \
39369 $(STAGE4_CONFIGURE_FLAGS)
39370 @endif target-libsanitizer-bootstrap
39372 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
39373 maybe-configure-stageprofile-target-libsanitizer:
39374 @if target-libsanitizer-bootstrap
39375 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
39376 configure-stageprofile-target-libsanitizer:
39377 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39378 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39379 @r=`${PWD_COMMAND}`; export r; \
39380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39381 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39382 echo "Checking multilib configuration for libsanitizer..."; \
39383 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39384 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39385 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39386 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39387 else \
39388 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39389 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39390 fi; \
39391 else \
39392 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39393 fi; \
39394 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39395 $(RAW_CXX_TARGET_EXPORTS) \
39397 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39398 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39399 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39400 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
39401 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39402 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39403 case $(srcdir) in \
39404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39405 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39407 esac; \
39408 module_srcdir=libsanitizer; \
39409 $(SHELL) $$s/$$module_srcdir/configure \
39410 --srcdir=$${topdir}/$$module_srcdir \
39411 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39412 --target=${target_alias} \
39413 --with-build-libsubdir=$(HOST_SUBDIR) \
39414 $(STAGEprofile_CONFIGURE_FLAGS)
39415 @endif target-libsanitizer-bootstrap
39417 .PHONY: configure-stagetrain-target-libsanitizer maybe-configure-stagetrain-target-libsanitizer
39418 maybe-configure-stagetrain-target-libsanitizer:
39419 @if target-libsanitizer-bootstrap
39420 maybe-configure-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
39421 configure-stagetrain-target-libsanitizer:
39422 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39423 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39424 @r=`${PWD_COMMAND}`; export r; \
39425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39426 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39427 echo "Checking multilib configuration for libsanitizer..."; \
39428 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39429 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39430 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39431 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39432 else \
39433 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39434 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39435 fi; \
39436 else \
39437 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39438 fi; \
39439 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39440 $(RAW_CXX_TARGET_EXPORTS) \
39442 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39443 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39444 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39445 echo Configuring stage train in $(TARGET_SUBDIR)/libsanitizer; \
39446 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39447 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39448 case $(srcdir) in \
39449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39450 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39452 esac; \
39453 module_srcdir=libsanitizer; \
39454 $(SHELL) $$s/$$module_srcdir/configure \
39455 --srcdir=$${topdir}/$$module_srcdir \
39456 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39457 --target=${target_alias} \
39458 --with-build-libsubdir=$(HOST_SUBDIR) \
39459 $(STAGEtrain_CONFIGURE_FLAGS)
39460 @endif target-libsanitizer-bootstrap
39462 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
39463 maybe-configure-stagefeedback-target-libsanitizer:
39464 @if target-libsanitizer-bootstrap
39465 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
39466 configure-stagefeedback-target-libsanitizer:
39467 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39468 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39469 @r=`${PWD_COMMAND}`; export r; \
39470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39471 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39472 echo "Checking multilib configuration for libsanitizer..."; \
39473 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39474 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39475 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39476 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39477 else \
39478 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39479 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39480 fi; \
39481 else \
39482 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39483 fi; \
39484 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39485 $(RAW_CXX_TARGET_EXPORTS) \
39487 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39488 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39489 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39490 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
39491 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39492 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39493 case $(srcdir) in \
39494 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39495 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39496 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39497 esac; \
39498 module_srcdir=libsanitizer; \
39499 $(SHELL) $$s/$$module_srcdir/configure \
39500 --srcdir=$${topdir}/$$module_srcdir \
39501 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39502 --target=${target_alias} \
39503 --with-build-libsubdir=$(HOST_SUBDIR) \
39504 $(STAGEfeedback_CONFIGURE_FLAGS)
39505 @endif target-libsanitizer-bootstrap
39507 .PHONY: configure-stageautoprofile-target-libsanitizer maybe-configure-stageautoprofile-target-libsanitizer
39508 maybe-configure-stageautoprofile-target-libsanitizer:
39509 @if target-libsanitizer-bootstrap
39510 maybe-configure-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
39511 configure-stageautoprofile-target-libsanitizer:
39512 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39513 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39514 @r=`${PWD_COMMAND}`; export r; \
39515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39516 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39517 echo "Checking multilib configuration for libsanitizer..."; \
39518 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39519 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39520 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39521 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39522 else \
39523 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39524 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39525 fi; \
39526 else \
39527 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39528 fi; \
39529 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39530 $(RAW_CXX_TARGET_EXPORTS) \
39532 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39533 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39534 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39535 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libsanitizer; \
39536 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39537 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39538 case $(srcdir) in \
39539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39540 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39542 esac; \
39543 module_srcdir=libsanitizer; \
39544 $(SHELL) $$s/$$module_srcdir/configure \
39545 --srcdir=$${topdir}/$$module_srcdir \
39546 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39547 --target=${target_alias} \
39548 --with-build-libsubdir=$(HOST_SUBDIR) \
39549 $(STAGEautoprofile_CONFIGURE_FLAGS)
39550 @endif target-libsanitizer-bootstrap
39552 .PHONY: configure-stageautofeedback-target-libsanitizer maybe-configure-stageautofeedback-target-libsanitizer
39553 maybe-configure-stageautofeedback-target-libsanitizer:
39554 @if target-libsanitizer-bootstrap
39555 maybe-configure-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
39556 configure-stageautofeedback-target-libsanitizer:
39557 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39558 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
39559 @r=`${PWD_COMMAND}`; export r; \
39560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39561 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39562 echo "Checking multilib configuration for libsanitizer..."; \
39563 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
39564 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39565 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
39566 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
39567 else \
39568 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
39569 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39570 fi; \
39571 else \
39572 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
39573 fi; \
39574 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
39575 $(RAW_CXX_TARGET_EXPORTS) \
39577 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
39578 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
39579 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
39580 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libsanitizer; \
39581 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
39582 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
39583 case $(srcdir) in \
39584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39585 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
39586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39587 esac; \
39588 module_srcdir=libsanitizer; \
39589 $(SHELL) $$s/$$module_srcdir/configure \
39590 --srcdir=$${topdir}/$$module_srcdir \
39591 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39592 --target=${target_alias} \
39593 --with-build-libsubdir=$(HOST_SUBDIR) \
39594 $(STAGEautofeedback_CONFIGURE_FLAGS)
39595 @endif target-libsanitizer-bootstrap
39601 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
39602 maybe-all-target-libsanitizer:
39603 @if gcc-bootstrap
39604 all-target-libsanitizer: stage_current
39605 @endif gcc-bootstrap
39606 @if target-libsanitizer
39607 TARGET-target-libsanitizer=all
39608 maybe-all-target-libsanitizer: all-target-libsanitizer
39609 all-target-libsanitizer: configure-target-libsanitizer
39610 @r=`${PWD_COMMAND}`; export r; \
39611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39612 $(RAW_CXX_TARGET_EXPORTS) \
39613 (cd $(TARGET_SUBDIR)/libsanitizer && \
39614 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39615 $(TARGET-target-libsanitizer))
39616 @endif target-libsanitizer
39620 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
39621 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
39622 maybe-all-stage1-target-libsanitizer:
39623 maybe-clean-stage1-target-libsanitizer:
39624 @if target-libsanitizer-bootstrap
39625 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
39626 all-stage1: all-stage1-target-libsanitizer
39627 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
39628 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
39629 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39630 @r=`${PWD_COMMAND}`; export r; \
39631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39632 TFLAGS="$(STAGE1_TFLAGS)"; \
39633 $(RAW_CXX_TARGET_EXPORTS) \
39634 cd $(TARGET_SUBDIR)/libsanitizer && \
39636 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39637 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39638 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39639 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39640 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39641 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39642 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39643 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39645 TFLAGS="$(STAGE1_TFLAGS)" \
39646 $(TARGET-stage1-target-libsanitizer)
39648 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
39649 clean-stage1: clean-stage1-target-libsanitizer
39650 clean-stage1-target-libsanitizer:
39651 @if [ $(current_stage) = stage1 ]; then \
39652 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39653 else \
39654 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
39655 $(MAKE) stage1-start; \
39656 fi; \
39657 cd $(TARGET_SUBDIR)/libsanitizer && \
39658 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39659 clean
39660 @endif target-libsanitizer-bootstrap
39663 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
39664 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
39665 maybe-all-stage2-target-libsanitizer:
39666 maybe-clean-stage2-target-libsanitizer:
39667 @if target-libsanitizer-bootstrap
39668 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
39669 all-stage2: all-stage2-target-libsanitizer
39670 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
39671 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
39672 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39673 @r=`${PWD_COMMAND}`; export r; \
39674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39675 TFLAGS="$(STAGE2_TFLAGS)"; \
39676 $(RAW_CXX_TARGET_EXPORTS) \
39678 cd $(TARGET_SUBDIR)/libsanitizer && \
39680 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39681 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39682 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39683 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39684 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39685 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39686 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39687 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39688 TFLAGS="$(STAGE2_TFLAGS)" \
39689 $(TARGET-stage2-target-libsanitizer)
39691 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
39692 clean-stage2: clean-stage2-target-libsanitizer
39693 clean-stage2-target-libsanitizer:
39694 @if [ $(current_stage) = stage2 ]; then \
39695 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39696 else \
39697 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
39698 $(MAKE) stage2-start; \
39699 fi; \
39700 cd $(TARGET_SUBDIR)/libsanitizer && \
39701 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39702 @endif target-libsanitizer-bootstrap
39705 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
39706 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
39707 maybe-all-stage3-target-libsanitizer:
39708 maybe-clean-stage3-target-libsanitizer:
39709 @if target-libsanitizer-bootstrap
39710 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
39711 all-stage3: all-stage3-target-libsanitizer
39712 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
39713 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
39714 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39715 @r=`${PWD_COMMAND}`; export r; \
39716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39717 TFLAGS="$(STAGE3_TFLAGS)"; \
39718 $(RAW_CXX_TARGET_EXPORTS) \
39720 cd $(TARGET_SUBDIR)/libsanitizer && \
39722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39723 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39724 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39725 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39726 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39727 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39728 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39729 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39730 TFLAGS="$(STAGE3_TFLAGS)" \
39731 $(TARGET-stage3-target-libsanitizer)
39733 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
39734 clean-stage3: clean-stage3-target-libsanitizer
39735 clean-stage3-target-libsanitizer:
39736 @if [ $(current_stage) = stage3 ]; then \
39737 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39738 else \
39739 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
39740 $(MAKE) stage3-start; \
39741 fi; \
39742 cd $(TARGET_SUBDIR)/libsanitizer && \
39743 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39744 @endif target-libsanitizer-bootstrap
39747 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
39748 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
39749 maybe-all-stage4-target-libsanitizer:
39750 maybe-clean-stage4-target-libsanitizer:
39751 @if target-libsanitizer-bootstrap
39752 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
39753 all-stage4: all-stage4-target-libsanitizer
39754 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
39755 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
39756 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39757 @r=`${PWD_COMMAND}`; export r; \
39758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39759 TFLAGS="$(STAGE4_TFLAGS)"; \
39760 $(RAW_CXX_TARGET_EXPORTS) \
39762 cd $(TARGET_SUBDIR)/libsanitizer && \
39764 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39765 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39766 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39767 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39768 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39769 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39770 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39771 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39772 TFLAGS="$(STAGE4_TFLAGS)" \
39773 $(TARGET-stage4-target-libsanitizer)
39775 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
39776 clean-stage4: clean-stage4-target-libsanitizer
39777 clean-stage4-target-libsanitizer:
39778 @if [ $(current_stage) = stage4 ]; then \
39779 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39780 else \
39781 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
39782 $(MAKE) stage4-start; \
39783 fi; \
39784 cd $(TARGET_SUBDIR)/libsanitizer && \
39785 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39786 @endif target-libsanitizer-bootstrap
39789 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
39790 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
39791 maybe-all-stageprofile-target-libsanitizer:
39792 maybe-clean-stageprofile-target-libsanitizer:
39793 @if target-libsanitizer-bootstrap
39794 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
39795 all-stageprofile: all-stageprofile-target-libsanitizer
39796 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
39797 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
39798 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39799 @r=`${PWD_COMMAND}`; export r; \
39800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39801 TFLAGS="$(STAGEprofile_TFLAGS)"; \
39802 $(RAW_CXX_TARGET_EXPORTS) \
39804 cd $(TARGET_SUBDIR)/libsanitizer && \
39806 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39807 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39808 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39809 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39810 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39811 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39812 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39813 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39814 TFLAGS="$(STAGEprofile_TFLAGS)" \
39815 $(TARGET-stageprofile-target-libsanitizer)
39817 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
39818 clean-stageprofile: clean-stageprofile-target-libsanitizer
39819 clean-stageprofile-target-libsanitizer:
39820 @if [ $(current_stage) = stageprofile ]; then \
39821 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39822 else \
39823 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
39824 $(MAKE) stageprofile-start; \
39825 fi; \
39826 cd $(TARGET_SUBDIR)/libsanitizer && \
39827 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39828 @endif target-libsanitizer-bootstrap
39831 .PHONY: all-stagetrain-target-libsanitizer maybe-all-stagetrain-target-libsanitizer
39832 .PHONY: clean-stagetrain-target-libsanitizer maybe-clean-stagetrain-target-libsanitizer
39833 maybe-all-stagetrain-target-libsanitizer:
39834 maybe-clean-stagetrain-target-libsanitizer:
39835 @if target-libsanitizer-bootstrap
39836 maybe-all-stagetrain-target-libsanitizer: all-stagetrain-target-libsanitizer
39837 all-stagetrain: all-stagetrain-target-libsanitizer
39838 TARGET-stagetrain-target-libsanitizer = $(TARGET-target-libsanitizer)
39839 all-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
39840 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
39841 @r=`${PWD_COMMAND}`; export r; \
39842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39843 TFLAGS="$(STAGEtrain_TFLAGS)"; \
39844 $(RAW_CXX_TARGET_EXPORTS) \
39846 cd $(TARGET_SUBDIR)/libsanitizer && \
39848 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39849 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39850 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39851 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39852 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39853 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39854 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39855 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39856 TFLAGS="$(STAGEtrain_TFLAGS)" \
39857 $(TARGET-stagetrain-target-libsanitizer)
39859 maybe-clean-stagetrain-target-libsanitizer: clean-stagetrain-target-libsanitizer
39860 clean-stagetrain: clean-stagetrain-target-libsanitizer
39861 clean-stagetrain-target-libsanitizer:
39862 @if [ $(current_stage) = stagetrain ]; then \
39863 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39864 else \
39865 [ -f $(TARGET_SUBDIR)/stagetrain-libsanitizer/Makefile ] || exit 0; \
39866 $(MAKE) stagetrain-start; \
39867 fi; \
39868 cd $(TARGET_SUBDIR)/libsanitizer && \
39869 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39870 @endif target-libsanitizer-bootstrap
39873 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
39874 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
39875 maybe-all-stagefeedback-target-libsanitizer:
39876 maybe-clean-stagefeedback-target-libsanitizer:
39877 @if target-libsanitizer-bootstrap
39878 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
39879 all-stagefeedback: all-stagefeedback-target-libsanitizer
39880 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
39881 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
39882 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39883 @r=`${PWD_COMMAND}`; export r; \
39884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39885 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
39886 $(RAW_CXX_TARGET_EXPORTS) \
39888 cd $(TARGET_SUBDIR)/libsanitizer && \
39890 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39891 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39892 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39893 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39894 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39895 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39896 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39897 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39898 TFLAGS="$(STAGEfeedback_TFLAGS)" \
39899 $(TARGET-stagefeedback-target-libsanitizer)
39901 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
39902 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
39903 clean-stagefeedback-target-libsanitizer:
39904 @if [ $(current_stage) = stagefeedback ]; then \
39905 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39906 else \
39907 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
39908 $(MAKE) stagefeedback-start; \
39909 fi; \
39910 cd $(TARGET_SUBDIR)/libsanitizer && \
39911 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39912 @endif target-libsanitizer-bootstrap
39915 .PHONY: all-stageautoprofile-target-libsanitizer maybe-all-stageautoprofile-target-libsanitizer
39916 .PHONY: clean-stageautoprofile-target-libsanitizer maybe-clean-stageautoprofile-target-libsanitizer
39917 maybe-all-stageautoprofile-target-libsanitizer:
39918 maybe-clean-stageautoprofile-target-libsanitizer:
39919 @if target-libsanitizer-bootstrap
39920 maybe-all-stageautoprofile-target-libsanitizer: all-stageautoprofile-target-libsanitizer
39921 all-stageautoprofile: all-stageautoprofile-target-libsanitizer
39922 TARGET-stageautoprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
39923 all-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
39924 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
39925 @r=`${PWD_COMMAND}`; export r; \
39926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39927 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
39928 $(RAW_CXX_TARGET_EXPORTS) \
39930 cd $(TARGET_SUBDIR)/libsanitizer && \
39931 $$s/gcc/config/i386/$(AUTO_PROFILE) \
39932 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39933 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39934 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39935 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39936 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39937 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39938 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39939 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39940 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
39941 $(TARGET-stageautoprofile-target-libsanitizer)
39943 maybe-clean-stageautoprofile-target-libsanitizer: clean-stageautoprofile-target-libsanitizer
39944 clean-stageautoprofile: clean-stageautoprofile-target-libsanitizer
39945 clean-stageautoprofile-target-libsanitizer:
39946 @if [ $(current_stage) = stageautoprofile ]; then \
39947 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39948 else \
39949 [ -f $(TARGET_SUBDIR)/stageautoprofile-libsanitizer/Makefile ] || exit 0; \
39950 $(MAKE) stageautoprofile-start; \
39951 fi; \
39952 cd $(TARGET_SUBDIR)/libsanitizer && \
39953 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39954 @endif target-libsanitizer-bootstrap
39957 .PHONY: all-stageautofeedback-target-libsanitizer maybe-all-stageautofeedback-target-libsanitizer
39958 .PHONY: clean-stageautofeedback-target-libsanitizer maybe-clean-stageautofeedback-target-libsanitizer
39959 maybe-all-stageautofeedback-target-libsanitizer:
39960 maybe-clean-stageautofeedback-target-libsanitizer:
39961 @if target-libsanitizer-bootstrap
39962 maybe-all-stageautofeedback-target-libsanitizer: all-stageautofeedback-target-libsanitizer
39963 all-stageautofeedback: all-stageautofeedback-target-libsanitizer
39964 TARGET-stageautofeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
39965 all-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
39966 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
39967 @r=`${PWD_COMMAND}`; export r; \
39968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39969 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
39970 $(RAW_CXX_TARGET_EXPORTS) \
39972 cd $(TARGET_SUBDIR)/libsanitizer && \
39974 $(MAKE) $(BASE_FLAGS_TO_PASS) \
39975 CFLAGS="$(CFLAGS_FOR_TARGET)" \
39976 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
39977 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
39978 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
39979 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
39980 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
39981 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
39982 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
39983 $(TARGET-stageautofeedback-target-libsanitizer)
39985 maybe-clean-stageautofeedback-target-libsanitizer: clean-stageautofeedback-target-libsanitizer
39986 clean-stageautofeedback: clean-stageautofeedback-target-libsanitizer
39987 clean-stageautofeedback-target-libsanitizer:
39988 @if [ $(current_stage) = stageautofeedback ]; then \
39989 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
39990 else \
39991 [ -f $(TARGET_SUBDIR)/stageautofeedback-libsanitizer/Makefile ] || exit 0; \
39992 $(MAKE) stageautofeedback-start; \
39993 fi; \
39994 cd $(TARGET_SUBDIR)/libsanitizer && \
39995 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
39996 @endif target-libsanitizer-bootstrap
40003 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
40004 maybe-check-target-libsanitizer:
40005 @if target-libsanitizer
40006 maybe-check-target-libsanitizer: check-target-libsanitizer
40008 check-target-libsanitizer:
40009 @: $(MAKE); $(unstage)
40010 @r=`${PWD_COMMAND}`; export r; \
40011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40012 $(RAW_CXX_TARGET_EXPORTS) \
40013 (cd $(TARGET_SUBDIR)/libsanitizer && \
40014 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
40016 @endif target-libsanitizer
40018 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
40019 maybe-install-target-libsanitizer:
40020 @if target-libsanitizer
40021 maybe-install-target-libsanitizer: install-target-libsanitizer
40023 install-target-libsanitizer: installdirs
40024 @: $(MAKE); $(unstage)
40025 @r=`${PWD_COMMAND}`; export r; \
40026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40027 $(RAW_CXX_TARGET_EXPORTS) \
40028 (cd $(TARGET_SUBDIR)/libsanitizer && \
40029 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40031 @endif target-libsanitizer
40033 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
40034 maybe-install-strip-target-libsanitizer:
40035 @if target-libsanitizer
40036 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
40038 install-strip-target-libsanitizer: installdirs
40039 @: $(MAKE); $(unstage)
40040 @r=`${PWD_COMMAND}`; export r; \
40041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40042 $(RAW_CXX_TARGET_EXPORTS) \
40043 (cd $(TARGET_SUBDIR)/libsanitizer && \
40044 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40046 @endif target-libsanitizer
40048 # Other targets (info, dvi, pdf, etc.)
40050 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
40051 maybe-info-target-libsanitizer:
40052 @if target-libsanitizer
40053 maybe-info-target-libsanitizer: info-target-libsanitizer
40055 info-target-libsanitizer: \
40056 configure-target-libsanitizer
40057 @: $(MAKE); $(unstage)
40058 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40059 r=`${PWD_COMMAND}`; export r; \
40060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40061 $(RAW_CXX_TARGET_EXPORTS) \
40062 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
40063 for flag in $(EXTRA_TARGET_FLAGS); do \
40064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40065 done; \
40066 (cd $(TARGET_SUBDIR)/libsanitizer && \
40067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40069 "RANLIB=$${RANLIB}" \
40070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40071 info) \
40072 || exit 1
40074 @endif target-libsanitizer
40076 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
40077 maybe-dvi-target-libsanitizer:
40078 @if target-libsanitizer
40079 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
40081 dvi-target-libsanitizer: \
40082 configure-target-libsanitizer
40083 @: $(MAKE); $(unstage)
40084 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40085 r=`${PWD_COMMAND}`; export r; \
40086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40087 $(RAW_CXX_TARGET_EXPORTS) \
40088 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
40089 for flag in $(EXTRA_TARGET_FLAGS); do \
40090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40091 done; \
40092 (cd $(TARGET_SUBDIR)/libsanitizer && \
40093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40095 "RANLIB=$${RANLIB}" \
40096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40097 dvi) \
40098 || exit 1
40100 @endif target-libsanitizer
40102 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
40103 maybe-pdf-target-libsanitizer:
40104 @if target-libsanitizer
40105 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
40107 pdf-target-libsanitizer: \
40108 configure-target-libsanitizer
40109 @: $(MAKE); $(unstage)
40110 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40111 r=`${PWD_COMMAND}`; export r; \
40112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40113 $(RAW_CXX_TARGET_EXPORTS) \
40114 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
40115 for flag in $(EXTRA_TARGET_FLAGS); do \
40116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40117 done; \
40118 (cd $(TARGET_SUBDIR)/libsanitizer && \
40119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40121 "RANLIB=$${RANLIB}" \
40122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40123 pdf) \
40124 || exit 1
40126 @endif target-libsanitizer
40128 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
40129 maybe-html-target-libsanitizer:
40130 @if target-libsanitizer
40131 maybe-html-target-libsanitizer: html-target-libsanitizer
40133 html-target-libsanitizer: \
40134 configure-target-libsanitizer
40135 @: $(MAKE); $(unstage)
40136 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40137 r=`${PWD_COMMAND}`; export r; \
40138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40139 $(RAW_CXX_TARGET_EXPORTS) \
40140 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
40141 for flag in $(EXTRA_TARGET_FLAGS); do \
40142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40143 done; \
40144 (cd $(TARGET_SUBDIR)/libsanitizer && \
40145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40147 "RANLIB=$${RANLIB}" \
40148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40149 html) \
40150 || exit 1
40152 @endif target-libsanitizer
40154 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
40155 maybe-TAGS-target-libsanitizer:
40156 @if target-libsanitizer
40157 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
40159 TAGS-target-libsanitizer: \
40160 configure-target-libsanitizer
40161 @: $(MAKE); $(unstage)
40162 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40163 r=`${PWD_COMMAND}`; export r; \
40164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40165 $(RAW_CXX_TARGET_EXPORTS) \
40166 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
40167 for flag in $(EXTRA_TARGET_FLAGS); do \
40168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40169 done; \
40170 (cd $(TARGET_SUBDIR)/libsanitizer && \
40171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40173 "RANLIB=$${RANLIB}" \
40174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40175 TAGS) \
40176 || exit 1
40178 @endif target-libsanitizer
40180 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
40181 maybe-install-info-target-libsanitizer:
40182 @if target-libsanitizer
40183 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
40185 install-info-target-libsanitizer: \
40186 configure-target-libsanitizer \
40187 info-target-libsanitizer
40188 @: $(MAKE); $(unstage)
40189 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40190 r=`${PWD_COMMAND}`; export r; \
40191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40192 $(RAW_CXX_TARGET_EXPORTS) \
40193 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
40194 for flag in $(EXTRA_TARGET_FLAGS); do \
40195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40196 done; \
40197 (cd $(TARGET_SUBDIR)/libsanitizer && \
40198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40200 "RANLIB=$${RANLIB}" \
40201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40202 install-info) \
40203 || exit 1
40205 @endif target-libsanitizer
40207 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
40208 maybe-install-pdf-target-libsanitizer:
40209 @if target-libsanitizer
40210 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
40212 install-pdf-target-libsanitizer: \
40213 configure-target-libsanitizer \
40214 pdf-target-libsanitizer
40215 @: $(MAKE); $(unstage)
40216 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40217 r=`${PWD_COMMAND}`; export r; \
40218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40219 $(RAW_CXX_TARGET_EXPORTS) \
40220 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
40221 for flag in $(EXTRA_TARGET_FLAGS); do \
40222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40223 done; \
40224 (cd $(TARGET_SUBDIR)/libsanitizer && \
40225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40227 "RANLIB=$${RANLIB}" \
40228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40229 install-pdf) \
40230 || exit 1
40232 @endif target-libsanitizer
40234 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
40235 maybe-install-html-target-libsanitizer:
40236 @if target-libsanitizer
40237 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
40239 install-html-target-libsanitizer: \
40240 configure-target-libsanitizer \
40241 html-target-libsanitizer
40242 @: $(MAKE); $(unstage)
40243 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40244 r=`${PWD_COMMAND}`; export r; \
40245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40246 $(RAW_CXX_TARGET_EXPORTS) \
40247 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
40248 for flag in $(EXTRA_TARGET_FLAGS); do \
40249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40250 done; \
40251 (cd $(TARGET_SUBDIR)/libsanitizer && \
40252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40254 "RANLIB=$${RANLIB}" \
40255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40256 install-html) \
40257 || exit 1
40259 @endif target-libsanitizer
40261 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
40262 maybe-installcheck-target-libsanitizer:
40263 @if target-libsanitizer
40264 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
40266 installcheck-target-libsanitizer: \
40267 configure-target-libsanitizer
40268 @: $(MAKE); $(unstage)
40269 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40270 r=`${PWD_COMMAND}`; export r; \
40271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40272 $(RAW_CXX_TARGET_EXPORTS) \
40273 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
40274 for flag in $(EXTRA_TARGET_FLAGS); do \
40275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40276 done; \
40277 (cd $(TARGET_SUBDIR)/libsanitizer && \
40278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40280 "RANLIB=$${RANLIB}" \
40281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40282 installcheck) \
40283 || exit 1
40285 @endif target-libsanitizer
40287 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
40288 maybe-mostlyclean-target-libsanitizer:
40289 @if target-libsanitizer
40290 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
40292 mostlyclean-target-libsanitizer:
40293 @: $(MAKE); $(unstage)
40294 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40295 r=`${PWD_COMMAND}`; export r; \
40296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40297 $(RAW_CXX_TARGET_EXPORTS) \
40298 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
40299 for flag in $(EXTRA_TARGET_FLAGS); do \
40300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40301 done; \
40302 (cd $(TARGET_SUBDIR)/libsanitizer && \
40303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40305 "RANLIB=$${RANLIB}" \
40306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40307 mostlyclean) \
40308 || exit 1
40310 @endif target-libsanitizer
40312 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
40313 maybe-clean-target-libsanitizer:
40314 @if target-libsanitizer
40315 maybe-clean-target-libsanitizer: clean-target-libsanitizer
40317 clean-target-libsanitizer:
40318 @: $(MAKE); $(unstage)
40319 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40320 r=`${PWD_COMMAND}`; export r; \
40321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40322 $(RAW_CXX_TARGET_EXPORTS) \
40323 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
40324 for flag in $(EXTRA_TARGET_FLAGS); do \
40325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40326 done; \
40327 (cd $(TARGET_SUBDIR)/libsanitizer && \
40328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40330 "RANLIB=$${RANLIB}" \
40331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40332 clean) \
40333 || exit 1
40335 @endif target-libsanitizer
40337 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
40338 maybe-distclean-target-libsanitizer:
40339 @if target-libsanitizer
40340 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
40342 distclean-target-libsanitizer:
40343 @: $(MAKE); $(unstage)
40344 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40345 r=`${PWD_COMMAND}`; export r; \
40346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40347 $(RAW_CXX_TARGET_EXPORTS) \
40348 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
40349 for flag in $(EXTRA_TARGET_FLAGS); do \
40350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40351 done; \
40352 (cd $(TARGET_SUBDIR)/libsanitizer && \
40353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40355 "RANLIB=$${RANLIB}" \
40356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40357 distclean) \
40358 || exit 1
40360 @endif target-libsanitizer
40362 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
40363 maybe-maintainer-clean-target-libsanitizer:
40364 @if target-libsanitizer
40365 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
40367 maintainer-clean-target-libsanitizer:
40368 @: $(MAKE); $(unstage)
40369 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
40370 r=`${PWD_COMMAND}`; export r; \
40371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40372 $(RAW_CXX_TARGET_EXPORTS) \
40373 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
40374 for flag in $(EXTRA_TARGET_FLAGS); do \
40375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40376 done; \
40377 (cd $(TARGET_SUBDIR)/libsanitizer && \
40378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40380 "RANLIB=$${RANLIB}" \
40381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40382 maintainer-clean) \
40383 || exit 1
40385 @endif target-libsanitizer
40391 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
40392 maybe-configure-target-libvtv:
40393 @if gcc-bootstrap
40394 configure-target-libvtv: stage_current
40395 @endif gcc-bootstrap
40396 @if target-libvtv
40397 maybe-configure-target-libvtv: configure-target-libvtv
40398 configure-target-libvtv:
40399 @r=`${PWD_COMMAND}`; export r; \
40400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40401 echo "Checking multilib configuration for libvtv..."; \
40402 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40403 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40404 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40405 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40406 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40407 else \
40408 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40409 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40410 fi; \
40411 else \
40412 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40413 fi; \
40414 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40415 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40416 $(RAW_CXX_TARGET_EXPORTS) \
40417 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
40418 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
40419 case $(srcdir) in \
40420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40421 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40423 esac; \
40424 module_srcdir=libvtv; \
40425 rm -f no-such-file || : ; \
40426 CONFIG_SITE=no-such-file $(SHELL) \
40427 $$s/$$module_srcdir/configure \
40428 --srcdir=$${topdir}/$$module_srcdir \
40429 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40430 --target=${target_alias} \
40431 || exit 1
40432 @endif target-libvtv
40436 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
40437 maybe-configure-stage1-target-libvtv:
40438 @if target-libvtv-bootstrap
40439 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
40440 configure-stage1-target-libvtv:
40441 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40442 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40443 @r=`${PWD_COMMAND}`; export r; \
40444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40445 TFLAGS="$(STAGE1_TFLAGS)"; \
40446 echo "Checking multilib configuration for libvtv..."; \
40447 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40448 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40449 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40450 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40451 else \
40452 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40453 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40454 fi; \
40455 else \
40456 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40457 fi; \
40458 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40459 $(RAW_CXX_TARGET_EXPORTS) \
40460 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40461 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40462 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40463 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
40464 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40465 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40466 case $(srcdir) in \
40467 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40468 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40469 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40470 esac; \
40471 module_srcdir=libvtv; \
40472 $(SHELL) $$s/$$module_srcdir/configure \
40473 --srcdir=$${topdir}/$$module_srcdir \
40474 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40475 --target=${target_alias} \
40477 $(STAGE1_CONFIGURE_FLAGS)
40478 @endif target-libvtv-bootstrap
40480 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
40481 maybe-configure-stage2-target-libvtv:
40482 @if target-libvtv-bootstrap
40483 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
40484 configure-stage2-target-libvtv:
40485 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40486 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40487 @r=`${PWD_COMMAND}`; export r; \
40488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40489 TFLAGS="$(STAGE2_TFLAGS)"; \
40490 echo "Checking multilib configuration for libvtv..."; \
40491 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40492 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40493 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40494 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40495 else \
40496 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40497 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40498 fi; \
40499 else \
40500 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40501 fi; \
40502 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40503 $(RAW_CXX_TARGET_EXPORTS) \
40505 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40506 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40507 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40508 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
40509 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40510 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40511 case $(srcdir) in \
40512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40513 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40515 esac; \
40516 module_srcdir=libvtv; \
40517 $(SHELL) $$s/$$module_srcdir/configure \
40518 --srcdir=$${topdir}/$$module_srcdir \
40519 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40520 --target=${target_alias} \
40521 --with-build-libsubdir=$(HOST_SUBDIR) \
40522 $(STAGE2_CONFIGURE_FLAGS)
40523 @endif target-libvtv-bootstrap
40525 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
40526 maybe-configure-stage3-target-libvtv:
40527 @if target-libvtv-bootstrap
40528 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
40529 configure-stage3-target-libvtv:
40530 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40531 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40532 @r=`${PWD_COMMAND}`; export r; \
40533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40534 TFLAGS="$(STAGE3_TFLAGS)"; \
40535 echo "Checking multilib configuration for libvtv..."; \
40536 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40537 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40538 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40539 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40540 else \
40541 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40542 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40543 fi; \
40544 else \
40545 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40546 fi; \
40547 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40548 $(RAW_CXX_TARGET_EXPORTS) \
40550 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40551 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40552 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40553 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
40554 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40555 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40556 case $(srcdir) in \
40557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40558 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40560 esac; \
40561 module_srcdir=libvtv; \
40562 $(SHELL) $$s/$$module_srcdir/configure \
40563 --srcdir=$${topdir}/$$module_srcdir \
40564 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40565 --target=${target_alias} \
40566 --with-build-libsubdir=$(HOST_SUBDIR) \
40567 $(STAGE3_CONFIGURE_FLAGS)
40568 @endif target-libvtv-bootstrap
40570 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
40571 maybe-configure-stage4-target-libvtv:
40572 @if target-libvtv-bootstrap
40573 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
40574 configure-stage4-target-libvtv:
40575 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40576 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40577 @r=`${PWD_COMMAND}`; export r; \
40578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40579 TFLAGS="$(STAGE4_TFLAGS)"; \
40580 echo "Checking multilib configuration for libvtv..."; \
40581 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40582 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40583 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40584 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40585 else \
40586 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40587 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40588 fi; \
40589 else \
40590 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40591 fi; \
40592 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40593 $(RAW_CXX_TARGET_EXPORTS) \
40595 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40596 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40597 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40598 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
40599 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40600 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40601 case $(srcdir) in \
40602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40603 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40605 esac; \
40606 module_srcdir=libvtv; \
40607 $(SHELL) $$s/$$module_srcdir/configure \
40608 --srcdir=$${topdir}/$$module_srcdir \
40609 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40610 --target=${target_alias} \
40611 --with-build-libsubdir=$(HOST_SUBDIR) \
40612 $(STAGE4_CONFIGURE_FLAGS)
40613 @endif target-libvtv-bootstrap
40615 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
40616 maybe-configure-stageprofile-target-libvtv:
40617 @if target-libvtv-bootstrap
40618 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
40619 configure-stageprofile-target-libvtv:
40620 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40621 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40622 @r=`${PWD_COMMAND}`; export r; \
40623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40624 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40625 echo "Checking multilib configuration for libvtv..."; \
40626 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40627 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40628 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40629 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40630 else \
40631 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40632 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40633 fi; \
40634 else \
40635 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40636 fi; \
40637 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40638 $(RAW_CXX_TARGET_EXPORTS) \
40640 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40641 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40642 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40643 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
40644 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40645 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40646 case $(srcdir) in \
40647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40648 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40650 esac; \
40651 module_srcdir=libvtv; \
40652 $(SHELL) $$s/$$module_srcdir/configure \
40653 --srcdir=$${topdir}/$$module_srcdir \
40654 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40655 --target=${target_alias} \
40656 --with-build-libsubdir=$(HOST_SUBDIR) \
40657 $(STAGEprofile_CONFIGURE_FLAGS)
40658 @endif target-libvtv-bootstrap
40660 .PHONY: configure-stagetrain-target-libvtv maybe-configure-stagetrain-target-libvtv
40661 maybe-configure-stagetrain-target-libvtv:
40662 @if target-libvtv-bootstrap
40663 maybe-configure-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
40664 configure-stagetrain-target-libvtv:
40665 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
40666 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40667 @r=`${PWD_COMMAND}`; export r; \
40668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40669 TFLAGS="$(STAGEtrain_TFLAGS)"; \
40670 echo "Checking multilib configuration for libvtv..."; \
40671 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40672 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40673 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40674 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40675 else \
40676 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40677 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40678 fi; \
40679 else \
40680 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40681 fi; \
40682 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40683 $(RAW_CXX_TARGET_EXPORTS) \
40685 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40686 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40687 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40688 echo Configuring stage train in $(TARGET_SUBDIR)/libvtv; \
40689 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40690 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40691 case $(srcdir) in \
40692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40693 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40695 esac; \
40696 module_srcdir=libvtv; \
40697 $(SHELL) $$s/$$module_srcdir/configure \
40698 --srcdir=$${topdir}/$$module_srcdir \
40699 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40700 --target=${target_alias} \
40701 --with-build-libsubdir=$(HOST_SUBDIR) \
40702 $(STAGEtrain_CONFIGURE_FLAGS)
40703 @endif target-libvtv-bootstrap
40705 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
40706 maybe-configure-stagefeedback-target-libvtv:
40707 @if target-libvtv-bootstrap
40708 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
40709 configure-stagefeedback-target-libvtv:
40710 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40711 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40712 @r=`${PWD_COMMAND}`; export r; \
40713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40714 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40715 echo "Checking multilib configuration for libvtv..."; \
40716 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40717 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40718 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40719 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40720 else \
40721 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40722 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40723 fi; \
40724 else \
40725 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40726 fi; \
40727 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40728 $(RAW_CXX_TARGET_EXPORTS) \
40730 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40731 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40732 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40733 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
40734 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40735 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40736 case $(srcdir) in \
40737 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40738 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40739 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40740 esac; \
40741 module_srcdir=libvtv; \
40742 $(SHELL) $$s/$$module_srcdir/configure \
40743 --srcdir=$${topdir}/$$module_srcdir \
40744 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40745 --target=${target_alias} \
40746 --with-build-libsubdir=$(HOST_SUBDIR) \
40747 $(STAGEfeedback_CONFIGURE_FLAGS)
40748 @endif target-libvtv-bootstrap
40750 .PHONY: configure-stageautoprofile-target-libvtv maybe-configure-stageautoprofile-target-libvtv
40751 maybe-configure-stageautoprofile-target-libvtv:
40752 @if target-libvtv-bootstrap
40753 maybe-configure-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
40754 configure-stageautoprofile-target-libvtv:
40755 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40756 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40757 @r=`${PWD_COMMAND}`; export r; \
40758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40759 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40760 echo "Checking multilib configuration for libvtv..."; \
40761 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40762 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40763 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40764 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40765 else \
40766 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40767 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40768 fi; \
40769 else \
40770 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40771 fi; \
40772 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40773 $(RAW_CXX_TARGET_EXPORTS) \
40775 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40776 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40777 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40778 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libvtv; \
40779 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40780 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40781 case $(srcdir) in \
40782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40783 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40785 esac; \
40786 module_srcdir=libvtv; \
40787 $(SHELL) $$s/$$module_srcdir/configure \
40788 --srcdir=$${topdir}/$$module_srcdir \
40789 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40790 --target=${target_alias} \
40791 --with-build-libsubdir=$(HOST_SUBDIR) \
40792 $(STAGEautoprofile_CONFIGURE_FLAGS)
40793 @endif target-libvtv-bootstrap
40795 .PHONY: configure-stageautofeedback-target-libvtv maybe-configure-stageautofeedback-target-libvtv
40796 maybe-configure-stageautofeedback-target-libvtv:
40797 @if target-libvtv-bootstrap
40798 maybe-configure-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
40799 configure-stageautofeedback-target-libvtv:
40800 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40801 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
40802 @r=`${PWD_COMMAND}`; export r; \
40803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40804 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40805 echo "Checking multilib configuration for libvtv..."; \
40806 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
40807 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40808 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
40809 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
40810 else \
40811 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
40812 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40813 fi; \
40814 else \
40815 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
40816 fi; \
40817 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
40818 $(RAW_CXX_TARGET_EXPORTS) \
40820 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
40821 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
40822 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
40823 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libvtv; \
40824 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
40825 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
40826 case $(srcdir) in \
40827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40828 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
40829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40830 esac; \
40831 module_srcdir=libvtv; \
40832 $(SHELL) $$s/$$module_srcdir/configure \
40833 --srcdir=$${topdir}/$$module_srcdir \
40834 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40835 --target=${target_alias} \
40836 --with-build-libsubdir=$(HOST_SUBDIR) \
40837 $(STAGEautofeedback_CONFIGURE_FLAGS)
40838 @endif target-libvtv-bootstrap
40844 .PHONY: all-target-libvtv maybe-all-target-libvtv
40845 maybe-all-target-libvtv:
40846 @if gcc-bootstrap
40847 all-target-libvtv: stage_current
40848 @endif gcc-bootstrap
40849 @if target-libvtv
40850 TARGET-target-libvtv=all
40851 maybe-all-target-libvtv: all-target-libvtv
40852 all-target-libvtv: configure-target-libvtv
40853 @r=`${PWD_COMMAND}`; export r; \
40854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40855 $(RAW_CXX_TARGET_EXPORTS) \
40856 (cd $(TARGET_SUBDIR)/libvtv && \
40857 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40858 $(TARGET-target-libvtv))
40859 @endif target-libvtv
40863 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
40864 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
40865 maybe-all-stage1-target-libvtv:
40866 maybe-clean-stage1-target-libvtv:
40867 @if target-libvtv-bootstrap
40868 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
40869 all-stage1: all-stage1-target-libvtv
40870 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
40871 all-stage1-target-libvtv: configure-stage1-target-libvtv
40872 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40873 @r=`${PWD_COMMAND}`; export r; \
40874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40875 TFLAGS="$(STAGE1_TFLAGS)"; \
40876 $(RAW_CXX_TARGET_EXPORTS) \
40877 cd $(TARGET_SUBDIR)/libvtv && \
40879 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40880 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40881 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40882 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40883 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40884 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40885 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40886 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40888 TFLAGS="$(STAGE1_TFLAGS)" \
40889 $(TARGET-stage1-target-libvtv)
40891 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
40892 clean-stage1: clean-stage1-target-libvtv
40893 clean-stage1-target-libvtv:
40894 @if [ $(current_stage) = stage1 ]; then \
40895 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40896 else \
40897 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
40898 $(MAKE) stage1-start; \
40899 fi; \
40900 cd $(TARGET_SUBDIR)/libvtv && \
40901 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40902 clean
40903 @endif target-libvtv-bootstrap
40906 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
40907 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
40908 maybe-all-stage2-target-libvtv:
40909 maybe-clean-stage2-target-libvtv:
40910 @if target-libvtv-bootstrap
40911 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
40912 all-stage2: all-stage2-target-libvtv
40913 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
40914 all-stage2-target-libvtv: configure-stage2-target-libvtv
40915 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40916 @r=`${PWD_COMMAND}`; export r; \
40917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40918 TFLAGS="$(STAGE2_TFLAGS)"; \
40919 $(RAW_CXX_TARGET_EXPORTS) \
40921 cd $(TARGET_SUBDIR)/libvtv && \
40923 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40924 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40925 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40926 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40927 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40928 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40929 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40930 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40931 TFLAGS="$(STAGE2_TFLAGS)" \
40932 $(TARGET-stage2-target-libvtv)
40934 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
40935 clean-stage2: clean-stage2-target-libvtv
40936 clean-stage2-target-libvtv:
40937 @if [ $(current_stage) = stage2 ]; then \
40938 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40939 else \
40940 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
40941 $(MAKE) stage2-start; \
40942 fi; \
40943 cd $(TARGET_SUBDIR)/libvtv && \
40944 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40945 @endif target-libvtv-bootstrap
40948 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
40949 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
40950 maybe-all-stage3-target-libvtv:
40951 maybe-clean-stage3-target-libvtv:
40952 @if target-libvtv-bootstrap
40953 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
40954 all-stage3: all-stage3-target-libvtv
40955 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
40956 all-stage3-target-libvtv: configure-stage3-target-libvtv
40957 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40958 @r=`${PWD_COMMAND}`; export r; \
40959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40960 TFLAGS="$(STAGE3_TFLAGS)"; \
40961 $(RAW_CXX_TARGET_EXPORTS) \
40963 cd $(TARGET_SUBDIR)/libvtv && \
40965 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40966 CFLAGS="$(CFLAGS_FOR_TARGET)" \
40967 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
40968 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
40969 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40970 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40971 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40972 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40973 TFLAGS="$(STAGE3_TFLAGS)" \
40974 $(TARGET-stage3-target-libvtv)
40976 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
40977 clean-stage3: clean-stage3-target-libvtv
40978 clean-stage3-target-libvtv:
40979 @if [ $(current_stage) = stage3 ]; then \
40980 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
40981 else \
40982 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
40983 $(MAKE) stage3-start; \
40984 fi; \
40985 cd $(TARGET_SUBDIR)/libvtv && \
40986 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
40987 @endif target-libvtv-bootstrap
40990 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
40991 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
40992 maybe-all-stage4-target-libvtv:
40993 maybe-clean-stage4-target-libvtv:
40994 @if target-libvtv-bootstrap
40995 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
40996 all-stage4: all-stage4-target-libvtv
40997 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
40998 all-stage4-target-libvtv: configure-stage4-target-libvtv
40999 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
41000 @r=`${PWD_COMMAND}`; export r; \
41001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41002 TFLAGS="$(STAGE4_TFLAGS)"; \
41003 $(RAW_CXX_TARGET_EXPORTS) \
41005 cd $(TARGET_SUBDIR)/libvtv && \
41007 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41008 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41009 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41010 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41011 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41012 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41013 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41014 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41015 TFLAGS="$(STAGE4_TFLAGS)" \
41016 $(TARGET-stage4-target-libvtv)
41018 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
41019 clean-stage4: clean-stage4-target-libvtv
41020 clean-stage4-target-libvtv:
41021 @if [ $(current_stage) = stage4 ]; then \
41022 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41023 else \
41024 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
41025 $(MAKE) stage4-start; \
41026 fi; \
41027 cd $(TARGET_SUBDIR)/libvtv && \
41028 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41029 @endif target-libvtv-bootstrap
41032 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
41033 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
41034 maybe-all-stageprofile-target-libvtv:
41035 maybe-clean-stageprofile-target-libvtv:
41036 @if target-libvtv-bootstrap
41037 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
41038 all-stageprofile: all-stageprofile-target-libvtv
41039 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
41040 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
41041 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
41042 @r=`${PWD_COMMAND}`; export r; \
41043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41044 TFLAGS="$(STAGEprofile_TFLAGS)"; \
41045 $(RAW_CXX_TARGET_EXPORTS) \
41047 cd $(TARGET_SUBDIR)/libvtv && \
41049 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41050 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41051 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41052 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41053 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41054 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41055 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41056 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41057 TFLAGS="$(STAGEprofile_TFLAGS)" \
41058 $(TARGET-stageprofile-target-libvtv)
41060 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
41061 clean-stageprofile: clean-stageprofile-target-libvtv
41062 clean-stageprofile-target-libvtv:
41063 @if [ $(current_stage) = stageprofile ]; then \
41064 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41065 else \
41066 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
41067 $(MAKE) stageprofile-start; \
41068 fi; \
41069 cd $(TARGET_SUBDIR)/libvtv && \
41070 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41071 @endif target-libvtv-bootstrap
41074 .PHONY: all-stagetrain-target-libvtv maybe-all-stagetrain-target-libvtv
41075 .PHONY: clean-stagetrain-target-libvtv maybe-clean-stagetrain-target-libvtv
41076 maybe-all-stagetrain-target-libvtv:
41077 maybe-clean-stagetrain-target-libvtv:
41078 @if target-libvtv-bootstrap
41079 maybe-all-stagetrain-target-libvtv: all-stagetrain-target-libvtv
41080 all-stagetrain: all-stagetrain-target-libvtv
41081 TARGET-stagetrain-target-libvtv = $(TARGET-target-libvtv)
41082 all-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
41083 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
41084 @r=`${PWD_COMMAND}`; export r; \
41085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41086 TFLAGS="$(STAGEtrain_TFLAGS)"; \
41087 $(RAW_CXX_TARGET_EXPORTS) \
41089 cd $(TARGET_SUBDIR)/libvtv && \
41091 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41092 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41093 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41094 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41095 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41096 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41097 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41098 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41099 TFLAGS="$(STAGEtrain_TFLAGS)" \
41100 $(TARGET-stagetrain-target-libvtv)
41102 maybe-clean-stagetrain-target-libvtv: clean-stagetrain-target-libvtv
41103 clean-stagetrain: clean-stagetrain-target-libvtv
41104 clean-stagetrain-target-libvtv:
41105 @if [ $(current_stage) = stagetrain ]; then \
41106 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41107 else \
41108 [ -f $(TARGET_SUBDIR)/stagetrain-libvtv/Makefile ] || exit 0; \
41109 $(MAKE) stagetrain-start; \
41110 fi; \
41111 cd $(TARGET_SUBDIR)/libvtv && \
41112 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41113 @endif target-libvtv-bootstrap
41116 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
41117 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
41118 maybe-all-stagefeedback-target-libvtv:
41119 maybe-clean-stagefeedback-target-libvtv:
41120 @if target-libvtv-bootstrap
41121 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
41122 all-stagefeedback: all-stagefeedback-target-libvtv
41123 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
41124 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
41125 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
41126 @r=`${PWD_COMMAND}`; export r; \
41127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41128 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
41129 $(RAW_CXX_TARGET_EXPORTS) \
41131 cd $(TARGET_SUBDIR)/libvtv && \
41133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41134 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41135 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41136 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41140 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41141 TFLAGS="$(STAGEfeedback_TFLAGS)" \
41142 $(TARGET-stagefeedback-target-libvtv)
41144 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
41145 clean-stagefeedback: clean-stagefeedback-target-libvtv
41146 clean-stagefeedback-target-libvtv:
41147 @if [ $(current_stage) = stagefeedback ]; then \
41148 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41149 else \
41150 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
41151 $(MAKE) stagefeedback-start; \
41152 fi; \
41153 cd $(TARGET_SUBDIR)/libvtv && \
41154 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41155 @endif target-libvtv-bootstrap
41158 .PHONY: all-stageautoprofile-target-libvtv maybe-all-stageautoprofile-target-libvtv
41159 .PHONY: clean-stageautoprofile-target-libvtv maybe-clean-stageautoprofile-target-libvtv
41160 maybe-all-stageautoprofile-target-libvtv:
41161 maybe-clean-stageautoprofile-target-libvtv:
41162 @if target-libvtv-bootstrap
41163 maybe-all-stageautoprofile-target-libvtv: all-stageautoprofile-target-libvtv
41164 all-stageautoprofile: all-stageautoprofile-target-libvtv
41165 TARGET-stageautoprofile-target-libvtv = $(TARGET-target-libvtv)
41166 all-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
41167 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41168 @r=`${PWD_COMMAND}`; export r; \
41169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41170 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41171 $(RAW_CXX_TARGET_EXPORTS) \
41173 cd $(TARGET_SUBDIR)/libvtv && \
41174 $$s/gcc/config/i386/$(AUTO_PROFILE) \
41175 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41176 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41177 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41178 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41179 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41180 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41181 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41182 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41183 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
41184 $(TARGET-stageautoprofile-target-libvtv)
41186 maybe-clean-stageautoprofile-target-libvtv: clean-stageautoprofile-target-libvtv
41187 clean-stageautoprofile: clean-stageautoprofile-target-libvtv
41188 clean-stageautoprofile-target-libvtv:
41189 @if [ $(current_stage) = stageautoprofile ]; then \
41190 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41191 else \
41192 [ -f $(TARGET_SUBDIR)/stageautoprofile-libvtv/Makefile ] || exit 0; \
41193 $(MAKE) stageautoprofile-start; \
41194 fi; \
41195 cd $(TARGET_SUBDIR)/libvtv && \
41196 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41197 @endif target-libvtv-bootstrap
41200 .PHONY: all-stageautofeedback-target-libvtv maybe-all-stageautofeedback-target-libvtv
41201 .PHONY: clean-stageautofeedback-target-libvtv maybe-clean-stageautofeedback-target-libvtv
41202 maybe-all-stageautofeedback-target-libvtv:
41203 maybe-clean-stageautofeedback-target-libvtv:
41204 @if target-libvtv-bootstrap
41205 maybe-all-stageautofeedback-target-libvtv: all-stageautofeedback-target-libvtv
41206 all-stageautofeedback: all-stageautofeedback-target-libvtv
41207 TARGET-stageautofeedback-target-libvtv = $(TARGET-target-libvtv)
41208 all-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
41209 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41210 @r=`${PWD_COMMAND}`; export r; \
41211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41212 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41213 $(RAW_CXX_TARGET_EXPORTS) \
41215 cd $(TARGET_SUBDIR)/libvtv && \
41217 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41218 CFLAGS="$(CFLAGS_FOR_TARGET)" \
41219 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
41220 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
41221 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41222 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41223 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41224 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41225 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
41226 $(TARGET-stageautofeedback-target-libvtv)
41228 maybe-clean-stageautofeedback-target-libvtv: clean-stageautofeedback-target-libvtv
41229 clean-stageautofeedback: clean-stageautofeedback-target-libvtv
41230 clean-stageautofeedback-target-libvtv:
41231 @if [ $(current_stage) = stageautofeedback ]; then \
41232 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41233 else \
41234 [ -f $(TARGET_SUBDIR)/stageautofeedback-libvtv/Makefile ] || exit 0; \
41235 $(MAKE) stageautofeedback-start; \
41236 fi; \
41237 cd $(TARGET_SUBDIR)/libvtv && \
41238 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
41239 @endif target-libvtv-bootstrap
41246 .PHONY: check-target-libvtv maybe-check-target-libvtv
41247 maybe-check-target-libvtv:
41248 @if target-libvtv
41249 maybe-check-target-libvtv: check-target-libvtv
41251 check-target-libvtv:
41252 @: $(MAKE); $(unstage)
41253 @r=`${PWD_COMMAND}`; export r; \
41254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41255 $(RAW_CXX_TARGET_EXPORTS) \
41256 (cd $(TARGET_SUBDIR)/libvtv && \
41257 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41259 @endif target-libvtv
41261 .PHONY: install-target-libvtv maybe-install-target-libvtv
41262 maybe-install-target-libvtv:
41263 @if target-libvtv
41264 maybe-install-target-libvtv: install-target-libvtv
41266 install-target-libvtv: installdirs
41267 @: $(MAKE); $(unstage)
41268 @r=`${PWD_COMMAND}`; export r; \
41269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41270 $(RAW_CXX_TARGET_EXPORTS) \
41271 (cd $(TARGET_SUBDIR)/libvtv && \
41272 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41274 @endif target-libvtv
41276 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
41277 maybe-install-strip-target-libvtv:
41278 @if target-libvtv
41279 maybe-install-strip-target-libvtv: install-strip-target-libvtv
41281 install-strip-target-libvtv: installdirs
41282 @: $(MAKE); $(unstage)
41283 @r=`${PWD_COMMAND}`; export r; \
41284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41285 $(RAW_CXX_TARGET_EXPORTS) \
41286 (cd $(TARGET_SUBDIR)/libvtv && \
41287 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41289 @endif target-libvtv
41291 # Other targets (info, dvi, pdf, etc.)
41293 .PHONY: maybe-info-target-libvtv info-target-libvtv
41294 maybe-info-target-libvtv:
41295 @if target-libvtv
41296 maybe-info-target-libvtv: info-target-libvtv
41298 info-target-libvtv: \
41299 configure-target-libvtv
41300 @: $(MAKE); $(unstage)
41301 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41302 r=`${PWD_COMMAND}`; export r; \
41303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41304 $(RAW_CXX_TARGET_EXPORTS) \
41305 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
41306 for flag in $(EXTRA_TARGET_FLAGS); do \
41307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41308 done; \
41309 (cd $(TARGET_SUBDIR)/libvtv && \
41310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41312 "RANLIB=$${RANLIB}" \
41313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41314 info) \
41315 || exit 1
41317 @endif target-libvtv
41319 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
41320 maybe-dvi-target-libvtv:
41321 @if target-libvtv
41322 maybe-dvi-target-libvtv: dvi-target-libvtv
41324 dvi-target-libvtv: \
41325 configure-target-libvtv
41326 @: $(MAKE); $(unstage)
41327 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41328 r=`${PWD_COMMAND}`; export r; \
41329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41330 $(RAW_CXX_TARGET_EXPORTS) \
41331 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
41332 for flag in $(EXTRA_TARGET_FLAGS); do \
41333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41334 done; \
41335 (cd $(TARGET_SUBDIR)/libvtv && \
41336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41338 "RANLIB=$${RANLIB}" \
41339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41340 dvi) \
41341 || exit 1
41343 @endif target-libvtv
41345 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
41346 maybe-pdf-target-libvtv:
41347 @if target-libvtv
41348 maybe-pdf-target-libvtv: pdf-target-libvtv
41350 pdf-target-libvtv: \
41351 configure-target-libvtv
41352 @: $(MAKE); $(unstage)
41353 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41354 r=`${PWD_COMMAND}`; export r; \
41355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41356 $(RAW_CXX_TARGET_EXPORTS) \
41357 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
41358 for flag in $(EXTRA_TARGET_FLAGS); do \
41359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41360 done; \
41361 (cd $(TARGET_SUBDIR)/libvtv && \
41362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41364 "RANLIB=$${RANLIB}" \
41365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41366 pdf) \
41367 || exit 1
41369 @endif target-libvtv
41371 .PHONY: maybe-html-target-libvtv html-target-libvtv
41372 maybe-html-target-libvtv:
41373 @if target-libvtv
41374 maybe-html-target-libvtv: html-target-libvtv
41376 html-target-libvtv: \
41377 configure-target-libvtv
41378 @: $(MAKE); $(unstage)
41379 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41380 r=`${PWD_COMMAND}`; export r; \
41381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41382 $(RAW_CXX_TARGET_EXPORTS) \
41383 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
41384 for flag in $(EXTRA_TARGET_FLAGS); do \
41385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41386 done; \
41387 (cd $(TARGET_SUBDIR)/libvtv && \
41388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41390 "RANLIB=$${RANLIB}" \
41391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41392 html) \
41393 || exit 1
41395 @endif target-libvtv
41397 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
41398 maybe-TAGS-target-libvtv:
41399 @if target-libvtv
41400 maybe-TAGS-target-libvtv: TAGS-target-libvtv
41402 TAGS-target-libvtv: \
41403 configure-target-libvtv
41404 @: $(MAKE); $(unstage)
41405 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41406 r=`${PWD_COMMAND}`; export r; \
41407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41408 $(RAW_CXX_TARGET_EXPORTS) \
41409 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
41410 for flag in $(EXTRA_TARGET_FLAGS); do \
41411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41412 done; \
41413 (cd $(TARGET_SUBDIR)/libvtv && \
41414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41416 "RANLIB=$${RANLIB}" \
41417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41418 TAGS) \
41419 || exit 1
41421 @endif target-libvtv
41423 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
41424 maybe-install-info-target-libvtv:
41425 @if target-libvtv
41426 maybe-install-info-target-libvtv: install-info-target-libvtv
41428 install-info-target-libvtv: \
41429 configure-target-libvtv \
41430 info-target-libvtv
41431 @: $(MAKE); $(unstage)
41432 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41433 r=`${PWD_COMMAND}`; export r; \
41434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41435 $(RAW_CXX_TARGET_EXPORTS) \
41436 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
41437 for flag in $(EXTRA_TARGET_FLAGS); do \
41438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41439 done; \
41440 (cd $(TARGET_SUBDIR)/libvtv && \
41441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41443 "RANLIB=$${RANLIB}" \
41444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41445 install-info) \
41446 || exit 1
41448 @endif target-libvtv
41450 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
41451 maybe-install-pdf-target-libvtv:
41452 @if target-libvtv
41453 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
41455 install-pdf-target-libvtv: \
41456 configure-target-libvtv \
41457 pdf-target-libvtv
41458 @: $(MAKE); $(unstage)
41459 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41460 r=`${PWD_COMMAND}`; export r; \
41461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41462 $(RAW_CXX_TARGET_EXPORTS) \
41463 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
41464 for flag in $(EXTRA_TARGET_FLAGS); do \
41465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41466 done; \
41467 (cd $(TARGET_SUBDIR)/libvtv && \
41468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41470 "RANLIB=$${RANLIB}" \
41471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41472 install-pdf) \
41473 || exit 1
41475 @endif target-libvtv
41477 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
41478 maybe-install-html-target-libvtv:
41479 @if target-libvtv
41480 maybe-install-html-target-libvtv: install-html-target-libvtv
41482 install-html-target-libvtv: \
41483 configure-target-libvtv \
41484 html-target-libvtv
41485 @: $(MAKE); $(unstage)
41486 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41487 r=`${PWD_COMMAND}`; export r; \
41488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41489 $(RAW_CXX_TARGET_EXPORTS) \
41490 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
41491 for flag in $(EXTRA_TARGET_FLAGS); do \
41492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41493 done; \
41494 (cd $(TARGET_SUBDIR)/libvtv && \
41495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41497 "RANLIB=$${RANLIB}" \
41498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41499 install-html) \
41500 || exit 1
41502 @endif target-libvtv
41504 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
41505 maybe-installcheck-target-libvtv:
41506 @if target-libvtv
41507 maybe-installcheck-target-libvtv: installcheck-target-libvtv
41509 installcheck-target-libvtv: \
41510 configure-target-libvtv
41511 @: $(MAKE); $(unstage)
41512 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41513 r=`${PWD_COMMAND}`; export r; \
41514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41515 $(RAW_CXX_TARGET_EXPORTS) \
41516 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
41517 for flag in $(EXTRA_TARGET_FLAGS); do \
41518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41519 done; \
41520 (cd $(TARGET_SUBDIR)/libvtv && \
41521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41523 "RANLIB=$${RANLIB}" \
41524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41525 installcheck) \
41526 || exit 1
41528 @endif target-libvtv
41530 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
41531 maybe-mostlyclean-target-libvtv:
41532 @if target-libvtv
41533 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
41535 mostlyclean-target-libvtv:
41536 @: $(MAKE); $(unstage)
41537 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41538 r=`${PWD_COMMAND}`; export r; \
41539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41540 $(RAW_CXX_TARGET_EXPORTS) \
41541 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
41542 for flag in $(EXTRA_TARGET_FLAGS); do \
41543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41544 done; \
41545 (cd $(TARGET_SUBDIR)/libvtv && \
41546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41548 "RANLIB=$${RANLIB}" \
41549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41550 mostlyclean) \
41551 || exit 1
41553 @endif target-libvtv
41555 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
41556 maybe-clean-target-libvtv:
41557 @if target-libvtv
41558 maybe-clean-target-libvtv: clean-target-libvtv
41560 clean-target-libvtv:
41561 @: $(MAKE); $(unstage)
41562 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41563 r=`${PWD_COMMAND}`; export r; \
41564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41565 $(RAW_CXX_TARGET_EXPORTS) \
41566 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
41567 for flag in $(EXTRA_TARGET_FLAGS); do \
41568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41569 done; \
41570 (cd $(TARGET_SUBDIR)/libvtv && \
41571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41573 "RANLIB=$${RANLIB}" \
41574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41575 clean) \
41576 || exit 1
41578 @endif target-libvtv
41580 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
41581 maybe-distclean-target-libvtv:
41582 @if target-libvtv
41583 maybe-distclean-target-libvtv: distclean-target-libvtv
41585 distclean-target-libvtv:
41586 @: $(MAKE); $(unstage)
41587 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41588 r=`${PWD_COMMAND}`; export r; \
41589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41590 $(RAW_CXX_TARGET_EXPORTS) \
41591 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
41592 for flag in $(EXTRA_TARGET_FLAGS); do \
41593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41594 done; \
41595 (cd $(TARGET_SUBDIR)/libvtv && \
41596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41598 "RANLIB=$${RANLIB}" \
41599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41600 distclean) \
41601 || exit 1
41603 @endif target-libvtv
41605 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
41606 maybe-maintainer-clean-target-libvtv:
41607 @if target-libvtv
41608 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
41610 maintainer-clean-target-libvtv:
41611 @: $(MAKE); $(unstage)
41612 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
41613 r=`${PWD_COMMAND}`; export r; \
41614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41615 $(RAW_CXX_TARGET_EXPORTS) \
41616 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
41617 for flag in $(EXTRA_TARGET_FLAGS); do \
41618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41619 done; \
41620 (cd $(TARGET_SUBDIR)/libvtv && \
41621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41623 "RANLIB=$${RANLIB}" \
41624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41625 maintainer-clean) \
41626 || exit 1
41628 @endif target-libvtv
41634 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
41635 maybe-configure-target-liboffloadmic:
41636 @if gcc-bootstrap
41637 configure-target-liboffloadmic: stage_current
41638 @endif gcc-bootstrap
41639 @if target-liboffloadmic
41640 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
41641 configure-target-liboffloadmic:
41642 @: $(MAKE); $(unstage)
41643 @r=`${PWD_COMMAND}`; export r; \
41644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41645 echo "Checking multilib configuration for liboffloadmic..."; \
41646 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
41647 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
41648 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
41649 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
41650 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
41651 else \
41652 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
41653 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
41654 fi; \
41655 else \
41656 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
41657 fi; \
41658 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
41659 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
41660 $(NORMAL_TARGET_EXPORTS) \
41661 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
41662 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
41663 case $(srcdir) in \
41664 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41665 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
41666 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41667 esac; \
41668 module_srcdir=liboffloadmic; \
41669 rm -f no-such-file || : ; \
41670 CONFIG_SITE=no-such-file $(SHELL) \
41671 $$s/$$module_srcdir/configure \
41672 --srcdir=$${topdir}/$$module_srcdir \
41673 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41674 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
41675 || exit 1
41676 @endif target-liboffloadmic
41682 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
41683 maybe-all-target-liboffloadmic:
41684 @if gcc-bootstrap
41685 all-target-liboffloadmic: stage_current
41686 @endif gcc-bootstrap
41687 @if target-liboffloadmic
41688 TARGET-target-liboffloadmic=all
41689 maybe-all-target-liboffloadmic: all-target-liboffloadmic
41690 all-target-liboffloadmic: configure-target-liboffloadmic
41691 @: $(MAKE); $(unstage)
41692 @r=`${PWD_COMMAND}`; export r; \
41693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41694 $(NORMAL_TARGET_EXPORTS) \
41695 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41696 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41697 $(TARGET-target-liboffloadmic))
41698 @endif target-liboffloadmic
41704 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
41705 maybe-check-target-liboffloadmic:
41706 @if target-liboffloadmic
41707 maybe-check-target-liboffloadmic: check-target-liboffloadmic
41709 check-target-liboffloadmic:
41710 @: $(MAKE); $(unstage)
41711 @r=`${PWD_COMMAND}`; export r; \
41712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41713 $(NORMAL_TARGET_EXPORTS) \
41714 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41715 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41717 @endif target-liboffloadmic
41719 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
41720 maybe-install-target-liboffloadmic:
41721 @if target-liboffloadmic
41722 maybe-install-target-liboffloadmic: install-target-liboffloadmic
41724 install-target-liboffloadmic: installdirs
41725 @: $(MAKE); $(unstage)
41726 @r=`${PWD_COMMAND}`; export r; \
41727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41728 $(NORMAL_TARGET_EXPORTS) \
41729 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41730 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41732 @endif target-liboffloadmic
41734 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
41735 maybe-install-strip-target-liboffloadmic:
41736 @if target-liboffloadmic
41737 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
41739 install-strip-target-liboffloadmic: installdirs
41740 @: $(MAKE); $(unstage)
41741 @r=`${PWD_COMMAND}`; export r; \
41742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41743 $(NORMAL_TARGET_EXPORTS) \
41744 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41745 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41747 @endif target-liboffloadmic
41749 # Other targets (info, dvi, pdf, etc.)
41751 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
41752 maybe-info-target-liboffloadmic:
41753 @if target-liboffloadmic
41754 maybe-info-target-liboffloadmic: info-target-liboffloadmic
41756 info-target-liboffloadmic: \
41757 configure-target-liboffloadmic
41758 @: $(MAKE); $(unstage)
41759 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41760 r=`${PWD_COMMAND}`; export r; \
41761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41762 $(NORMAL_TARGET_EXPORTS) \
41763 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
41764 for flag in $(EXTRA_TARGET_FLAGS); do \
41765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41766 done; \
41767 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41770 "RANLIB=$${RANLIB}" \
41771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41772 info) \
41773 || exit 1
41775 @endif target-liboffloadmic
41777 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
41778 maybe-dvi-target-liboffloadmic:
41779 @if target-liboffloadmic
41780 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
41782 dvi-target-liboffloadmic: \
41783 configure-target-liboffloadmic
41784 @: $(MAKE); $(unstage)
41785 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41786 r=`${PWD_COMMAND}`; export r; \
41787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41788 $(NORMAL_TARGET_EXPORTS) \
41789 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
41790 for flag in $(EXTRA_TARGET_FLAGS); do \
41791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41792 done; \
41793 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41796 "RANLIB=$${RANLIB}" \
41797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41798 dvi) \
41799 || exit 1
41801 @endif target-liboffloadmic
41803 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
41804 maybe-pdf-target-liboffloadmic:
41805 @if target-liboffloadmic
41806 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
41808 pdf-target-liboffloadmic: \
41809 configure-target-liboffloadmic
41810 @: $(MAKE); $(unstage)
41811 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41812 r=`${PWD_COMMAND}`; export r; \
41813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41814 $(NORMAL_TARGET_EXPORTS) \
41815 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
41816 for flag in $(EXTRA_TARGET_FLAGS); do \
41817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41818 done; \
41819 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41822 "RANLIB=$${RANLIB}" \
41823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41824 pdf) \
41825 || exit 1
41827 @endif target-liboffloadmic
41829 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
41830 maybe-html-target-liboffloadmic:
41831 @if target-liboffloadmic
41832 maybe-html-target-liboffloadmic: html-target-liboffloadmic
41834 html-target-liboffloadmic: \
41835 configure-target-liboffloadmic
41836 @: $(MAKE); $(unstage)
41837 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41838 r=`${PWD_COMMAND}`; export r; \
41839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41840 $(NORMAL_TARGET_EXPORTS) \
41841 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
41842 for flag in $(EXTRA_TARGET_FLAGS); do \
41843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41844 done; \
41845 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41848 "RANLIB=$${RANLIB}" \
41849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41850 html) \
41851 || exit 1
41853 @endif target-liboffloadmic
41855 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
41856 maybe-TAGS-target-liboffloadmic:
41857 @if target-liboffloadmic
41858 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
41860 TAGS-target-liboffloadmic: \
41861 configure-target-liboffloadmic
41862 @: $(MAKE); $(unstage)
41863 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41864 r=`${PWD_COMMAND}`; export r; \
41865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41866 $(NORMAL_TARGET_EXPORTS) \
41867 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
41868 for flag in $(EXTRA_TARGET_FLAGS); do \
41869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41870 done; \
41871 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41874 "RANLIB=$${RANLIB}" \
41875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41876 TAGS) \
41877 || exit 1
41879 @endif target-liboffloadmic
41881 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
41882 maybe-install-info-target-liboffloadmic:
41883 @if target-liboffloadmic
41884 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
41886 install-info-target-liboffloadmic: \
41887 configure-target-liboffloadmic \
41888 info-target-liboffloadmic
41889 @: $(MAKE); $(unstage)
41890 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41891 r=`${PWD_COMMAND}`; export r; \
41892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41893 $(NORMAL_TARGET_EXPORTS) \
41894 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
41895 for flag in $(EXTRA_TARGET_FLAGS); do \
41896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41897 done; \
41898 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41901 "RANLIB=$${RANLIB}" \
41902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41903 install-info) \
41904 || exit 1
41906 @endif target-liboffloadmic
41908 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
41909 maybe-install-pdf-target-liboffloadmic:
41910 @if target-liboffloadmic
41911 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
41913 install-pdf-target-liboffloadmic: \
41914 configure-target-liboffloadmic \
41915 pdf-target-liboffloadmic
41916 @: $(MAKE); $(unstage)
41917 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41918 r=`${PWD_COMMAND}`; export r; \
41919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41920 $(NORMAL_TARGET_EXPORTS) \
41921 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
41922 for flag in $(EXTRA_TARGET_FLAGS); do \
41923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41924 done; \
41925 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41928 "RANLIB=$${RANLIB}" \
41929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41930 install-pdf) \
41931 || exit 1
41933 @endif target-liboffloadmic
41935 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
41936 maybe-install-html-target-liboffloadmic:
41937 @if target-liboffloadmic
41938 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
41940 install-html-target-liboffloadmic: \
41941 configure-target-liboffloadmic \
41942 html-target-liboffloadmic
41943 @: $(MAKE); $(unstage)
41944 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41945 r=`${PWD_COMMAND}`; export r; \
41946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41947 $(NORMAL_TARGET_EXPORTS) \
41948 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
41949 for flag in $(EXTRA_TARGET_FLAGS); do \
41950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41951 done; \
41952 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41955 "RANLIB=$${RANLIB}" \
41956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41957 install-html) \
41958 || exit 1
41960 @endif target-liboffloadmic
41962 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
41963 maybe-installcheck-target-liboffloadmic:
41964 @if target-liboffloadmic
41965 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
41967 installcheck-target-liboffloadmic: \
41968 configure-target-liboffloadmic
41969 @: $(MAKE); $(unstage)
41970 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41971 r=`${PWD_COMMAND}`; export r; \
41972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41973 $(NORMAL_TARGET_EXPORTS) \
41974 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
41975 for flag in $(EXTRA_TARGET_FLAGS); do \
41976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41977 done; \
41978 (cd $(TARGET_SUBDIR)/liboffloadmic && \
41979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41981 "RANLIB=$${RANLIB}" \
41982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41983 installcheck) \
41984 || exit 1
41986 @endif target-liboffloadmic
41988 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
41989 maybe-mostlyclean-target-liboffloadmic:
41990 @if target-liboffloadmic
41991 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
41993 mostlyclean-target-liboffloadmic:
41994 @: $(MAKE); $(unstage)
41995 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
41996 r=`${PWD_COMMAND}`; export r; \
41997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41998 $(NORMAL_TARGET_EXPORTS) \
41999 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
42000 for flag in $(EXTRA_TARGET_FLAGS); do \
42001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42002 done; \
42003 (cd $(TARGET_SUBDIR)/liboffloadmic && \
42004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42006 "RANLIB=$${RANLIB}" \
42007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42008 mostlyclean) \
42009 || exit 1
42011 @endif target-liboffloadmic
42013 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
42014 maybe-clean-target-liboffloadmic:
42015 @if target-liboffloadmic
42016 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
42018 clean-target-liboffloadmic:
42019 @: $(MAKE); $(unstage)
42020 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
42021 r=`${PWD_COMMAND}`; export r; \
42022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42023 $(NORMAL_TARGET_EXPORTS) \
42024 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
42025 for flag in $(EXTRA_TARGET_FLAGS); do \
42026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42027 done; \
42028 (cd $(TARGET_SUBDIR)/liboffloadmic && \
42029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42031 "RANLIB=$${RANLIB}" \
42032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42033 clean) \
42034 || exit 1
42036 @endif target-liboffloadmic
42038 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
42039 maybe-distclean-target-liboffloadmic:
42040 @if target-liboffloadmic
42041 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
42043 distclean-target-liboffloadmic:
42044 @: $(MAKE); $(unstage)
42045 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
42046 r=`${PWD_COMMAND}`; export r; \
42047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42048 $(NORMAL_TARGET_EXPORTS) \
42049 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
42050 for flag in $(EXTRA_TARGET_FLAGS); do \
42051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42052 done; \
42053 (cd $(TARGET_SUBDIR)/liboffloadmic && \
42054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42056 "RANLIB=$${RANLIB}" \
42057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42058 distclean) \
42059 || exit 1
42061 @endif target-liboffloadmic
42063 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
42064 maybe-maintainer-clean-target-liboffloadmic:
42065 @if target-liboffloadmic
42066 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
42068 maintainer-clean-target-liboffloadmic:
42069 @: $(MAKE); $(unstage)
42070 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
42071 r=`${PWD_COMMAND}`; export r; \
42072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42073 $(NORMAL_TARGET_EXPORTS) \
42074 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
42075 for flag in $(EXTRA_TARGET_FLAGS); do \
42076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42077 done; \
42078 (cd $(TARGET_SUBDIR)/liboffloadmic && \
42079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42081 "RANLIB=$${RANLIB}" \
42082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42083 maintainer-clean) \
42084 || exit 1
42086 @endif target-liboffloadmic
42092 .PHONY: configure-target-libssp maybe-configure-target-libssp
42093 maybe-configure-target-libssp:
42094 @if gcc-bootstrap
42095 configure-target-libssp: stage_current
42096 @endif gcc-bootstrap
42097 @if target-libssp
42098 maybe-configure-target-libssp: configure-target-libssp
42099 configure-target-libssp:
42100 @: $(MAKE); $(unstage)
42101 @r=`${PWD_COMMAND}`; export r; \
42102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42103 echo "Checking multilib configuration for libssp..."; \
42104 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
42105 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
42106 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
42107 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
42108 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
42109 else \
42110 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
42111 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
42112 fi; \
42113 else \
42114 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
42115 fi; \
42116 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
42117 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
42118 $(NORMAL_TARGET_EXPORTS) \
42119 echo Configuring in $(TARGET_SUBDIR)/libssp; \
42120 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
42121 case $(srcdir) in \
42122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42123 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
42124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42125 esac; \
42126 module_srcdir=libssp; \
42127 rm -f no-such-file || : ; \
42128 CONFIG_SITE=no-such-file $(SHELL) \
42129 $$s/$$module_srcdir/configure \
42130 --srcdir=$${topdir}/$$module_srcdir \
42131 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42132 --target=${target_alias} \
42133 || exit 1
42134 @endif target-libssp
42140 .PHONY: all-target-libssp maybe-all-target-libssp
42141 maybe-all-target-libssp:
42142 @if gcc-bootstrap
42143 all-target-libssp: stage_current
42144 @endif gcc-bootstrap
42145 @if target-libssp
42146 TARGET-target-libssp=all
42147 maybe-all-target-libssp: all-target-libssp
42148 all-target-libssp: configure-target-libssp
42149 @: $(MAKE); $(unstage)
42150 @r=`${PWD_COMMAND}`; export r; \
42151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42152 $(NORMAL_TARGET_EXPORTS) \
42153 (cd $(TARGET_SUBDIR)/libssp && \
42154 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42155 $(TARGET-target-libssp))
42156 @endif target-libssp
42162 .PHONY: check-target-libssp maybe-check-target-libssp
42163 maybe-check-target-libssp:
42164 @if target-libssp
42165 maybe-check-target-libssp: check-target-libssp
42167 check-target-libssp:
42168 @: $(MAKE); $(unstage)
42169 @r=`${PWD_COMMAND}`; export r; \
42170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42171 $(NORMAL_TARGET_EXPORTS) \
42172 (cd $(TARGET_SUBDIR)/libssp && \
42173 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42175 @endif target-libssp
42177 .PHONY: install-target-libssp maybe-install-target-libssp
42178 maybe-install-target-libssp:
42179 @if target-libssp
42180 maybe-install-target-libssp: install-target-libssp
42182 install-target-libssp: installdirs
42183 @: $(MAKE); $(unstage)
42184 @r=`${PWD_COMMAND}`; export r; \
42185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42186 $(NORMAL_TARGET_EXPORTS) \
42187 (cd $(TARGET_SUBDIR)/libssp && \
42188 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42190 @endif target-libssp
42192 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
42193 maybe-install-strip-target-libssp:
42194 @if target-libssp
42195 maybe-install-strip-target-libssp: install-strip-target-libssp
42197 install-strip-target-libssp: installdirs
42198 @: $(MAKE); $(unstage)
42199 @r=`${PWD_COMMAND}`; export r; \
42200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42201 $(NORMAL_TARGET_EXPORTS) \
42202 (cd $(TARGET_SUBDIR)/libssp && \
42203 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42205 @endif target-libssp
42207 # Other targets (info, dvi, pdf, etc.)
42209 .PHONY: maybe-info-target-libssp info-target-libssp
42210 maybe-info-target-libssp:
42211 @if target-libssp
42212 maybe-info-target-libssp: info-target-libssp
42214 info-target-libssp: \
42215 configure-target-libssp
42216 @: $(MAKE); $(unstage)
42217 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42218 r=`${PWD_COMMAND}`; export r; \
42219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42220 $(NORMAL_TARGET_EXPORTS) \
42221 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
42222 for flag in $(EXTRA_TARGET_FLAGS); do \
42223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42224 done; \
42225 (cd $(TARGET_SUBDIR)/libssp && \
42226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42228 "RANLIB=$${RANLIB}" \
42229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42230 info) \
42231 || exit 1
42233 @endif target-libssp
42235 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
42236 maybe-dvi-target-libssp:
42237 @if target-libssp
42238 maybe-dvi-target-libssp: dvi-target-libssp
42240 dvi-target-libssp: \
42241 configure-target-libssp
42242 @: $(MAKE); $(unstage)
42243 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42244 r=`${PWD_COMMAND}`; export r; \
42245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42246 $(NORMAL_TARGET_EXPORTS) \
42247 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
42248 for flag in $(EXTRA_TARGET_FLAGS); do \
42249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42250 done; \
42251 (cd $(TARGET_SUBDIR)/libssp && \
42252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42254 "RANLIB=$${RANLIB}" \
42255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42256 dvi) \
42257 || exit 1
42259 @endif target-libssp
42261 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
42262 maybe-pdf-target-libssp:
42263 @if target-libssp
42264 maybe-pdf-target-libssp: pdf-target-libssp
42266 pdf-target-libssp: \
42267 configure-target-libssp
42268 @: $(MAKE); $(unstage)
42269 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42270 r=`${PWD_COMMAND}`; export r; \
42271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42272 $(NORMAL_TARGET_EXPORTS) \
42273 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
42274 for flag in $(EXTRA_TARGET_FLAGS); do \
42275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42276 done; \
42277 (cd $(TARGET_SUBDIR)/libssp && \
42278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42280 "RANLIB=$${RANLIB}" \
42281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42282 pdf) \
42283 || exit 1
42285 @endif target-libssp
42287 .PHONY: maybe-html-target-libssp html-target-libssp
42288 maybe-html-target-libssp:
42289 @if target-libssp
42290 maybe-html-target-libssp: html-target-libssp
42292 html-target-libssp: \
42293 configure-target-libssp
42294 @: $(MAKE); $(unstage)
42295 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42296 r=`${PWD_COMMAND}`; export r; \
42297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42298 $(NORMAL_TARGET_EXPORTS) \
42299 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
42300 for flag in $(EXTRA_TARGET_FLAGS); do \
42301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42302 done; \
42303 (cd $(TARGET_SUBDIR)/libssp && \
42304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42306 "RANLIB=$${RANLIB}" \
42307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42308 html) \
42309 || exit 1
42311 @endif target-libssp
42313 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
42314 maybe-TAGS-target-libssp:
42315 @if target-libssp
42316 maybe-TAGS-target-libssp: TAGS-target-libssp
42318 TAGS-target-libssp: \
42319 configure-target-libssp
42320 @: $(MAKE); $(unstage)
42321 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42322 r=`${PWD_COMMAND}`; export r; \
42323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42324 $(NORMAL_TARGET_EXPORTS) \
42325 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
42326 for flag in $(EXTRA_TARGET_FLAGS); do \
42327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42328 done; \
42329 (cd $(TARGET_SUBDIR)/libssp && \
42330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42332 "RANLIB=$${RANLIB}" \
42333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42334 TAGS) \
42335 || exit 1
42337 @endif target-libssp
42339 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
42340 maybe-install-info-target-libssp:
42341 @if target-libssp
42342 maybe-install-info-target-libssp: install-info-target-libssp
42344 install-info-target-libssp: \
42345 configure-target-libssp \
42346 info-target-libssp
42347 @: $(MAKE); $(unstage)
42348 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42349 r=`${PWD_COMMAND}`; export r; \
42350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42351 $(NORMAL_TARGET_EXPORTS) \
42352 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
42353 for flag in $(EXTRA_TARGET_FLAGS); do \
42354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42355 done; \
42356 (cd $(TARGET_SUBDIR)/libssp && \
42357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42359 "RANLIB=$${RANLIB}" \
42360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42361 install-info) \
42362 || exit 1
42364 @endif target-libssp
42366 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
42367 maybe-install-pdf-target-libssp:
42368 @if target-libssp
42369 maybe-install-pdf-target-libssp: install-pdf-target-libssp
42371 install-pdf-target-libssp: \
42372 configure-target-libssp \
42373 pdf-target-libssp
42374 @: $(MAKE); $(unstage)
42375 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42376 r=`${PWD_COMMAND}`; export r; \
42377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42378 $(NORMAL_TARGET_EXPORTS) \
42379 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
42380 for flag in $(EXTRA_TARGET_FLAGS); do \
42381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42382 done; \
42383 (cd $(TARGET_SUBDIR)/libssp && \
42384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42386 "RANLIB=$${RANLIB}" \
42387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42388 install-pdf) \
42389 || exit 1
42391 @endif target-libssp
42393 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
42394 maybe-install-html-target-libssp:
42395 @if target-libssp
42396 maybe-install-html-target-libssp: install-html-target-libssp
42398 install-html-target-libssp: \
42399 configure-target-libssp \
42400 html-target-libssp
42401 @: $(MAKE); $(unstage)
42402 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42403 r=`${PWD_COMMAND}`; export r; \
42404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42405 $(NORMAL_TARGET_EXPORTS) \
42406 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
42407 for flag in $(EXTRA_TARGET_FLAGS); do \
42408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42409 done; \
42410 (cd $(TARGET_SUBDIR)/libssp && \
42411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42413 "RANLIB=$${RANLIB}" \
42414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42415 install-html) \
42416 || exit 1
42418 @endif target-libssp
42420 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
42421 maybe-installcheck-target-libssp:
42422 @if target-libssp
42423 maybe-installcheck-target-libssp: installcheck-target-libssp
42425 installcheck-target-libssp: \
42426 configure-target-libssp
42427 @: $(MAKE); $(unstage)
42428 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42429 r=`${PWD_COMMAND}`; export r; \
42430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42431 $(NORMAL_TARGET_EXPORTS) \
42432 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
42433 for flag in $(EXTRA_TARGET_FLAGS); do \
42434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42435 done; \
42436 (cd $(TARGET_SUBDIR)/libssp && \
42437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42439 "RANLIB=$${RANLIB}" \
42440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42441 installcheck) \
42442 || exit 1
42444 @endif target-libssp
42446 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
42447 maybe-mostlyclean-target-libssp:
42448 @if target-libssp
42449 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
42451 mostlyclean-target-libssp:
42452 @: $(MAKE); $(unstage)
42453 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42454 r=`${PWD_COMMAND}`; export r; \
42455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42456 $(NORMAL_TARGET_EXPORTS) \
42457 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
42458 for flag in $(EXTRA_TARGET_FLAGS); do \
42459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42460 done; \
42461 (cd $(TARGET_SUBDIR)/libssp && \
42462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42464 "RANLIB=$${RANLIB}" \
42465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42466 mostlyclean) \
42467 || exit 1
42469 @endif target-libssp
42471 .PHONY: maybe-clean-target-libssp clean-target-libssp
42472 maybe-clean-target-libssp:
42473 @if target-libssp
42474 maybe-clean-target-libssp: clean-target-libssp
42476 clean-target-libssp:
42477 @: $(MAKE); $(unstage)
42478 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42479 r=`${PWD_COMMAND}`; export r; \
42480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42481 $(NORMAL_TARGET_EXPORTS) \
42482 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
42483 for flag in $(EXTRA_TARGET_FLAGS); do \
42484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42485 done; \
42486 (cd $(TARGET_SUBDIR)/libssp && \
42487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42489 "RANLIB=$${RANLIB}" \
42490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42491 clean) \
42492 || exit 1
42494 @endif target-libssp
42496 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
42497 maybe-distclean-target-libssp:
42498 @if target-libssp
42499 maybe-distclean-target-libssp: distclean-target-libssp
42501 distclean-target-libssp:
42502 @: $(MAKE); $(unstage)
42503 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42504 r=`${PWD_COMMAND}`; export r; \
42505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42506 $(NORMAL_TARGET_EXPORTS) \
42507 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
42508 for flag in $(EXTRA_TARGET_FLAGS); do \
42509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42510 done; \
42511 (cd $(TARGET_SUBDIR)/libssp && \
42512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42514 "RANLIB=$${RANLIB}" \
42515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42516 distclean) \
42517 || exit 1
42519 @endif target-libssp
42521 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
42522 maybe-maintainer-clean-target-libssp:
42523 @if target-libssp
42524 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
42526 maintainer-clean-target-libssp:
42527 @: $(MAKE); $(unstage)
42528 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
42529 r=`${PWD_COMMAND}`; export r; \
42530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42531 $(NORMAL_TARGET_EXPORTS) \
42532 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
42533 for flag in $(EXTRA_TARGET_FLAGS); do \
42534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42535 done; \
42536 (cd $(TARGET_SUBDIR)/libssp && \
42537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42539 "RANLIB=$${RANLIB}" \
42540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42541 maintainer-clean) \
42542 || exit 1
42544 @endif target-libssp
42550 .PHONY: configure-target-newlib maybe-configure-target-newlib
42551 maybe-configure-target-newlib:
42552 @if gcc-bootstrap
42553 configure-target-newlib: stage_current
42554 @endif gcc-bootstrap
42555 @if target-newlib
42556 maybe-configure-target-newlib: configure-target-newlib
42557 configure-target-newlib:
42558 @: $(MAKE); $(unstage)
42559 @r=`${PWD_COMMAND}`; export r; \
42560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42561 echo "Checking multilib configuration for newlib..."; \
42562 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
42563 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
42564 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
42565 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
42566 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
42567 else \
42568 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
42569 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
42570 fi; \
42571 else \
42572 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
42573 fi; \
42574 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
42575 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
42576 $(NORMAL_TARGET_EXPORTS) \
42577 echo Configuring in $(TARGET_SUBDIR)/newlib; \
42578 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
42579 case $(srcdir) in \
42580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42581 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
42582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42583 esac; \
42584 module_srcdir=newlib; \
42585 rm -f no-such-file || : ; \
42586 CONFIG_SITE=no-such-file $(SHELL) \
42587 $$s/$$module_srcdir/configure \
42588 --srcdir=$${topdir}/$$module_srcdir \
42589 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42590 --target=${target_alias} \
42591 || exit 1
42592 @endif target-newlib
42598 .PHONY: all-target-newlib maybe-all-target-newlib
42599 maybe-all-target-newlib:
42600 @if gcc-bootstrap
42601 all-target-newlib: stage_current
42602 @endif gcc-bootstrap
42603 @if target-newlib
42604 TARGET-target-newlib=all
42605 maybe-all-target-newlib: all-target-newlib
42606 all-target-newlib: configure-target-newlib
42607 @: $(MAKE); $(unstage)
42608 @r=`${PWD_COMMAND}`; export r; \
42609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42610 $(NORMAL_TARGET_EXPORTS) \
42611 (cd $(TARGET_SUBDIR)/newlib && \
42612 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42613 $(TARGET-target-newlib))
42614 @endif target-newlib
42620 .PHONY: check-target-newlib maybe-check-target-newlib
42621 maybe-check-target-newlib:
42622 @if target-newlib
42623 maybe-check-target-newlib: check-target-newlib
42625 check-target-newlib:
42626 @: $(MAKE); $(unstage)
42627 @r=`${PWD_COMMAND}`; export r; \
42628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42629 $(NORMAL_TARGET_EXPORTS) \
42630 (cd $(TARGET_SUBDIR)/newlib && \
42631 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42633 @endif target-newlib
42635 .PHONY: install-target-newlib maybe-install-target-newlib
42636 maybe-install-target-newlib:
42637 @if target-newlib
42638 maybe-install-target-newlib: install-target-newlib
42640 install-target-newlib: installdirs
42641 @: $(MAKE); $(unstage)
42642 @r=`${PWD_COMMAND}`; export r; \
42643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42644 $(NORMAL_TARGET_EXPORTS) \
42645 (cd $(TARGET_SUBDIR)/newlib && \
42646 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42648 @endif target-newlib
42650 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
42651 maybe-install-strip-target-newlib:
42652 @if target-newlib
42653 maybe-install-strip-target-newlib: install-strip-target-newlib
42655 install-strip-target-newlib: installdirs
42656 @: $(MAKE); $(unstage)
42657 @r=`${PWD_COMMAND}`; export r; \
42658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42659 $(NORMAL_TARGET_EXPORTS) \
42660 (cd $(TARGET_SUBDIR)/newlib && \
42661 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42663 @endif target-newlib
42665 # Other targets (info, dvi, pdf, etc.)
42667 .PHONY: maybe-info-target-newlib info-target-newlib
42668 maybe-info-target-newlib:
42669 @if target-newlib
42670 maybe-info-target-newlib: info-target-newlib
42672 info-target-newlib: \
42673 configure-target-newlib
42674 @: $(MAKE); $(unstage)
42675 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42676 r=`${PWD_COMMAND}`; export r; \
42677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42678 $(NORMAL_TARGET_EXPORTS) \
42679 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
42680 for flag in $(EXTRA_TARGET_FLAGS); do \
42681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42682 done; \
42683 (cd $(TARGET_SUBDIR)/newlib && \
42684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42686 "RANLIB=$${RANLIB}" \
42687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42688 info) \
42689 || exit 1
42691 @endif target-newlib
42693 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
42694 maybe-dvi-target-newlib:
42695 @if target-newlib
42696 maybe-dvi-target-newlib: dvi-target-newlib
42698 dvi-target-newlib: \
42699 configure-target-newlib
42700 @: $(MAKE); $(unstage)
42701 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42702 r=`${PWD_COMMAND}`; export r; \
42703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42704 $(NORMAL_TARGET_EXPORTS) \
42705 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
42706 for flag in $(EXTRA_TARGET_FLAGS); do \
42707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42708 done; \
42709 (cd $(TARGET_SUBDIR)/newlib && \
42710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42712 "RANLIB=$${RANLIB}" \
42713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42714 dvi) \
42715 || exit 1
42717 @endif target-newlib
42719 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
42720 maybe-pdf-target-newlib:
42721 @if target-newlib
42722 maybe-pdf-target-newlib: pdf-target-newlib
42724 pdf-target-newlib: \
42725 configure-target-newlib
42726 @: $(MAKE); $(unstage)
42727 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42728 r=`${PWD_COMMAND}`; export r; \
42729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42730 $(NORMAL_TARGET_EXPORTS) \
42731 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
42732 for flag in $(EXTRA_TARGET_FLAGS); do \
42733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42734 done; \
42735 (cd $(TARGET_SUBDIR)/newlib && \
42736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42738 "RANLIB=$${RANLIB}" \
42739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42740 pdf) \
42741 || exit 1
42743 @endif target-newlib
42745 .PHONY: maybe-html-target-newlib html-target-newlib
42746 maybe-html-target-newlib:
42747 @if target-newlib
42748 maybe-html-target-newlib: html-target-newlib
42750 html-target-newlib: \
42751 configure-target-newlib
42752 @: $(MAKE); $(unstage)
42753 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42754 r=`${PWD_COMMAND}`; export r; \
42755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42756 $(NORMAL_TARGET_EXPORTS) \
42757 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
42758 for flag in $(EXTRA_TARGET_FLAGS); do \
42759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42760 done; \
42761 (cd $(TARGET_SUBDIR)/newlib && \
42762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42764 "RANLIB=$${RANLIB}" \
42765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42766 html) \
42767 || exit 1
42769 @endif target-newlib
42771 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
42772 maybe-TAGS-target-newlib:
42773 @if target-newlib
42774 maybe-TAGS-target-newlib: TAGS-target-newlib
42776 TAGS-target-newlib: \
42777 configure-target-newlib
42778 @: $(MAKE); $(unstage)
42779 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42780 r=`${PWD_COMMAND}`; export r; \
42781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42782 $(NORMAL_TARGET_EXPORTS) \
42783 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
42784 for flag in $(EXTRA_TARGET_FLAGS); do \
42785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42786 done; \
42787 (cd $(TARGET_SUBDIR)/newlib && \
42788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42790 "RANLIB=$${RANLIB}" \
42791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42792 TAGS) \
42793 || exit 1
42795 @endif target-newlib
42797 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
42798 maybe-install-info-target-newlib:
42799 @if target-newlib
42800 maybe-install-info-target-newlib: install-info-target-newlib
42802 install-info-target-newlib: \
42803 configure-target-newlib \
42804 info-target-newlib
42805 @: $(MAKE); $(unstage)
42806 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42807 r=`${PWD_COMMAND}`; export r; \
42808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42809 $(NORMAL_TARGET_EXPORTS) \
42810 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
42811 for flag in $(EXTRA_TARGET_FLAGS); do \
42812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42813 done; \
42814 (cd $(TARGET_SUBDIR)/newlib && \
42815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42817 "RANLIB=$${RANLIB}" \
42818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42819 install-info) \
42820 || exit 1
42822 @endif target-newlib
42824 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
42825 maybe-install-pdf-target-newlib:
42826 @if target-newlib
42827 maybe-install-pdf-target-newlib: install-pdf-target-newlib
42829 install-pdf-target-newlib: \
42830 configure-target-newlib \
42831 pdf-target-newlib
42832 @: $(MAKE); $(unstage)
42833 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42834 r=`${PWD_COMMAND}`; export r; \
42835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42836 $(NORMAL_TARGET_EXPORTS) \
42837 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
42838 for flag in $(EXTRA_TARGET_FLAGS); do \
42839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42840 done; \
42841 (cd $(TARGET_SUBDIR)/newlib && \
42842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42844 "RANLIB=$${RANLIB}" \
42845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42846 install-pdf) \
42847 || exit 1
42849 @endif target-newlib
42851 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
42852 maybe-install-html-target-newlib:
42853 @if target-newlib
42854 maybe-install-html-target-newlib: install-html-target-newlib
42856 install-html-target-newlib: \
42857 configure-target-newlib \
42858 html-target-newlib
42859 @: $(MAKE); $(unstage)
42860 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42861 r=`${PWD_COMMAND}`; export r; \
42862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42863 $(NORMAL_TARGET_EXPORTS) \
42864 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
42865 for flag in $(EXTRA_TARGET_FLAGS); do \
42866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42867 done; \
42868 (cd $(TARGET_SUBDIR)/newlib && \
42869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42871 "RANLIB=$${RANLIB}" \
42872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42873 install-html) \
42874 || exit 1
42876 @endif target-newlib
42878 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
42879 maybe-installcheck-target-newlib:
42880 @if target-newlib
42881 maybe-installcheck-target-newlib: installcheck-target-newlib
42883 installcheck-target-newlib: \
42884 configure-target-newlib
42885 @: $(MAKE); $(unstage)
42886 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42887 r=`${PWD_COMMAND}`; export r; \
42888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42889 $(NORMAL_TARGET_EXPORTS) \
42890 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
42891 for flag in $(EXTRA_TARGET_FLAGS); do \
42892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42893 done; \
42894 (cd $(TARGET_SUBDIR)/newlib && \
42895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42897 "RANLIB=$${RANLIB}" \
42898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42899 installcheck) \
42900 || exit 1
42902 @endif target-newlib
42904 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
42905 maybe-mostlyclean-target-newlib:
42906 @if target-newlib
42907 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
42909 mostlyclean-target-newlib:
42910 @: $(MAKE); $(unstage)
42911 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42912 r=`${PWD_COMMAND}`; export r; \
42913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42914 $(NORMAL_TARGET_EXPORTS) \
42915 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
42916 for flag in $(EXTRA_TARGET_FLAGS); do \
42917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42918 done; \
42919 (cd $(TARGET_SUBDIR)/newlib && \
42920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42922 "RANLIB=$${RANLIB}" \
42923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42924 mostlyclean) \
42925 || exit 1
42927 @endif target-newlib
42929 .PHONY: maybe-clean-target-newlib clean-target-newlib
42930 maybe-clean-target-newlib:
42931 @if target-newlib
42932 maybe-clean-target-newlib: clean-target-newlib
42934 clean-target-newlib:
42935 @: $(MAKE); $(unstage)
42936 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42937 r=`${PWD_COMMAND}`; export r; \
42938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42939 $(NORMAL_TARGET_EXPORTS) \
42940 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
42941 for flag in $(EXTRA_TARGET_FLAGS); do \
42942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42943 done; \
42944 (cd $(TARGET_SUBDIR)/newlib && \
42945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42947 "RANLIB=$${RANLIB}" \
42948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42949 clean) \
42950 || exit 1
42952 @endif target-newlib
42954 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
42955 maybe-distclean-target-newlib:
42956 @if target-newlib
42957 maybe-distclean-target-newlib: distclean-target-newlib
42959 distclean-target-newlib:
42960 @: $(MAKE); $(unstage)
42961 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42962 r=`${PWD_COMMAND}`; export r; \
42963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42964 $(NORMAL_TARGET_EXPORTS) \
42965 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
42966 for flag in $(EXTRA_TARGET_FLAGS); do \
42967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42968 done; \
42969 (cd $(TARGET_SUBDIR)/newlib && \
42970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42972 "RANLIB=$${RANLIB}" \
42973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42974 distclean) \
42975 || exit 1
42977 @endif target-newlib
42979 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
42980 maybe-maintainer-clean-target-newlib:
42981 @if target-newlib
42982 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
42984 maintainer-clean-target-newlib:
42985 @: $(MAKE); $(unstage)
42986 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
42987 r=`${PWD_COMMAND}`; export r; \
42988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42989 $(NORMAL_TARGET_EXPORTS) \
42990 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
42991 for flag in $(EXTRA_TARGET_FLAGS); do \
42992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42993 done; \
42994 (cd $(TARGET_SUBDIR)/newlib && \
42995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42997 "RANLIB=$${RANLIB}" \
42998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42999 maintainer-clean) \
43000 || exit 1
43002 @endif target-newlib
43008 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
43009 maybe-configure-target-libgcc:
43010 @if gcc-bootstrap
43011 configure-target-libgcc: stage_current
43012 @endif gcc-bootstrap
43013 @if target-libgcc
43014 maybe-configure-target-libgcc: configure-target-libgcc
43015 configure-target-libgcc:
43016 @r=`${PWD_COMMAND}`; export r; \
43017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43018 echo "Checking multilib configuration for libgcc..."; \
43019 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43020 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43021 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43022 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43023 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43024 else \
43025 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43026 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43027 fi; \
43028 else \
43029 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43030 fi; \
43031 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43032 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43033 $(NORMAL_TARGET_EXPORTS) \
43034 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
43035 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
43036 case $(srcdir) in \
43037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43038 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43040 esac; \
43041 module_srcdir=libgcc; \
43042 rm -f no-such-file || : ; \
43043 CONFIG_SITE=no-such-file $(SHELL) \
43044 $$s/$$module_srcdir/configure \
43045 --srcdir=$${topdir}/$$module_srcdir \
43046 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43047 --target=${target_alias} \
43048 || exit 1
43049 @endif target-libgcc
43053 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
43054 maybe-configure-stage1-target-libgcc:
43055 @if target-libgcc-bootstrap
43056 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
43057 configure-stage1-target-libgcc:
43058 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43059 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43060 @r=`${PWD_COMMAND}`; export r; \
43061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43062 TFLAGS="$(STAGE1_TFLAGS)"; \
43063 echo "Checking multilib configuration for libgcc..."; \
43064 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43065 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43066 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43067 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43068 else \
43069 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43070 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43071 fi; \
43072 else \
43073 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43074 fi; \
43075 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43076 $(NORMAL_TARGET_EXPORTS) \
43077 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43078 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43079 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43080 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
43081 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43082 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43083 case $(srcdir) in \
43084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43085 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43087 esac; \
43088 module_srcdir=libgcc; \
43089 $(SHELL) $$s/$$module_srcdir/configure \
43090 --srcdir=$${topdir}/$$module_srcdir \
43091 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43092 --target=${target_alias} \
43094 $(STAGE1_CONFIGURE_FLAGS)
43095 @endif target-libgcc-bootstrap
43097 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
43098 maybe-configure-stage2-target-libgcc:
43099 @if target-libgcc-bootstrap
43100 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
43101 configure-stage2-target-libgcc:
43102 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43103 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43104 @r=`${PWD_COMMAND}`; export r; \
43105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43106 TFLAGS="$(STAGE2_TFLAGS)"; \
43107 echo "Checking multilib configuration for libgcc..."; \
43108 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43109 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43110 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43111 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43112 else \
43113 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43114 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43115 fi; \
43116 else \
43117 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43118 fi; \
43119 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43120 $(NORMAL_TARGET_EXPORTS) \
43122 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43123 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43124 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43125 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
43126 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43127 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43128 case $(srcdir) in \
43129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43130 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43132 esac; \
43133 module_srcdir=libgcc; \
43134 $(SHELL) $$s/$$module_srcdir/configure \
43135 --srcdir=$${topdir}/$$module_srcdir \
43136 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43137 --target=${target_alias} \
43138 --with-build-libsubdir=$(HOST_SUBDIR) \
43139 $(STAGE2_CONFIGURE_FLAGS)
43140 @endif target-libgcc-bootstrap
43142 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
43143 maybe-configure-stage3-target-libgcc:
43144 @if target-libgcc-bootstrap
43145 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
43146 configure-stage3-target-libgcc:
43147 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43148 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43149 @r=`${PWD_COMMAND}`; export r; \
43150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43151 TFLAGS="$(STAGE3_TFLAGS)"; \
43152 echo "Checking multilib configuration for libgcc..."; \
43153 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43154 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43155 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43156 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43157 else \
43158 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43159 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43160 fi; \
43161 else \
43162 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43163 fi; \
43164 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43165 $(NORMAL_TARGET_EXPORTS) \
43167 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43168 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43169 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43170 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
43171 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43172 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43173 case $(srcdir) in \
43174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43175 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43177 esac; \
43178 module_srcdir=libgcc; \
43179 $(SHELL) $$s/$$module_srcdir/configure \
43180 --srcdir=$${topdir}/$$module_srcdir \
43181 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43182 --target=${target_alias} \
43183 --with-build-libsubdir=$(HOST_SUBDIR) \
43184 $(STAGE3_CONFIGURE_FLAGS)
43185 @endif target-libgcc-bootstrap
43187 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
43188 maybe-configure-stage4-target-libgcc:
43189 @if target-libgcc-bootstrap
43190 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
43191 configure-stage4-target-libgcc:
43192 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43193 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43194 @r=`${PWD_COMMAND}`; export r; \
43195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43196 TFLAGS="$(STAGE4_TFLAGS)"; \
43197 echo "Checking multilib configuration for libgcc..."; \
43198 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43199 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43200 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43201 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43202 else \
43203 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43204 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43205 fi; \
43206 else \
43207 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43208 fi; \
43209 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43210 $(NORMAL_TARGET_EXPORTS) \
43212 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43213 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43214 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43215 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
43216 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43217 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43218 case $(srcdir) in \
43219 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43220 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43221 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43222 esac; \
43223 module_srcdir=libgcc; \
43224 $(SHELL) $$s/$$module_srcdir/configure \
43225 --srcdir=$${topdir}/$$module_srcdir \
43226 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43227 --target=${target_alias} \
43228 --with-build-libsubdir=$(HOST_SUBDIR) \
43229 $(STAGE4_CONFIGURE_FLAGS)
43230 @endif target-libgcc-bootstrap
43232 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
43233 maybe-configure-stageprofile-target-libgcc:
43234 @if target-libgcc-bootstrap
43235 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
43236 configure-stageprofile-target-libgcc:
43237 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43238 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43239 @r=`${PWD_COMMAND}`; export r; \
43240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43241 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43242 echo "Checking multilib configuration for libgcc..."; \
43243 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43244 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43245 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43246 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43247 else \
43248 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43249 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43250 fi; \
43251 else \
43252 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43253 fi; \
43254 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43255 $(NORMAL_TARGET_EXPORTS) \
43257 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43258 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43259 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43260 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
43261 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43262 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43263 case $(srcdir) in \
43264 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43265 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43266 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43267 esac; \
43268 module_srcdir=libgcc; \
43269 $(SHELL) $$s/$$module_srcdir/configure \
43270 --srcdir=$${topdir}/$$module_srcdir \
43271 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43272 --target=${target_alias} \
43273 --with-build-libsubdir=$(HOST_SUBDIR) \
43274 $(STAGEprofile_CONFIGURE_FLAGS)
43275 @endif target-libgcc-bootstrap
43277 .PHONY: configure-stagetrain-target-libgcc maybe-configure-stagetrain-target-libgcc
43278 maybe-configure-stagetrain-target-libgcc:
43279 @if target-libgcc-bootstrap
43280 maybe-configure-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
43281 configure-stagetrain-target-libgcc:
43282 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
43283 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43284 @r=`${PWD_COMMAND}`; export r; \
43285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43286 TFLAGS="$(STAGEtrain_TFLAGS)"; \
43287 echo "Checking multilib configuration for libgcc..."; \
43288 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43289 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43290 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43291 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43292 else \
43293 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43294 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43295 fi; \
43296 else \
43297 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43298 fi; \
43299 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43300 $(NORMAL_TARGET_EXPORTS) \
43302 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43303 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43304 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43305 echo Configuring stage train in $(TARGET_SUBDIR)/libgcc; \
43306 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43307 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43308 case $(srcdir) in \
43309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43310 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43312 esac; \
43313 module_srcdir=libgcc; \
43314 $(SHELL) $$s/$$module_srcdir/configure \
43315 --srcdir=$${topdir}/$$module_srcdir \
43316 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43317 --target=${target_alias} \
43318 --with-build-libsubdir=$(HOST_SUBDIR) \
43319 $(STAGEtrain_CONFIGURE_FLAGS)
43320 @endif target-libgcc-bootstrap
43322 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
43323 maybe-configure-stagefeedback-target-libgcc:
43324 @if target-libgcc-bootstrap
43325 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
43326 configure-stagefeedback-target-libgcc:
43327 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43328 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43329 @r=`${PWD_COMMAND}`; export r; \
43330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43331 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43332 echo "Checking multilib configuration for libgcc..."; \
43333 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43334 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43335 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43336 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43337 else \
43338 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43339 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43340 fi; \
43341 else \
43342 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43343 fi; \
43344 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43345 $(NORMAL_TARGET_EXPORTS) \
43347 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43348 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43349 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43350 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
43351 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43352 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43353 case $(srcdir) in \
43354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43355 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43357 esac; \
43358 module_srcdir=libgcc; \
43359 $(SHELL) $$s/$$module_srcdir/configure \
43360 --srcdir=$${topdir}/$$module_srcdir \
43361 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43362 --target=${target_alias} \
43363 --with-build-libsubdir=$(HOST_SUBDIR) \
43364 $(STAGEfeedback_CONFIGURE_FLAGS)
43365 @endif target-libgcc-bootstrap
43367 .PHONY: configure-stageautoprofile-target-libgcc maybe-configure-stageautoprofile-target-libgcc
43368 maybe-configure-stageautoprofile-target-libgcc:
43369 @if target-libgcc-bootstrap
43370 maybe-configure-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
43371 configure-stageautoprofile-target-libgcc:
43372 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43373 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43374 @r=`${PWD_COMMAND}`; export r; \
43375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43376 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43377 echo "Checking multilib configuration for libgcc..."; \
43378 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43379 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43380 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43381 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43382 else \
43383 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43384 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43385 fi; \
43386 else \
43387 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43388 fi; \
43389 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43390 $(NORMAL_TARGET_EXPORTS) \
43392 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43393 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43394 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43395 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgcc; \
43396 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43397 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43398 case $(srcdir) in \
43399 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43400 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43401 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43402 esac; \
43403 module_srcdir=libgcc; \
43404 $(SHELL) $$s/$$module_srcdir/configure \
43405 --srcdir=$${topdir}/$$module_srcdir \
43406 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43407 --target=${target_alias} \
43408 --with-build-libsubdir=$(HOST_SUBDIR) \
43409 $(STAGEautoprofile_CONFIGURE_FLAGS)
43410 @endif target-libgcc-bootstrap
43412 .PHONY: configure-stageautofeedback-target-libgcc maybe-configure-stageautofeedback-target-libgcc
43413 maybe-configure-stageautofeedback-target-libgcc:
43414 @if target-libgcc-bootstrap
43415 maybe-configure-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
43416 configure-stageautofeedback-target-libgcc:
43417 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43418 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
43419 @r=`${PWD_COMMAND}`; export r; \
43420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43421 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43422 echo "Checking multilib configuration for libgcc..."; \
43423 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
43424 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43425 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
43426 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
43427 else \
43428 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
43429 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43430 fi; \
43431 else \
43432 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
43433 fi; \
43434 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
43435 $(NORMAL_TARGET_EXPORTS) \
43437 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43438 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43439 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43440 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgcc; \
43441 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
43442 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
43443 case $(srcdir) in \
43444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43445 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
43446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43447 esac; \
43448 module_srcdir=libgcc; \
43449 $(SHELL) $$s/$$module_srcdir/configure \
43450 --srcdir=$${topdir}/$$module_srcdir \
43451 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43452 --target=${target_alias} \
43453 --with-build-libsubdir=$(HOST_SUBDIR) \
43454 $(STAGEautofeedback_CONFIGURE_FLAGS)
43455 @endif target-libgcc-bootstrap
43461 .PHONY: all-target-libgcc maybe-all-target-libgcc
43462 maybe-all-target-libgcc:
43463 @if gcc-bootstrap
43464 all-target-libgcc: stage_current
43465 @endif gcc-bootstrap
43466 @if target-libgcc
43467 TARGET-target-libgcc=all
43468 maybe-all-target-libgcc: all-target-libgcc
43469 all-target-libgcc: configure-target-libgcc
43470 @r=`${PWD_COMMAND}`; export r; \
43471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43472 $(NORMAL_TARGET_EXPORTS) \
43473 (cd $(TARGET_SUBDIR)/libgcc && \
43474 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43475 $(TARGET-target-libgcc))
43476 @endif target-libgcc
43480 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
43481 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
43482 maybe-all-stage1-target-libgcc:
43483 maybe-clean-stage1-target-libgcc:
43484 @if target-libgcc-bootstrap
43485 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
43486 all-stage1: all-stage1-target-libgcc
43487 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
43488 all-stage1-target-libgcc: configure-stage1-target-libgcc
43489 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43490 @r=`${PWD_COMMAND}`; export r; \
43491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43492 TFLAGS="$(STAGE1_TFLAGS)"; \
43493 $(NORMAL_TARGET_EXPORTS) \
43494 cd $(TARGET_SUBDIR)/libgcc && \
43496 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43497 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43498 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43499 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43500 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43501 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43502 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43503 $(EXTRA_TARGET_FLAGS) \
43505 TFLAGS="$(STAGE1_TFLAGS)" \
43506 $(TARGET-stage1-target-libgcc)
43508 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
43509 clean-stage1: clean-stage1-target-libgcc
43510 clean-stage1-target-libgcc:
43511 @if [ $(current_stage) = stage1 ]; then \
43512 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43513 else \
43514 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
43515 $(MAKE) stage1-start; \
43516 fi; \
43517 cd $(TARGET_SUBDIR)/libgcc && \
43518 $(MAKE) $(EXTRA_TARGET_FLAGS) \
43519 clean
43520 @endif target-libgcc-bootstrap
43523 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
43524 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
43525 maybe-all-stage2-target-libgcc:
43526 maybe-clean-stage2-target-libgcc:
43527 @if target-libgcc-bootstrap
43528 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
43529 all-stage2: all-stage2-target-libgcc
43530 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
43531 all-stage2-target-libgcc: configure-stage2-target-libgcc
43532 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43533 @r=`${PWD_COMMAND}`; export r; \
43534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43535 TFLAGS="$(STAGE2_TFLAGS)"; \
43536 $(NORMAL_TARGET_EXPORTS) \
43538 cd $(TARGET_SUBDIR)/libgcc && \
43540 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43541 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43542 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43543 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43544 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43545 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43546 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43547 $(EXTRA_TARGET_FLAGS) \
43548 TFLAGS="$(STAGE2_TFLAGS)" \
43549 $(TARGET-stage2-target-libgcc)
43551 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
43552 clean-stage2: clean-stage2-target-libgcc
43553 clean-stage2-target-libgcc:
43554 @if [ $(current_stage) = stage2 ]; then \
43555 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43556 else \
43557 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
43558 $(MAKE) stage2-start; \
43559 fi; \
43560 cd $(TARGET_SUBDIR)/libgcc && \
43561 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43562 @endif target-libgcc-bootstrap
43565 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
43566 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
43567 maybe-all-stage3-target-libgcc:
43568 maybe-clean-stage3-target-libgcc:
43569 @if target-libgcc-bootstrap
43570 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
43571 all-stage3: all-stage3-target-libgcc
43572 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
43573 all-stage3-target-libgcc: configure-stage3-target-libgcc
43574 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43575 @r=`${PWD_COMMAND}`; export r; \
43576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43577 TFLAGS="$(STAGE3_TFLAGS)"; \
43578 $(NORMAL_TARGET_EXPORTS) \
43580 cd $(TARGET_SUBDIR)/libgcc && \
43582 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43583 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43584 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43585 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43589 $(EXTRA_TARGET_FLAGS) \
43590 TFLAGS="$(STAGE3_TFLAGS)" \
43591 $(TARGET-stage3-target-libgcc)
43593 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
43594 clean-stage3: clean-stage3-target-libgcc
43595 clean-stage3-target-libgcc:
43596 @if [ $(current_stage) = stage3 ]; then \
43597 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43598 else \
43599 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
43600 $(MAKE) stage3-start; \
43601 fi; \
43602 cd $(TARGET_SUBDIR)/libgcc && \
43603 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43604 @endif target-libgcc-bootstrap
43607 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
43608 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
43609 maybe-all-stage4-target-libgcc:
43610 maybe-clean-stage4-target-libgcc:
43611 @if target-libgcc-bootstrap
43612 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
43613 all-stage4: all-stage4-target-libgcc
43614 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
43615 all-stage4-target-libgcc: configure-stage4-target-libgcc
43616 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43617 @r=`${PWD_COMMAND}`; export r; \
43618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43619 TFLAGS="$(STAGE4_TFLAGS)"; \
43620 $(NORMAL_TARGET_EXPORTS) \
43622 cd $(TARGET_SUBDIR)/libgcc && \
43624 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43625 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43626 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43627 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43628 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43629 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43630 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43631 $(EXTRA_TARGET_FLAGS) \
43632 TFLAGS="$(STAGE4_TFLAGS)" \
43633 $(TARGET-stage4-target-libgcc)
43635 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
43636 clean-stage4: clean-stage4-target-libgcc
43637 clean-stage4-target-libgcc:
43638 @if [ $(current_stage) = stage4 ]; then \
43639 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43640 else \
43641 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
43642 $(MAKE) stage4-start; \
43643 fi; \
43644 cd $(TARGET_SUBDIR)/libgcc && \
43645 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43646 @endif target-libgcc-bootstrap
43649 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
43650 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
43651 maybe-all-stageprofile-target-libgcc:
43652 maybe-clean-stageprofile-target-libgcc:
43653 @if target-libgcc-bootstrap
43654 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
43655 all-stageprofile: all-stageprofile-target-libgcc
43656 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
43657 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
43658 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43659 @r=`${PWD_COMMAND}`; export r; \
43660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43661 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43662 $(NORMAL_TARGET_EXPORTS) \
43664 cd $(TARGET_SUBDIR)/libgcc && \
43666 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43667 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43668 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43669 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43670 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43671 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43672 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43673 $(EXTRA_TARGET_FLAGS) \
43674 TFLAGS="$(STAGEprofile_TFLAGS)" \
43675 $(TARGET-stageprofile-target-libgcc)
43677 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
43678 clean-stageprofile: clean-stageprofile-target-libgcc
43679 clean-stageprofile-target-libgcc:
43680 @if [ $(current_stage) = stageprofile ]; then \
43681 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43682 else \
43683 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
43684 $(MAKE) stageprofile-start; \
43685 fi; \
43686 cd $(TARGET_SUBDIR)/libgcc && \
43687 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43688 @endif target-libgcc-bootstrap
43691 .PHONY: all-stagetrain-target-libgcc maybe-all-stagetrain-target-libgcc
43692 .PHONY: clean-stagetrain-target-libgcc maybe-clean-stagetrain-target-libgcc
43693 maybe-all-stagetrain-target-libgcc:
43694 maybe-clean-stagetrain-target-libgcc:
43695 @if target-libgcc-bootstrap
43696 maybe-all-stagetrain-target-libgcc: all-stagetrain-target-libgcc
43697 all-stagetrain: all-stagetrain-target-libgcc
43698 TARGET-stagetrain-target-libgcc = $(TARGET-target-libgcc)
43699 all-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
43700 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
43701 @r=`${PWD_COMMAND}`; export r; \
43702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43703 TFLAGS="$(STAGEtrain_TFLAGS)"; \
43704 $(NORMAL_TARGET_EXPORTS) \
43706 cd $(TARGET_SUBDIR)/libgcc && \
43708 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43709 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43710 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43711 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43712 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43713 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43714 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43715 $(EXTRA_TARGET_FLAGS) \
43716 TFLAGS="$(STAGEtrain_TFLAGS)" \
43717 $(TARGET-stagetrain-target-libgcc)
43719 maybe-clean-stagetrain-target-libgcc: clean-stagetrain-target-libgcc
43720 clean-stagetrain: clean-stagetrain-target-libgcc
43721 clean-stagetrain-target-libgcc:
43722 @if [ $(current_stage) = stagetrain ]; then \
43723 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43724 else \
43725 [ -f $(TARGET_SUBDIR)/stagetrain-libgcc/Makefile ] || exit 0; \
43726 $(MAKE) stagetrain-start; \
43727 fi; \
43728 cd $(TARGET_SUBDIR)/libgcc && \
43729 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43730 @endif target-libgcc-bootstrap
43733 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
43734 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
43735 maybe-all-stagefeedback-target-libgcc:
43736 maybe-clean-stagefeedback-target-libgcc:
43737 @if target-libgcc-bootstrap
43738 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
43739 all-stagefeedback: all-stagefeedback-target-libgcc
43740 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
43741 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
43742 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43743 @r=`${PWD_COMMAND}`; export r; \
43744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43745 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43746 $(NORMAL_TARGET_EXPORTS) \
43748 cd $(TARGET_SUBDIR)/libgcc && \
43750 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43751 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43752 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43753 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43754 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43755 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43756 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43757 $(EXTRA_TARGET_FLAGS) \
43758 TFLAGS="$(STAGEfeedback_TFLAGS)" \
43759 $(TARGET-stagefeedback-target-libgcc)
43761 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
43762 clean-stagefeedback: clean-stagefeedback-target-libgcc
43763 clean-stagefeedback-target-libgcc:
43764 @if [ $(current_stage) = stagefeedback ]; then \
43765 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43766 else \
43767 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
43768 $(MAKE) stagefeedback-start; \
43769 fi; \
43770 cd $(TARGET_SUBDIR)/libgcc && \
43771 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43772 @endif target-libgcc-bootstrap
43775 .PHONY: all-stageautoprofile-target-libgcc maybe-all-stageautoprofile-target-libgcc
43776 .PHONY: clean-stageautoprofile-target-libgcc maybe-clean-stageautoprofile-target-libgcc
43777 maybe-all-stageautoprofile-target-libgcc:
43778 maybe-clean-stageautoprofile-target-libgcc:
43779 @if target-libgcc-bootstrap
43780 maybe-all-stageautoprofile-target-libgcc: all-stageautoprofile-target-libgcc
43781 all-stageautoprofile: all-stageautoprofile-target-libgcc
43782 TARGET-stageautoprofile-target-libgcc = $(TARGET-target-libgcc)
43783 all-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
43784 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43785 @r=`${PWD_COMMAND}`; export r; \
43786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43787 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43788 $(NORMAL_TARGET_EXPORTS) \
43790 cd $(TARGET_SUBDIR)/libgcc && \
43791 $$s/gcc/config/i386/$(AUTO_PROFILE) \
43792 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43793 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43794 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43795 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43796 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43797 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43798 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43799 $(EXTRA_TARGET_FLAGS) \
43800 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
43801 $(TARGET-stageautoprofile-target-libgcc)
43803 maybe-clean-stageautoprofile-target-libgcc: clean-stageautoprofile-target-libgcc
43804 clean-stageautoprofile: clean-stageautoprofile-target-libgcc
43805 clean-stageautoprofile-target-libgcc:
43806 @if [ $(current_stage) = stageautoprofile ]; then \
43807 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43808 else \
43809 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgcc/Makefile ] || exit 0; \
43810 $(MAKE) stageautoprofile-start; \
43811 fi; \
43812 cd $(TARGET_SUBDIR)/libgcc && \
43813 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43814 @endif target-libgcc-bootstrap
43817 .PHONY: all-stageautofeedback-target-libgcc maybe-all-stageautofeedback-target-libgcc
43818 .PHONY: clean-stageautofeedback-target-libgcc maybe-clean-stageautofeedback-target-libgcc
43819 maybe-all-stageautofeedback-target-libgcc:
43820 maybe-clean-stageautofeedback-target-libgcc:
43821 @if target-libgcc-bootstrap
43822 maybe-all-stageautofeedback-target-libgcc: all-stageautofeedback-target-libgcc
43823 all-stageautofeedback: all-stageautofeedback-target-libgcc
43824 TARGET-stageautofeedback-target-libgcc = $(TARGET-target-libgcc)
43825 all-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
43826 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43827 @r=`${PWD_COMMAND}`; export r; \
43828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43829 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43830 $(NORMAL_TARGET_EXPORTS) \
43832 cd $(TARGET_SUBDIR)/libgcc && \
43834 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43835 CFLAGS="$(CFLAGS_FOR_TARGET)" \
43836 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
43837 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
43838 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43839 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43840 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43841 $(EXTRA_TARGET_FLAGS) \
43842 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
43843 $(TARGET-stageautofeedback-target-libgcc)
43845 maybe-clean-stageautofeedback-target-libgcc: clean-stageautofeedback-target-libgcc
43846 clean-stageautofeedback: clean-stageautofeedback-target-libgcc
43847 clean-stageautofeedback-target-libgcc:
43848 @if [ $(current_stage) = stageautofeedback ]; then \
43849 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43850 else \
43851 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgcc/Makefile ] || exit 0; \
43852 $(MAKE) stageautofeedback-start; \
43853 fi; \
43854 cd $(TARGET_SUBDIR)/libgcc && \
43855 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
43856 @endif target-libgcc-bootstrap
43863 .PHONY: check-target-libgcc maybe-check-target-libgcc
43864 maybe-check-target-libgcc:
43865 @if target-libgcc
43866 maybe-check-target-libgcc: check-target-libgcc
43868 # Dummy target for uncheckable module.
43869 check-target-libgcc:
43871 @endif target-libgcc
43873 .PHONY: install-target-libgcc maybe-install-target-libgcc
43874 maybe-install-target-libgcc:
43875 @if target-libgcc
43876 maybe-install-target-libgcc: install-target-libgcc
43878 install-target-libgcc: installdirs
43879 @: $(MAKE); $(unstage)
43880 @r=`${PWD_COMMAND}`; export r; \
43881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43882 $(NORMAL_TARGET_EXPORTS) \
43883 (cd $(TARGET_SUBDIR)/libgcc && \
43884 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43886 @endif target-libgcc
43888 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
43889 maybe-install-strip-target-libgcc:
43890 @if target-libgcc
43891 maybe-install-strip-target-libgcc: install-strip-target-libgcc
43893 install-strip-target-libgcc: installdirs
43894 @: $(MAKE); $(unstage)
43895 @r=`${PWD_COMMAND}`; export r; \
43896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43897 $(NORMAL_TARGET_EXPORTS) \
43898 (cd $(TARGET_SUBDIR)/libgcc && \
43899 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43901 @endif target-libgcc
43903 # Other targets (info, dvi, pdf, etc.)
43905 .PHONY: maybe-info-target-libgcc info-target-libgcc
43906 maybe-info-target-libgcc:
43907 @if target-libgcc
43908 maybe-info-target-libgcc: info-target-libgcc
43910 info-target-libgcc: \
43911 configure-target-libgcc
43912 @: $(MAKE); $(unstage)
43913 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43914 r=`${PWD_COMMAND}`; export r; \
43915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43916 $(NORMAL_TARGET_EXPORTS) \
43917 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
43918 for flag in $(EXTRA_TARGET_FLAGS); do \
43919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43920 done; \
43921 (cd $(TARGET_SUBDIR)/libgcc && \
43922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43924 "RANLIB=$${RANLIB}" \
43925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43926 info) \
43927 || exit 1
43929 @endif target-libgcc
43931 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
43932 maybe-dvi-target-libgcc:
43933 @if target-libgcc
43934 maybe-dvi-target-libgcc: dvi-target-libgcc
43936 dvi-target-libgcc: \
43937 configure-target-libgcc
43938 @: $(MAKE); $(unstage)
43939 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43940 r=`${PWD_COMMAND}`; export r; \
43941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43942 $(NORMAL_TARGET_EXPORTS) \
43943 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
43944 for flag in $(EXTRA_TARGET_FLAGS); do \
43945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43946 done; \
43947 (cd $(TARGET_SUBDIR)/libgcc && \
43948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43950 "RANLIB=$${RANLIB}" \
43951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43952 dvi) \
43953 || exit 1
43955 @endif target-libgcc
43957 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
43958 maybe-pdf-target-libgcc:
43959 @if target-libgcc
43960 maybe-pdf-target-libgcc: pdf-target-libgcc
43962 pdf-target-libgcc: \
43963 configure-target-libgcc
43964 @: $(MAKE); $(unstage)
43965 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43966 r=`${PWD_COMMAND}`; export r; \
43967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43968 $(NORMAL_TARGET_EXPORTS) \
43969 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
43970 for flag in $(EXTRA_TARGET_FLAGS); do \
43971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43972 done; \
43973 (cd $(TARGET_SUBDIR)/libgcc && \
43974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43976 "RANLIB=$${RANLIB}" \
43977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43978 pdf) \
43979 || exit 1
43981 @endif target-libgcc
43983 .PHONY: maybe-html-target-libgcc html-target-libgcc
43984 maybe-html-target-libgcc:
43985 @if target-libgcc
43986 maybe-html-target-libgcc: html-target-libgcc
43988 html-target-libgcc: \
43989 configure-target-libgcc
43990 @: $(MAKE); $(unstage)
43991 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43992 r=`${PWD_COMMAND}`; export r; \
43993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43994 $(NORMAL_TARGET_EXPORTS) \
43995 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
43996 for flag in $(EXTRA_TARGET_FLAGS); do \
43997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43998 done; \
43999 (cd $(TARGET_SUBDIR)/libgcc && \
44000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44002 "RANLIB=$${RANLIB}" \
44003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44004 html) \
44005 || exit 1
44007 @endif target-libgcc
44009 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
44010 maybe-TAGS-target-libgcc:
44011 @if target-libgcc
44012 maybe-TAGS-target-libgcc: TAGS-target-libgcc
44014 TAGS-target-libgcc: \
44015 configure-target-libgcc
44016 @: $(MAKE); $(unstage)
44017 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44018 r=`${PWD_COMMAND}`; export r; \
44019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44020 $(NORMAL_TARGET_EXPORTS) \
44021 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc"; \
44022 for flag in $(EXTRA_TARGET_FLAGS); do \
44023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44024 done; \
44025 (cd $(TARGET_SUBDIR)/libgcc && \
44026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44028 "RANLIB=$${RANLIB}" \
44029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44030 TAGS) \
44031 || exit 1
44033 @endif target-libgcc
44035 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
44036 maybe-install-info-target-libgcc:
44037 @if target-libgcc
44038 maybe-install-info-target-libgcc: install-info-target-libgcc
44040 install-info-target-libgcc: \
44041 configure-target-libgcc \
44042 info-target-libgcc
44043 @: $(MAKE); $(unstage)
44044 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44045 r=`${PWD_COMMAND}`; export r; \
44046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44047 $(NORMAL_TARGET_EXPORTS) \
44048 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
44049 for flag in $(EXTRA_TARGET_FLAGS); do \
44050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44051 done; \
44052 (cd $(TARGET_SUBDIR)/libgcc && \
44053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44055 "RANLIB=$${RANLIB}" \
44056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44057 install-info) \
44058 || exit 1
44060 @endif target-libgcc
44062 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
44063 maybe-install-pdf-target-libgcc:
44064 @if target-libgcc
44065 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
44067 install-pdf-target-libgcc: \
44068 configure-target-libgcc \
44069 pdf-target-libgcc
44070 @: $(MAKE); $(unstage)
44071 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44072 r=`${PWD_COMMAND}`; export r; \
44073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44074 $(NORMAL_TARGET_EXPORTS) \
44075 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
44076 for flag in $(EXTRA_TARGET_FLAGS); do \
44077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44078 done; \
44079 (cd $(TARGET_SUBDIR)/libgcc && \
44080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44082 "RANLIB=$${RANLIB}" \
44083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44084 install-pdf) \
44085 || exit 1
44087 @endif target-libgcc
44089 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
44090 maybe-install-html-target-libgcc:
44091 @if target-libgcc
44092 maybe-install-html-target-libgcc: install-html-target-libgcc
44094 install-html-target-libgcc: \
44095 configure-target-libgcc \
44096 html-target-libgcc
44097 @: $(MAKE); $(unstage)
44098 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44099 r=`${PWD_COMMAND}`; export r; \
44100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44101 $(NORMAL_TARGET_EXPORTS) \
44102 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
44103 for flag in $(EXTRA_TARGET_FLAGS); do \
44104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44105 done; \
44106 (cd $(TARGET_SUBDIR)/libgcc && \
44107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44109 "RANLIB=$${RANLIB}" \
44110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44111 install-html) \
44112 || exit 1
44114 @endif target-libgcc
44116 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
44117 maybe-installcheck-target-libgcc:
44118 @if target-libgcc
44119 maybe-installcheck-target-libgcc: installcheck-target-libgcc
44121 installcheck-target-libgcc: \
44122 configure-target-libgcc
44123 @: $(MAKE); $(unstage)
44124 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44125 r=`${PWD_COMMAND}`; export r; \
44126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44127 $(NORMAL_TARGET_EXPORTS) \
44128 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
44129 for flag in $(EXTRA_TARGET_FLAGS); do \
44130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44131 done; \
44132 (cd $(TARGET_SUBDIR)/libgcc && \
44133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44135 "RANLIB=$${RANLIB}" \
44136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44137 installcheck) \
44138 || exit 1
44140 @endif target-libgcc
44142 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
44143 maybe-mostlyclean-target-libgcc:
44144 @if target-libgcc
44145 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
44147 mostlyclean-target-libgcc:
44148 @: $(MAKE); $(unstage)
44149 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44150 r=`${PWD_COMMAND}`; export r; \
44151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44152 $(NORMAL_TARGET_EXPORTS) \
44153 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
44154 for flag in $(EXTRA_TARGET_FLAGS); do \
44155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44156 done; \
44157 (cd $(TARGET_SUBDIR)/libgcc && \
44158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44160 "RANLIB=$${RANLIB}" \
44161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44162 mostlyclean) \
44163 || exit 1
44165 @endif target-libgcc
44167 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
44168 maybe-clean-target-libgcc:
44169 @if target-libgcc
44170 maybe-clean-target-libgcc: clean-target-libgcc
44172 clean-target-libgcc:
44173 @: $(MAKE); $(unstage)
44174 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44175 r=`${PWD_COMMAND}`; export r; \
44176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44177 $(NORMAL_TARGET_EXPORTS) \
44178 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
44179 for flag in $(EXTRA_TARGET_FLAGS); do \
44180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44181 done; \
44182 (cd $(TARGET_SUBDIR)/libgcc && \
44183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44185 "RANLIB=$${RANLIB}" \
44186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44187 clean) \
44188 || exit 1
44190 @endif target-libgcc
44192 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
44193 maybe-distclean-target-libgcc:
44194 @if target-libgcc
44195 maybe-distclean-target-libgcc: distclean-target-libgcc
44197 distclean-target-libgcc:
44198 @: $(MAKE); $(unstage)
44199 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44200 r=`${PWD_COMMAND}`; export r; \
44201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44202 $(NORMAL_TARGET_EXPORTS) \
44203 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
44204 for flag in $(EXTRA_TARGET_FLAGS); do \
44205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44206 done; \
44207 (cd $(TARGET_SUBDIR)/libgcc && \
44208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44210 "RANLIB=$${RANLIB}" \
44211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44212 distclean) \
44213 || exit 1
44215 @endif target-libgcc
44217 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
44218 maybe-maintainer-clean-target-libgcc:
44219 @if target-libgcc
44220 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
44222 maintainer-clean-target-libgcc:
44223 @: $(MAKE); $(unstage)
44224 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
44225 r=`${PWD_COMMAND}`; export r; \
44226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44227 $(NORMAL_TARGET_EXPORTS) \
44228 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
44229 for flag in $(EXTRA_TARGET_FLAGS); do \
44230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44231 done; \
44232 (cd $(TARGET_SUBDIR)/libgcc && \
44233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44235 "RANLIB=$${RANLIB}" \
44236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44237 maintainer-clean) \
44238 || exit 1
44240 @endif target-libgcc
44246 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
44247 maybe-configure-target-libbacktrace:
44248 @if gcc-bootstrap
44249 configure-target-libbacktrace: stage_current
44250 @endif gcc-bootstrap
44251 @if target-libbacktrace
44252 maybe-configure-target-libbacktrace: configure-target-libbacktrace
44253 configure-target-libbacktrace:
44254 @: $(MAKE); $(unstage)
44255 @r=`${PWD_COMMAND}`; export r; \
44256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44257 echo "Checking multilib configuration for libbacktrace..."; \
44258 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
44259 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
44260 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
44261 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
44262 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
44263 else \
44264 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
44265 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
44266 fi; \
44267 else \
44268 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
44269 fi; \
44270 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
44271 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
44272 $(NORMAL_TARGET_EXPORTS) \
44273 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
44274 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
44275 case $(srcdir) in \
44276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44277 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
44278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44279 esac; \
44280 module_srcdir=libbacktrace; \
44281 rm -f no-such-file || : ; \
44282 CONFIG_SITE=no-such-file $(SHELL) \
44283 $$s/$$module_srcdir/configure \
44284 --srcdir=$${topdir}/$$module_srcdir \
44285 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44286 --target=${target_alias} \
44287 || exit 1
44288 @endif target-libbacktrace
44294 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
44295 maybe-all-target-libbacktrace:
44296 @if gcc-bootstrap
44297 all-target-libbacktrace: stage_current
44298 @endif gcc-bootstrap
44299 @if target-libbacktrace
44300 TARGET-target-libbacktrace=all
44301 maybe-all-target-libbacktrace: all-target-libbacktrace
44302 all-target-libbacktrace: configure-target-libbacktrace
44303 @: $(MAKE); $(unstage)
44304 @r=`${PWD_COMMAND}`; export r; \
44305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44306 $(NORMAL_TARGET_EXPORTS) \
44307 (cd $(TARGET_SUBDIR)/libbacktrace && \
44308 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44309 $(TARGET-target-libbacktrace))
44310 @endif target-libbacktrace
44316 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
44317 maybe-check-target-libbacktrace:
44318 @if target-libbacktrace
44319 maybe-check-target-libbacktrace: check-target-libbacktrace
44321 check-target-libbacktrace:
44322 @: $(MAKE); $(unstage)
44323 @r=`${PWD_COMMAND}`; export r; \
44324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44325 $(NORMAL_TARGET_EXPORTS) \
44326 (cd $(TARGET_SUBDIR)/libbacktrace && \
44327 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44329 @endif target-libbacktrace
44331 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
44332 maybe-install-target-libbacktrace:
44333 @if target-libbacktrace
44334 maybe-install-target-libbacktrace: install-target-libbacktrace
44336 install-target-libbacktrace: installdirs
44337 @: $(MAKE); $(unstage)
44338 @r=`${PWD_COMMAND}`; export r; \
44339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44340 $(NORMAL_TARGET_EXPORTS) \
44341 (cd $(TARGET_SUBDIR)/libbacktrace && \
44342 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44344 @endif target-libbacktrace
44346 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
44347 maybe-install-strip-target-libbacktrace:
44348 @if target-libbacktrace
44349 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
44351 install-strip-target-libbacktrace: installdirs
44352 @: $(MAKE); $(unstage)
44353 @r=`${PWD_COMMAND}`; export r; \
44354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44355 $(NORMAL_TARGET_EXPORTS) \
44356 (cd $(TARGET_SUBDIR)/libbacktrace && \
44357 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44359 @endif target-libbacktrace
44361 # Other targets (info, dvi, pdf, etc.)
44363 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
44364 maybe-info-target-libbacktrace:
44365 @if target-libbacktrace
44366 maybe-info-target-libbacktrace: info-target-libbacktrace
44368 info-target-libbacktrace: \
44369 configure-target-libbacktrace
44370 @: $(MAKE); $(unstage)
44371 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44372 r=`${PWD_COMMAND}`; export r; \
44373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44374 $(NORMAL_TARGET_EXPORTS) \
44375 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
44376 for flag in $(EXTRA_TARGET_FLAGS); do \
44377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44378 done; \
44379 (cd $(TARGET_SUBDIR)/libbacktrace && \
44380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44382 "RANLIB=$${RANLIB}" \
44383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44384 info) \
44385 || exit 1
44387 @endif target-libbacktrace
44389 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
44390 maybe-dvi-target-libbacktrace:
44391 @if target-libbacktrace
44392 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
44394 dvi-target-libbacktrace: \
44395 configure-target-libbacktrace
44396 @: $(MAKE); $(unstage)
44397 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44398 r=`${PWD_COMMAND}`; export r; \
44399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44400 $(NORMAL_TARGET_EXPORTS) \
44401 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
44402 for flag in $(EXTRA_TARGET_FLAGS); do \
44403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44404 done; \
44405 (cd $(TARGET_SUBDIR)/libbacktrace && \
44406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44408 "RANLIB=$${RANLIB}" \
44409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44410 dvi) \
44411 || exit 1
44413 @endif target-libbacktrace
44415 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
44416 maybe-pdf-target-libbacktrace:
44417 @if target-libbacktrace
44418 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
44420 pdf-target-libbacktrace: \
44421 configure-target-libbacktrace
44422 @: $(MAKE); $(unstage)
44423 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44424 r=`${PWD_COMMAND}`; export r; \
44425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44426 $(NORMAL_TARGET_EXPORTS) \
44427 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
44428 for flag in $(EXTRA_TARGET_FLAGS); do \
44429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44430 done; \
44431 (cd $(TARGET_SUBDIR)/libbacktrace && \
44432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44434 "RANLIB=$${RANLIB}" \
44435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44436 pdf) \
44437 || exit 1
44439 @endif target-libbacktrace
44441 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
44442 maybe-html-target-libbacktrace:
44443 @if target-libbacktrace
44444 maybe-html-target-libbacktrace: html-target-libbacktrace
44446 html-target-libbacktrace: \
44447 configure-target-libbacktrace
44448 @: $(MAKE); $(unstage)
44449 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44450 r=`${PWD_COMMAND}`; export r; \
44451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44452 $(NORMAL_TARGET_EXPORTS) \
44453 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
44454 for flag in $(EXTRA_TARGET_FLAGS); do \
44455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44456 done; \
44457 (cd $(TARGET_SUBDIR)/libbacktrace && \
44458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44460 "RANLIB=$${RANLIB}" \
44461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44462 html) \
44463 || exit 1
44465 @endif target-libbacktrace
44467 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
44468 maybe-TAGS-target-libbacktrace:
44469 @if target-libbacktrace
44470 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
44472 TAGS-target-libbacktrace: \
44473 configure-target-libbacktrace
44474 @: $(MAKE); $(unstage)
44475 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44476 r=`${PWD_COMMAND}`; export r; \
44477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44478 $(NORMAL_TARGET_EXPORTS) \
44479 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
44480 for flag in $(EXTRA_TARGET_FLAGS); do \
44481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44482 done; \
44483 (cd $(TARGET_SUBDIR)/libbacktrace && \
44484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44486 "RANLIB=$${RANLIB}" \
44487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44488 TAGS) \
44489 || exit 1
44491 @endif target-libbacktrace
44493 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
44494 maybe-install-info-target-libbacktrace:
44495 @if target-libbacktrace
44496 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
44498 install-info-target-libbacktrace: \
44499 configure-target-libbacktrace \
44500 info-target-libbacktrace
44501 @: $(MAKE); $(unstage)
44502 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44503 r=`${PWD_COMMAND}`; export r; \
44504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44505 $(NORMAL_TARGET_EXPORTS) \
44506 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
44507 for flag in $(EXTRA_TARGET_FLAGS); do \
44508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44509 done; \
44510 (cd $(TARGET_SUBDIR)/libbacktrace && \
44511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44513 "RANLIB=$${RANLIB}" \
44514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44515 install-info) \
44516 || exit 1
44518 @endif target-libbacktrace
44520 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
44521 maybe-install-pdf-target-libbacktrace:
44522 @if target-libbacktrace
44523 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
44525 install-pdf-target-libbacktrace: \
44526 configure-target-libbacktrace \
44527 pdf-target-libbacktrace
44528 @: $(MAKE); $(unstage)
44529 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44530 r=`${PWD_COMMAND}`; export r; \
44531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44532 $(NORMAL_TARGET_EXPORTS) \
44533 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
44534 for flag in $(EXTRA_TARGET_FLAGS); do \
44535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44536 done; \
44537 (cd $(TARGET_SUBDIR)/libbacktrace && \
44538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44540 "RANLIB=$${RANLIB}" \
44541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44542 install-pdf) \
44543 || exit 1
44545 @endif target-libbacktrace
44547 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
44548 maybe-install-html-target-libbacktrace:
44549 @if target-libbacktrace
44550 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
44552 install-html-target-libbacktrace: \
44553 configure-target-libbacktrace \
44554 html-target-libbacktrace
44555 @: $(MAKE); $(unstage)
44556 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44557 r=`${PWD_COMMAND}`; export r; \
44558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44559 $(NORMAL_TARGET_EXPORTS) \
44560 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
44561 for flag in $(EXTRA_TARGET_FLAGS); do \
44562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44563 done; \
44564 (cd $(TARGET_SUBDIR)/libbacktrace && \
44565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44567 "RANLIB=$${RANLIB}" \
44568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44569 install-html) \
44570 || exit 1
44572 @endif target-libbacktrace
44574 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
44575 maybe-installcheck-target-libbacktrace:
44576 @if target-libbacktrace
44577 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
44579 installcheck-target-libbacktrace: \
44580 configure-target-libbacktrace
44581 @: $(MAKE); $(unstage)
44582 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44583 r=`${PWD_COMMAND}`; export r; \
44584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44585 $(NORMAL_TARGET_EXPORTS) \
44586 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
44587 for flag in $(EXTRA_TARGET_FLAGS); do \
44588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44589 done; \
44590 (cd $(TARGET_SUBDIR)/libbacktrace && \
44591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44593 "RANLIB=$${RANLIB}" \
44594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44595 installcheck) \
44596 || exit 1
44598 @endif target-libbacktrace
44600 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
44601 maybe-mostlyclean-target-libbacktrace:
44602 @if target-libbacktrace
44603 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
44605 mostlyclean-target-libbacktrace:
44606 @: $(MAKE); $(unstage)
44607 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44608 r=`${PWD_COMMAND}`; export r; \
44609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44610 $(NORMAL_TARGET_EXPORTS) \
44611 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
44612 for flag in $(EXTRA_TARGET_FLAGS); do \
44613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44614 done; \
44615 (cd $(TARGET_SUBDIR)/libbacktrace && \
44616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44618 "RANLIB=$${RANLIB}" \
44619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44620 mostlyclean) \
44621 || exit 1
44623 @endif target-libbacktrace
44625 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
44626 maybe-clean-target-libbacktrace:
44627 @if target-libbacktrace
44628 maybe-clean-target-libbacktrace: clean-target-libbacktrace
44630 clean-target-libbacktrace:
44631 @: $(MAKE); $(unstage)
44632 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44633 r=`${PWD_COMMAND}`; export r; \
44634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44635 $(NORMAL_TARGET_EXPORTS) \
44636 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
44637 for flag in $(EXTRA_TARGET_FLAGS); do \
44638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44639 done; \
44640 (cd $(TARGET_SUBDIR)/libbacktrace && \
44641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44643 "RANLIB=$${RANLIB}" \
44644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44645 clean) \
44646 || exit 1
44648 @endif target-libbacktrace
44650 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
44651 maybe-distclean-target-libbacktrace:
44652 @if target-libbacktrace
44653 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
44655 distclean-target-libbacktrace:
44656 @: $(MAKE); $(unstage)
44657 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44658 r=`${PWD_COMMAND}`; export r; \
44659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44660 $(NORMAL_TARGET_EXPORTS) \
44661 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
44662 for flag in $(EXTRA_TARGET_FLAGS); do \
44663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44664 done; \
44665 (cd $(TARGET_SUBDIR)/libbacktrace && \
44666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44668 "RANLIB=$${RANLIB}" \
44669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44670 distclean) \
44671 || exit 1
44673 @endif target-libbacktrace
44675 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
44676 maybe-maintainer-clean-target-libbacktrace:
44677 @if target-libbacktrace
44678 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
44680 maintainer-clean-target-libbacktrace:
44681 @: $(MAKE); $(unstage)
44682 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
44683 r=`${PWD_COMMAND}`; export r; \
44684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44685 $(NORMAL_TARGET_EXPORTS) \
44686 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
44687 for flag in $(EXTRA_TARGET_FLAGS); do \
44688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44689 done; \
44690 (cd $(TARGET_SUBDIR)/libbacktrace && \
44691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44693 "RANLIB=$${RANLIB}" \
44694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44695 maintainer-clean) \
44696 || exit 1
44698 @endif target-libbacktrace
44704 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
44705 maybe-configure-target-libquadmath:
44706 @if gcc-bootstrap
44707 configure-target-libquadmath: stage_current
44708 @endif gcc-bootstrap
44709 @if target-libquadmath
44710 maybe-configure-target-libquadmath: configure-target-libquadmath
44711 configure-target-libquadmath:
44712 @: $(MAKE); $(unstage)
44713 @r=`${PWD_COMMAND}`; export r; \
44714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44715 echo "Checking multilib configuration for libquadmath..."; \
44716 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
44717 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
44718 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
44719 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
44720 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
44721 else \
44722 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
44723 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
44724 fi; \
44725 else \
44726 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
44727 fi; \
44728 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
44729 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
44730 $(NORMAL_TARGET_EXPORTS) \
44731 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
44732 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
44733 case $(srcdir) in \
44734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44735 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
44736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44737 esac; \
44738 module_srcdir=libquadmath; \
44739 rm -f no-such-file || : ; \
44740 CONFIG_SITE=no-such-file $(SHELL) \
44741 $$s/$$module_srcdir/configure \
44742 --srcdir=$${topdir}/$$module_srcdir \
44743 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44744 --target=${target_alias} \
44745 || exit 1
44746 @endif target-libquadmath
44752 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
44753 maybe-all-target-libquadmath:
44754 @if gcc-bootstrap
44755 all-target-libquadmath: stage_current
44756 @endif gcc-bootstrap
44757 @if target-libquadmath
44758 TARGET-target-libquadmath=all
44759 maybe-all-target-libquadmath: all-target-libquadmath
44760 all-target-libquadmath: configure-target-libquadmath
44761 @: $(MAKE); $(unstage)
44762 @r=`${PWD_COMMAND}`; export r; \
44763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44764 $(NORMAL_TARGET_EXPORTS) \
44765 (cd $(TARGET_SUBDIR)/libquadmath && \
44766 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44767 $(TARGET-target-libquadmath))
44768 @endif target-libquadmath
44774 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
44775 maybe-check-target-libquadmath:
44776 @if target-libquadmath
44777 maybe-check-target-libquadmath: check-target-libquadmath
44779 check-target-libquadmath:
44780 @: $(MAKE); $(unstage)
44781 @r=`${PWD_COMMAND}`; export r; \
44782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44783 $(NORMAL_TARGET_EXPORTS) \
44784 (cd $(TARGET_SUBDIR)/libquadmath && \
44785 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44787 @endif target-libquadmath
44789 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
44790 maybe-install-target-libquadmath:
44791 @if target-libquadmath
44792 maybe-install-target-libquadmath: install-target-libquadmath
44794 install-target-libquadmath: installdirs
44795 @: $(MAKE); $(unstage)
44796 @r=`${PWD_COMMAND}`; export r; \
44797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44798 $(NORMAL_TARGET_EXPORTS) \
44799 (cd $(TARGET_SUBDIR)/libquadmath && \
44800 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44802 @endif target-libquadmath
44804 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
44805 maybe-install-strip-target-libquadmath:
44806 @if target-libquadmath
44807 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
44809 install-strip-target-libquadmath: installdirs
44810 @: $(MAKE); $(unstage)
44811 @r=`${PWD_COMMAND}`; export r; \
44812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44813 $(NORMAL_TARGET_EXPORTS) \
44814 (cd $(TARGET_SUBDIR)/libquadmath && \
44815 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44817 @endif target-libquadmath
44819 # Other targets (info, dvi, pdf, etc.)
44821 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
44822 maybe-info-target-libquadmath:
44823 @if target-libquadmath
44824 maybe-info-target-libquadmath: info-target-libquadmath
44826 info-target-libquadmath: \
44827 configure-target-libquadmath
44828 @: $(MAKE); $(unstage)
44829 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44830 r=`${PWD_COMMAND}`; export r; \
44831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44832 $(NORMAL_TARGET_EXPORTS) \
44833 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
44834 for flag in $(EXTRA_TARGET_FLAGS); do \
44835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44836 done; \
44837 (cd $(TARGET_SUBDIR)/libquadmath && \
44838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44840 "RANLIB=$${RANLIB}" \
44841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44842 info) \
44843 || exit 1
44845 @endif target-libquadmath
44847 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
44848 maybe-dvi-target-libquadmath:
44849 @if target-libquadmath
44850 maybe-dvi-target-libquadmath: dvi-target-libquadmath
44852 dvi-target-libquadmath: \
44853 configure-target-libquadmath
44854 @: $(MAKE); $(unstage)
44855 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44856 r=`${PWD_COMMAND}`; export r; \
44857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44858 $(NORMAL_TARGET_EXPORTS) \
44859 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
44860 for flag in $(EXTRA_TARGET_FLAGS); do \
44861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44862 done; \
44863 (cd $(TARGET_SUBDIR)/libquadmath && \
44864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44866 "RANLIB=$${RANLIB}" \
44867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44868 dvi) \
44869 || exit 1
44871 @endif target-libquadmath
44873 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
44874 maybe-pdf-target-libquadmath:
44875 @if target-libquadmath
44876 maybe-pdf-target-libquadmath: pdf-target-libquadmath
44878 pdf-target-libquadmath: \
44879 configure-target-libquadmath
44880 @: $(MAKE); $(unstage)
44881 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44882 r=`${PWD_COMMAND}`; export r; \
44883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44884 $(NORMAL_TARGET_EXPORTS) \
44885 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
44886 for flag in $(EXTRA_TARGET_FLAGS); do \
44887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44888 done; \
44889 (cd $(TARGET_SUBDIR)/libquadmath && \
44890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44892 "RANLIB=$${RANLIB}" \
44893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44894 pdf) \
44895 || exit 1
44897 @endif target-libquadmath
44899 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
44900 maybe-html-target-libquadmath:
44901 @if target-libquadmath
44902 maybe-html-target-libquadmath: html-target-libquadmath
44904 html-target-libquadmath: \
44905 configure-target-libquadmath
44906 @: $(MAKE); $(unstage)
44907 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44908 r=`${PWD_COMMAND}`; export r; \
44909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44910 $(NORMAL_TARGET_EXPORTS) \
44911 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
44912 for flag in $(EXTRA_TARGET_FLAGS); do \
44913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44914 done; \
44915 (cd $(TARGET_SUBDIR)/libquadmath && \
44916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44918 "RANLIB=$${RANLIB}" \
44919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44920 html) \
44921 || exit 1
44923 @endif target-libquadmath
44925 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
44926 maybe-TAGS-target-libquadmath:
44927 @if target-libquadmath
44928 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
44930 TAGS-target-libquadmath: \
44931 configure-target-libquadmath
44932 @: $(MAKE); $(unstage)
44933 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44934 r=`${PWD_COMMAND}`; export r; \
44935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44936 $(NORMAL_TARGET_EXPORTS) \
44937 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
44938 for flag in $(EXTRA_TARGET_FLAGS); do \
44939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44940 done; \
44941 (cd $(TARGET_SUBDIR)/libquadmath && \
44942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44944 "RANLIB=$${RANLIB}" \
44945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44946 TAGS) \
44947 || exit 1
44949 @endif target-libquadmath
44951 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
44952 maybe-install-info-target-libquadmath:
44953 @if target-libquadmath
44954 maybe-install-info-target-libquadmath: install-info-target-libquadmath
44956 install-info-target-libquadmath: \
44957 configure-target-libquadmath \
44958 info-target-libquadmath
44959 @: $(MAKE); $(unstage)
44960 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44961 r=`${PWD_COMMAND}`; export r; \
44962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44963 $(NORMAL_TARGET_EXPORTS) \
44964 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
44965 for flag in $(EXTRA_TARGET_FLAGS); do \
44966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44967 done; \
44968 (cd $(TARGET_SUBDIR)/libquadmath && \
44969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44971 "RANLIB=$${RANLIB}" \
44972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44973 install-info) \
44974 || exit 1
44976 @endif target-libquadmath
44978 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
44979 maybe-install-pdf-target-libquadmath:
44980 @if target-libquadmath
44981 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
44983 install-pdf-target-libquadmath: \
44984 configure-target-libquadmath \
44985 pdf-target-libquadmath
44986 @: $(MAKE); $(unstage)
44987 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
44988 r=`${PWD_COMMAND}`; export r; \
44989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44990 $(NORMAL_TARGET_EXPORTS) \
44991 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
44992 for flag in $(EXTRA_TARGET_FLAGS); do \
44993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44994 done; \
44995 (cd $(TARGET_SUBDIR)/libquadmath && \
44996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44998 "RANLIB=$${RANLIB}" \
44999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45000 install-pdf) \
45001 || exit 1
45003 @endif target-libquadmath
45005 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
45006 maybe-install-html-target-libquadmath:
45007 @if target-libquadmath
45008 maybe-install-html-target-libquadmath: install-html-target-libquadmath
45010 install-html-target-libquadmath: \
45011 configure-target-libquadmath \
45012 html-target-libquadmath
45013 @: $(MAKE); $(unstage)
45014 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45015 r=`${PWD_COMMAND}`; export r; \
45016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45017 $(NORMAL_TARGET_EXPORTS) \
45018 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
45019 for flag in $(EXTRA_TARGET_FLAGS); do \
45020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45021 done; \
45022 (cd $(TARGET_SUBDIR)/libquadmath && \
45023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45025 "RANLIB=$${RANLIB}" \
45026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45027 install-html) \
45028 || exit 1
45030 @endif target-libquadmath
45032 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
45033 maybe-installcheck-target-libquadmath:
45034 @if target-libquadmath
45035 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
45037 installcheck-target-libquadmath: \
45038 configure-target-libquadmath
45039 @: $(MAKE); $(unstage)
45040 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45041 r=`${PWD_COMMAND}`; export r; \
45042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45043 $(NORMAL_TARGET_EXPORTS) \
45044 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
45045 for flag in $(EXTRA_TARGET_FLAGS); do \
45046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45047 done; \
45048 (cd $(TARGET_SUBDIR)/libquadmath && \
45049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45051 "RANLIB=$${RANLIB}" \
45052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45053 installcheck) \
45054 || exit 1
45056 @endif target-libquadmath
45058 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
45059 maybe-mostlyclean-target-libquadmath:
45060 @if target-libquadmath
45061 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
45063 mostlyclean-target-libquadmath:
45064 @: $(MAKE); $(unstage)
45065 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45066 r=`${PWD_COMMAND}`; export r; \
45067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45068 $(NORMAL_TARGET_EXPORTS) \
45069 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
45070 for flag in $(EXTRA_TARGET_FLAGS); do \
45071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45072 done; \
45073 (cd $(TARGET_SUBDIR)/libquadmath && \
45074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45076 "RANLIB=$${RANLIB}" \
45077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45078 mostlyclean) \
45079 || exit 1
45081 @endif target-libquadmath
45083 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
45084 maybe-clean-target-libquadmath:
45085 @if target-libquadmath
45086 maybe-clean-target-libquadmath: clean-target-libquadmath
45088 clean-target-libquadmath:
45089 @: $(MAKE); $(unstage)
45090 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45091 r=`${PWD_COMMAND}`; export r; \
45092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45093 $(NORMAL_TARGET_EXPORTS) \
45094 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
45095 for flag in $(EXTRA_TARGET_FLAGS); do \
45096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45097 done; \
45098 (cd $(TARGET_SUBDIR)/libquadmath && \
45099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45101 "RANLIB=$${RANLIB}" \
45102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45103 clean) \
45104 || exit 1
45106 @endif target-libquadmath
45108 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
45109 maybe-distclean-target-libquadmath:
45110 @if target-libquadmath
45111 maybe-distclean-target-libquadmath: distclean-target-libquadmath
45113 distclean-target-libquadmath:
45114 @: $(MAKE); $(unstage)
45115 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45116 r=`${PWD_COMMAND}`; export r; \
45117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45118 $(NORMAL_TARGET_EXPORTS) \
45119 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
45120 for flag in $(EXTRA_TARGET_FLAGS); do \
45121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45122 done; \
45123 (cd $(TARGET_SUBDIR)/libquadmath && \
45124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45126 "RANLIB=$${RANLIB}" \
45127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45128 distclean) \
45129 || exit 1
45131 @endif target-libquadmath
45133 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
45134 maybe-maintainer-clean-target-libquadmath:
45135 @if target-libquadmath
45136 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
45138 maintainer-clean-target-libquadmath:
45139 @: $(MAKE); $(unstage)
45140 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
45141 r=`${PWD_COMMAND}`; export r; \
45142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45143 $(NORMAL_TARGET_EXPORTS) \
45144 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
45145 for flag in $(EXTRA_TARGET_FLAGS); do \
45146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45147 done; \
45148 (cd $(TARGET_SUBDIR)/libquadmath && \
45149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45151 "RANLIB=$${RANLIB}" \
45152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45153 maintainer-clean) \
45154 || exit 1
45156 @endif target-libquadmath
45162 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
45163 maybe-configure-target-libgfortran:
45164 @if gcc-bootstrap
45165 configure-target-libgfortran: stage_current
45166 @endif gcc-bootstrap
45167 @if target-libgfortran
45168 maybe-configure-target-libgfortran: configure-target-libgfortran
45169 configure-target-libgfortran:
45170 @: $(MAKE); $(unstage)
45171 @r=`${PWD_COMMAND}`; export r; \
45172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45173 echo "Checking multilib configuration for libgfortran..."; \
45174 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
45175 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
45176 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
45177 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
45178 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
45179 else \
45180 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
45181 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
45182 fi; \
45183 else \
45184 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
45185 fi; \
45186 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
45187 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
45188 $(NORMAL_TARGET_EXPORTS) \
45189 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
45190 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
45191 case $(srcdir) in \
45192 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45193 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
45194 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45195 esac; \
45196 module_srcdir=libgfortran; \
45197 rm -f no-such-file || : ; \
45198 CONFIG_SITE=no-such-file $(SHELL) \
45199 $$s/$$module_srcdir/configure \
45200 --srcdir=$${topdir}/$$module_srcdir \
45201 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45202 --target=${target_alias} \
45203 || exit 1
45204 @endif target-libgfortran
45210 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
45211 maybe-all-target-libgfortran:
45212 @if gcc-bootstrap
45213 all-target-libgfortran: stage_current
45214 @endif gcc-bootstrap
45215 @if target-libgfortran
45216 TARGET-target-libgfortran=all
45217 maybe-all-target-libgfortran: all-target-libgfortran
45218 all-target-libgfortran: configure-target-libgfortran
45219 @: $(MAKE); $(unstage)
45220 @r=`${PWD_COMMAND}`; export r; \
45221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45222 $(NORMAL_TARGET_EXPORTS) \
45223 (cd $(TARGET_SUBDIR)/libgfortran && \
45224 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45225 $(TARGET-target-libgfortran))
45226 @endif target-libgfortran
45232 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
45233 maybe-check-target-libgfortran:
45234 @if target-libgfortran
45235 maybe-check-target-libgfortran: check-target-libgfortran
45237 check-target-libgfortran:
45238 @: $(MAKE); $(unstage)
45239 @r=`${PWD_COMMAND}`; export r; \
45240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45241 $(NORMAL_TARGET_EXPORTS) \
45242 (cd $(TARGET_SUBDIR)/libgfortran && \
45243 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45245 @endif target-libgfortran
45247 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
45248 maybe-install-target-libgfortran:
45249 @if target-libgfortran
45250 maybe-install-target-libgfortran: install-target-libgfortran
45252 install-target-libgfortran: installdirs
45253 @: $(MAKE); $(unstage)
45254 @r=`${PWD_COMMAND}`; export r; \
45255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45256 $(NORMAL_TARGET_EXPORTS) \
45257 (cd $(TARGET_SUBDIR)/libgfortran && \
45258 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45260 @endif target-libgfortran
45262 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
45263 maybe-install-strip-target-libgfortran:
45264 @if target-libgfortran
45265 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
45267 install-strip-target-libgfortran: installdirs
45268 @: $(MAKE); $(unstage)
45269 @r=`${PWD_COMMAND}`; export r; \
45270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45271 $(NORMAL_TARGET_EXPORTS) \
45272 (cd $(TARGET_SUBDIR)/libgfortran && \
45273 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45275 @endif target-libgfortran
45277 # Other targets (info, dvi, pdf, etc.)
45279 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
45280 maybe-info-target-libgfortran:
45281 @if target-libgfortran
45282 maybe-info-target-libgfortran: info-target-libgfortran
45284 info-target-libgfortran: \
45285 configure-target-libgfortran
45286 @: $(MAKE); $(unstage)
45287 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45288 r=`${PWD_COMMAND}`; export r; \
45289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45290 $(NORMAL_TARGET_EXPORTS) \
45291 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
45292 for flag in $(EXTRA_TARGET_FLAGS); do \
45293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45294 done; \
45295 (cd $(TARGET_SUBDIR)/libgfortran && \
45296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45298 "RANLIB=$${RANLIB}" \
45299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45300 info) \
45301 || exit 1
45303 @endif target-libgfortran
45305 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
45306 maybe-dvi-target-libgfortran:
45307 @if target-libgfortran
45308 maybe-dvi-target-libgfortran: dvi-target-libgfortran
45310 dvi-target-libgfortran: \
45311 configure-target-libgfortran
45312 @: $(MAKE); $(unstage)
45313 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45314 r=`${PWD_COMMAND}`; export r; \
45315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45316 $(NORMAL_TARGET_EXPORTS) \
45317 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
45318 for flag in $(EXTRA_TARGET_FLAGS); do \
45319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45320 done; \
45321 (cd $(TARGET_SUBDIR)/libgfortran && \
45322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45324 "RANLIB=$${RANLIB}" \
45325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45326 dvi) \
45327 || exit 1
45329 @endif target-libgfortran
45331 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
45332 maybe-pdf-target-libgfortran:
45333 @if target-libgfortran
45334 maybe-pdf-target-libgfortran: pdf-target-libgfortran
45336 pdf-target-libgfortran: \
45337 configure-target-libgfortran
45338 @: $(MAKE); $(unstage)
45339 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45340 r=`${PWD_COMMAND}`; export r; \
45341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45342 $(NORMAL_TARGET_EXPORTS) \
45343 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
45344 for flag in $(EXTRA_TARGET_FLAGS); do \
45345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45346 done; \
45347 (cd $(TARGET_SUBDIR)/libgfortran && \
45348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45350 "RANLIB=$${RANLIB}" \
45351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45352 pdf) \
45353 || exit 1
45355 @endif target-libgfortran
45357 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
45358 maybe-html-target-libgfortran:
45359 @if target-libgfortran
45360 maybe-html-target-libgfortran: html-target-libgfortran
45362 html-target-libgfortran: \
45363 configure-target-libgfortran
45364 @: $(MAKE); $(unstage)
45365 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45366 r=`${PWD_COMMAND}`; export r; \
45367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45368 $(NORMAL_TARGET_EXPORTS) \
45369 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
45370 for flag in $(EXTRA_TARGET_FLAGS); do \
45371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45372 done; \
45373 (cd $(TARGET_SUBDIR)/libgfortran && \
45374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45376 "RANLIB=$${RANLIB}" \
45377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45378 html) \
45379 || exit 1
45381 @endif target-libgfortran
45383 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
45384 maybe-TAGS-target-libgfortran:
45385 @if target-libgfortran
45386 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
45388 TAGS-target-libgfortran: \
45389 configure-target-libgfortran
45390 @: $(MAKE); $(unstage)
45391 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45392 r=`${PWD_COMMAND}`; export r; \
45393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45394 $(NORMAL_TARGET_EXPORTS) \
45395 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
45396 for flag in $(EXTRA_TARGET_FLAGS); do \
45397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45398 done; \
45399 (cd $(TARGET_SUBDIR)/libgfortran && \
45400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45402 "RANLIB=$${RANLIB}" \
45403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45404 TAGS) \
45405 || exit 1
45407 @endif target-libgfortran
45409 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
45410 maybe-install-info-target-libgfortran:
45411 @if target-libgfortran
45412 maybe-install-info-target-libgfortran: install-info-target-libgfortran
45414 install-info-target-libgfortran: \
45415 configure-target-libgfortran \
45416 info-target-libgfortran
45417 @: $(MAKE); $(unstage)
45418 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45419 r=`${PWD_COMMAND}`; export r; \
45420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45421 $(NORMAL_TARGET_EXPORTS) \
45422 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
45423 for flag in $(EXTRA_TARGET_FLAGS); do \
45424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45425 done; \
45426 (cd $(TARGET_SUBDIR)/libgfortran && \
45427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45429 "RANLIB=$${RANLIB}" \
45430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45431 install-info) \
45432 || exit 1
45434 @endif target-libgfortran
45436 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
45437 maybe-install-pdf-target-libgfortran:
45438 @if target-libgfortran
45439 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
45441 install-pdf-target-libgfortran: \
45442 configure-target-libgfortran \
45443 pdf-target-libgfortran
45444 @: $(MAKE); $(unstage)
45445 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45446 r=`${PWD_COMMAND}`; export r; \
45447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45448 $(NORMAL_TARGET_EXPORTS) \
45449 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
45450 for flag in $(EXTRA_TARGET_FLAGS); do \
45451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45452 done; \
45453 (cd $(TARGET_SUBDIR)/libgfortran && \
45454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45456 "RANLIB=$${RANLIB}" \
45457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45458 install-pdf) \
45459 || exit 1
45461 @endif target-libgfortran
45463 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
45464 maybe-install-html-target-libgfortran:
45465 @if target-libgfortran
45466 maybe-install-html-target-libgfortran: install-html-target-libgfortran
45468 install-html-target-libgfortran: \
45469 configure-target-libgfortran \
45470 html-target-libgfortran
45471 @: $(MAKE); $(unstage)
45472 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45473 r=`${PWD_COMMAND}`; export r; \
45474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45475 $(NORMAL_TARGET_EXPORTS) \
45476 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
45477 for flag in $(EXTRA_TARGET_FLAGS); do \
45478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45479 done; \
45480 (cd $(TARGET_SUBDIR)/libgfortran && \
45481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45483 "RANLIB=$${RANLIB}" \
45484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45485 install-html) \
45486 || exit 1
45488 @endif target-libgfortran
45490 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
45491 maybe-installcheck-target-libgfortran:
45492 @if target-libgfortran
45493 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
45495 installcheck-target-libgfortran: \
45496 configure-target-libgfortran
45497 @: $(MAKE); $(unstage)
45498 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45499 r=`${PWD_COMMAND}`; export r; \
45500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45501 $(NORMAL_TARGET_EXPORTS) \
45502 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
45503 for flag in $(EXTRA_TARGET_FLAGS); do \
45504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45505 done; \
45506 (cd $(TARGET_SUBDIR)/libgfortran && \
45507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45509 "RANLIB=$${RANLIB}" \
45510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45511 installcheck) \
45512 || exit 1
45514 @endif target-libgfortran
45516 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
45517 maybe-mostlyclean-target-libgfortran:
45518 @if target-libgfortran
45519 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
45521 mostlyclean-target-libgfortran:
45522 @: $(MAKE); $(unstage)
45523 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45524 r=`${PWD_COMMAND}`; export r; \
45525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45526 $(NORMAL_TARGET_EXPORTS) \
45527 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
45528 for flag in $(EXTRA_TARGET_FLAGS); do \
45529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45530 done; \
45531 (cd $(TARGET_SUBDIR)/libgfortran && \
45532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45534 "RANLIB=$${RANLIB}" \
45535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45536 mostlyclean) \
45537 || exit 1
45539 @endif target-libgfortran
45541 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
45542 maybe-clean-target-libgfortran:
45543 @if target-libgfortran
45544 maybe-clean-target-libgfortran: clean-target-libgfortran
45546 clean-target-libgfortran:
45547 @: $(MAKE); $(unstage)
45548 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45549 r=`${PWD_COMMAND}`; export r; \
45550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45551 $(NORMAL_TARGET_EXPORTS) \
45552 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
45553 for flag in $(EXTRA_TARGET_FLAGS); do \
45554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45555 done; \
45556 (cd $(TARGET_SUBDIR)/libgfortran && \
45557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45559 "RANLIB=$${RANLIB}" \
45560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45561 clean) \
45562 || exit 1
45564 @endif target-libgfortran
45566 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
45567 maybe-distclean-target-libgfortran:
45568 @if target-libgfortran
45569 maybe-distclean-target-libgfortran: distclean-target-libgfortran
45571 distclean-target-libgfortran:
45572 @: $(MAKE); $(unstage)
45573 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45574 r=`${PWD_COMMAND}`; export r; \
45575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45576 $(NORMAL_TARGET_EXPORTS) \
45577 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
45578 for flag in $(EXTRA_TARGET_FLAGS); do \
45579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45580 done; \
45581 (cd $(TARGET_SUBDIR)/libgfortran && \
45582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45584 "RANLIB=$${RANLIB}" \
45585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45586 distclean) \
45587 || exit 1
45589 @endif target-libgfortran
45591 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
45592 maybe-maintainer-clean-target-libgfortran:
45593 @if target-libgfortran
45594 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
45596 maintainer-clean-target-libgfortran:
45597 @: $(MAKE); $(unstage)
45598 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
45599 r=`${PWD_COMMAND}`; export r; \
45600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45601 $(NORMAL_TARGET_EXPORTS) \
45602 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
45603 for flag in $(EXTRA_TARGET_FLAGS); do \
45604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45605 done; \
45606 (cd $(TARGET_SUBDIR)/libgfortran && \
45607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45609 "RANLIB=$${RANLIB}" \
45610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45611 maintainer-clean) \
45612 || exit 1
45614 @endif target-libgfortran
45620 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
45621 maybe-configure-target-libobjc:
45622 @if gcc-bootstrap
45623 configure-target-libobjc: stage_current
45624 @endif gcc-bootstrap
45625 @if target-libobjc
45626 maybe-configure-target-libobjc: configure-target-libobjc
45627 configure-target-libobjc:
45628 @: $(MAKE); $(unstage)
45629 @r=`${PWD_COMMAND}`; export r; \
45630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45631 echo "Checking multilib configuration for libobjc..."; \
45632 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
45633 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
45634 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45635 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
45636 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
45637 else \
45638 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
45639 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
45640 fi; \
45641 else \
45642 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
45643 fi; \
45644 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
45645 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
45646 $(NORMAL_TARGET_EXPORTS) \
45647 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
45648 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
45649 case $(srcdir) in \
45650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45651 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
45652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45653 esac; \
45654 module_srcdir=libobjc; \
45655 rm -f no-such-file || : ; \
45656 CONFIG_SITE=no-such-file $(SHELL) \
45657 $$s/$$module_srcdir/configure \
45658 --srcdir=$${topdir}/$$module_srcdir \
45659 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45660 --target=${target_alias} \
45661 || exit 1
45662 @endif target-libobjc
45668 .PHONY: all-target-libobjc maybe-all-target-libobjc
45669 maybe-all-target-libobjc:
45670 @if gcc-bootstrap
45671 all-target-libobjc: stage_current
45672 @endif gcc-bootstrap
45673 @if target-libobjc
45674 TARGET-target-libobjc=all
45675 maybe-all-target-libobjc: all-target-libobjc
45676 all-target-libobjc: configure-target-libobjc
45677 @: $(MAKE); $(unstage)
45678 @r=`${PWD_COMMAND}`; export r; \
45679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45680 $(NORMAL_TARGET_EXPORTS) \
45681 (cd $(TARGET_SUBDIR)/libobjc && \
45682 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45683 $(TARGET-target-libobjc))
45684 @endif target-libobjc
45690 .PHONY: check-target-libobjc maybe-check-target-libobjc
45691 maybe-check-target-libobjc:
45692 @if target-libobjc
45693 maybe-check-target-libobjc: check-target-libobjc
45695 check-target-libobjc:
45696 @: $(MAKE); $(unstage)
45697 @r=`${PWD_COMMAND}`; export r; \
45698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45699 $(NORMAL_TARGET_EXPORTS) \
45700 (cd $(TARGET_SUBDIR)/libobjc && \
45701 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45703 @endif target-libobjc
45705 .PHONY: install-target-libobjc maybe-install-target-libobjc
45706 maybe-install-target-libobjc:
45707 @if target-libobjc
45708 maybe-install-target-libobjc: install-target-libobjc
45710 install-target-libobjc: installdirs
45711 @: $(MAKE); $(unstage)
45712 @r=`${PWD_COMMAND}`; export r; \
45713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45714 $(NORMAL_TARGET_EXPORTS) \
45715 (cd $(TARGET_SUBDIR)/libobjc && \
45716 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45718 @endif target-libobjc
45720 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
45721 maybe-install-strip-target-libobjc:
45722 @if target-libobjc
45723 maybe-install-strip-target-libobjc: install-strip-target-libobjc
45725 install-strip-target-libobjc: installdirs
45726 @: $(MAKE); $(unstage)
45727 @r=`${PWD_COMMAND}`; export r; \
45728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45729 $(NORMAL_TARGET_EXPORTS) \
45730 (cd $(TARGET_SUBDIR)/libobjc && \
45731 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45733 @endif target-libobjc
45735 # Other targets (info, dvi, pdf, etc.)
45737 .PHONY: maybe-info-target-libobjc info-target-libobjc
45738 maybe-info-target-libobjc:
45739 @if target-libobjc
45740 maybe-info-target-libobjc: info-target-libobjc
45742 info-target-libobjc: \
45743 configure-target-libobjc
45744 @: $(MAKE); $(unstage)
45745 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45746 r=`${PWD_COMMAND}`; export r; \
45747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45748 $(NORMAL_TARGET_EXPORTS) \
45749 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
45750 for flag in $(EXTRA_TARGET_FLAGS); do \
45751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45752 done; \
45753 (cd $(TARGET_SUBDIR)/libobjc && \
45754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45756 "RANLIB=$${RANLIB}" \
45757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45758 info) \
45759 || exit 1
45761 @endif target-libobjc
45763 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
45764 maybe-dvi-target-libobjc:
45765 @if target-libobjc
45766 maybe-dvi-target-libobjc: dvi-target-libobjc
45768 dvi-target-libobjc: \
45769 configure-target-libobjc
45770 @: $(MAKE); $(unstage)
45771 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45772 r=`${PWD_COMMAND}`; export r; \
45773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45774 $(NORMAL_TARGET_EXPORTS) \
45775 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
45776 for flag in $(EXTRA_TARGET_FLAGS); do \
45777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45778 done; \
45779 (cd $(TARGET_SUBDIR)/libobjc && \
45780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45782 "RANLIB=$${RANLIB}" \
45783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45784 dvi) \
45785 || exit 1
45787 @endif target-libobjc
45789 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
45790 maybe-pdf-target-libobjc:
45791 @if target-libobjc
45792 maybe-pdf-target-libobjc: pdf-target-libobjc
45794 pdf-target-libobjc: \
45795 configure-target-libobjc
45796 @: $(MAKE); $(unstage)
45797 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45798 r=`${PWD_COMMAND}`; export r; \
45799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45800 $(NORMAL_TARGET_EXPORTS) \
45801 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
45802 for flag in $(EXTRA_TARGET_FLAGS); do \
45803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45804 done; \
45805 (cd $(TARGET_SUBDIR)/libobjc && \
45806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45808 "RANLIB=$${RANLIB}" \
45809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45810 pdf) \
45811 || exit 1
45813 @endif target-libobjc
45815 .PHONY: maybe-html-target-libobjc html-target-libobjc
45816 maybe-html-target-libobjc:
45817 @if target-libobjc
45818 maybe-html-target-libobjc: html-target-libobjc
45820 html-target-libobjc: \
45821 configure-target-libobjc
45822 @: $(MAKE); $(unstage)
45823 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45824 r=`${PWD_COMMAND}`; export r; \
45825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45826 $(NORMAL_TARGET_EXPORTS) \
45827 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
45828 for flag in $(EXTRA_TARGET_FLAGS); do \
45829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45830 done; \
45831 (cd $(TARGET_SUBDIR)/libobjc && \
45832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45834 "RANLIB=$${RANLIB}" \
45835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45836 html) \
45837 || exit 1
45839 @endif target-libobjc
45841 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
45842 maybe-TAGS-target-libobjc:
45843 @if target-libobjc
45844 maybe-TAGS-target-libobjc: TAGS-target-libobjc
45846 TAGS-target-libobjc: \
45847 configure-target-libobjc
45848 @: $(MAKE); $(unstage)
45849 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45850 r=`${PWD_COMMAND}`; export r; \
45851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45852 $(NORMAL_TARGET_EXPORTS) \
45853 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc"; \
45854 for flag in $(EXTRA_TARGET_FLAGS); do \
45855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45856 done; \
45857 (cd $(TARGET_SUBDIR)/libobjc && \
45858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45860 "RANLIB=$${RANLIB}" \
45861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45862 TAGS) \
45863 || exit 1
45865 @endif target-libobjc
45867 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
45868 maybe-install-info-target-libobjc:
45869 @if target-libobjc
45870 maybe-install-info-target-libobjc: install-info-target-libobjc
45872 install-info-target-libobjc: \
45873 configure-target-libobjc \
45874 info-target-libobjc
45875 @: $(MAKE); $(unstage)
45876 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45877 r=`${PWD_COMMAND}`; export r; \
45878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45879 $(NORMAL_TARGET_EXPORTS) \
45880 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
45881 for flag in $(EXTRA_TARGET_FLAGS); do \
45882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45883 done; \
45884 (cd $(TARGET_SUBDIR)/libobjc && \
45885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45887 "RANLIB=$${RANLIB}" \
45888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45889 install-info) \
45890 || exit 1
45892 @endif target-libobjc
45894 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
45895 maybe-install-pdf-target-libobjc:
45896 @if target-libobjc
45897 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
45899 install-pdf-target-libobjc: \
45900 configure-target-libobjc \
45901 pdf-target-libobjc
45902 @: $(MAKE); $(unstage)
45903 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45904 r=`${PWD_COMMAND}`; export r; \
45905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45906 $(NORMAL_TARGET_EXPORTS) \
45907 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
45908 for flag in $(EXTRA_TARGET_FLAGS); do \
45909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45910 done; \
45911 (cd $(TARGET_SUBDIR)/libobjc && \
45912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45914 "RANLIB=$${RANLIB}" \
45915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45916 install-pdf) \
45917 || exit 1
45919 @endif target-libobjc
45921 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
45922 maybe-install-html-target-libobjc:
45923 @if target-libobjc
45924 maybe-install-html-target-libobjc: install-html-target-libobjc
45926 install-html-target-libobjc: \
45927 configure-target-libobjc \
45928 html-target-libobjc
45929 @: $(MAKE); $(unstage)
45930 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45931 r=`${PWD_COMMAND}`; export r; \
45932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45933 $(NORMAL_TARGET_EXPORTS) \
45934 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
45935 for flag in $(EXTRA_TARGET_FLAGS); do \
45936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45937 done; \
45938 (cd $(TARGET_SUBDIR)/libobjc && \
45939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45941 "RANLIB=$${RANLIB}" \
45942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45943 install-html) \
45944 || exit 1
45946 @endif target-libobjc
45948 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
45949 maybe-installcheck-target-libobjc:
45950 @if target-libobjc
45951 maybe-installcheck-target-libobjc: installcheck-target-libobjc
45953 installcheck-target-libobjc: \
45954 configure-target-libobjc
45955 @: $(MAKE); $(unstage)
45956 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45957 r=`${PWD_COMMAND}`; export r; \
45958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45959 $(NORMAL_TARGET_EXPORTS) \
45960 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
45961 for flag in $(EXTRA_TARGET_FLAGS); do \
45962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45963 done; \
45964 (cd $(TARGET_SUBDIR)/libobjc && \
45965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45967 "RANLIB=$${RANLIB}" \
45968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45969 installcheck) \
45970 || exit 1
45972 @endif target-libobjc
45974 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
45975 maybe-mostlyclean-target-libobjc:
45976 @if target-libobjc
45977 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
45979 mostlyclean-target-libobjc:
45980 @: $(MAKE); $(unstage)
45981 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
45982 r=`${PWD_COMMAND}`; export r; \
45983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45984 $(NORMAL_TARGET_EXPORTS) \
45985 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
45986 for flag in $(EXTRA_TARGET_FLAGS); do \
45987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45988 done; \
45989 (cd $(TARGET_SUBDIR)/libobjc && \
45990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45992 "RANLIB=$${RANLIB}" \
45993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45994 mostlyclean) \
45995 || exit 1
45997 @endif target-libobjc
45999 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
46000 maybe-clean-target-libobjc:
46001 @if target-libobjc
46002 maybe-clean-target-libobjc: clean-target-libobjc
46004 clean-target-libobjc:
46005 @: $(MAKE); $(unstage)
46006 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
46007 r=`${PWD_COMMAND}`; export r; \
46008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46009 $(NORMAL_TARGET_EXPORTS) \
46010 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
46011 for flag in $(EXTRA_TARGET_FLAGS); do \
46012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46013 done; \
46014 (cd $(TARGET_SUBDIR)/libobjc && \
46015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46017 "RANLIB=$${RANLIB}" \
46018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46019 clean) \
46020 || exit 1
46022 @endif target-libobjc
46024 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
46025 maybe-distclean-target-libobjc:
46026 @if target-libobjc
46027 maybe-distclean-target-libobjc: distclean-target-libobjc
46029 distclean-target-libobjc:
46030 @: $(MAKE); $(unstage)
46031 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
46032 r=`${PWD_COMMAND}`; export r; \
46033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46034 $(NORMAL_TARGET_EXPORTS) \
46035 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
46036 for flag in $(EXTRA_TARGET_FLAGS); do \
46037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46038 done; \
46039 (cd $(TARGET_SUBDIR)/libobjc && \
46040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46042 "RANLIB=$${RANLIB}" \
46043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46044 distclean) \
46045 || exit 1
46047 @endif target-libobjc
46049 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
46050 maybe-maintainer-clean-target-libobjc:
46051 @if target-libobjc
46052 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
46054 maintainer-clean-target-libobjc:
46055 @: $(MAKE); $(unstage)
46056 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
46057 r=`${PWD_COMMAND}`; export r; \
46058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46059 $(NORMAL_TARGET_EXPORTS) \
46060 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
46061 for flag in $(EXTRA_TARGET_FLAGS); do \
46062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46063 done; \
46064 (cd $(TARGET_SUBDIR)/libobjc && \
46065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46067 "RANLIB=$${RANLIB}" \
46068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46069 maintainer-clean) \
46070 || exit 1
46072 @endif target-libobjc
46078 .PHONY: configure-target-libgo maybe-configure-target-libgo
46079 maybe-configure-target-libgo:
46080 @if gcc-bootstrap
46081 configure-target-libgo: stage_current
46082 @endif gcc-bootstrap
46083 @if target-libgo
46084 maybe-configure-target-libgo: configure-target-libgo
46085 configure-target-libgo:
46086 @: $(MAKE); $(unstage)
46087 @r=`${PWD_COMMAND}`; export r; \
46088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46089 echo "Checking multilib configuration for libgo..."; \
46090 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
46091 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
46092 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
46093 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
46094 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
46095 else \
46096 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
46097 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
46098 fi; \
46099 else \
46100 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
46101 fi; \
46102 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
46103 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
46104 $(NORMAL_TARGET_EXPORTS) \
46105 echo Configuring in $(TARGET_SUBDIR)/libgo; \
46106 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
46107 case $(srcdir) in \
46108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46109 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
46110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46111 esac; \
46112 module_srcdir=libgo; \
46113 rm -f no-such-file || : ; \
46114 CONFIG_SITE=no-such-file $(SHELL) \
46115 $$s/$$module_srcdir/configure \
46116 --srcdir=$${topdir}/$$module_srcdir \
46117 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46118 --target=${target_alias} \
46119 || exit 1
46120 @endif target-libgo
46126 .PHONY: all-target-libgo maybe-all-target-libgo
46127 maybe-all-target-libgo:
46128 @if gcc-bootstrap
46129 all-target-libgo: stage_current
46130 @endif gcc-bootstrap
46131 @if target-libgo
46132 TARGET-target-libgo=all
46133 maybe-all-target-libgo: all-target-libgo
46134 all-target-libgo: configure-target-libgo
46135 @: $(MAKE); $(unstage)
46136 @r=`${PWD_COMMAND}`; export r; \
46137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46138 $(NORMAL_TARGET_EXPORTS) \
46139 (cd $(TARGET_SUBDIR)/libgo && \
46140 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46141 $(TARGET-target-libgo))
46142 @endif target-libgo
46148 .PHONY: check-target-libgo maybe-check-target-libgo
46149 maybe-check-target-libgo:
46150 @if target-libgo
46151 maybe-check-target-libgo: check-target-libgo
46153 check-target-libgo:
46154 @: $(MAKE); $(unstage)
46155 @r=`${PWD_COMMAND}`; export r; \
46156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46157 $(NORMAL_TARGET_EXPORTS) \
46158 (cd $(TARGET_SUBDIR)/libgo && \
46159 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46161 @endif target-libgo
46163 .PHONY: install-target-libgo maybe-install-target-libgo
46164 maybe-install-target-libgo:
46165 @if target-libgo
46166 maybe-install-target-libgo: install-target-libgo
46168 install-target-libgo: installdirs
46169 @: $(MAKE); $(unstage)
46170 @r=`${PWD_COMMAND}`; export r; \
46171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46172 $(NORMAL_TARGET_EXPORTS) \
46173 (cd $(TARGET_SUBDIR)/libgo && \
46174 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46176 @endif target-libgo
46178 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
46179 maybe-install-strip-target-libgo:
46180 @if target-libgo
46181 maybe-install-strip-target-libgo: install-strip-target-libgo
46183 install-strip-target-libgo: installdirs
46184 @: $(MAKE); $(unstage)
46185 @r=`${PWD_COMMAND}`; export r; \
46186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46187 $(NORMAL_TARGET_EXPORTS) \
46188 (cd $(TARGET_SUBDIR)/libgo && \
46189 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46191 @endif target-libgo
46193 # Other targets (info, dvi, pdf, etc.)
46195 .PHONY: maybe-info-target-libgo info-target-libgo
46196 maybe-info-target-libgo:
46197 @if target-libgo
46198 maybe-info-target-libgo: info-target-libgo
46200 info-target-libgo: \
46201 configure-target-libgo
46202 @: $(MAKE); $(unstage)
46203 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46204 r=`${PWD_COMMAND}`; export r; \
46205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46206 $(NORMAL_TARGET_EXPORTS) \
46207 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
46208 for flag in $(EXTRA_TARGET_FLAGS); do \
46209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46210 done; \
46211 (cd $(TARGET_SUBDIR)/libgo && \
46212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46214 "RANLIB=$${RANLIB}" \
46215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46216 info) \
46217 || exit 1
46219 @endif target-libgo
46221 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
46222 maybe-dvi-target-libgo:
46223 @if target-libgo
46224 maybe-dvi-target-libgo: dvi-target-libgo
46226 dvi-target-libgo: \
46227 configure-target-libgo
46228 @: $(MAKE); $(unstage)
46229 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46230 r=`${PWD_COMMAND}`; export r; \
46231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46232 $(NORMAL_TARGET_EXPORTS) \
46233 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
46234 for flag in $(EXTRA_TARGET_FLAGS); do \
46235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46236 done; \
46237 (cd $(TARGET_SUBDIR)/libgo && \
46238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46240 "RANLIB=$${RANLIB}" \
46241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46242 dvi) \
46243 || exit 1
46245 @endif target-libgo
46247 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
46248 maybe-pdf-target-libgo:
46249 @if target-libgo
46250 maybe-pdf-target-libgo: pdf-target-libgo
46252 pdf-target-libgo: \
46253 configure-target-libgo
46254 @: $(MAKE); $(unstage)
46255 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46256 r=`${PWD_COMMAND}`; export r; \
46257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46258 $(NORMAL_TARGET_EXPORTS) \
46259 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
46260 for flag in $(EXTRA_TARGET_FLAGS); do \
46261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46262 done; \
46263 (cd $(TARGET_SUBDIR)/libgo && \
46264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46266 "RANLIB=$${RANLIB}" \
46267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46268 pdf) \
46269 || exit 1
46271 @endif target-libgo
46273 .PHONY: maybe-html-target-libgo html-target-libgo
46274 maybe-html-target-libgo:
46275 @if target-libgo
46276 maybe-html-target-libgo: html-target-libgo
46278 html-target-libgo: \
46279 configure-target-libgo
46280 @: $(MAKE); $(unstage)
46281 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46282 r=`${PWD_COMMAND}`; export r; \
46283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46284 $(NORMAL_TARGET_EXPORTS) \
46285 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
46286 for flag in $(EXTRA_TARGET_FLAGS); do \
46287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46288 done; \
46289 (cd $(TARGET_SUBDIR)/libgo && \
46290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46292 "RANLIB=$${RANLIB}" \
46293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46294 html) \
46295 || exit 1
46297 @endif target-libgo
46299 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
46300 maybe-TAGS-target-libgo:
46301 @if target-libgo
46302 maybe-TAGS-target-libgo: TAGS-target-libgo
46304 TAGS-target-libgo: \
46305 configure-target-libgo
46306 @: $(MAKE); $(unstage)
46307 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46308 r=`${PWD_COMMAND}`; export r; \
46309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46310 $(NORMAL_TARGET_EXPORTS) \
46311 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
46312 for flag in $(EXTRA_TARGET_FLAGS); do \
46313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46314 done; \
46315 (cd $(TARGET_SUBDIR)/libgo && \
46316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46318 "RANLIB=$${RANLIB}" \
46319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46320 TAGS) \
46321 || exit 1
46323 @endif target-libgo
46325 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
46326 maybe-install-info-target-libgo:
46327 @if target-libgo
46328 maybe-install-info-target-libgo: install-info-target-libgo
46330 install-info-target-libgo: \
46331 configure-target-libgo \
46332 info-target-libgo
46333 @: $(MAKE); $(unstage)
46334 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46335 r=`${PWD_COMMAND}`; export r; \
46336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46337 $(NORMAL_TARGET_EXPORTS) \
46338 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
46339 for flag in $(EXTRA_TARGET_FLAGS); do \
46340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46341 done; \
46342 (cd $(TARGET_SUBDIR)/libgo && \
46343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46345 "RANLIB=$${RANLIB}" \
46346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46347 install-info) \
46348 || exit 1
46350 @endif target-libgo
46352 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
46353 maybe-install-pdf-target-libgo:
46354 @if target-libgo
46355 maybe-install-pdf-target-libgo: install-pdf-target-libgo
46357 install-pdf-target-libgo: \
46358 configure-target-libgo \
46359 pdf-target-libgo
46360 @: $(MAKE); $(unstage)
46361 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46362 r=`${PWD_COMMAND}`; export r; \
46363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46364 $(NORMAL_TARGET_EXPORTS) \
46365 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
46366 for flag in $(EXTRA_TARGET_FLAGS); do \
46367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46368 done; \
46369 (cd $(TARGET_SUBDIR)/libgo && \
46370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46372 "RANLIB=$${RANLIB}" \
46373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46374 install-pdf) \
46375 || exit 1
46377 @endif target-libgo
46379 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
46380 maybe-install-html-target-libgo:
46381 @if target-libgo
46382 maybe-install-html-target-libgo: install-html-target-libgo
46384 install-html-target-libgo: \
46385 configure-target-libgo \
46386 html-target-libgo
46387 @: $(MAKE); $(unstage)
46388 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46389 r=`${PWD_COMMAND}`; export r; \
46390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46391 $(NORMAL_TARGET_EXPORTS) \
46392 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
46393 for flag in $(EXTRA_TARGET_FLAGS); do \
46394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46395 done; \
46396 (cd $(TARGET_SUBDIR)/libgo && \
46397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46399 "RANLIB=$${RANLIB}" \
46400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46401 install-html) \
46402 || exit 1
46404 @endif target-libgo
46406 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
46407 maybe-installcheck-target-libgo:
46408 @if target-libgo
46409 maybe-installcheck-target-libgo: installcheck-target-libgo
46411 installcheck-target-libgo: \
46412 configure-target-libgo
46413 @: $(MAKE); $(unstage)
46414 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46415 r=`${PWD_COMMAND}`; export r; \
46416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46417 $(NORMAL_TARGET_EXPORTS) \
46418 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
46419 for flag in $(EXTRA_TARGET_FLAGS); do \
46420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46421 done; \
46422 (cd $(TARGET_SUBDIR)/libgo && \
46423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46425 "RANLIB=$${RANLIB}" \
46426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46427 installcheck) \
46428 || exit 1
46430 @endif target-libgo
46432 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
46433 maybe-mostlyclean-target-libgo:
46434 @if target-libgo
46435 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
46437 mostlyclean-target-libgo:
46438 @: $(MAKE); $(unstage)
46439 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46440 r=`${PWD_COMMAND}`; export r; \
46441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46442 $(NORMAL_TARGET_EXPORTS) \
46443 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
46444 for flag in $(EXTRA_TARGET_FLAGS); do \
46445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46446 done; \
46447 (cd $(TARGET_SUBDIR)/libgo && \
46448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46450 "RANLIB=$${RANLIB}" \
46451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46452 mostlyclean) \
46453 || exit 1
46455 @endif target-libgo
46457 .PHONY: maybe-clean-target-libgo clean-target-libgo
46458 maybe-clean-target-libgo:
46459 @if target-libgo
46460 maybe-clean-target-libgo: clean-target-libgo
46462 clean-target-libgo:
46463 @: $(MAKE); $(unstage)
46464 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46465 r=`${PWD_COMMAND}`; export r; \
46466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46467 $(NORMAL_TARGET_EXPORTS) \
46468 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
46469 for flag in $(EXTRA_TARGET_FLAGS); do \
46470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46471 done; \
46472 (cd $(TARGET_SUBDIR)/libgo && \
46473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46475 "RANLIB=$${RANLIB}" \
46476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46477 clean) \
46478 || exit 1
46480 @endif target-libgo
46482 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
46483 maybe-distclean-target-libgo:
46484 @if target-libgo
46485 maybe-distclean-target-libgo: distclean-target-libgo
46487 distclean-target-libgo:
46488 @: $(MAKE); $(unstage)
46489 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46490 r=`${PWD_COMMAND}`; export r; \
46491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46492 $(NORMAL_TARGET_EXPORTS) \
46493 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
46494 for flag in $(EXTRA_TARGET_FLAGS); do \
46495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46496 done; \
46497 (cd $(TARGET_SUBDIR)/libgo && \
46498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46500 "RANLIB=$${RANLIB}" \
46501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46502 distclean) \
46503 || exit 1
46505 @endif target-libgo
46507 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
46508 maybe-maintainer-clean-target-libgo:
46509 @if target-libgo
46510 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
46512 maintainer-clean-target-libgo:
46513 @: $(MAKE); $(unstage)
46514 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
46515 r=`${PWD_COMMAND}`; export r; \
46516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46517 $(NORMAL_TARGET_EXPORTS) \
46518 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
46519 for flag in $(EXTRA_TARGET_FLAGS); do \
46520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46521 done; \
46522 (cd $(TARGET_SUBDIR)/libgo && \
46523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46525 "RANLIB=$${RANLIB}" \
46526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46527 maintainer-clean) \
46528 || exit 1
46530 @endif target-libgo
46536 .PHONY: configure-target-libhsail-rt maybe-configure-target-libhsail-rt
46537 maybe-configure-target-libhsail-rt:
46538 @if gcc-bootstrap
46539 configure-target-libhsail-rt: stage_current
46540 @endif gcc-bootstrap
46541 @if target-libhsail-rt
46542 maybe-configure-target-libhsail-rt: configure-target-libhsail-rt
46543 configure-target-libhsail-rt:
46544 @: $(MAKE); $(unstage)
46545 @r=`${PWD_COMMAND}`; export r; \
46546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46547 echo "Checking multilib configuration for libhsail-rt..."; \
46548 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
46549 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp 2> /dev/null; \
46550 if test -r $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
46551 if cmp -s $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; then \
46552 rm -f $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp; \
46553 else \
46554 rm -f $(TARGET_SUBDIR)/libhsail-rt/Makefile; \
46555 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
46556 fi; \
46557 else \
46558 mv $(TARGET_SUBDIR)/libhsail-rt/multilib.tmp $(TARGET_SUBDIR)/libhsail-rt/multilib.out; \
46559 fi; \
46560 test ! -f $(TARGET_SUBDIR)/libhsail-rt/Makefile || exit 0; \
46561 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libhsail-rt; \
46562 $(NORMAL_TARGET_EXPORTS) \
46563 echo Configuring in $(TARGET_SUBDIR)/libhsail-rt; \
46564 cd "$(TARGET_SUBDIR)/libhsail-rt" || exit 1; \
46565 case $(srcdir) in \
46566 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46567 *) topdir=`echo $(TARGET_SUBDIR)/libhsail-rt/ | \
46568 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46569 esac; \
46570 module_srcdir=libhsail-rt; \
46571 rm -f no-such-file || : ; \
46572 CONFIG_SITE=no-such-file $(SHELL) \
46573 $$s/$$module_srcdir/configure \
46574 --srcdir=$${topdir}/$$module_srcdir \
46575 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46576 --target=${target_alias} \
46577 || exit 1
46578 @endif target-libhsail-rt
46584 .PHONY: all-target-libhsail-rt maybe-all-target-libhsail-rt
46585 maybe-all-target-libhsail-rt:
46586 @if gcc-bootstrap
46587 all-target-libhsail-rt: stage_current
46588 @endif gcc-bootstrap
46589 @if target-libhsail-rt
46590 TARGET-target-libhsail-rt=all
46591 maybe-all-target-libhsail-rt: all-target-libhsail-rt
46592 all-target-libhsail-rt: configure-target-libhsail-rt
46593 @: $(MAKE); $(unstage)
46594 @r=`${PWD_COMMAND}`; export r; \
46595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46596 $(NORMAL_TARGET_EXPORTS) \
46597 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46598 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46599 $(TARGET-target-libhsail-rt))
46600 @endif target-libhsail-rt
46606 .PHONY: check-target-libhsail-rt maybe-check-target-libhsail-rt
46607 maybe-check-target-libhsail-rt:
46608 @if target-libhsail-rt
46609 maybe-check-target-libhsail-rt: check-target-libhsail-rt
46611 check-target-libhsail-rt:
46612 @: $(MAKE); $(unstage)
46613 @r=`${PWD_COMMAND}`; export r; \
46614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46615 $(NORMAL_TARGET_EXPORTS) \
46616 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46617 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46619 @endif target-libhsail-rt
46621 .PHONY: install-target-libhsail-rt maybe-install-target-libhsail-rt
46622 maybe-install-target-libhsail-rt:
46623 @if target-libhsail-rt
46624 maybe-install-target-libhsail-rt: install-target-libhsail-rt
46626 install-target-libhsail-rt: installdirs
46627 @: $(MAKE); $(unstage)
46628 @r=`${PWD_COMMAND}`; export r; \
46629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46630 $(NORMAL_TARGET_EXPORTS) \
46631 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46632 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46634 @endif target-libhsail-rt
46636 .PHONY: install-strip-target-libhsail-rt maybe-install-strip-target-libhsail-rt
46637 maybe-install-strip-target-libhsail-rt:
46638 @if target-libhsail-rt
46639 maybe-install-strip-target-libhsail-rt: install-strip-target-libhsail-rt
46641 install-strip-target-libhsail-rt: installdirs
46642 @: $(MAKE); $(unstage)
46643 @r=`${PWD_COMMAND}`; export r; \
46644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46645 $(NORMAL_TARGET_EXPORTS) \
46646 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46647 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
46649 @endif target-libhsail-rt
46651 # Other targets (info, dvi, pdf, etc.)
46653 .PHONY: maybe-info-target-libhsail-rt info-target-libhsail-rt
46654 maybe-info-target-libhsail-rt:
46655 @if target-libhsail-rt
46656 maybe-info-target-libhsail-rt: info-target-libhsail-rt
46658 info-target-libhsail-rt: \
46659 configure-target-libhsail-rt
46660 @: $(MAKE); $(unstage)
46661 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46662 r=`${PWD_COMMAND}`; export r; \
46663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46664 $(NORMAL_TARGET_EXPORTS) \
46665 echo "Doing info in $(TARGET_SUBDIR)/libhsail-rt"; \
46666 for flag in $(EXTRA_TARGET_FLAGS); do \
46667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46668 done; \
46669 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46672 "RANLIB=$${RANLIB}" \
46673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46674 info) \
46675 || exit 1
46677 @endif target-libhsail-rt
46679 .PHONY: maybe-dvi-target-libhsail-rt dvi-target-libhsail-rt
46680 maybe-dvi-target-libhsail-rt:
46681 @if target-libhsail-rt
46682 maybe-dvi-target-libhsail-rt: dvi-target-libhsail-rt
46684 dvi-target-libhsail-rt: \
46685 configure-target-libhsail-rt
46686 @: $(MAKE); $(unstage)
46687 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46688 r=`${PWD_COMMAND}`; export r; \
46689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46690 $(NORMAL_TARGET_EXPORTS) \
46691 echo "Doing dvi in $(TARGET_SUBDIR)/libhsail-rt"; \
46692 for flag in $(EXTRA_TARGET_FLAGS); do \
46693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46694 done; \
46695 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46698 "RANLIB=$${RANLIB}" \
46699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46700 dvi) \
46701 || exit 1
46703 @endif target-libhsail-rt
46705 .PHONY: maybe-pdf-target-libhsail-rt pdf-target-libhsail-rt
46706 maybe-pdf-target-libhsail-rt:
46707 @if target-libhsail-rt
46708 maybe-pdf-target-libhsail-rt: pdf-target-libhsail-rt
46710 pdf-target-libhsail-rt: \
46711 configure-target-libhsail-rt
46712 @: $(MAKE); $(unstage)
46713 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46714 r=`${PWD_COMMAND}`; export r; \
46715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46716 $(NORMAL_TARGET_EXPORTS) \
46717 echo "Doing pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
46718 for flag in $(EXTRA_TARGET_FLAGS); do \
46719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46720 done; \
46721 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46724 "RANLIB=$${RANLIB}" \
46725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46726 pdf) \
46727 || exit 1
46729 @endif target-libhsail-rt
46731 .PHONY: maybe-html-target-libhsail-rt html-target-libhsail-rt
46732 maybe-html-target-libhsail-rt:
46733 @if target-libhsail-rt
46734 maybe-html-target-libhsail-rt: html-target-libhsail-rt
46736 html-target-libhsail-rt: \
46737 configure-target-libhsail-rt
46738 @: $(MAKE); $(unstage)
46739 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46740 r=`${PWD_COMMAND}`; export r; \
46741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46742 $(NORMAL_TARGET_EXPORTS) \
46743 echo "Doing html in $(TARGET_SUBDIR)/libhsail-rt"; \
46744 for flag in $(EXTRA_TARGET_FLAGS); do \
46745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46746 done; \
46747 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46750 "RANLIB=$${RANLIB}" \
46751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46752 html) \
46753 || exit 1
46755 @endif target-libhsail-rt
46757 .PHONY: maybe-TAGS-target-libhsail-rt TAGS-target-libhsail-rt
46758 maybe-TAGS-target-libhsail-rt:
46759 @if target-libhsail-rt
46760 maybe-TAGS-target-libhsail-rt: TAGS-target-libhsail-rt
46762 TAGS-target-libhsail-rt: \
46763 configure-target-libhsail-rt
46764 @: $(MAKE); $(unstage)
46765 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46766 r=`${PWD_COMMAND}`; export r; \
46767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46768 $(NORMAL_TARGET_EXPORTS) \
46769 echo "Doing TAGS in $(TARGET_SUBDIR)/libhsail-rt"; \
46770 for flag in $(EXTRA_TARGET_FLAGS); do \
46771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46772 done; \
46773 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46776 "RANLIB=$${RANLIB}" \
46777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46778 TAGS) \
46779 || exit 1
46781 @endif target-libhsail-rt
46783 .PHONY: maybe-install-info-target-libhsail-rt install-info-target-libhsail-rt
46784 maybe-install-info-target-libhsail-rt:
46785 @if target-libhsail-rt
46786 maybe-install-info-target-libhsail-rt: install-info-target-libhsail-rt
46788 install-info-target-libhsail-rt: \
46789 configure-target-libhsail-rt \
46790 info-target-libhsail-rt
46791 @: $(MAKE); $(unstage)
46792 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46793 r=`${PWD_COMMAND}`; export r; \
46794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46795 $(NORMAL_TARGET_EXPORTS) \
46796 echo "Doing install-info in $(TARGET_SUBDIR)/libhsail-rt"; \
46797 for flag in $(EXTRA_TARGET_FLAGS); do \
46798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46799 done; \
46800 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46803 "RANLIB=$${RANLIB}" \
46804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46805 install-info) \
46806 || exit 1
46808 @endif target-libhsail-rt
46810 .PHONY: maybe-install-pdf-target-libhsail-rt install-pdf-target-libhsail-rt
46811 maybe-install-pdf-target-libhsail-rt:
46812 @if target-libhsail-rt
46813 maybe-install-pdf-target-libhsail-rt: install-pdf-target-libhsail-rt
46815 install-pdf-target-libhsail-rt: \
46816 configure-target-libhsail-rt \
46817 pdf-target-libhsail-rt
46818 @: $(MAKE); $(unstage)
46819 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46820 r=`${PWD_COMMAND}`; export r; \
46821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46822 $(NORMAL_TARGET_EXPORTS) \
46823 echo "Doing install-pdf in $(TARGET_SUBDIR)/libhsail-rt"; \
46824 for flag in $(EXTRA_TARGET_FLAGS); do \
46825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46826 done; \
46827 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46830 "RANLIB=$${RANLIB}" \
46831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46832 install-pdf) \
46833 || exit 1
46835 @endif target-libhsail-rt
46837 .PHONY: maybe-install-html-target-libhsail-rt install-html-target-libhsail-rt
46838 maybe-install-html-target-libhsail-rt:
46839 @if target-libhsail-rt
46840 maybe-install-html-target-libhsail-rt: install-html-target-libhsail-rt
46842 install-html-target-libhsail-rt: \
46843 configure-target-libhsail-rt \
46844 html-target-libhsail-rt
46845 @: $(MAKE); $(unstage)
46846 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46847 r=`${PWD_COMMAND}`; export r; \
46848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46849 $(NORMAL_TARGET_EXPORTS) \
46850 echo "Doing install-html in $(TARGET_SUBDIR)/libhsail-rt"; \
46851 for flag in $(EXTRA_TARGET_FLAGS); do \
46852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46853 done; \
46854 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46857 "RANLIB=$${RANLIB}" \
46858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46859 install-html) \
46860 || exit 1
46862 @endif target-libhsail-rt
46864 .PHONY: maybe-installcheck-target-libhsail-rt installcheck-target-libhsail-rt
46865 maybe-installcheck-target-libhsail-rt:
46866 @if target-libhsail-rt
46867 maybe-installcheck-target-libhsail-rt: installcheck-target-libhsail-rt
46869 installcheck-target-libhsail-rt: \
46870 configure-target-libhsail-rt
46871 @: $(MAKE); $(unstage)
46872 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46873 r=`${PWD_COMMAND}`; export r; \
46874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46875 $(NORMAL_TARGET_EXPORTS) \
46876 echo "Doing installcheck in $(TARGET_SUBDIR)/libhsail-rt"; \
46877 for flag in $(EXTRA_TARGET_FLAGS); do \
46878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46879 done; \
46880 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46883 "RANLIB=$${RANLIB}" \
46884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46885 installcheck) \
46886 || exit 1
46888 @endif target-libhsail-rt
46890 .PHONY: maybe-mostlyclean-target-libhsail-rt mostlyclean-target-libhsail-rt
46891 maybe-mostlyclean-target-libhsail-rt:
46892 @if target-libhsail-rt
46893 maybe-mostlyclean-target-libhsail-rt: mostlyclean-target-libhsail-rt
46895 mostlyclean-target-libhsail-rt:
46896 @: $(MAKE); $(unstage)
46897 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46898 r=`${PWD_COMMAND}`; export r; \
46899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46900 $(NORMAL_TARGET_EXPORTS) \
46901 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libhsail-rt"; \
46902 for flag in $(EXTRA_TARGET_FLAGS); do \
46903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46904 done; \
46905 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46908 "RANLIB=$${RANLIB}" \
46909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46910 mostlyclean) \
46911 || exit 1
46913 @endif target-libhsail-rt
46915 .PHONY: maybe-clean-target-libhsail-rt clean-target-libhsail-rt
46916 maybe-clean-target-libhsail-rt:
46917 @if target-libhsail-rt
46918 maybe-clean-target-libhsail-rt: clean-target-libhsail-rt
46920 clean-target-libhsail-rt:
46921 @: $(MAKE); $(unstage)
46922 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46923 r=`${PWD_COMMAND}`; export r; \
46924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46925 $(NORMAL_TARGET_EXPORTS) \
46926 echo "Doing clean in $(TARGET_SUBDIR)/libhsail-rt"; \
46927 for flag in $(EXTRA_TARGET_FLAGS); do \
46928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46929 done; \
46930 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46933 "RANLIB=$${RANLIB}" \
46934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46935 clean) \
46936 || exit 1
46938 @endif target-libhsail-rt
46940 .PHONY: maybe-distclean-target-libhsail-rt distclean-target-libhsail-rt
46941 maybe-distclean-target-libhsail-rt:
46942 @if target-libhsail-rt
46943 maybe-distclean-target-libhsail-rt: distclean-target-libhsail-rt
46945 distclean-target-libhsail-rt:
46946 @: $(MAKE); $(unstage)
46947 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46948 r=`${PWD_COMMAND}`; export r; \
46949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46950 $(NORMAL_TARGET_EXPORTS) \
46951 echo "Doing distclean in $(TARGET_SUBDIR)/libhsail-rt"; \
46952 for flag in $(EXTRA_TARGET_FLAGS); do \
46953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46954 done; \
46955 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46958 "RANLIB=$${RANLIB}" \
46959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46960 distclean) \
46961 || exit 1
46963 @endif target-libhsail-rt
46965 .PHONY: maybe-maintainer-clean-target-libhsail-rt maintainer-clean-target-libhsail-rt
46966 maybe-maintainer-clean-target-libhsail-rt:
46967 @if target-libhsail-rt
46968 maybe-maintainer-clean-target-libhsail-rt: maintainer-clean-target-libhsail-rt
46970 maintainer-clean-target-libhsail-rt:
46971 @: $(MAKE); $(unstage)
46972 @[ -f $(TARGET_SUBDIR)/libhsail-rt/Makefile ] || exit 0; \
46973 r=`${PWD_COMMAND}`; export r; \
46974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46975 $(NORMAL_TARGET_EXPORTS) \
46976 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libhsail-rt"; \
46977 for flag in $(EXTRA_TARGET_FLAGS); do \
46978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46979 done; \
46980 (cd $(TARGET_SUBDIR)/libhsail-rt && \
46981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46983 "RANLIB=$${RANLIB}" \
46984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46985 maintainer-clean) \
46986 || exit 1
46988 @endif target-libhsail-rt
46994 .PHONY: configure-target-libphobos maybe-configure-target-libphobos
46995 maybe-configure-target-libphobos:
46996 @if gcc-bootstrap
46997 configure-target-libphobos: stage_current
46998 @endif gcc-bootstrap
46999 @if target-libphobos
47000 maybe-configure-target-libphobos: configure-target-libphobos
47001 configure-target-libphobos:
47002 @: $(MAKE); $(unstage)
47003 @r=`${PWD_COMMAND}`; export r; \
47004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47005 echo "Checking multilib configuration for libphobos..."; \
47006 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
47007 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
47008 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
47009 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
47010 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
47011 else \
47012 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
47013 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
47014 fi; \
47015 else \
47016 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
47017 fi; \
47018 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
47019 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
47020 $(NORMAL_TARGET_EXPORTS) \
47021 echo Configuring in $(TARGET_SUBDIR)/libphobos; \
47022 cd "$(TARGET_SUBDIR)/libphobos" || exit 1; \
47023 case $(srcdir) in \
47024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47025 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
47026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47027 esac; \
47028 module_srcdir=libphobos; \
47029 rm -f no-such-file || : ; \
47030 CONFIG_SITE=no-such-file $(SHELL) \
47031 $$s/$$module_srcdir/configure \
47032 --srcdir=$${topdir}/$$module_srcdir \
47033 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47034 --target=${target_alias} \
47035 || exit 1
47036 @endif target-libphobos
47042 .PHONY: all-target-libphobos maybe-all-target-libphobos
47043 maybe-all-target-libphobos:
47044 @if gcc-bootstrap
47045 all-target-libphobos: stage_current
47046 @endif gcc-bootstrap
47047 @if target-libphobos
47048 TARGET-target-libphobos=all
47049 maybe-all-target-libphobos: all-target-libphobos
47050 all-target-libphobos: configure-target-libphobos
47051 @: $(MAKE); $(unstage)
47052 @r=`${PWD_COMMAND}`; export r; \
47053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47054 $(NORMAL_TARGET_EXPORTS) \
47055 (cd $(TARGET_SUBDIR)/libphobos && \
47056 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47057 $(TARGET-target-libphobos))
47058 @endif target-libphobos
47064 .PHONY: check-target-libphobos maybe-check-target-libphobos
47065 maybe-check-target-libphobos:
47066 @if target-libphobos
47067 maybe-check-target-libphobos: check-target-libphobos
47069 check-target-libphobos:
47070 @: $(MAKE); $(unstage)
47071 @r=`${PWD_COMMAND}`; export r; \
47072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47073 $(NORMAL_TARGET_EXPORTS) \
47074 (cd $(TARGET_SUBDIR)/libphobos && \
47075 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47077 @endif target-libphobos
47079 .PHONY: install-target-libphobos maybe-install-target-libphobos
47080 maybe-install-target-libphobos:
47081 @if target-libphobos
47082 maybe-install-target-libphobos: install-target-libphobos
47084 install-target-libphobos: installdirs
47085 @: $(MAKE); $(unstage)
47086 @r=`${PWD_COMMAND}`; export r; \
47087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47088 $(NORMAL_TARGET_EXPORTS) \
47089 (cd $(TARGET_SUBDIR)/libphobos && \
47090 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47092 @endif target-libphobos
47094 .PHONY: install-strip-target-libphobos maybe-install-strip-target-libphobos
47095 maybe-install-strip-target-libphobos:
47096 @if target-libphobos
47097 maybe-install-strip-target-libphobos: install-strip-target-libphobos
47099 install-strip-target-libphobos: installdirs
47100 @: $(MAKE); $(unstage)
47101 @r=`${PWD_COMMAND}`; export r; \
47102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47103 $(NORMAL_TARGET_EXPORTS) \
47104 (cd $(TARGET_SUBDIR)/libphobos && \
47105 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47107 @endif target-libphobos
47109 # Other targets (info, dvi, pdf, etc.)
47111 .PHONY: maybe-info-target-libphobos info-target-libphobos
47112 maybe-info-target-libphobos:
47113 @if target-libphobos
47114 maybe-info-target-libphobos: info-target-libphobos
47116 info-target-libphobos: \
47117 configure-target-libphobos
47118 @: $(MAKE); $(unstage)
47119 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47120 r=`${PWD_COMMAND}`; export r; \
47121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47122 $(NORMAL_TARGET_EXPORTS) \
47123 echo "Doing info in $(TARGET_SUBDIR)/libphobos"; \
47124 for flag in $(EXTRA_TARGET_FLAGS); do \
47125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47126 done; \
47127 (cd $(TARGET_SUBDIR)/libphobos && \
47128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47130 "RANLIB=$${RANLIB}" \
47131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47132 info) \
47133 || exit 1
47135 @endif target-libphobos
47137 .PHONY: maybe-dvi-target-libphobos dvi-target-libphobos
47138 maybe-dvi-target-libphobos:
47139 @if target-libphobos
47140 maybe-dvi-target-libphobos: dvi-target-libphobos
47142 dvi-target-libphobos: \
47143 configure-target-libphobos
47144 @: $(MAKE); $(unstage)
47145 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47146 r=`${PWD_COMMAND}`; export r; \
47147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47148 $(NORMAL_TARGET_EXPORTS) \
47149 echo "Doing dvi in $(TARGET_SUBDIR)/libphobos"; \
47150 for flag in $(EXTRA_TARGET_FLAGS); do \
47151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47152 done; \
47153 (cd $(TARGET_SUBDIR)/libphobos && \
47154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47156 "RANLIB=$${RANLIB}" \
47157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47158 dvi) \
47159 || exit 1
47161 @endif target-libphobos
47163 .PHONY: maybe-pdf-target-libphobos pdf-target-libphobos
47164 maybe-pdf-target-libphobos:
47165 @if target-libphobos
47166 maybe-pdf-target-libphobos: pdf-target-libphobos
47168 pdf-target-libphobos: \
47169 configure-target-libphobos
47170 @: $(MAKE); $(unstage)
47171 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47172 r=`${PWD_COMMAND}`; export r; \
47173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47174 $(NORMAL_TARGET_EXPORTS) \
47175 echo "Doing pdf in $(TARGET_SUBDIR)/libphobos"; \
47176 for flag in $(EXTRA_TARGET_FLAGS); do \
47177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47178 done; \
47179 (cd $(TARGET_SUBDIR)/libphobos && \
47180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47182 "RANLIB=$${RANLIB}" \
47183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47184 pdf) \
47185 || exit 1
47187 @endif target-libphobos
47189 .PHONY: maybe-html-target-libphobos html-target-libphobos
47190 maybe-html-target-libphobos:
47191 @if target-libphobos
47192 maybe-html-target-libphobos: html-target-libphobos
47194 html-target-libphobos: \
47195 configure-target-libphobos
47196 @: $(MAKE); $(unstage)
47197 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47198 r=`${PWD_COMMAND}`; export r; \
47199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47200 $(NORMAL_TARGET_EXPORTS) \
47201 echo "Doing html in $(TARGET_SUBDIR)/libphobos"; \
47202 for flag in $(EXTRA_TARGET_FLAGS); do \
47203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47204 done; \
47205 (cd $(TARGET_SUBDIR)/libphobos && \
47206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47208 "RANLIB=$${RANLIB}" \
47209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47210 html) \
47211 || exit 1
47213 @endif target-libphobos
47215 .PHONY: maybe-TAGS-target-libphobos TAGS-target-libphobos
47216 maybe-TAGS-target-libphobos:
47217 @if target-libphobos
47218 maybe-TAGS-target-libphobos: TAGS-target-libphobos
47220 TAGS-target-libphobos: \
47221 configure-target-libphobos
47222 @: $(MAKE); $(unstage)
47223 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47224 r=`${PWD_COMMAND}`; export r; \
47225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47226 $(NORMAL_TARGET_EXPORTS) \
47227 echo "Doing TAGS in $(TARGET_SUBDIR)/libphobos"; \
47228 for flag in $(EXTRA_TARGET_FLAGS); do \
47229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47230 done; \
47231 (cd $(TARGET_SUBDIR)/libphobos && \
47232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47234 "RANLIB=$${RANLIB}" \
47235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47236 TAGS) \
47237 || exit 1
47239 @endif target-libphobos
47241 .PHONY: maybe-install-info-target-libphobos install-info-target-libphobos
47242 maybe-install-info-target-libphobos:
47243 @if target-libphobos
47244 maybe-install-info-target-libphobos: install-info-target-libphobos
47246 install-info-target-libphobos: \
47247 configure-target-libphobos \
47248 info-target-libphobos
47249 @: $(MAKE); $(unstage)
47250 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47251 r=`${PWD_COMMAND}`; export r; \
47252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47253 $(NORMAL_TARGET_EXPORTS) \
47254 echo "Doing install-info in $(TARGET_SUBDIR)/libphobos"; \
47255 for flag in $(EXTRA_TARGET_FLAGS); do \
47256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47257 done; \
47258 (cd $(TARGET_SUBDIR)/libphobos && \
47259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47261 "RANLIB=$${RANLIB}" \
47262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47263 install-info) \
47264 || exit 1
47266 @endif target-libphobos
47268 .PHONY: maybe-install-pdf-target-libphobos install-pdf-target-libphobos
47269 maybe-install-pdf-target-libphobos:
47270 @if target-libphobos
47271 maybe-install-pdf-target-libphobos: install-pdf-target-libphobos
47273 install-pdf-target-libphobos: \
47274 configure-target-libphobos \
47275 pdf-target-libphobos
47276 @: $(MAKE); $(unstage)
47277 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47278 r=`${PWD_COMMAND}`; export r; \
47279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47280 $(NORMAL_TARGET_EXPORTS) \
47281 echo "Doing install-pdf in $(TARGET_SUBDIR)/libphobos"; \
47282 for flag in $(EXTRA_TARGET_FLAGS); do \
47283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47284 done; \
47285 (cd $(TARGET_SUBDIR)/libphobos && \
47286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47288 "RANLIB=$${RANLIB}" \
47289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47290 install-pdf) \
47291 || exit 1
47293 @endif target-libphobos
47295 .PHONY: maybe-install-html-target-libphobos install-html-target-libphobos
47296 maybe-install-html-target-libphobos:
47297 @if target-libphobos
47298 maybe-install-html-target-libphobos: install-html-target-libphobos
47300 install-html-target-libphobos: \
47301 configure-target-libphobos \
47302 html-target-libphobos
47303 @: $(MAKE); $(unstage)
47304 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47305 r=`${PWD_COMMAND}`; export r; \
47306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47307 $(NORMAL_TARGET_EXPORTS) \
47308 echo "Doing install-html in $(TARGET_SUBDIR)/libphobos"; \
47309 for flag in $(EXTRA_TARGET_FLAGS); do \
47310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47311 done; \
47312 (cd $(TARGET_SUBDIR)/libphobos && \
47313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47315 "RANLIB=$${RANLIB}" \
47316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47317 install-html) \
47318 || exit 1
47320 @endif target-libphobos
47322 .PHONY: maybe-installcheck-target-libphobos installcheck-target-libphobos
47323 maybe-installcheck-target-libphobos:
47324 @if target-libphobos
47325 maybe-installcheck-target-libphobos: installcheck-target-libphobos
47327 installcheck-target-libphobos: \
47328 configure-target-libphobos
47329 @: $(MAKE); $(unstage)
47330 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47331 r=`${PWD_COMMAND}`; export r; \
47332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47333 $(NORMAL_TARGET_EXPORTS) \
47334 echo "Doing installcheck in $(TARGET_SUBDIR)/libphobos"; \
47335 for flag in $(EXTRA_TARGET_FLAGS); do \
47336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47337 done; \
47338 (cd $(TARGET_SUBDIR)/libphobos && \
47339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47341 "RANLIB=$${RANLIB}" \
47342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47343 installcheck) \
47344 || exit 1
47346 @endif target-libphobos
47348 .PHONY: maybe-mostlyclean-target-libphobos mostlyclean-target-libphobos
47349 maybe-mostlyclean-target-libphobos:
47350 @if target-libphobos
47351 maybe-mostlyclean-target-libphobos: mostlyclean-target-libphobos
47353 mostlyclean-target-libphobos:
47354 @: $(MAKE); $(unstage)
47355 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47356 r=`${PWD_COMMAND}`; export r; \
47357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47358 $(NORMAL_TARGET_EXPORTS) \
47359 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libphobos"; \
47360 for flag in $(EXTRA_TARGET_FLAGS); do \
47361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47362 done; \
47363 (cd $(TARGET_SUBDIR)/libphobos && \
47364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47366 "RANLIB=$${RANLIB}" \
47367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47368 mostlyclean) \
47369 || exit 1
47371 @endif target-libphobos
47373 .PHONY: maybe-clean-target-libphobos clean-target-libphobos
47374 maybe-clean-target-libphobos:
47375 @if target-libphobos
47376 maybe-clean-target-libphobos: clean-target-libphobos
47378 clean-target-libphobos:
47379 @: $(MAKE); $(unstage)
47380 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47381 r=`${PWD_COMMAND}`; export r; \
47382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47383 $(NORMAL_TARGET_EXPORTS) \
47384 echo "Doing clean in $(TARGET_SUBDIR)/libphobos"; \
47385 for flag in $(EXTRA_TARGET_FLAGS); do \
47386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47387 done; \
47388 (cd $(TARGET_SUBDIR)/libphobos && \
47389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47391 "RANLIB=$${RANLIB}" \
47392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47393 clean) \
47394 || exit 1
47396 @endif target-libphobos
47398 .PHONY: maybe-distclean-target-libphobos distclean-target-libphobos
47399 maybe-distclean-target-libphobos:
47400 @if target-libphobos
47401 maybe-distclean-target-libphobos: distclean-target-libphobos
47403 distclean-target-libphobos:
47404 @: $(MAKE); $(unstage)
47405 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47406 r=`${PWD_COMMAND}`; export r; \
47407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47408 $(NORMAL_TARGET_EXPORTS) \
47409 echo "Doing distclean in $(TARGET_SUBDIR)/libphobos"; \
47410 for flag in $(EXTRA_TARGET_FLAGS); do \
47411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47412 done; \
47413 (cd $(TARGET_SUBDIR)/libphobos && \
47414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47416 "RANLIB=$${RANLIB}" \
47417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47418 distclean) \
47419 || exit 1
47421 @endif target-libphobos
47423 .PHONY: maybe-maintainer-clean-target-libphobos maintainer-clean-target-libphobos
47424 maybe-maintainer-clean-target-libphobos:
47425 @if target-libphobos
47426 maybe-maintainer-clean-target-libphobos: maintainer-clean-target-libphobos
47428 maintainer-clean-target-libphobos:
47429 @: $(MAKE); $(unstage)
47430 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
47431 r=`${PWD_COMMAND}`; export r; \
47432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47433 $(NORMAL_TARGET_EXPORTS) \
47434 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libphobos"; \
47435 for flag in $(EXTRA_TARGET_FLAGS); do \
47436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47437 done; \
47438 (cd $(TARGET_SUBDIR)/libphobos && \
47439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47441 "RANLIB=$${RANLIB}" \
47442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47443 maintainer-clean) \
47444 || exit 1
47446 @endif target-libphobos
47452 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
47453 maybe-configure-target-libtermcap:
47454 @if gcc-bootstrap
47455 configure-target-libtermcap: stage_current
47456 @endif gcc-bootstrap
47457 @if target-libtermcap
47458 maybe-configure-target-libtermcap: configure-target-libtermcap
47459 configure-target-libtermcap:
47460 @: $(MAKE); $(unstage)
47461 @r=`${PWD_COMMAND}`; export r; \
47462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47463 echo "Checking multilib configuration for libtermcap..."; \
47464 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
47465 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
47466 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
47467 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
47468 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
47469 else \
47470 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
47471 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
47472 fi; \
47473 else \
47474 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
47475 fi; \
47476 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
47477 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
47478 $(NORMAL_TARGET_EXPORTS) \
47479 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
47480 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
47481 case $(srcdir) in \
47482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47483 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
47484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47485 esac; \
47486 module_srcdir=libtermcap; \
47487 rm -f no-such-file || : ; \
47488 CONFIG_SITE=no-such-file $(SHELL) \
47489 $$s/$$module_srcdir/configure \
47490 --srcdir=$${topdir}/$$module_srcdir \
47491 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47492 --target=${target_alias} \
47493 || exit 1
47494 @endif target-libtermcap
47500 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
47501 maybe-all-target-libtermcap:
47502 @if gcc-bootstrap
47503 all-target-libtermcap: stage_current
47504 @endif gcc-bootstrap
47505 @if target-libtermcap
47506 TARGET-target-libtermcap=all
47507 maybe-all-target-libtermcap: all-target-libtermcap
47508 all-target-libtermcap: configure-target-libtermcap
47509 @: $(MAKE); $(unstage)
47510 @r=`${PWD_COMMAND}`; export r; \
47511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47512 $(NORMAL_TARGET_EXPORTS) \
47513 (cd $(TARGET_SUBDIR)/libtermcap && \
47514 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47515 $(TARGET-target-libtermcap))
47516 @endif target-libtermcap
47522 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
47523 maybe-check-target-libtermcap:
47524 @if target-libtermcap
47525 maybe-check-target-libtermcap: check-target-libtermcap
47527 # Dummy target for uncheckable module.
47528 check-target-libtermcap:
47530 @endif target-libtermcap
47532 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
47533 maybe-install-target-libtermcap:
47534 @if target-libtermcap
47535 maybe-install-target-libtermcap: install-target-libtermcap
47537 install-target-libtermcap: installdirs
47538 @: $(MAKE); $(unstage)
47539 @r=`${PWD_COMMAND}`; export r; \
47540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47541 $(NORMAL_TARGET_EXPORTS) \
47542 (cd $(TARGET_SUBDIR)/libtermcap && \
47543 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47545 @endif target-libtermcap
47547 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
47548 maybe-install-strip-target-libtermcap:
47549 @if target-libtermcap
47550 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
47552 install-strip-target-libtermcap: installdirs
47553 @: $(MAKE); $(unstage)
47554 @r=`${PWD_COMMAND}`; export r; \
47555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47556 $(NORMAL_TARGET_EXPORTS) \
47557 (cd $(TARGET_SUBDIR)/libtermcap && \
47558 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47560 @endif target-libtermcap
47562 # Other targets (info, dvi, pdf, etc.)
47564 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
47565 maybe-info-target-libtermcap:
47566 @if target-libtermcap
47567 maybe-info-target-libtermcap: info-target-libtermcap
47569 info-target-libtermcap: \
47570 configure-target-libtermcap
47571 @: $(MAKE); $(unstage)
47572 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47573 r=`${PWD_COMMAND}`; export r; \
47574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47575 $(NORMAL_TARGET_EXPORTS) \
47576 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
47577 for flag in $(EXTRA_TARGET_FLAGS); do \
47578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47579 done; \
47580 (cd $(TARGET_SUBDIR)/libtermcap && \
47581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47583 "RANLIB=$${RANLIB}" \
47584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47585 info) \
47586 || exit 1
47588 @endif target-libtermcap
47590 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
47591 maybe-dvi-target-libtermcap:
47592 @if target-libtermcap
47593 maybe-dvi-target-libtermcap: dvi-target-libtermcap
47595 dvi-target-libtermcap: \
47596 configure-target-libtermcap
47597 @: $(MAKE); $(unstage)
47598 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47599 r=`${PWD_COMMAND}`; export r; \
47600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47601 $(NORMAL_TARGET_EXPORTS) \
47602 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
47603 for flag in $(EXTRA_TARGET_FLAGS); do \
47604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47605 done; \
47606 (cd $(TARGET_SUBDIR)/libtermcap && \
47607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47609 "RANLIB=$${RANLIB}" \
47610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47611 dvi) \
47612 || exit 1
47614 @endif target-libtermcap
47616 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
47617 maybe-pdf-target-libtermcap:
47618 @if target-libtermcap
47619 maybe-pdf-target-libtermcap: pdf-target-libtermcap
47621 pdf-target-libtermcap: \
47622 configure-target-libtermcap
47623 @: $(MAKE); $(unstage)
47624 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47625 r=`${PWD_COMMAND}`; export r; \
47626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47627 $(NORMAL_TARGET_EXPORTS) \
47628 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
47629 for flag in $(EXTRA_TARGET_FLAGS); do \
47630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47631 done; \
47632 (cd $(TARGET_SUBDIR)/libtermcap && \
47633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47635 "RANLIB=$${RANLIB}" \
47636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47637 pdf) \
47638 || exit 1
47640 @endif target-libtermcap
47642 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
47643 maybe-html-target-libtermcap:
47644 @if target-libtermcap
47645 maybe-html-target-libtermcap: html-target-libtermcap
47647 html-target-libtermcap: \
47648 configure-target-libtermcap
47649 @: $(MAKE); $(unstage)
47650 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47651 r=`${PWD_COMMAND}`; export r; \
47652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47653 $(NORMAL_TARGET_EXPORTS) \
47654 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
47655 for flag in $(EXTRA_TARGET_FLAGS); do \
47656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47657 done; \
47658 (cd $(TARGET_SUBDIR)/libtermcap && \
47659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47661 "RANLIB=$${RANLIB}" \
47662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47663 html) \
47664 || exit 1
47666 @endif target-libtermcap
47668 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
47669 maybe-TAGS-target-libtermcap:
47670 @if target-libtermcap
47671 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
47673 TAGS-target-libtermcap: \
47674 configure-target-libtermcap
47675 @: $(MAKE); $(unstage)
47676 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47677 r=`${PWD_COMMAND}`; export r; \
47678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47679 $(NORMAL_TARGET_EXPORTS) \
47680 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
47681 for flag in $(EXTRA_TARGET_FLAGS); do \
47682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47683 done; \
47684 (cd $(TARGET_SUBDIR)/libtermcap && \
47685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47687 "RANLIB=$${RANLIB}" \
47688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47689 TAGS) \
47690 || exit 1
47692 @endif target-libtermcap
47694 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
47695 maybe-install-info-target-libtermcap:
47696 @if target-libtermcap
47697 maybe-install-info-target-libtermcap: install-info-target-libtermcap
47699 install-info-target-libtermcap: \
47700 configure-target-libtermcap \
47701 info-target-libtermcap
47702 @: $(MAKE); $(unstage)
47703 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47704 r=`${PWD_COMMAND}`; export r; \
47705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47706 $(NORMAL_TARGET_EXPORTS) \
47707 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
47708 for flag in $(EXTRA_TARGET_FLAGS); do \
47709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47710 done; \
47711 (cd $(TARGET_SUBDIR)/libtermcap && \
47712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47714 "RANLIB=$${RANLIB}" \
47715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47716 install-info) \
47717 || exit 1
47719 @endif target-libtermcap
47721 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
47722 maybe-install-pdf-target-libtermcap:
47723 @if target-libtermcap
47724 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
47726 install-pdf-target-libtermcap: \
47727 configure-target-libtermcap \
47728 pdf-target-libtermcap
47729 @: $(MAKE); $(unstage)
47730 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47731 r=`${PWD_COMMAND}`; export r; \
47732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47733 $(NORMAL_TARGET_EXPORTS) \
47734 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
47735 for flag in $(EXTRA_TARGET_FLAGS); do \
47736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47737 done; \
47738 (cd $(TARGET_SUBDIR)/libtermcap && \
47739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47741 "RANLIB=$${RANLIB}" \
47742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47743 install-pdf) \
47744 || exit 1
47746 @endif target-libtermcap
47748 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
47749 maybe-install-html-target-libtermcap:
47750 @if target-libtermcap
47751 maybe-install-html-target-libtermcap: install-html-target-libtermcap
47753 install-html-target-libtermcap: \
47754 configure-target-libtermcap \
47755 html-target-libtermcap
47756 @: $(MAKE); $(unstage)
47757 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47758 r=`${PWD_COMMAND}`; export r; \
47759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47760 $(NORMAL_TARGET_EXPORTS) \
47761 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
47762 for flag in $(EXTRA_TARGET_FLAGS); do \
47763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47764 done; \
47765 (cd $(TARGET_SUBDIR)/libtermcap && \
47766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47768 "RANLIB=$${RANLIB}" \
47769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47770 install-html) \
47771 || exit 1
47773 @endif target-libtermcap
47775 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
47776 maybe-installcheck-target-libtermcap:
47777 @if target-libtermcap
47778 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
47780 installcheck-target-libtermcap: \
47781 configure-target-libtermcap
47782 @: $(MAKE); $(unstage)
47783 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
47784 r=`${PWD_COMMAND}`; export r; \
47785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47786 $(NORMAL_TARGET_EXPORTS) \
47787 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
47788 for flag in $(EXTRA_TARGET_FLAGS); do \
47789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47790 done; \
47791 (cd $(TARGET_SUBDIR)/libtermcap && \
47792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47794 "RANLIB=$${RANLIB}" \
47795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47796 installcheck) \
47797 || exit 1
47799 @endif target-libtermcap
47801 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
47802 maybe-mostlyclean-target-libtermcap:
47803 @if target-libtermcap
47804 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
47806 # libtermcap doesn't support mostlyclean.
47807 mostlyclean-target-libtermcap:
47809 @endif target-libtermcap
47811 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
47812 maybe-clean-target-libtermcap:
47813 @if target-libtermcap
47814 maybe-clean-target-libtermcap: clean-target-libtermcap
47816 # libtermcap doesn't support clean.
47817 clean-target-libtermcap:
47819 @endif target-libtermcap
47821 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
47822 maybe-distclean-target-libtermcap:
47823 @if target-libtermcap
47824 maybe-distclean-target-libtermcap: distclean-target-libtermcap
47826 # libtermcap doesn't support distclean.
47827 distclean-target-libtermcap:
47829 @endif target-libtermcap
47831 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
47832 maybe-maintainer-clean-target-libtermcap:
47833 @if target-libtermcap
47834 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
47836 # libtermcap doesn't support maintainer-clean.
47837 maintainer-clean-target-libtermcap:
47839 @endif target-libtermcap
47845 .PHONY: configure-target-winsup maybe-configure-target-winsup
47846 maybe-configure-target-winsup:
47847 @if gcc-bootstrap
47848 configure-target-winsup: stage_current
47849 @endif gcc-bootstrap
47850 @if target-winsup
47851 maybe-configure-target-winsup: configure-target-winsup
47852 configure-target-winsup:
47853 @: $(MAKE); $(unstage)
47854 @r=`${PWD_COMMAND}`; export r; \
47855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47856 echo "Checking multilib configuration for winsup..."; \
47857 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
47858 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
47859 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
47860 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
47861 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
47862 else \
47863 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
47864 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
47865 fi; \
47866 else \
47867 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
47868 fi; \
47869 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
47870 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
47871 $(NORMAL_TARGET_EXPORTS) \
47872 echo Configuring in $(TARGET_SUBDIR)/winsup; \
47873 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
47874 case $(srcdir) in \
47875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47876 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
47877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47878 esac; \
47879 module_srcdir=winsup; \
47880 rm -f no-such-file || : ; \
47881 CONFIG_SITE=no-such-file $(SHELL) \
47882 $$s/$$module_srcdir/configure \
47883 --srcdir=$${topdir}/$$module_srcdir \
47884 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47885 --target=${target_alias} \
47886 || exit 1
47887 @endif target-winsup
47893 .PHONY: all-target-winsup maybe-all-target-winsup
47894 maybe-all-target-winsup:
47895 @if gcc-bootstrap
47896 all-target-winsup: stage_current
47897 @endif gcc-bootstrap
47898 @if target-winsup
47899 TARGET-target-winsup=all
47900 maybe-all-target-winsup: all-target-winsup
47901 all-target-winsup: configure-target-winsup
47902 @: $(MAKE); $(unstage)
47903 @r=`${PWD_COMMAND}`; export r; \
47904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47905 $(NORMAL_TARGET_EXPORTS) \
47906 (cd $(TARGET_SUBDIR)/winsup && \
47907 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47908 $(TARGET-target-winsup))
47909 @endif target-winsup
47915 .PHONY: check-target-winsup maybe-check-target-winsup
47916 maybe-check-target-winsup:
47917 @if target-winsup
47918 maybe-check-target-winsup: check-target-winsup
47920 check-target-winsup:
47921 @: $(MAKE); $(unstage)
47922 @r=`${PWD_COMMAND}`; export r; \
47923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47924 $(NORMAL_TARGET_EXPORTS) \
47925 (cd $(TARGET_SUBDIR)/winsup && \
47926 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47928 @endif target-winsup
47930 .PHONY: install-target-winsup maybe-install-target-winsup
47931 maybe-install-target-winsup:
47932 @if target-winsup
47933 maybe-install-target-winsup: install-target-winsup
47935 install-target-winsup: installdirs
47936 @: $(MAKE); $(unstage)
47937 @r=`${PWD_COMMAND}`; export r; \
47938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47939 $(NORMAL_TARGET_EXPORTS) \
47940 (cd $(TARGET_SUBDIR)/winsup && \
47941 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47943 @endif target-winsup
47945 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
47946 maybe-install-strip-target-winsup:
47947 @if target-winsup
47948 maybe-install-strip-target-winsup: install-strip-target-winsup
47950 install-strip-target-winsup: installdirs
47951 @: $(MAKE); $(unstage)
47952 @r=`${PWD_COMMAND}`; export r; \
47953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47954 $(NORMAL_TARGET_EXPORTS) \
47955 (cd $(TARGET_SUBDIR)/winsup && \
47956 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47958 @endif target-winsup
47960 # Other targets (info, dvi, pdf, etc.)
47962 .PHONY: maybe-info-target-winsup info-target-winsup
47963 maybe-info-target-winsup:
47964 @if target-winsup
47965 maybe-info-target-winsup: info-target-winsup
47967 info-target-winsup: \
47968 configure-target-winsup
47969 @: $(MAKE); $(unstage)
47970 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47971 r=`${PWD_COMMAND}`; export r; \
47972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47973 $(NORMAL_TARGET_EXPORTS) \
47974 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
47975 for flag in $(EXTRA_TARGET_FLAGS); do \
47976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47977 done; \
47978 (cd $(TARGET_SUBDIR)/winsup && \
47979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47981 "RANLIB=$${RANLIB}" \
47982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47983 info) \
47984 || exit 1
47986 @endif target-winsup
47988 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
47989 maybe-dvi-target-winsup:
47990 @if target-winsup
47991 maybe-dvi-target-winsup: dvi-target-winsup
47993 dvi-target-winsup: \
47994 configure-target-winsup
47995 @: $(MAKE); $(unstage)
47996 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
47997 r=`${PWD_COMMAND}`; export r; \
47998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47999 $(NORMAL_TARGET_EXPORTS) \
48000 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
48001 for flag in $(EXTRA_TARGET_FLAGS); do \
48002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48003 done; \
48004 (cd $(TARGET_SUBDIR)/winsup && \
48005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48007 "RANLIB=$${RANLIB}" \
48008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48009 dvi) \
48010 || exit 1
48012 @endif target-winsup
48014 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
48015 maybe-pdf-target-winsup:
48016 @if target-winsup
48017 maybe-pdf-target-winsup: pdf-target-winsup
48019 pdf-target-winsup: \
48020 configure-target-winsup
48021 @: $(MAKE); $(unstage)
48022 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48023 r=`${PWD_COMMAND}`; export r; \
48024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48025 $(NORMAL_TARGET_EXPORTS) \
48026 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
48027 for flag in $(EXTRA_TARGET_FLAGS); do \
48028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48029 done; \
48030 (cd $(TARGET_SUBDIR)/winsup && \
48031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48033 "RANLIB=$${RANLIB}" \
48034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48035 pdf) \
48036 || exit 1
48038 @endif target-winsup
48040 .PHONY: maybe-html-target-winsup html-target-winsup
48041 maybe-html-target-winsup:
48042 @if target-winsup
48043 maybe-html-target-winsup: html-target-winsup
48045 html-target-winsup: \
48046 configure-target-winsup
48047 @: $(MAKE); $(unstage)
48048 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48049 r=`${PWD_COMMAND}`; export r; \
48050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48051 $(NORMAL_TARGET_EXPORTS) \
48052 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
48053 for flag in $(EXTRA_TARGET_FLAGS); do \
48054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48055 done; \
48056 (cd $(TARGET_SUBDIR)/winsup && \
48057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48059 "RANLIB=$${RANLIB}" \
48060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48061 html) \
48062 || exit 1
48064 @endif target-winsup
48066 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
48067 maybe-TAGS-target-winsup:
48068 @if target-winsup
48069 maybe-TAGS-target-winsup: TAGS-target-winsup
48071 TAGS-target-winsup: \
48072 configure-target-winsup
48073 @: $(MAKE); $(unstage)
48074 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48075 r=`${PWD_COMMAND}`; export r; \
48076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48077 $(NORMAL_TARGET_EXPORTS) \
48078 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
48079 for flag in $(EXTRA_TARGET_FLAGS); do \
48080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48081 done; \
48082 (cd $(TARGET_SUBDIR)/winsup && \
48083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48085 "RANLIB=$${RANLIB}" \
48086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48087 TAGS) \
48088 || exit 1
48090 @endif target-winsup
48092 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
48093 maybe-install-info-target-winsup:
48094 @if target-winsup
48095 maybe-install-info-target-winsup: install-info-target-winsup
48097 install-info-target-winsup: \
48098 configure-target-winsup \
48099 info-target-winsup
48100 @: $(MAKE); $(unstage)
48101 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48102 r=`${PWD_COMMAND}`; export r; \
48103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48104 $(NORMAL_TARGET_EXPORTS) \
48105 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
48106 for flag in $(EXTRA_TARGET_FLAGS); do \
48107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48108 done; \
48109 (cd $(TARGET_SUBDIR)/winsup && \
48110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48112 "RANLIB=$${RANLIB}" \
48113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48114 install-info) \
48115 || exit 1
48117 @endif target-winsup
48119 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
48120 maybe-install-pdf-target-winsup:
48121 @if target-winsup
48122 maybe-install-pdf-target-winsup: install-pdf-target-winsup
48124 install-pdf-target-winsup: \
48125 configure-target-winsup \
48126 pdf-target-winsup
48127 @: $(MAKE); $(unstage)
48128 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48129 r=`${PWD_COMMAND}`; export r; \
48130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48131 $(NORMAL_TARGET_EXPORTS) \
48132 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
48133 for flag in $(EXTRA_TARGET_FLAGS); do \
48134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48135 done; \
48136 (cd $(TARGET_SUBDIR)/winsup && \
48137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48139 "RANLIB=$${RANLIB}" \
48140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48141 install-pdf) \
48142 || exit 1
48144 @endif target-winsup
48146 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
48147 maybe-install-html-target-winsup:
48148 @if target-winsup
48149 maybe-install-html-target-winsup: install-html-target-winsup
48151 install-html-target-winsup: \
48152 configure-target-winsup \
48153 html-target-winsup
48154 @: $(MAKE); $(unstage)
48155 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48156 r=`${PWD_COMMAND}`; export r; \
48157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48158 $(NORMAL_TARGET_EXPORTS) \
48159 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
48160 for flag in $(EXTRA_TARGET_FLAGS); do \
48161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48162 done; \
48163 (cd $(TARGET_SUBDIR)/winsup && \
48164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48166 "RANLIB=$${RANLIB}" \
48167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48168 install-html) \
48169 || exit 1
48171 @endif target-winsup
48173 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
48174 maybe-installcheck-target-winsup:
48175 @if target-winsup
48176 maybe-installcheck-target-winsup: installcheck-target-winsup
48178 installcheck-target-winsup: \
48179 configure-target-winsup
48180 @: $(MAKE); $(unstage)
48181 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48182 r=`${PWD_COMMAND}`; export r; \
48183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48184 $(NORMAL_TARGET_EXPORTS) \
48185 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
48186 for flag in $(EXTRA_TARGET_FLAGS); do \
48187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48188 done; \
48189 (cd $(TARGET_SUBDIR)/winsup && \
48190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48192 "RANLIB=$${RANLIB}" \
48193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48194 installcheck) \
48195 || exit 1
48197 @endif target-winsup
48199 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
48200 maybe-mostlyclean-target-winsup:
48201 @if target-winsup
48202 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
48204 mostlyclean-target-winsup:
48205 @: $(MAKE); $(unstage)
48206 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48207 r=`${PWD_COMMAND}`; export r; \
48208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48209 $(NORMAL_TARGET_EXPORTS) \
48210 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
48211 for flag in $(EXTRA_TARGET_FLAGS); do \
48212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48213 done; \
48214 (cd $(TARGET_SUBDIR)/winsup && \
48215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48217 "RANLIB=$${RANLIB}" \
48218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48219 mostlyclean) \
48220 || exit 1
48222 @endif target-winsup
48224 .PHONY: maybe-clean-target-winsup clean-target-winsup
48225 maybe-clean-target-winsup:
48226 @if target-winsup
48227 maybe-clean-target-winsup: clean-target-winsup
48229 clean-target-winsup:
48230 @: $(MAKE); $(unstage)
48231 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48232 r=`${PWD_COMMAND}`; export r; \
48233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48234 $(NORMAL_TARGET_EXPORTS) \
48235 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
48236 for flag in $(EXTRA_TARGET_FLAGS); do \
48237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48238 done; \
48239 (cd $(TARGET_SUBDIR)/winsup && \
48240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48242 "RANLIB=$${RANLIB}" \
48243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48244 clean) \
48245 || exit 1
48247 @endif target-winsup
48249 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
48250 maybe-distclean-target-winsup:
48251 @if target-winsup
48252 maybe-distclean-target-winsup: distclean-target-winsup
48254 distclean-target-winsup:
48255 @: $(MAKE); $(unstage)
48256 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48257 r=`${PWD_COMMAND}`; export r; \
48258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48259 $(NORMAL_TARGET_EXPORTS) \
48260 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
48261 for flag in $(EXTRA_TARGET_FLAGS); do \
48262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48263 done; \
48264 (cd $(TARGET_SUBDIR)/winsup && \
48265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48267 "RANLIB=$${RANLIB}" \
48268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48269 distclean) \
48270 || exit 1
48272 @endif target-winsup
48274 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
48275 maybe-maintainer-clean-target-winsup:
48276 @if target-winsup
48277 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
48279 maintainer-clean-target-winsup:
48280 @: $(MAKE); $(unstage)
48281 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
48282 r=`${PWD_COMMAND}`; export r; \
48283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48284 $(NORMAL_TARGET_EXPORTS) \
48285 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
48286 for flag in $(EXTRA_TARGET_FLAGS); do \
48287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48288 done; \
48289 (cd $(TARGET_SUBDIR)/winsup && \
48290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48292 "RANLIB=$${RANLIB}" \
48293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48294 maintainer-clean) \
48295 || exit 1
48297 @endif target-winsup
48303 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
48304 maybe-configure-target-libgloss:
48305 @if gcc-bootstrap
48306 configure-target-libgloss: stage_current
48307 @endif gcc-bootstrap
48308 @if target-libgloss
48309 maybe-configure-target-libgloss: configure-target-libgloss
48310 configure-target-libgloss:
48311 @: $(MAKE); $(unstage)
48312 @r=`${PWD_COMMAND}`; export r; \
48313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48314 echo "Checking multilib configuration for libgloss..."; \
48315 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
48316 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
48317 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
48318 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
48319 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
48320 else \
48321 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
48322 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
48323 fi; \
48324 else \
48325 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
48326 fi; \
48327 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
48328 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
48329 $(NORMAL_TARGET_EXPORTS) \
48330 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
48331 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
48332 case $(srcdir) in \
48333 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48334 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
48335 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48336 esac; \
48337 module_srcdir=libgloss; \
48338 rm -f no-such-file || : ; \
48339 CONFIG_SITE=no-such-file $(SHELL) \
48340 $$s/$$module_srcdir/configure \
48341 --srcdir=$${topdir}/$$module_srcdir \
48342 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48343 --target=${target_alias} \
48344 || exit 1
48345 @endif target-libgloss
48351 .PHONY: all-target-libgloss maybe-all-target-libgloss
48352 maybe-all-target-libgloss:
48353 @if gcc-bootstrap
48354 all-target-libgloss: stage_current
48355 @endif gcc-bootstrap
48356 @if target-libgloss
48357 TARGET-target-libgloss=all
48358 maybe-all-target-libgloss: all-target-libgloss
48359 all-target-libgloss: configure-target-libgloss
48360 @: $(MAKE); $(unstage)
48361 @r=`${PWD_COMMAND}`; export r; \
48362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48363 $(NORMAL_TARGET_EXPORTS) \
48364 (cd $(TARGET_SUBDIR)/libgloss && \
48365 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48366 $(TARGET-target-libgloss))
48367 @endif target-libgloss
48373 .PHONY: check-target-libgloss maybe-check-target-libgloss
48374 maybe-check-target-libgloss:
48375 @if target-libgloss
48376 maybe-check-target-libgloss: check-target-libgloss
48378 # Dummy target for uncheckable module.
48379 check-target-libgloss:
48381 @endif target-libgloss
48383 .PHONY: install-target-libgloss maybe-install-target-libgloss
48384 maybe-install-target-libgloss:
48385 @if target-libgloss
48386 maybe-install-target-libgloss: install-target-libgloss
48388 install-target-libgloss: installdirs
48389 @: $(MAKE); $(unstage)
48390 @r=`${PWD_COMMAND}`; export r; \
48391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48392 $(NORMAL_TARGET_EXPORTS) \
48393 (cd $(TARGET_SUBDIR)/libgloss && \
48394 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48396 @endif target-libgloss
48398 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
48399 maybe-install-strip-target-libgloss:
48400 @if target-libgloss
48401 maybe-install-strip-target-libgloss: install-strip-target-libgloss
48403 install-strip-target-libgloss: installdirs
48404 @: $(MAKE); $(unstage)
48405 @r=`${PWD_COMMAND}`; export r; \
48406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48407 $(NORMAL_TARGET_EXPORTS) \
48408 (cd $(TARGET_SUBDIR)/libgloss && \
48409 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48411 @endif target-libgloss
48413 # Other targets (info, dvi, pdf, etc.)
48415 .PHONY: maybe-info-target-libgloss info-target-libgloss
48416 maybe-info-target-libgloss:
48417 @if target-libgloss
48418 maybe-info-target-libgloss: info-target-libgloss
48420 info-target-libgloss: \
48421 configure-target-libgloss
48422 @: $(MAKE); $(unstage)
48423 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48424 r=`${PWD_COMMAND}`; export r; \
48425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48426 $(NORMAL_TARGET_EXPORTS) \
48427 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
48428 for flag in $(EXTRA_TARGET_FLAGS); do \
48429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48430 done; \
48431 (cd $(TARGET_SUBDIR)/libgloss && \
48432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48434 "RANLIB=$${RANLIB}" \
48435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48436 info) \
48437 || exit 1
48439 @endif target-libgloss
48441 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
48442 maybe-dvi-target-libgloss:
48443 @if target-libgloss
48444 maybe-dvi-target-libgloss: dvi-target-libgloss
48446 dvi-target-libgloss: \
48447 configure-target-libgloss
48448 @: $(MAKE); $(unstage)
48449 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48450 r=`${PWD_COMMAND}`; export r; \
48451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48452 $(NORMAL_TARGET_EXPORTS) \
48453 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
48454 for flag in $(EXTRA_TARGET_FLAGS); do \
48455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48456 done; \
48457 (cd $(TARGET_SUBDIR)/libgloss && \
48458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48460 "RANLIB=$${RANLIB}" \
48461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48462 dvi) \
48463 || exit 1
48465 @endif target-libgloss
48467 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
48468 maybe-pdf-target-libgloss:
48469 @if target-libgloss
48470 maybe-pdf-target-libgloss: pdf-target-libgloss
48472 pdf-target-libgloss: \
48473 configure-target-libgloss
48474 @: $(MAKE); $(unstage)
48475 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48476 r=`${PWD_COMMAND}`; export r; \
48477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48478 $(NORMAL_TARGET_EXPORTS) \
48479 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
48480 for flag in $(EXTRA_TARGET_FLAGS); do \
48481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48482 done; \
48483 (cd $(TARGET_SUBDIR)/libgloss && \
48484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48486 "RANLIB=$${RANLIB}" \
48487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48488 pdf) \
48489 || exit 1
48491 @endif target-libgloss
48493 .PHONY: maybe-html-target-libgloss html-target-libgloss
48494 maybe-html-target-libgloss:
48495 @if target-libgloss
48496 maybe-html-target-libgloss: html-target-libgloss
48498 html-target-libgloss: \
48499 configure-target-libgloss
48500 @: $(MAKE); $(unstage)
48501 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48502 r=`${PWD_COMMAND}`; export r; \
48503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48504 $(NORMAL_TARGET_EXPORTS) \
48505 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
48506 for flag in $(EXTRA_TARGET_FLAGS); do \
48507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48508 done; \
48509 (cd $(TARGET_SUBDIR)/libgloss && \
48510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48512 "RANLIB=$${RANLIB}" \
48513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48514 html) \
48515 || exit 1
48517 @endif target-libgloss
48519 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
48520 maybe-TAGS-target-libgloss:
48521 @if target-libgloss
48522 maybe-TAGS-target-libgloss: TAGS-target-libgloss
48524 TAGS-target-libgloss: \
48525 configure-target-libgloss
48526 @: $(MAKE); $(unstage)
48527 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48528 r=`${PWD_COMMAND}`; export r; \
48529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48530 $(NORMAL_TARGET_EXPORTS) \
48531 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
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)/libgloss && \
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 TAGS) \
48541 || exit 1
48543 @endif target-libgloss
48545 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
48546 maybe-install-info-target-libgloss:
48547 @if target-libgloss
48548 maybe-install-info-target-libgloss: install-info-target-libgloss
48550 install-info-target-libgloss: \
48551 configure-target-libgloss \
48552 info-target-libgloss
48553 @: $(MAKE); $(unstage)
48554 @[ -f $(TARGET_SUBDIR)/libgloss/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-info in $(TARGET_SUBDIR)/libgloss"; \
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)/libgloss && \
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-info) \
48568 || exit 1
48570 @endif target-libgloss
48572 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
48573 maybe-install-pdf-target-libgloss:
48574 @if target-libgloss
48575 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
48577 install-pdf-target-libgloss: \
48578 configure-target-libgloss \
48579 pdf-target-libgloss
48580 @: $(MAKE); $(unstage)
48581 @[ -f $(TARGET_SUBDIR)/libgloss/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-pdf in $(TARGET_SUBDIR)/libgloss"; \
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)/libgloss && \
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-pdf) \
48595 || exit 1
48597 @endif target-libgloss
48599 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
48600 maybe-install-html-target-libgloss:
48601 @if target-libgloss
48602 maybe-install-html-target-libgloss: install-html-target-libgloss
48604 install-html-target-libgloss: \
48605 configure-target-libgloss \
48606 html-target-libgloss
48607 @: $(MAKE); $(unstage)
48608 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48609 r=`${PWD_COMMAND}`; export r; \
48610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48611 $(NORMAL_TARGET_EXPORTS) \
48612 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
48613 for flag in $(EXTRA_TARGET_FLAGS); do \
48614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48615 done; \
48616 (cd $(TARGET_SUBDIR)/libgloss && \
48617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48619 "RANLIB=$${RANLIB}" \
48620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48621 install-html) \
48622 || exit 1
48624 @endif target-libgloss
48626 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
48627 maybe-installcheck-target-libgloss:
48628 @if target-libgloss
48629 maybe-installcheck-target-libgloss: installcheck-target-libgloss
48631 installcheck-target-libgloss: \
48632 configure-target-libgloss
48633 @: $(MAKE); $(unstage)
48634 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48635 r=`${PWD_COMMAND}`; export r; \
48636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48637 $(NORMAL_TARGET_EXPORTS) \
48638 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
48639 for flag in $(EXTRA_TARGET_FLAGS); do \
48640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48641 done; \
48642 (cd $(TARGET_SUBDIR)/libgloss && \
48643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48645 "RANLIB=$${RANLIB}" \
48646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48647 installcheck) \
48648 || exit 1
48650 @endif target-libgloss
48652 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
48653 maybe-mostlyclean-target-libgloss:
48654 @if target-libgloss
48655 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
48657 mostlyclean-target-libgloss:
48658 @: $(MAKE); $(unstage)
48659 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48660 r=`${PWD_COMMAND}`; export r; \
48661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48662 $(NORMAL_TARGET_EXPORTS) \
48663 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
48664 for flag in $(EXTRA_TARGET_FLAGS); do \
48665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48666 done; \
48667 (cd $(TARGET_SUBDIR)/libgloss && \
48668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48670 "RANLIB=$${RANLIB}" \
48671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48672 mostlyclean) \
48673 || exit 1
48675 @endif target-libgloss
48677 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
48678 maybe-clean-target-libgloss:
48679 @if target-libgloss
48680 maybe-clean-target-libgloss: clean-target-libgloss
48682 clean-target-libgloss:
48683 @: $(MAKE); $(unstage)
48684 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48685 r=`${PWD_COMMAND}`; export r; \
48686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48687 $(NORMAL_TARGET_EXPORTS) \
48688 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
48689 for flag in $(EXTRA_TARGET_FLAGS); do \
48690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48691 done; \
48692 (cd $(TARGET_SUBDIR)/libgloss && \
48693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48695 "RANLIB=$${RANLIB}" \
48696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48697 clean) \
48698 || exit 1
48700 @endif target-libgloss
48702 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
48703 maybe-distclean-target-libgloss:
48704 @if target-libgloss
48705 maybe-distclean-target-libgloss: distclean-target-libgloss
48707 distclean-target-libgloss:
48708 @: $(MAKE); $(unstage)
48709 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48710 r=`${PWD_COMMAND}`; export r; \
48711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48712 $(NORMAL_TARGET_EXPORTS) \
48713 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
48714 for flag in $(EXTRA_TARGET_FLAGS); do \
48715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48716 done; \
48717 (cd $(TARGET_SUBDIR)/libgloss && \
48718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48720 "RANLIB=$${RANLIB}" \
48721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48722 distclean) \
48723 || exit 1
48725 @endif target-libgloss
48727 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
48728 maybe-maintainer-clean-target-libgloss:
48729 @if target-libgloss
48730 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
48732 maintainer-clean-target-libgloss:
48733 @: $(MAKE); $(unstage)
48734 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
48735 r=`${PWD_COMMAND}`; export r; \
48736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48737 $(NORMAL_TARGET_EXPORTS) \
48738 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
48739 for flag in $(EXTRA_TARGET_FLAGS); do \
48740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48741 done; \
48742 (cd $(TARGET_SUBDIR)/libgloss && \
48743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48745 "RANLIB=$${RANLIB}" \
48746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48747 maintainer-clean) \
48748 || exit 1
48750 @endif target-libgloss
48756 .PHONY: configure-target-libffi maybe-configure-target-libffi
48757 maybe-configure-target-libffi:
48758 @if gcc-bootstrap
48759 configure-target-libffi: stage_current
48760 @endif gcc-bootstrap
48761 @if target-libffi
48762 maybe-configure-target-libffi: configure-target-libffi
48763 configure-target-libffi:
48764 @: $(MAKE); $(unstage)
48765 @r=`${PWD_COMMAND}`; export r; \
48766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48767 echo "Checking multilib configuration for libffi..."; \
48768 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
48769 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
48770 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
48771 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
48772 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
48773 else \
48774 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
48775 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
48776 fi; \
48777 else \
48778 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
48779 fi; \
48780 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
48781 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
48782 $(NORMAL_TARGET_EXPORTS) \
48783 echo Configuring in $(TARGET_SUBDIR)/libffi; \
48784 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
48785 case $(srcdir) in \
48786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48787 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
48788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48789 esac; \
48790 module_srcdir=libffi; \
48791 rm -f no-such-file || : ; \
48792 CONFIG_SITE=no-such-file $(SHELL) \
48793 $$s/$$module_srcdir/configure \
48794 --srcdir=$${topdir}/$$module_srcdir \
48795 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48796 --target=${target_alias} \
48797 || exit 1
48798 @endif target-libffi
48804 .PHONY: all-target-libffi maybe-all-target-libffi
48805 maybe-all-target-libffi:
48806 @if gcc-bootstrap
48807 all-target-libffi: stage_current
48808 @endif gcc-bootstrap
48809 @if target-libffi
48810 TARGET-target-libffi=all
48811 maybe-all-target-libffi: all-target-libffi
48812 all-target-libffi: configure-target-libffi
48813 @: $(MAKE); $(unstage)
48814 @r=`${PWD_COMMAND}`; export r; \
48815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48816 $(NORMAL_TARGET_EXPORTS) \
48817 (cd $(TARGET_SUBDIR)/libffi && \
48818 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48819 $(TARGET-target-libffi))
48820 @endif target-libffi
48826 .PHONY: check-target-libffi maybe-check-target-libffi
48827 maybe-check-target-libffi:
48828 @if target-libffi
48829 maybe-check-target-libffi: check-target-libffi
48831 check-target-libffi:
48832 @: $(MAKE); $(unstage)
48833 @r=`${PWD_COMMAND}`; export r; \
48834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48835 $(NORMAL_TARGET_EXPORTS) \
48836 (cd $(TARGET_SUBDIR)/libffi && \
48837 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48839 @endif target-libffi
48841 .PHONY: install-target-libffi maybe-install-target-libffi
48842 maybe-install-target-libffi:
48843 @if target-libffi
48844 maybe-install-target-libffi: install-target-libffi
48846 # Dummy target for uninstallable.
48847 install-target-libffi:
48849 @endif target-libffi
48851 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
48852 maybe-install-strip-target-libffi:
48853 @if target-libffi
48854 maybe-install-strip-target-libffi: install-strip-target-libffi
48856 # Dummy target for uninstallable.
48857 install-strip-target-libffi:
48859 @endif target-libffi
48861 # Other targets (info, dvi, pdf, etc.)
48863 .PHONY: maybe-info-target-libffi info-target-libffi
48864 maybe-info-target-libffi:
48865 @if target-libffi
48866 maybe-info-target-libffi: info-target-libffi
48868 info-target-libffi: \
48869 configure-target-libffi
48870 @: $(MAKE); $(unstage)
48871 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48872 r=`${PWD_COMMAND}`; export r; \
48873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48874 $(NORMAL_TARGET_EXPORTS) \
48875 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
48876 for flag in $(EXTRA_TARGET_FLAGS); do \
48877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48878 done; \
48879 (cd $(TARGET_SUBDIR)/libffi && \
48880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48882 "RANLIB=$${RANLIB}" \
48883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48884 info) \
48885 || exit 1
48887 @endif target-libffi
48889 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
48890 maybe-dvi-target-libffi:
48891 @if target-libffi
48892 maybe-dvi-target-libffi: dvi-target-libffi
48894 dvi-target-libffi: \
48895 configure-target-libffi
48896 @: $(MAKE); $(unstage)
48897 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48898 r=`${PWD_COMMAND}`; export r; \
48899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48900 $(NORMAL_TARGET_EXPORTS) \
48901 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
48902 for flag in $(EXTRA_TARGET_FLAGS); do \
48903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48904 done; \
48905 (cd $(TARGET_SUBDIR)/libffi && \
48906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48908 "RANLIB=$${RANLIB}" \
48909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48910 dvi) \
48911 || exit 1
48913 @endif target-libffi
48915 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
48916 maybe-pdf-target-libffi:
48917 @if target-libffi
48918 maybe-pdf-target-libffi: pdf-target-libffi
48920 pdf-target-libffi: \
48921 configure-target-libffi
48922 @: $(MAKE); $(unstage)
48923 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48924 r=`${PWD_COMMAND}`; export r; \
48925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48926 $(NORMAL_TARGET_EXPORTS) \
48927 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
48928 for flag in $(EXTRA_TARGET_FLAGS); do \
48929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48930 done; \
48931 (cd $(TARGET_SUBDIR)/libffi && \
48932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48934 "RANLIB=$${RANLIB}" \
48935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48936 pdf) \
48937 || exit 1
48939 @endif target-libffi
48941 .PHONY: maybe-html-target-libffi html-target-libffi
48942 maybe-html-target-libffi:
48943 @if target-libffi
48944 maybe-html-target-libffi: html-target-libffi
48946 html-target-libffi: \
48947 configure-target-libffi
48948 @: $(MAKE); $(unstage)
48949 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48950 r=`${PWD_COMMAND}`; export r; \
48951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48952 $(NORMAL_TARGET_EXPORTS) \
48953 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
48954 for flag in $(EXTRA_TARGET_FLAGS); do \
48955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48956 done; \
48957 (cd $(TARGET_SUBDIR)/libffi && \
48958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48960 "RANLIB=$${RANLIB}" \
48961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48962 html) \
48963 || exit 1
48965 @endif target-libffi
48967 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
48968 maybe-TAGS-target-libffi:
48969 @if target-libffi
48970 maybe-TAGS-target-libffi: TAGS-target-libffi
48972 TAGS-target-libffi: \
48973 configure-target-libffi
48974 @: $(MAKE); $(unstage)
48975 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
48976 r=`${PWD_COMMAND}`; export r; \
48977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48978 $(NORMAL_TARGET_EXPORTS) \
48979 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
48980 for flag in $(EXTRA_TARGET_FLAGS); do \
48981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48982 done; \
48983 (cd $(TARGET_SUBDIR)/libffi && \
48984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48986 "RANLIB=$${RANLIB}" \
48987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48988 TAGS) \
48989 || exit 1
48991 @endif target-libffi
48993 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
48994 maybe-install-info-target-libffi:
48995 @if target-libffi
48996 maybe-install-info-target-libffi: install-info-target-libffi
48998 install-info-target-libffi: \
48999 configure-target-libffi \
49000 info-target-libffi
49001 @: $(MAKE); $(unstage)
49002 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49003 r=`${PWD_COMMAND}`; export r; \
49004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49005 $(NORMAL_TARGET_EXPORTS) \
49006 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
49007 for flag in $(EXTRA_TARGET_FLAGS); do \
49008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49009 done; \
49010 (cd $(TARGET_SUBDIR)/libffi && \
49011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49013 "RANLIB=$${RANLIB}" \
49014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49015 install-info) \
49016 || exit 1
49018 @endif target-libffi
49020 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
49021 maybe-install-pdf-target-libffi:
49022 @if target-libffi
49023 maybe-install-pdf-target-libffi: install-pdf-target-libffi
49025 install-pdf-target-libffi: \
49026 configure-target-libffi \
49027 pdf-target-libffi
49028 @: $(MAKE); $(unstage)
49029 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49030 r=`${PWD_COMMAND}`; export r; \
49031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49032 $(NORMAL_TARGET_EXPORTS) \
49033 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
49034 for flag in $(EXTRA_TARGET_FLAGS); do \
49035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49036 done; \
49037 (cd $(TARGET_SUBDIR)/libffi && \
49038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49040 "RANLIB=$${RANLIB}" \
49041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49042 install-pdf) \
49043 || exit 1
49045 @endif target-libffi
49047 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
49048 maybe-install-html-target-libffi:
49049 @if target-libffi
49050 maybe-install-html-target-libffi: install-html-target-libffi
49052 install-html-target-libffi: \
49053 configure-target-libffi \
49054 html-target-libffi
49055 @: $(MAKE); $(unstage)
49056 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49057 r=`${PWD_COMMAND}`; export r; \
49058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49059 $(NORMAL_TARGET_EXPORTS) \
49060 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
49061 for flag in $(EXTRA_TARGET_FLAGS); do \
49062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49063 done; \
49064 (cd $(TARGET_SUBDIR)/libffi && \
49065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49067 "RANLIB=$${RANLIB}" \
49068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49069 install-html) \
49070 || exit 1
49072 @endif target-libffi
49074 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
49075 maybe-installcheck-target-libffi:
49076 @if target-libffi
49077 maybe-installcheck-target-libffi: installcheck-target-libffi
49079 installcheck-target-libffi: \
49080 configure-target-libffi
49081 @: $(MAKE); $(unstage)
49082 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49083 r=`${PWD_COMMAND}`; export r; \
49084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49085 $(NORMAL_TARGET_EXPORTS) \
49086 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
49087 for flag in $(EXTRA_TARGET_FLAGS); do \
49088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49089 done; \
49090 (cd $(TARGET_SUBDIR)/libffi && \
49091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49093 "RANLIB=$${RANLIB}" \
49094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49095 installcheck) \
49096 || exit 1
49098 @endif target-libffi
49100 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
49101 maybe-mostlyclean-target-libffi:
49102 @if target-libffi
49103 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
49105 mostlyclean-target-libffi:
49106 @: $(MAKE); $(unstage)
49107 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49108 r=`${PWD_COMMAND}`; export r; \
49109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49110 $(NORMAL_TARGET_EXPORTS) \
49111 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
49112 for flag in $(EXTRA_TARGET_FLAGS); do \
49113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49114 done; \
49115 (cd $(TARGET_SUBDIR)/libffi && \
49116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49118 "RANLIB=$${RANLIB}" \
49119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49120 mostlyclean) \
49121 || exit 1
49123 @endif target-libffi
49125 .PHONY: maybe-clean-target-libffi clean-target-libffi
49126 maybe-clean-target-libffi:
49127 @if target-libffi
49128 maybe-clean-target-libffi: clean-target-libffi
49130 clean-target-libffi:
49131 @: $(MAKE); $(unstage)
49132 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49133 r=`${PWD_COMMAND}`; export r; \
49134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49135 $(NORMAL_TARGET_EXPORTS) \
49136 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
49137 for flag in $(EXTRA_TARGET_FLAGS); do \
49138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49139 done; \
49140 (cd $(TARGET_SUBDIR)/libffi && \
49141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49143 "RANLIB=$${RANLIB}" \
49144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49145 clean) \
49146 || exit 1
49148 @endif target-libffi
49150 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
49151 maybe-distclean-target-libffi:
49152 @if target-libffi
49153 maybe-distclean-target-libffi: distclean-target-libffi
49155 distclean-target-libffi:
49156 @: $(MAKE); $(unstage)
49157 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49158 r=`${PWD_COMMAND}`; export r; \
49159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49160 $(NORMAL_TARGET_EXPORTS) \
49161 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
49162 for flag in $(EXTRA_TARGET_FLAGS); do \
49163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49164 done; \
49165 (cd $(TARGET_SUBDIR)/libffi && \
49166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49168 "RANLIB=$${RANLIB}" \
49169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49170 distclean) \
49171 || exit 1
49173 @endif target-libffi
49175 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
49176 maybe-maintainer-clean-target-libffi:
49177 @if target-libffi
49178 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
49180 maintainer-clean-target-libffi:
49181 @: $(MAKE); $(unstage)
49182 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
49183 r=`${PWD_COMMAND}`; export r; \
49184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49185 $(NORMAL_TARGET_EXPORTS) \
49186 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
49187 for flag in $(EXTRA_TARGET_FLAGS); do \
49188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49189 done; \
49190 (cd $(TARGET_SUBDIR)/libffi && \
49191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49193 "RANLIB=$${RANLIB}" \
49194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49195 maintainer-clean) \
49196 || exit 1
49198 @endif target-libffi
49204 .PHONY: configure-target-zlib maybe-configure-target-zlib
49205 maybe-configure-target-zlib:
49206 @if gcc-bootstrap
49207 configure-target-zlib: stage_current
49208 @endif gcc-bootstrap
49209 @if target-zlib
49210 maybe-configure-target-zlib: configure-target-zlib
49211 configure-target-zlib:
49212 @: $(MAKE); $(unstage)
49213 @r=`${PWD_COMMAND}`; export r; \
49214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49215 echo "Checking multilib configuration for zlib..."; \
49216 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
49217 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
49218 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
49219 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
49220 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
49221 else \
49222 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
49223 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
49224 fi; \
49225 else \
49226 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
49227 fi; \
49228 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
49229 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
49230 $(NORMAL_TARGET_EXPORTS) \
49231 echo Configuring in $(TARGET_SUBDIR)/zlib; \
49232 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
49233 case $(srcdir) in \
49234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49235 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
49236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49237 esac; \
49238 module_srcdir=zlib; \
49239 rm -f no-such-file || : ; \
49240 CONFIG_SITE=no-such-file $(SHELL) \
49241 $$s/$$module_srcdir/configure \
49242 --srcdir=$${topdir}/$$module_srcdir \
49243 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49244 --target=${target_alias} \
49245 || exit 1
49246 @endif target-zlib
49252 .PHONY: all-target-zlib maybe-all-target-zlib
49253 maybe-all-target-zlib:
49254 @if gcc-bootstrap
49255 all-target-zlib: stage_current
49256 @endif gcc-bootstrap
49257 @if target-zlib
49258 TARGET-target-zlib=all
49259 maybe-all-target-zlib: all-target-zlib
49260 all-target-zlib: configure-target-zlib
49261 @: $(MAKE); $(unstage)
49262 @r=`${PWD_COMMAND}`; export r; \
49263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49264 $(NORMAL_TARGET_EXPORTS) \
49265 (cd $(TARGET_SUBDIR)/zlib && \
49266 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49267 $(TARGET-target-zlib))
49268 @endif target-zlib
49274 .PHONY: check-target-zlib maybe-check-target-zlib
49275 maybe-check-target-zlib:
49276 @if target-zlib
49277 maybe-check-target-zlib: check-target-zlib
49279 check-target-zlib:
49280 @: $(MAKE); $(unstage)
49281 @r=`${PWD_COMMAND}`; export r; \
49282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49283 $(NORMAL_TARGET_EXPORTS) \
49284 (cd $(TARGET_SUBDIR)/zlib && \
49285 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49287 @endif target-zlib
49289 .PHONY: install-target-zlib maybe-install-target-zlib
49290 maybe-install-target-zlib:
49291 @if target-zlib
49292 maybe-install-target-zlib: install-target-zlib
49294 install-target-zlib: installdirs
49295 @: $(MAKE); $(unstage)
49296 @r=`${PWD_COMMAND}`; export r; \
49297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49298 $(NORMAL_TARGET_EXPORTS) \
49299 (cd $(TARGET_SUBDIR)/zlib && \
49300 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49302 @endif target-zlib
49304 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
49305 maybe-install-strip-target-zlib:
49306 @if target-zlib
49307 maybe-install-strip-target-zlib: install-strip-target-zlib
49309 install-strip-target-zlib: installdirs
49310 @: $(MAKE); $(unstage)
49311 @r=`${PWD_COMMAND}`; export r; \
49312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49313 $(NORMAL_TARGET_EXPORTS) \
49314 (cd $(TARGET_SUBDIR)/zlib && \
49315 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49317 @endif target-zlib
49319 # Other targets (info, dvi, pdf, etc.)
49321 .PHONY: maybe-info-target-zlib info-target-zlib
49322 maybe-info-target-zlib:
49323 @if target-zlib
49324 maybe-info-target-zlib: info-target-zlib
49326 info-target-zlib: \
49327 configure-target-zlib
49328 @: $(MAKE); $(unstage)
49329 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49330 r=`${PWD_COMMAND}`; export r; \
49331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49332 $(NORMAL_TARGET_EXPORTS) \
49333 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
49334 for flag in $(EXTRA_TARGET_FLAGS); do \
49335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49336 done; \
49337 (cd $(TARGET_SUBDIR)/zlib && \
49338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49340 "RANLIB=$${RANLIB}" \
49341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49342 info) \
49343 || exit 1
49345 @endif target-zlib
49347 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
49348 maybe-dvi-target-zlib:
49349 @if target-zlib
49350 maybe-dvi-target-zlib: dvi-target-zlib
49352 dvi-target-zlib: \
49353 configure-target-zlib
49354 @: $(MAKE); $(unstage)
49355 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49356 r=`${PWD_COMMAND}`; export r; \
49357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49358 $(NORMAL_TARGET_EXPORTS) \
49359 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
49360 for flag in $(EXTRA_TARGET_FLAGS); do \
49361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49362 done; \
49363 (cd $(TARGET_SUBDIR)/zlib && \
49364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49366 "RANLIB=$${RANLIB}" \
49367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49368 dvi) \
49369 || exit 1
49371 @endif target-zlib
49373 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
49374 maybe-pdf-target-zlib:
49375 @if target-zlib
49376 maybe-pdf-target-zlib: pdf-target-zlib
49378 pdf-target-zlib: \
49379 configure-target-zlib
49380 @: $(MAKE); $(unstage)
49381 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49382 r=`${PWD_COMMAND}`; export r; \
49383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49384 $(NORMAL_TARGET_EXPORTS) \
49385 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
49386 for flag in $(EXTRA_TARGET_FLAGS); do \
49387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49388 done; \
49389 (cd $(TARGET_SUBDIR)/zlib && \
49390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49392 "RANLIB=$${RANLIB}" \
49393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49394 pdf) \
49395 || exit 1
49397 @endif target-zlib
49399 .PHONY: maybe-html-target-zlib html-target-zlib
49400 maybe-html-target-zlib:
49401 @if target-zlib
49402 maybe-html-target-zlib: html-target-zlib
49404 html-target-zlib: \
49405 configure-target-zlib
49406 @: $(MAKE); $(unstage)
49407 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49408 r=`${PWD_COMMAND}`; export r; \
49409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49410 $(NORMAL_TARGET_EXPORTS) \
49411 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
49412 for flag in $(EXTRA_TARGET_FLAGS); do \
49413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49414 done; \
49415 (cd $(TARGET_SUBDIR)/zlib && \
49416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49418 "RANLIB=$${RANLIB}" \
49419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49420 html) \
49421 || exit 1
49423 @endif target-zlib
49425 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
49426 maybe-TAGS-target-zlib:
49427 @if target-zlib
49428 maybe-TAGS-target-zlib: TAGS-target-zlib
49430 TAGS-target-zlib: \
49431 configure-target-zlib
49432 @: $(MAKE); $(unstage)
49433 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49434 r=`${PWD_COMMAND}`; export r; \
49435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49436 $(NORMAL_TARGET_EXPORTS) \
49437 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
49438 for flag in $(EXTRA_TARGET_FLAGS); do \
49439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49440 done; \
49441 (cd $(TARGET_SUBDIR)/zlib && \
49442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49444 "RANLIB=$${RANLIB}" \
49445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49446 TAGS) \
49447 || exit 1
49449 @endif target-zlib
49451 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
49452 maybe-install-info-target-zlib:
49453 @if target-zlib
49454 maybe-install-info-target-zlib: install-info-target-zlib
49456 install-info-target-zlib: \
49457 configure-target-zlib \
49458 info-target-zlib
49459 @: $(MAKE); $(unstage)
49460 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49461 r=`${PWD_COMMAND}`; export r; \
49462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49463 $(NORMAL_TARGET_EXPORTS) \
49464 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
49465 for flag in $(EXTRA_TARGET_FLAGS); do \
49466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49467 done; \
49468 (cd $(TARGET_SUBDIR)/zlib && \
49469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49471 "RANLIB=$${RANLIB}" \
49472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49473 install-info) \
49474 || exit 1
49476 @endif target-zlib
49478 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
49479 maybe-install-pdf-target-zlib:
49480 @if target-zlib
49481 maybe-install-pdf-target-zlib: install-pdf-target-zlib
49483 install-pdf-target-zlib: \
49484 configure-target-zlib \
49485 pdf-target-zlib
49486 @: $(MAKE); $(unstage)
49487 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49488 r=`${PWD_COMMAND}`; export r; \
49489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49490 $(NORMAL_TARGET_EXPORTS) \
49491 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
49492 for flag in $(EXTRA_TARGET_FLAGS); do \
49493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49494 done; \
49495 (cd $(TARGET_SUBDIR)/zlib && \
49496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49498 "RANLIB=$${RANLIB}" \
49499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49500 install-pdf) \
49501 || exit 1
49503 @endif target-zlib
49505 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
49506 maybe-install-html-target-zlib:
49507 @if target-zlib
49508 maybe-install-html-target-zlib: install-html-target-zlib
49510 install-html-target-zlib: \
49511 configure-target-zlib \
49512 html-target-zlib
49513 @: $(MAKE); $(unstage)
49514 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49515 r=`${PWD_COMMAND}`; export r; \
49516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49517 $(NORMAL_TARGET_EXPORTS) \
49518 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
49519 for flag in $(EXTRA_TARGET_FLAGS); do \
49520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49521 done; \
49522 (cd $(TARGET_SUBDIR)/zlib && \
49523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49525 "RANLIB=$${RANLIB}" \
49526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49527 install-html) \
49528 || exit 1
49530 @endif target-zlib
49532 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
49533 maybe-installcheck-target-zlib:
49534 @if target-zlib
49535 maybe-installcheck-target-zlib: installcheck-target-zlib
49537 installcheck-target-zlib: \
49538 configure-target-zlib
49539 @: $(MAKE); $(unstage)
49540 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49541 r=`${PWD_COMMAND}`; export r; \
49542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49543 $(NORMAL_TARGET_EXPORTS) \
49544 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
49545 for flag in $(EXTRA_TARGET_FLAGS); do \
49546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49547 done; \
49548 (cd $(TARGET_SUBDIR)/zlib && \
49549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49551 "RANLIB=$${RANLIB}" \
49552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49553 installcheck) \
49554 || exit 1
49556 @endif target-zlib
49558 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
49559 maybe-mostlyclean-target-zlib:
49560 @if target-zlib
49561 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
49563 mostlyclean-target-zlib:
49564 @: $(MAKE); $(unstage)
49565 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49566 r=`${PWD_COMMAND}`; export r; \
49567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49568 $(NORMAL_TARGET_EXPORTS) \
49569 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
49570 for flag in $(EXTRA_TARGET_FLAGS); do \
49571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49572 done; \
49573 (cd $(TARGET_SUBDIR)/zlib && \
49574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49576 "RANLIB=$${RANLIB}" \
49577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49578 mostlyclean) \
49579 || exit 1
49581 @endif target-zlib
49583 .PHONY: maybe-clean-target-zlib clean-target-zlib
49584 maybe-clean-target-zlib:
49585 @if target-zlib
49586 maybe-clean-target-zlib: clean-target-zlib
49588 clean-target-zlib:
49589 @: $(MAKE); $(unstage)
49590 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49591 r=`${PWD_COMMAND}`; export r; \
49592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49593 $(NORMAL_TARGET_EXPORTS) \
49594 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
49595 for flag in $(EXTRA_TARGET_FLAGS); do \
49596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49597 done; \
49598 (cd $(TARGET_SUBDIR)/zlib && \
49599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49601 "RANLIB=$${RANLIB}" \
49602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49603 clean) \
49604 || exit 1
49606 @endif target-zlib
49608 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
49609 maybe-distclean-target-zlib:
49610 @if target-zlib
49611 maybe-distclean-target-zlib: distclean-target-zlib
49613 distclean-target-zlib:
49614 @: $(MAKE); $(unstage)
49615 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49616 r=`${PWD_COMMAND}`; export r; \
49617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49618 $(NORMAL_TARGET_EXPORTS) \
49619 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
49620 for flag in $(EXTRA_TARGET_FLAGS); do \
49621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49622 done; \
49623 (cd $(TARGET_SUBDIR)/zlib && \
49624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49626 "RANLIB=$${RANLIB}" \
49627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49628 distclean) \
49629 || exit 1
49631 @endif target-zlib
49633 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
49634 maybe-maintainer-clean-target-zlib:
49635 @if target-zlib
49636 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
49638 maintainer-clean-target-zlib:
49639 @: $(MAKE); $(unstage)
49640 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
49641 r=`${PWD_COMMAND}`; export r; \
49642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49643 $(NORMAL_TARGET_EXPORTS) \
49644 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
49645 for flag in $(EXTRA_TARGET_FLAGS); do \
49646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49647 done; \
49648 (cd $(TARGET_SUBDIR)/zlib && \
49649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49651 "RANLIB=$${RANLIB}" \
49652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49653 maintainer-clean) \
49654 || exit 1
49656 @endif target-zlib
49662 .PHONY: configure-target-rda maybe-configure-target-rda
49663 maybe-configure-target-rda:
49664 @if gcc-bootstrap
49665 configure-target-rda: stage_current
49666 @endif gcc-bootstrap
49667 @if target-rda
49668 maybe-configure-target-rda: configure-target-rda
49669 configure-target-rda:
49670 @: $(MAKE); $(unstage)
49671 @r=`${PWD_COMMAND}`; export r; \
49672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49673 echo "Checking multilib configuration for rda..."; \
49674 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
49675 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
49676 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
49677 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
49678 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
49679 else \
49680 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
49681 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
49682 fi; \
49683 else \
49684 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
49685 fi; \
49686 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
49687 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
49688 $(NORMAL_TARGET_EXPORTS) \
49689 echo Configuring in $(TARGET_SUBDIR)/rda; \
49690 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
49691 case $(srcdir) in \
49692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49693 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
49694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49695 esac; \
49696 module_srcdir=rda; \
49697 rm -f no-such-file || : ; \
49698 CONFIG_SITE=no-such-file $(SHELL) \
49699 $$s/$$module_srcdir/configure \
49700 --srcdir=$${topdir}/$$module_srcdir \
49701 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49702 --target=${target_alias} \
49703 || exit 1
49704 @endif target-rda
49710 .PHONY: all-target-rda maybe-all-target-rda
49711 maybe-all-target-rda:
49712 @if gcc-bootstrap
49713 all-target-rda: stage_current
49714 @endif gcc-bootstrap
49715 @if target-rda
49716 TARGET-target-rda=all
49717 maybe-all-target-rda: all-target-rda
49718 all-target-rda: configure-target-rda
49719 @: $(MAKE); $(unstage)
49720 @r=`${PWD_COMMAND}`; export r; \
49721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49722 $(NORMAL_TARGET_EXPORTS) \
49723 (cd $(TARGET_SUBDIR)/rda && \
49724 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49725 $(TARGET-target-rda))
49726 @endif target-rda
49732 .PHONY: check-target-rda maybe-check-target-rda
49733 maybe-check-target-rda:
49734 @if target-rda
49735 maybe-check-target-rda: check-target-rda
49737 check-target-rda:
49738 @: $(MAKE); $(unstage)
49739 @r=`${PWD_COMMAND}`; export r; \
49740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49741 $(NORMAL_TARGET_EXPORTS) \
49742 (cd $(TARGET_SUBDIR)/rda && \
49743 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49745 @endif target-rda
49747 .PHONY: install-target-rda maybe-install-target-rda
49748 maybe-install-target-rda:
49749 @if target-rda
49750 maybe-install-target-rda: install-target-rda
49752 install-target-rda: installdirs
49753 @: $(MAKE); $(unstage)
49754 @r=`${PWD_COMMAND}`; export r; \
49755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49756 $(NORMAL_TARGET_EXPORTS) \
49757 (cd $(TARGET_SUBDIR)/rda && \
49758 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49760 @endif target-rda
49762 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
49763 maybe-install-strip-target-rda:
49764 @if target-rda
49765 maybe-install-strip-target-rda: install-strip-target-rda
49767 install-strip-target-rda: installdirs
49768 @: $(MAKE); $(unstage)
49769 @r=`${PWD_COMMAND}`; export r; \
49770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49771 $(NORMAL_TARGET_EXPORTS) \
49772 (cd $(TARGET_SUBDIR)/rda && \
49773 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49775 @endif target-rda
49777 # Other targets (info, dvi, pdf, etc.)
49779 .PHONY: maybe-info-target-rda info-target-rda
49780 maybe-info-target-rda:
49781 @if target-rda
49782 maybe-info-target-rda: info-target-rda
49784 info-target-rda: \
49785 configure-target-rda
49786 @: $(MAKE); $(unstage)
49787 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49788 r=`${PWD_COMMAND}`; export r; \
49789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49790 $(NORMAL_TARGET_EXPORTS) \
49791 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
49792 for flag in $(EXTRA_TARGET_FLAGS); do \
49793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49794 done; \
49795 (cd $(TARGET_SUBDIR)/rda && \
49796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49798 "RANLIB=$${RANLIB}" \
49799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49800 info) \
49801 || exit 1
49803 @endif target-rda
49805 .PHONY: maybe-dvi-target-rda dvi-target-rda
49806 maybe-dvi-target-rda:
49807 @if target-rda
49808 maybe-dvi-target-rda: dvi-target-rda
49810 dvi-target-rda: \
49811 configure-target-rda
49812 @: $(MAKE); $(unstage)
49813 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49814 r=`${PWD_COMMAND}`; export r; \
49815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49816 $(NORMAL_TARGET_EXPORTS) \
49817 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
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)/rda && \
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 dvi) \
49827 || exit 1
49829 @endif target-rda
49831 .PHONY: maybe-pdf-target-rda pdf-target-rda
49832 maybe-pdf-target-rda:
49833 @if target-rda
49834 maybe-pdf-target-rda: pdf-target-rda
49836 pdf-target-rda: \
49837 configure-target-rda
49838 @: $(MAKE); $(unstage)
49839 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49840 r=`${PWD_COMMAND}`; export r; \
49841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49842 $(NORMAL_TARGET_EXPORTS) \
49843 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
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)/rda && \
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 pdf) \
49853 || exit 1
49855 @endif target-rda
49857 .PHONY: maybe-html-target-rda html-target-rda
49858 maybe-html-target-rda:
49859 @if target-rda
49860 maybe-html-target-rda: html-target-rda
49862 html-target-rda: \
49863 configure-target-rda
49864 @: $(MAKE); $(unstage)
49865 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49866 r=`${PWD_COMMAND}`; export r; \
49867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49868 $(NORMAL_TARGET_EXPORTS) \
49869 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
49870 for flag in $(EXTRA_TARGET_FLAGS); do \
49871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49872 done; \
49873 (cd $(TARGET_SUBDIR)/rda && \
49874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49876 "RANLIB=$${RANLIB}" \
49877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49878 html) \
49879 || exit 1
49881 @endif target-rda
49883 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
49884 maybe-TAGS-target-rda:
49885 @if target-rda
49886 maybe-TAGS-target-rda: TAGS-target-rda
49888 TAGS-target-rda: \
49889 configure-target-rda
49890 @: $(MAKE); $(unstage)
49891 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49892 r=`${PWD_COMMAND}`; export r; \
49893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49894 $(NORMAL_TARGET_EXPORTS) \
49895 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
49896 for flag in $(EXTRA_TARGET_FLAGS); do \
49897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49898 done; \
49899 (cd $(TARGET_SUBDIR)/rda && \
49900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49902 "RANLIB=$${RANLIB}" \
49903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49904 TAGS) \
49905 || exit 1
49907 @endif target-rda
49909 .PHONY: maybe-install-info-target-rda install-info-target-rda
49910 maybe-install-info-target-rda:
49911 @if target-rda
49912 maybe-install-info-target-rda: install-info-target-rda
49914 install-info-target-rda: \
49915 configure-target-rda \
49916 info-target-rda
49917 @: $(MAKE); $(unstage)
49918 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49919 r=`${PWD_COMMAND}`; export r; \
49920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49921 $(NORMAL_TARGET_EXPORTS) \
49922 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
49923 for flag in $(EXTRA_TARGET_FLAGS); do \
49924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49925 done; \
49926 (cd $(TARGET_SUBDIR)/rda && \
49927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49929 "RANLIB=$${RANLIB}" \
49930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49931 install-info) \
49932 || exit 1
49934 @endif target-rda
49936 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
49937 maybe-install-pdf-target-rda:
49938 @if target-rda
49939 maybe-install-pdf-target-rda: install-pdf-target-rda
49941 install-pdf-target-rda: \
49942 configure-target-rda \
49943 pdf-target-rda
49944 @: $(MAKE); $(unstage)
49945 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49946 r=`${PWD_COMMAND}`; export r; \
49947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49948 $(NORMAL_TARGET_EXPORTS) \
49949 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
49950 for flag in $(EXTRA_TARGET_FLAGS); do \
49951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49952 done; \
49953 (cd $(TARGET_SUBDIR)/rda && \
49954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49956 "RANLIB=$${RANLIB}" \
49957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49958 install-pdf) \
49959 || exit 1
49961 @endif target-rda
49963 .PHONY: maybe-install-html-target-rda install-html-target-rda
49964 maybe-install-html-target-rda:
49965 @if target-rda
49966 maybe-install-html-target-rda: install-html-target-rda
49968 install-html-target-rda: \
49969 configure-target-rda \
49970 html-target-rda
49971 @: $(MAKE); $(unstage)
49972 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49973 r=`${PWD_COMMAND}`; export r; \
49974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49975 $(NORMAL_TARGET_EXPORTS) \
49976 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
49977 for flag in $(EXTRA_TARGET_FLAGS); do \
49978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49979 done; \
49980 (cd $(TARGET_SUBDIR)/rda && \
49981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49983 "RANLIB=$${RANLIB}" \
49984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49985 install-html) \
49986 || exit 1
49988 @endif target-rda
49990 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
49991 maybe-installcheck-target-rda:
49992 @if target-rda
49993 maybe-installcheck-target-rda: installcheck-target-rda
49995 installcheck-target-rda: \
49996 configure-target-rda
49997 @: $(MAKE); $(unstage)
49998 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
49999 r=`${PWD_COMMAND}`; export r; \
50000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50001 $(NORMAL_TARGET_EXPORTS) \
50002 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
50003 for flag in $(EXTRA_TARGET_FLAGS); do \
50004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50005 done; \
50006 (cd $(TARGET_SUBDIR)/rda && \
50007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50009 "RANLIB=$${RANLIB}" \
50010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50011 installcheck) \
50012 || exit 1
50014 @endif target-rda
50016 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
50017 maybe-mostlyclean-target-rda:
50018 @if target-rda
50019 maybe-mostlyclean-target-rda: mostlyclean-target-rda
50021 mostlyclean-target-rda:
50022 @: $(MAKE); $(unstage)
50023 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50024 r=`${PWD_COMMAND}`; export r; \
50025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50026 $(NORMAL_TARGET_EXPORTS) \
50027 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
50028 for flag in $(EXTRA_TARGET_FLAGS); do \
50029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50030 done; \
50031 (cd $(TARGET_SUBDIR)/rda && \
50032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50034 "RANLIB=$${RANLIB}" \
50035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50036 mostlyclean) \
50037 || exit 1
50039 @endif target-rda
50041 .PHONY: maybe-clean-target-rda clean-target-rda
50042 maybe-clean-target-rda:
50043 @if target-rda
50044 maybe-clean-target-rda: clean-target-rda
50046 clean-target-rda:
50047 @: $(MAKE); $(unstage)
50048 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50049 r=`${PWD_COMMAND}`; export r; \
50050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50051 $(NORMAL_TARGET_EXPORTS) \
50052 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
50053 for flag in $(EXTRA_TARGET_FLAGS); do \
50054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50055 done; \
50056 (cd $(TARGET_SUBDIR)/rda && \
50057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50059 "RANLIB=$${RANLIB}" \
50060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50061 clean) \
50062 || exit 1
50064 @endif target-rda
50066 .PHONY: maybe-distclean-target-rda distclean-target-rda
50067 maybe-distclean-target-rda:
50068 @if target-rda
50069 maybe-distclean-target-rda: distclean-target-rda
50071 distclean-target-rda:
50072 @: $(MAKE); $(unstage)
50073 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50074 r=`${PWD_COMMAND}`; export r; \
50075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50076 $(NORMAL_TARGET_EXPORTS) \
50077 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
50078 for flag in $(EXTRA_TARGET_FLAGS); do \
50079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50080 done; \
50081 (cd $(TARGET_SUBDIR)/rda && \
50082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50084 "RANLIB=$${RANLIB}" \
50085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50086 distclean) \
50087 || exit 1
50089 @endif target-rda
50091 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
50092 maybe-maintainer-clean-target-rda:
50093 @if target-rda
50094 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
50096 maintainer-clean-target-rda:
50097 @: $(MAKE); $(unstage)
50098 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
50099 r=`${PWD_COMMAND}`; export r; \
50100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50101 $(NORMAL_TARGET_EXPORTS) \
50102 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
50103 for flag in $(EXTRA_TARGET_FLAGS); do \
50104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50105 done; \
50106 (cd $(TARGET_SUBDIR)/rda && \
50107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50109 "RANLIB=$${RANLIB}" \
50110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50111 maintainer-clean) \
50112 || exit 1
50114 @endif target-rda
50120 .PHONY: configure-target-libada maybe-configure-target-libada
50121 maybe-configure-target-libada:
50122 @if gcc-bootstrap
50123 configure-target-libada: stage_current
50124 @endif gcc-bootstrap
50125 @if target-libada
50126 maybe-configure-target-libada: configure-target-libada
50127 configure-target-libada:
50128 @: $(MAKE); $(unstage)
50129 @r=`${PWD_COMMAND}`; export r; \
50130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50131 echo "Checking multilib configuration for libada..."; \
50132 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
50133 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
50134 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
50135 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
50136 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
50137 else \
50138 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
50139 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
50140 fi; \
50141 else \
50142 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
50143 fi; \
50144 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
50145 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
50146 $(NORMAL_TARGET_EXPORTS) \
50147 echo Configuring in $(TARGET_SUBDIR)/libada; \
50148 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
50149 case $(srcdir) in \
50150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50151 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
50152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50153 esac; \
50154 module_srcdir=libada; \
50155 rm -f no-such-file || : ; \
50156 CONFIG_SITE=no-such-file $(SHELL) \
50157 $$s/$$module_srcdir/configure \
50158 --srcdir=$${topdir}/$$module_srcdir \
50159 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50160 --target=${target_alias} \
50161 || exit 1
50162 @endif target-libada
50168 .PHONY: all-target-libada maybe-all-target-libada
50169 maybe-all-target-libada:
50170 @if gcc-bootstrap
50171 all-target-libada: stage_current
50172 @endif gcc-bootstrap
50173 @if target-libada
50174 TARGET-target-libada=all
50175 maybe-all-target-libada: all-target-libada
50176 all-target-libada: configure-target-libada
50177 @: $(MAKE); $(unstage)
50178 @r=`${PWD_COMMAND}`; export r; \
50179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50180 $(NORMAL_TARGET_EXPORTS) \
50181 (cd $(TARGET_SUBDIR)/libada && \
50182 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50183 $(TARGET-target-libada))
50184 @endif target-libada
50190 .PHONY: check-target-libada maybe-check-target-libada
50191 maybe-check-target-libada:
50192 @if target-libada
50193 maybe-check-target-libada: check-target-libada
50195 check-target-libada:
50196 @: $(MAKE); $(unstage)
50197 @r=`${PWD_COMMAND}`; export r; \
50198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50199 $(NORMAL_TARGET_EXPORTS) \
50200 (cd $(TARGET_SUBDIR)/libada && \
50201 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50203 @endif target-libada
50205 .PHONY: install-target-libada maybe-install-target-libada
50206 maybe-install-target-libada:
50207 @if target-libada
50208 maybe-install-target-libada: install-target-libada
50210 install-target-libada: installdirs
50211 @: $(MAKE); $(unstage)
50212 @r=`${PWD_COMMAND}`; export r; \
50213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50214 $(NORMAL_TARGET_EXPORTS) \
50215 (cd $(TARGET_SUBDIR)/libada && \
50216 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50218 @endif target-libada
50220 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
50221 maybe-install-strip-target-libada:
50222 @if target-libada
50223 maybe-install-strip-target-libada: install-strip-target-libada
50225 install-strip-target-libada: installdirs
50226 @: $(MAKE); $(unstage)
50227 @r=`${PWD_COMMAND}`; export r; \
50228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50229 $(NORMAL_TARGET_EXPORTS) \
50230 (cd $(TARGET_SUBDIR)/libada && \
50231 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50233 @endif target-libada
50235 # Other targets (info, dvi, pdf, etc.)
50237 .PHONY: maybe-info-target-libada info-target-libada
50238 maybe-info-target-libada:
50239 @if target-libada
50240 maybe-info-target-libada: info-target-libada
50242 info-target-libada: \
50243 configure-target-libada
50244 @: $(MAKE); $(unstage)
50245 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50246 r=`${PWD_COMMAND}`; export r; \
50247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50248 $(NORMAL_TARGET_EXPORTS) \
50249 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
50250 for flag in $(EXTRA_TARGET_FLAGS); do \
50251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50252 done; \
50253 (cd $(TARGET_SUBDIR)/libada && \
50254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50256 "RANLIB=$${RANLIB}" \
50257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50258 info) \
50259 || exit 1
50261 @endif target-libada
50263 .PHONY: maybe-dvi-target-libada dvi-target-libada
50264 maybe-dvi-target-libada:
50265 @if target-libada
50266 maybe-dvi-target-libada: dvi-target-libada
50268 dvi-target-libada: \
50269 configure-target-libada
50270 @: $(MAKE); $(unstage)
50271 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50272 r=`${PWD_COMMAND}`; export r; \
50273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50274 $(NORMAL_TARGET_EXPORTS) \
50275 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
50276 for flag in $(EXTRA_TARGET_FLAGS); do \
50277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50278 done; \
50279 (cd $(TARGET_SUBDIR)/libada && \
50280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50282 "RANLIB=$${RANLIB}" \
50283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50284 dvi) \
50285 || exit 1
50287 @endif target-libada
50289 .PHONY: maybe-pdf-target-libada pdf-target-libada
50290 maybe-pdf-target-libada:
50291 @if target-libada
50292 maybe-pdf-target-libada: pdf-target-libada
50294 pdf-target-libada: \
50295 configure-target-libada
50296 @: $(MAKE); $(unstage)
50297 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50298 r=`${PWD_COMMAND}`; export r; \
50299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50300 $(NORMAL_TARGET_EXPORTS) \
50301 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
50302 for flag in $(EXTRA_TARGET_FLAGS); do \
50303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50304 done; \
50305 (cd $(TARGET_SUBDIR)/libada && \
50306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50308 "RANLIB=$${RANLIB}" \
50309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50310 pdf) \
50311 || exit 1
50313 @endif target-libada
50315 .PHONY: maybe-html-target-libada html-target-libada
50316 maybe-html-target-libada:
50317 @if target-libada
50318 maybe-html-target-libada: html-target-libada
50320 html-target-libada: \
50321 configure-target-libada
50322 @: $(MAKE); $(unstage)
50323 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50324 r=`${PWD_COMMAND}`; export r; \
50325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50326 $(NORMAL_TARGET_EXPORTS) \
50327 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
50328 for flag in $(EXTRA_TARGET_FLAGS); do \
50329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50330 done; \
50331 (cd $(TARGET_SUBDIR)/libada && \
50332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50334 "RANLIB=$${RANLIB}" \
50335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50336 html) \
50337 || exit 1
50339 @endif target-libada
50341 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
50342 maybe-TAGS-target-libada:
50343 @if target-libada
50344 maybe-TAGS-target-libada: TAGS-target-libada
50346 TAGS-target-libada: \
50347 configure-target-libada
50348 @: $(MAKE); $(unstage)
50349 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50350 r=`${PWD_COMMAND}`; export r; \
50351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50352 $(NORMAL_TARGET_EXPORTS) \
50353 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
50354 for flag in $(EXTRA_TARGET_FLAGS); do \
50355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50356 done; \
50357 (cd $(TARGET_SUBDIR)/libada && \
50358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50360 "RANLIB=$${RANLIB}" \
50361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50362 TAGS) \
50363 || exit 1
50365 @endif target-libada
50367 .PHONY: maybe-install-info-target-libada install-info-target-libada
50368 maybe-install-info-target-libada:
50369 @if target-libada
50370 maybe-install-info-target-libada: install-info-target-libada
50372 install-info-target-libada: \
50373 configure-target-libada \
50374 info-target-libada
50375 @: $(MAKE); $(unstage)
50376 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50377 r=`${PWD_COMMAND}`; export r; \
50378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50379 $(NORMAL_TARGET_EXPORTS) \
50380 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
50381 for flag in $(EXTRA_TARGET_FLAGS); do \
50382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50383 done; \
50384 (cd $(TARGET_SUBDIR)/libada && \
50385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50387 "RANLIB=$${RANLIB}" \
50388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50389 install-info) \
50390 || exit 1
50392 @endif target-libada
50394 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
50395 maybe-install-pdf-target-libada:
50396 @if target-libada
50397 maybe-install-pdf-target-libada: install-pdf-target-libada
50399 install-pdf-target-libada: \
50400 configure-target-libada \
50401 pdf-target-libada
50402 @: $(MAKE); $(unstage)
50403 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50404 r=`${PWD_COMMAND}`; export r; \
50405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50406 $(NORMAL_TARGET_EXPORTS) \
50407 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
50408 for flag in $(EXTRA_TARGET_FLAGS); do \
50409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50410 done; \
50411 (cd $(TARGET_SUBDIR)/libada && \
50412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50414 "RANLIB=$${RANLIB}" \
50415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50416 install-pdf) \
50417 || exit 1
50419 @endif target-libada
50421 .PHONY: maybe-install-html-target-libada install-html-target-libada
50422 maybe-install-html-target-libada:
50423 @if target-libada
50424 maybe-install-html-target-libada: install-html-target-libada
50426 install-html-target-libada: \
50427 configure-target-libada \
50428 html-target-libada
50429 @: $(MAKE); $(unstage)
50430 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50431 r=`${PWD_COMMAND}`; export r; \
50432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50433 $(NORMAL_TARGET_EXPORTS) \
50434 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
50435 for flag in $(EXTRA_TARGET_FLAGS); do \
50436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50437 done; \
50438 (cd $(TARGET_SUBDIR)/libada && \
50439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50441 "RANLIB=$${RANLIB}" \
50442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50443 install-html) \
50444 || exit 1
50446 @endif target-libada
50448 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
50449 maybe-installcheck-target-libada:
50450 @if target-libada
50451 maybe-installcheck-target-libada: installcheck-target-libada
50453 installcheck-target-libada: \
50454 configure-target-libada
50455 @: $(MAKE); $(unstage)
50456 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50457 r=`${PWD_COMMAND}`; export r; \
50458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50459 $(NORMAL_TARGET_EXPORTS) \
50460 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
50461 for flag in $(EXTRA_TARGET_FLAGS); do \
50462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50463 done; \
50464 (cd $(TARGET_SUBDIR)/libada && \
50465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50467 "RANLIB=$${RANLIB}" \
50468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50469 installcheck) \
50470 || exit 1
50472 @endif target-libada
50474 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
50475 maybe-mostlyclean-target-libada:
50476 @if target-libada
50477 maybe-mostlyclean-target-libada: mostlyclean-target-libada
50479 mostlyclean-target-libada:
50480 @: $(MAKE); $(unstage)
50481 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50482 r=`${PWD_COMMAND}`; export r; \
50483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50484 $(NORMAL_TARGET_EXPORTS) \
50485 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
50486 for flag in $(EXTRA_TARGET_FLAGS); do \
50487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50488 done; \
50489 (cd $(TARGET_SUBDIR)/libada && \
50490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50492 "RANLIB=$${RANLIB}" \
50493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50494 mostlyclean) \
50495 || exit 1
50497 @endif target-libada
50499 .PHONY: maybe-clean-target-libada clean-target-libada
50500 maybe-clean-target-libada:
50501 @if target-libada
50502 maybe-clean-target-libada: clean-target-libada
50504 clean-target-libada:
50505 @: $(MAKE); $(unstage)
50506 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50507 r=`${PWD_COMMAND}`; export r; \
50508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50509 $(NORMAL_TARGET_EXPORTS) \
50510 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
50511 for flag in $(EXTRA_TARGET_FLAGS); do \
50512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50513 done; \
50514 (cd $(TARGET_SUBDIR)/libada && \
50515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50517 "RANLIB=$${RANLIB}" \
50518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50519 clean) \
50520 || exit 1
50522 @endif target-libada
50524 .PHONY: maybe-distclean-target-libada distclean-target-libada
50525 maybe-distclean-target-libada:
50526 @if target-libada
50527 maybe-distclean-target-libada: distclean-target-libada
50529 distclean-target-libada:
50530 @: $(MAKE); $(unstage)
50531 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50532 r=`${PWD_COMMAND}`; export r; \
50533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50534 $(NORMAL_TARGET_EXPORTS) \
50535 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
50536 for flag in $(EXTRA_TARGET_FLAGS); do \
50537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50538 done; \
50539 (cd $(TARGET_SUBDIR)/libada && \
50540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50542 "RANLIB=$${RANLIB}" \
50543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50544 distclean) \
50545 || exit 1
50547 @endif target-libada
50549 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
50550 maybe-maintainer-clean-target-libada:
50551 @if target-libada
50552 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
50554 maintainer-clean-target-libada:
50555 @: $(MAKE); $(unstage)
50556 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
50557 r=`${PWD_COMMAND}`; export r; \
50558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50559 $(NORMAL_TARGET_EXPORTS) \
50560 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
50561 for flag in $(EXTRA_TARGET_FLAGS); do \
50562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50563 done; \
50564 (cd $(TARGET_SUBDIR)/libada && \
50565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50567 "RANLIB=$${RANLIB}" \
50568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50569 maintainer-clean) \
50570 || exit 1
50572 @endif target-libada
50578 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
50579 maybe-configure-target-libgomp:
50580 @if gcc-bootstrap
50581 configure-target-libgomp: stage_current
50582 @endif gcc-bootstrap
50583 @if target-libgomp
50584 maybe-configure-target-libgomp: configure-target-libgomp
50585 configure-target-libgomp:
50586 @r=`${PWD_COMMAND}`; export r; \
50587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50588 echo "Checking multilib configuration for libgomp..."; \
50589 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50590 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50591 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50592 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50593 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50594 else \
50595 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50596 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50597 fi; \
50598 else \
50599 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50600 fi; \
50601 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50602 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50603 $(NORMAL_TARGET_EXPORTS) \
50604 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
50605 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
50606 case $(srcdir) in \
50607 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50608 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50609 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50610 esac; \
50611 module_srcdir=libgomp; \
50612 rm -f no-such-file || : ; \
50613 CONFIG_SITE=no-such-file $(SHELL) \
50614 $$s/$$module_srcdir/configure \
50615 --srcdir=$${topdir}/$$module_srcdir \
50616 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50617 --target=${target_alias} \
50618 || exit 1
50619 @endif target-libgomp
50623 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
50624 maybe-configure-stage1-target-libgomp:
50625 @if target-libgomp-bootstrap
50626 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
50627 configure-stage1-target-libgomp:
50628 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
50629 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50630 @r=`${PWD_COMMAND}`; export r; \
50631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50632 TFLAGS="$(STAGE1_TFLAGS)"; \
50633 echo "Checking multilib configuration for libgomp..."; \
50634 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50635 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50636 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50637 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50638 else \
50639 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50640 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50641 fi; \
50642 else \
50643 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50644 fi; \
50645 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50646 $(NORMAL_TARGET_EXPORTS) \
50647 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50648 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50649 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50650 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
50651 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50652 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50653 case $(srcdir) in \
50654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50655 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50657 esac; \
50658 module_srcdir=libgomp; \
50659 $(SHELL) $$s/$$module_srcdir/configure \
50660 --srcdir=$${topdir}/$$module_srcdir \
50661 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50662 --target=${target_alias} \
50664 $(STAGE1_CONFIGURE_FLAGS)
50665 @endif target-libgomp-bootstrap
50667 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
50668 maybe-configure-stage2-target-libgomp:
50669 @if target-libgomp-bootstrap
50670 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
50671 configure-stage2-target-libgomp:
50672 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
50673 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50674 @r=`${PWD_COMMAND}`; export r; \
50675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50676 TFLAGS="$(STAGE2_TFLAGS)"; \
50677 echo "Checking multilib configuration for libgomp..."; \
50678 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50679 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50680 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50681 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50682 else \
50683 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50684 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50685 fi; \
50686 else \
50687 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50688 fi; \
50689 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50690 $(NORMAL_TARGET_EXPORTS) \
50692 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50693 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50694 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50695 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
50696 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50697 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50698 case $(srcdir) in \
50699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50700 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50702 esac; \
50703 module_srcdir=libgomp; \
50704 $(SHELL) $$s/$$module_srcdir/configure \
50705 --srcdir=$${topdir}/$$module_srcdir \
50706 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50707 --target=${target_alias} \
50708 --with-build-libsubdir=$(HOST_SUBDIR) \
50709 $(STAGE2_CONFIGURE_FLAGS)
50710 @endif target-libgomp-bootstrap
50712 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
50713 maybe-configure-stage3-target-libgomp:
50714 @if target-libgomp-bootstrap
50715 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
50716 configure-stage3-target-libgomp:
50717 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
50718 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50719 @r=`${PWD_COMMAND}`; export r; \
50720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50721 TFLAGS="$(STAGE3_TFLAGS)"; \
50722 echo "Checking multilib configuration for libgomp..."; \
50723 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50724 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50725 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50726 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50727 else \
50728 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50729 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50730 fi; \
50731 else \
50732 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50733 fi; \
50734 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50735 $(NORMAL_TARGET_EXPORTS) \
50737 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50738 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50739 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50740 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
50741 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50742 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50743 case $(srcdir) in \
50744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50745 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50747 esac; \
50748 module_srcdir=libgomp; \
50749 $(SHELL) $$s/$$module_srcdir/configure \
50750 --srcdir=$${topdir}/$$module_srcdir \
50751 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50752 --target=${target_alias} \
50753 --with-build-libsubdir=$(HOST_SUBDIR) \
50754 $(STAGE3_CONFIGURE_FLAGS)
50755 @endif target-libgomp-bootstrap
50757 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
50758 maybe-configure-stage4-target-libgomp:
50759 @if target-libgomp-bootstrap
50760 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
50761 configure-stage4-target-libgomp:
50762 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
50763 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50764 @r=`${PWD_COMMAND}`; export r; \
50765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50766 TFLAGS="$(STAGE4_TFLAGS)"; \
50767 echo "Checking multilib configuration for libgomp..."; \
50768 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50769 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50770 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50771 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50772 else \
50773 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50774 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50775 fi; \
50776 else \
50777 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50778 fi; \
50779 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50780 $(NORMAL_TARGET_EXPORTS) \
50782 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50783 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50784 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50785 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
50786 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50787 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50788 case $(srcdir) in \
50789 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50790 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50791 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50792 esac; \
50793 module_srcdir=libgomp; \
50794 $(SHELL) $$s/$$module_srcdir/configure \
50795 --srcdir=$${topdir}/$$module_srcdir \
50796 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50797 --target=${target_alias} \
50798 --with-build-libsubdir=$(HOST_SUBDIR) \
50799 $(STAGE4_CONFIGURE_FLAGS)
50800 @endif target-libgomp-bootstrap
50802 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
50803 maybe-configure-stageprofile-target-libgomp:
50804 @if target-libgomp-bootstrap
50805 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
50806 configure-stageprofile-target-libgomp:
50807 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
50808 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50809 @r=`${PWD_COMMAND}`; export r; \
50810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50811 TFLAGS="$(STAGEprofile_TFLAGS)"; \
50812 echo "Checking multilib configuration for libgomp..."; \
50813 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50814 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50815 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50816 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50817 else \
50818 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50819 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50820 fi; \
50821 else \
50822 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50823 fi; \
50824 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50825 $(NORMAL_TARGET_EXPORTS) \
50827 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50828 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50829 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50830 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
50831 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50832 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50833 case $(srcdir) in \
50834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50835 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50837 esac; \
50838 module_srcdir=libgomp; \
50839 $(SHELL) $$s/$$module_srcdir/configure \
50840 --srcdir=$${topdir}/$$module_srcdir \
50841 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50842 --target=${target_alias} \
50843 --with-build-libsubdir=$(HOST_SUBDIR) \
50844 $(STAGEprofile_CONFIGURE_FLAGS)
50845 @endif target-libgomp-bootstrap
50847 .PHONY: configure-stagetrain-target-libgomp maybe-configure-stagetrain-target-libgomp
50848 maybe-configure-stagetrain-target-libgomp:
50849 @if target-libgomp-bootstrap
50850 maybe-configure-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
50851 configure-stagetrain-target-libgomp:
50852 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
50853 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50854 @r=`${PWD_COMMAND}`; export r; \
50855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50856 TFLAGS="$(STAGEtrain_TFLAGS)"; \
50857 echo "Checking multilib configuration for libgomp..."; \
50858 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50859 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50860 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50861 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50862 else \
50863 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50864 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50865 fi; \
50866 else \
50867 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50868 fi; \
50869 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50870 $(NORMAL_TARGET_EXPORTS) \
50872 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50873 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50874 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50875 echo Configuring stage train in $(TARGET_SUBDIR)/libgomp; \
50876 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50877 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50878 case $(srcdir) in \
50879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50880 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50882 esac; \
50883 module_srcdir=libgomp; \
50884 $(SHELL) $$s/$$module_srcdir/configure \
50885 --srcdir=$${topdir}/$$module_srcdir \
50886 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50887 --target=${target_alias} \
50888 --with-build-libsubdir=$(HOST_SUBDIR) \
50889 $(STAGEtrain_CONFIGURE_FLAGS)
50890 @endif target-libgomp-bootstrap
50892 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
50893 maybe-configure-stagefeedback-target-libgomp:
50894 @if target-libgomp-bootstrap
50895 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
50896 configure-stagefeedback-target-libgomp:
50897 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
50898 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50899 @r=`${PWD_COMMAND}`; export r; \
50900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50901 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
50902 echo "Checking multilib configuration for libgomp..."; \
50903 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50904 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50905 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50906 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50907 else \
50908 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50909 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50910 fi; \
50911 else \
50912 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50913 fi; \
50914 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50915 $(NORMAL_TARGET_EXPORTS) \
50917 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50918 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50919 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50920 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
50921 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50922 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50923 case $(srcdir) in \
50924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50925 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50927 esac; \
50928 module_srcdir=libgomp; \
50929 $(SHELL) $$s/$$module_srcdir/configure \
50930 --srcdir=$${topdir}/$$module_srcdir \
50931 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50932 --target=${target_alias} \
50933 --with-build-libsubdir=$(HOST_SUBDIR) \
50934 $(STAGEfeedback_CONFIGURE_FLAGS)
50935 @endif target-libgomp-bootstrap
50937 .PHONY: configure-stageautoprofile-target-libgomp maybe-configure-stageautoprofile-target-libgomp
50938 maybe-configure-stageautoprofile-target-libgomp:
50939 @if target-libgomp-bootstrap
50940 maybe-configure-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
50941 configure-stageautoprofile-target-libgomp:
50942 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50943 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50944 @r=`${PWD_COMMAND}`; export r; \
50945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50946 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50947 echo "Checking multilib configuration for libgomp..."; \
50948 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50949 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50950 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50951 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50952 else \
50953 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50954 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50955 fi; \
50956 else \
50957 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50958 fi; \
50959 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50960 $(NORMAL_TARGET_EXPORTS) \
50962 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50963 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50964 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50965 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgomp; \
50966 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
50967 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
50968 case $(srcdir) in \
50969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50970 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50972 esac; \
50973 module_srcdir=libgomp; \
50974 $(SHELL) $$s/$$module_srcdir/configure \
50975 --srcdir=$${topdir}/$$module_srcdir \
50976 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50977 --target=${target_alias} \
50978 --with-build-libsubdir=$(HOST_SUBDIR) \
50979 $(STAGEautoprofile_CONFIGURE_FLAGS)
50980 @endif target-libgomp-bootstrap
50982 .PHONY: configure-stageautofeedback-target-libgomp maybe-configure-stageautofeedback-target-libgomp
50983 maybe-configure-stageautofeedback-target-libgomp:
50984 @if target-libgomp-bootstrap
50985 maybe-configure-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
50986 configure-stageautofeedback-target-libgomp:
50987 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50988 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
50989 @r=`${PWD_COMMAND}`; export r; \
50990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50991 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50992 echo "Checking multilib configuration for libgomp..."; \
50993 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
50994 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50995 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50996 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50997 else \
50998 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50999 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51000 fi; \
51001 else \
51002 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
51003 fi; \
51004 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
51005 $(NORMAL_TARGET_EXPORTS) \
51007 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
51008 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
51009 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
51010 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgomp; \
51011 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
51012 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
51013 case $(srcdir) in \
51014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51015 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
51016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51017 esac; \
51018 module_srcdir=libgomp; \
51019 $(SHELL) $$s/$$module_srcdir/configure \
51020 --srcdir=$${topdir}/$$module_srcdir \
51021 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51022 --target=${target_alias} \
51023 --with-build-libsubdir=$(HOST_SUBDIR) \
51024 $(STAGEautofeedback_CONFIGURE_FLAGS)
51025 @endif target-libgomp-bootstrap
51031 .PHONY: all-target-libgomp maybe-all-target-libgomp
51032 maybe-all-target-libgomp:
51033 @if gcc-bootstrap
51034 all-target-libgomp: stage_current
51035 @endif gcc-bootstrap
51036 @if target-libgomp
51037 TARGET-target-libgomp=all
51038 maybe-all-target-libgomp: all-target-libgomp
51039 all-target-libgomp: configure-target-libgomp
51040 @r=`${PWD_COMMAND}`; export r; \
51041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51042 $(NORMAL_TARGET_EXPORTS) \
51043 (cd $(TARGET_SUBDIR)/libgomp && \
51044 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51045 $(TARGET-target-libgomp))
51046 @endif target-libgomp
51050 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
51051 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
51052 maybe-all-stage1-target-libgomp:
51053 maybe-clean-stage1-target-libgomp:
51054 @if target-libgomp-bootstrap
51055 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
51056 all-stage1: all-stage1-target-libgomp
51057 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
51058 all-stage1-target-libgomp: configure-stage1-target-libgomp
51059 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
51060 @r=`${PWD_COMMAND}`; export r; \
51061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51062 TFLAGS="$(STAGE1_TFLAGS)"; \
51063 $(NORMAL_TARGET_EXPORTS) \
51064 cd $(TARGET_SUBDIR)/libgomp && \
51066 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51067 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51068 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51069 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51070 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51071 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51072 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51073 $(EXTRA_TARGET_FLAGS) \
51075 TFLAGS="$(STAGE1_TFLAGS)" \
51076 $(TARGET-stage1-target-libgomp)
51078 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
51079 clean-stage1: clean-stage1-target-libgomp
51080 clean-stage1-target-libgomp:
51081 @if [ $(current_stage) = stage1 ]; then \
51082 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51083 else \
51084 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
51085 $(MAKE) stage1-start; \
51086 fi; \
51087 cd $(TARGET_SUBDIR)/libgomp && \
51088 $(MAKE) $(EXTRA_TARGET_FLAGS) \
51089 clean
51090 @endif target-libgomp-bootstrap
51093 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
51094 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
51095 maybe-all-stage2-target-libgomp:
51096 maybe-clean-stage2-target-libgomp:
51097 @if target-libgomp-bootstrap
51098 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
51099 all-stage2: all-stage2-target-libgomp
51100 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
51101 all-stage2-target-libgomp: configure-stage2-target-libgomp
51102 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
51103 @r=`${PWD_COMMAND}`; export r; \
51104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51105 TFLAGS="$(STAGE2_TFLAGS)"; \
51106 $(NORMAL_TARGET_EXPORTS) \
51108 cd $(TARGET_SUBDIR)/libgomp && \
51110 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51111 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51112 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51113 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51114 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51115 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51116 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51117 $(EXTRA_TARGET_FLAGS) \
51118 TFLAGS="$(STAGE2_TFLAGS)" \
51119 $(TARGET-stage2-target-libgomp)
51121 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
51122 clean-stage2: clean-stage2-target-libgomp
51123 clean-stage2-target-libgomp:
51124 @if [ $(current_stage) = stage2 ]; then \
51125 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51126 else \
51127 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
51128 $(MAKE) stage2-start; \
51129 fi; \
51130 cd $(TARGET_SUBDIR)/libgomp && \
51131 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51132 @endif target-libgomp-bootstrap
51135 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
51136 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
51137 maybe-all-stage3-target-libgomp:
51138 maybe-clean-stage3-target-libgomp:
51139 @if target-libgomp-bootstrap
51140 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
51141 all-stage3: all-stage3-target-libgomp
51142 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
51143 all-stage3-target-libgomp: configure-stage3-target-libgomp
51144 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
51145 @r=`${PWD_COMMAND}`; export r; \
51146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51147 TFLAGS="$(STAGE3_TFLAGS)"; \
51148 $(NORMAL_TARGET_EXPORTS) \
51150 cd $(TARGET_SUBDIR)/libgomp && \
51152 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51153 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51154 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51155 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51156 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51157 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51158 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51159 $(EXTRA_TARGET_FLAGS) \
51160 TFLAGS="$(STAGE3_TFLAGS)" \
51161 $(TARGET-stage3-target-libgomp)
51163 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
51164 clean-stage3: clean-stage3-target-libgomp
51165 clean-stage3-target-libgomp:
51166 @if [ $(current_stage) = stage3 ]; then \
51167 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51168 else \
51169 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
51170 $(MAKE) stage3-start; \
51171 fi; \
51172 cd $(TARGET_SUBDIR)/libgomp && \
51173 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51174 @endif target-libgomp-bootstrap
51177 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
51178 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
51179 maybe-all-stage4-target-libgomp:
51180 maybe-clean-stage4-target-libgomp:
51181 @if target-libgomp-bootstrap
51182 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
51183 all-stage4: all-stage4-target-libgomp
51184 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
51185 all-stage4-target-libgomp: configure-stage4-target-libgomp
51186 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
51187 @r=`${PWD_COMMAND}`; export r; \
51188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51189 TFLAGS="$(STAGE4_TFLAGS)"; \
51190 $(NORMAL_TARGET_EXPORTS) \
51192 cd $(TARGET_SUBDIR)/libgomp && \
51194 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51195 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51196 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51197 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51198 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51199 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51200 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51201 $(EXTRA_TARGET_FLAGS) \
51202 TFLAGS="$(STAGE4_TFLAGS)" \
51203 $(TARGET-stage4-target-libgomp)
51205 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
51206 clean-stage4: clean-stage4-target-libgomp
51207 clean-stage4-target-libgomp:
51208 @if [ $(current_stage) = stage4 ]; then \
51209 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51210 else \
51211 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
51212 $(MAKE) stage4-start; \
51213 fi; \
51214 cd $(TARGET_SUBDIR)/libgomp && \
51215 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51216 @endif target-libgomp-bootstrap
51219 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
51220 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
51221 maybe-all-stageprofile-target-libgomp:
51222 maybe-clean-stageprofile-target-libgomp:
51223 @if target-libgomp-bootstrap
51224 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
51225 all-stageprofile: all-stageprofile-target-libgomp
51226 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
51227 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
51228 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
51229 @r=`${PWD_COMMAND}`; export r; \
51230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51231 TFLAGS="$(STAGEprofile_TFLAGS)"; \
51232 $(NORMAL_TARGET_EXPORTS) \
51234 cd $(TARGET_SUBDIR)/libgomp && \
51236 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51237 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51238 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51239 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51240 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51241 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51242 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51243 $(EXTRA_TARGET_FLAGS) \
51244 TFLAGS="$(STAGEprofile_TFLAGS)" \
51245 $(TARGET-stageprofile-target-libgomp)
51247 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
51248 clean-stageprofile: clean-stageprofile-target-libgomp
51249 clean-stageprofile-target-libgomp:
51250 @if [ $(current_stage) = stageprofile ]; then \
51251 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51252 else \
51253 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
51254 $(MAKE) stageprofile-start; \
51255 fi; \
51256 cd $(TARGET_SUBDIR)/libgomp && \
51257 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51258 @endif target-libgomp-bootstrap
51261 .PHONY: all-stagetrain-target-libgomp maybe-all-stagetrain-target-libgomp
51262 .PHONY: clean-stagetrain-target-libgomp maybe-clean-stagetrain-target-libgomp
51263 maybe-all-stagetrain-target-libgomp:
51264 maybe-clean-stagetrain-target-libgomp:
51265 @if target-libgomp-bootstrap
51266 maybe-all-stagetrain-target-libgomp: all-stagetrain-target-libgomp
51267 all-stagetrain: all-stagetrain-target-libgomp
51268 TARGET-stagetrain-target-libgomp = $(TARGET-target-libgomp)
51269 all-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
51270 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
51271 @r=`${PWD_COMMAND}`; export r; \
51272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51273 TFLAGS="$(STAGEtrain_TFLAGS)"; \
51274 $(NORMAL_TARGET_EXPORTS) \
51276 cd $(TARGET_SUBDIR)/libgomp && \
51278 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51279 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51280 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51281 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51282 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51283 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51284 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51285 $(EXTRA_TARGET_FLAGS) \
51286 TFLAGS="$(STAGEtrain_TFLAGS)" \
51287 $(TARGET-stagetrain-target-libgomp)
51289 maybe-clean-stagetrain-target-libgomp: clean-stagetrain-target-libgomp
51290 clean-stagetrain: clean-stagetrain-target-libgomp
51291 clean-stagetrain-target-libgomp:
51292 @if [ $(current_stage) = stagetrain ]; then \
51293 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51294 else \
51295 [ -f $(TARGET_SUBDIR)/stagetrain-libgomp/Makefile ] || exit 0; \
51296 $(MAKE) stagetrain-start; \
51297 fi; \
51298 cd $(TARGET_SUBDIR)/libgomp && \
51299 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51300 @endif target-libgomp-bootstrap
51303 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
51304 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
51305 maybe-all-stagefeedback-target-libgomp:
51306 maybe-clean-stagefeedback-target-libgomp:
51307 @if target-libgomp-bootstrap
51308 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
51309 all-stagefeedback: all-stagefeedback-target-libgomp
51310 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
51311 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
51312 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
51313 @r=`${PWD_COMMAND}`; export r; \
51314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51315 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
51316 $(NORMAL_TARGET_EXPORTS) \
51318 cd $(TARGET_SUBDIR)/libgomp && \
51320 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51321 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51322 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51323 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51324 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51325 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51326 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51327 $(EXTRA_TARGET_FLAGS) \
51328 TFLAGS="$(STAGEfeedback_TFLAGS)" \
51329 $(TARGET-stagefeedback-target-libgomp)
51331 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
51332 clean-stagefeedback: clean-stagefeedback-target-libgomp
51333 clean-stagefeedback-target-libgomp:
51334 @if [ $(current_stage) = stagefeedback ]; then \
51335 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51336 else \
51337 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
51338 $(MAKE) stagefeedback-start; \
51339 fi; \
51340 cd $(TARGET_SUBDIR)/libgomp && \
51341 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51342 @endif target-libgomp-bootstrap
51345 .PHONY: all-stageautoprofile-target-libgomp maybe-all-stageautoprofile-target-libgomp
51346 .PHONY: clean-stageautoprofile-target-libgomp maybe-clean-stageautoprofile-target-libgomp
51347 maybe-all-stageautoprofile-target-libgomp:
51348 maybe-clean-stageautoprofile-target-libgomp:
51349 @if target-libgomp-bootstrap
51350 maybe-all-stageautoprofile-target-libgomp: all-stageautoprofile-target-libgomp
51351 all-stageautoprofile: all-stageautoprofile-target-libgomp
51352 TARGET-stageautoprofile-target-libgomp = $(TARGET-target-libgomp)
51353 all-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
51354 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
51355 @r=`${PWD_COMMAND}`; export r; \
51356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51357 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
51358 $(NORMAL_TARGET_EXPORTS) \
51360 cd $(TARGET_SUBDIR)/libgomp && \
51361 $$s/gcc/config/i386/$(AUTO_PROFILE) \
51362 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51363 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51364 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51365 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51366 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51367 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51368 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51369 $(EXTRA_TARGET_FLAGS) \
51370 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
51371 $(TARGET-stageautoprofile-target-libgomp)
51373 maybe-clean-stageautoprofile-target-libgomp: clean-stageautoprofile-target-libgomp
51374 clean-stageautoprofile: clean-stageautoprofile-target-libgomp
51375 clean-stageautoprofile-target-libgomp:
51376 @if [ $(current_stage) = stageautoprofile ]; then \
51377 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51378 else \
51379 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgomp/Makefile ] || exit 0; \
51380 $(MAKE) stageautoprofile-start; \
51381 fi; \
51382 cd $(TARGET_SUBDIR)/libgomp && \
51383 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51384 @endif target-libgomp-bootstrap
51387 .PHONY: all-stageautofeedback-target-libgomp maybe-all-stageautofeedback-target-libgomp
51388 .PHONY: clean-stageautofeedback-target-libgomp maybe-clean-stageautofeedback-target-libgomp
51389 maybe-all-stageautofeedback-target-libgomp:
51390 maybe-clean-stageautofeedback-target-libgomp:
51391 @if target-libgomp-bootstrap
51392 maybe-all-stageautofeedback-target-libgomp: all-stageautofeedback-target-libgomp
51393 all-stageautofeedback: all-stageautofeedback-target-libgomp
51394 TARGET-stageautofeedback-target-libgomp = $(TARGET-target-libgomp)
51395 all-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
51396 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
51397 @r=`${PWD_COMMAND}`; export r; \
51398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51399 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
51400 $(NORMAL_TARGET_EXPORTS) \
51402 cd $(TARGET_SUBDIR)/libgomp && \
51404 $(MAKE) $(BASE_FLAGS_TO_PASS) \
51405 CFLAGS="$(CFLAGS_FOR_TARGET)" \
51406 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
51407 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
51408 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
51409 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
51410 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
51411 $(EXTRA_TARGET_FLAGS) \
51412 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
51413 $(TARGET-stageautofeedback-target-libgomp)
51415 maybe-clean-stageautofeedback-target-libgomp: clean-stageautofeedback-target-libgomp
51416 clean-stageautofeedback: clean-stageautofeedback-target-libgomp
51417 clean-stageautofeedback-target-libgomp:
51418 @if [ $(current_stage) = stageautofeedback ]; then \
51419 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51420 else \
51421 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgomp/Makefile ] || exit 0; \
51422 $(MAKE) stageautofeedback-start; \
51423 fi; \
51424 cd $(TARGET_SUBDIR)/libgomp && \
51425 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
51426 @endif target-libgomp-bootstrap
51433 .PHONY: check-target-libgomp maybe-check-target-libgomp
51434 maybe-check-target-libgomp:
51435 @if target-libgomp
51436 maybe-check-target-libgomp: check-target-libgomp
51438 check-target-libgomp:
51439 @: $(MAKE); $(unstage)
51440 @r=`${PWD_COMMAND}`; export r; \
51441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51442 $(NORMAL_TARGET_EXPORTS) \
51443 (cd $(TARGET_SUBDIR)/libgomp && \
51444 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51446 @endif target-libgomp
51448 .PHONY: install-target-libgomp maybe-install-target-libgomp
51449 maybe-install-target-libgomp:
51450 @if target-libgomp
51451 maybe-install-target-libgomp: install-target-libgomp
51453 install-target-libgomp: installdirs
51454 @: $(MAKE); $(unstage)
51455 @r=`${PWD_COMMAND}`; export r; \
51456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51457 $(NORMAL_TARGET_EXPORTS) \
51458 (cd $(TARGET_SUBDIR)/libgomp && \
51459 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51461 @endif target-libgomp
51463 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
51464 maybe-install-strip-target-libgomp:
51465 @if target-libgomp
51466 maybe-install-strip-target-libgomp: install-strip-target-libgomp
51468 install-strip-target-libgomp: installdirs
51469 @: $(MAKE); $(unstage)
51470 @r=`${PWD_COMMAND}`; export r; \
51471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51472 $(NORMAL_TARGET_EXPORTS) \
51473 (cd $(TARGET_SUBDIR)/libgomp && \
51474 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51476 @endif target-libgomp
51478 # Other targets (info, dvi, pdf, etc.)
51480 .PHONY: maybe-info-target-libgomp info-target-libgomp
51481 maybe-info-target-libgomp:
51482 @if target-libgomp
51483 maybe-info-target-libgomp: info-target-libgomp
51485 info-target-libgomp: \
51486 configure-target-libgomp
51487 @: $(MAKE); $(unstage)
51488 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51489 r=`${PWD_COMMAND}`; export r; \
51490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51491 $(NORMAL_TARGET_EXPORTS) \
51492 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
51493 for flag in $(EXTRA_TARGET_FLAGS); do \
51494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51495 done; \
51496 (cd $(TARGET_SUBDIR)/libgomp && \
51497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51499 "RANLIB=$${RANLIB}" \
51500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51501 info) \
51502 || exit 1
51504 @endif target-libgomp
51506 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
51507 maybe-dvi-target-libgomp:
51508 @if target-libgomp
51509 maybe-dvi-target-libgomp: dvi-target-libgomp
51511 dvi-target-libgomp: \
51512 configure-target-libgomp
51513 @: $(MAKE); $(unstage)
51514 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51515 r=`${PWD_COMMAND}`; export r; \
51516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51517 $(NORMAL_TARGET_EXPORTS) \
51518 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
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)/libgomp && \
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 dvi) \
51528 || exit 1
51530 @endif target-libgomp
51532 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
51533 maybe-pdf-target-libgomp:
51534 @if target-libgomp
51535 maybe-pdf-target-libgomp: pdf-target-libgomp
51537 pdf-target-libgomp: \
51538 configure-target-libgomp
51539 @: $(MAKE); $(unstage)
51540 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51541 r=`${PWD_COMMAND}`; export r; \
51542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51543 $(NORMAL_TARGET_EXPORTS) \
51544 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
51545 for flag in $(EXTRA_TARGET_FLAGS); do \
51546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51547 done; \
51548 (cd $(TARGET_SUBDIR)/libgomp && \
51549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51551 "RANLIB=$${RANLIB}" \
51552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51553 pdf) \
51554 || exit 1
51556 @endif target-libgomp
51558 .PHONY: maybe-html-target-libgomp html-target-libgomp
51559 maybe-html-target-libgomp:
51560 @if target-libgomp
51561 maybe-html-target-libgomp: html-target-libgomp
51563 html-target-libgomp: \
51564 configure-target-libgomp
51565 @: $(MAKE); $(unstage)
51566 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51567 r=`${PWD_COMMAND}`; export r; \
51568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51569 $(NORMAL_TARGET_EXPORTS) \
51570 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
51571 for flag in $(EXTRA_TARGET_FLAGS); do \
51572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51573 done; \
51574 (cd $(TARGET_SUBDIR)/libgomp && \
51575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51577 "RANLIB=$${RANLIB}" \
51578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51579 html) \
51580 || exit 1
51582 @endif target-libgomp
51584 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
51585 maybe-TAGS-target-libgomp:
51586 @if target-libgomp
51587 maybe-TAGS-target-libgomp: TAGS-target-libgomp
51589 TAGS-target-libgomp: \
51590 configure-target-libgomp
51591 @: $(MAKE); $(unstage)
51592 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51593 r=`${PWD_COMMAND}`; export r; \
51594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51595 $(NORMAL_TARGET_EXPORTS) \
51596 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
51597 for flag in $(EXTRA_TARGET_FLAGS); do \
51598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51599 done; \
51600 (cd $(TARGET_SUBDIR)/libgomp && \
51601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51603 "RANLIB=$${RANLIB}" \
51604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51605 TAGS) \
51606 || exit 1
51608 @endif target-libgomp
51610 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
51611 maybe-install-info-target-libgomp:
51612 @if target-libgomp
51613 maybe-install-info-target-libgomp: install-info-target-libgomp
51615 install-info-target-libgomp: \
51616 configure-target-libgomp \
51617 info-target-libgomp
51618 @: $(MAKE); $(unstage)
51619 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51620 r=`${PWD_COMMAND}`; export r; \
51621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51622 $(NORMAL_TARGET_EXPORTS) \
51623 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
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)/libgomp && \
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 install-info) \
51633 || exit 1
51635 @endif target-libgomp
51637 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
51638 maybe-install-pdf-target-libgomp:
51639 @if target-libgomp
51640 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
51642 install-pdf-target-libgomp: \
51643 configure-target-libgomp \
51644 pdf-target-libgomp
51645 @: $(MAKE); $(unstage)
51646 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51647 r=`${PWD_COMMAND}`; export r; \
51648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51649 $(NORMAL_TARGET_EXPORTS) \
51650 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
51651 for flag in $(EXTRA_TARGET_FLAGS); do \
51652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51653 done; \
51654 (cd $(TARGET_SUBDIR)/libgomp && \
51655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51657 "RANLIB=$${RANLIB}" \
51658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51659 install-pdf) \
51660 || exit 1
51662 @endif target-libgomp
51664 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
51665 maybe-install-html-target-libgomp:
51666 @if target-libgomp
51667 maybe-install-html-target-libgomp: install-html-target-libgomp
51669 install-html-target-libgomp: \
51670 configure-target-libgomp \
51671 html-target-libgomp
51672 @: $(MAKE); $(unstage)
51673 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51674 r=`${PWD_COMMAND}`; export r; \
51675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51676 $(NORMAL_TARGET_EXPORTS) \
51677 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
51678 for flag in $(EXTRA_TARGET_FLAGS); do \
51679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51680 done; \
51681 (cd $(TARGET_SUBDIR)/libgomp && \
51682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51684 "RANLIB=$${RANLIB}" \
51685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51686 install-html) \
51687 || exit 1
51689 @endif target-libgomp
51691 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
51692 maybe-installcheck-target-libgomp:
51693 @if target-libgomp
51694 maybe-installcheck-target-libgomp: installcheck-target-libgomp
51696 installcheck-target-libgomp: \
51697 configure-target-libgomp
51698 @: $(MAKE); $(unstage)
51699 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51700 r=`${PWD_COMMAND}`; export r; \
51701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51702 $(NORMAL_TARGET_EXPORTS) \
51703 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
51704 for flag in $(EXTRA_TARGET_FLAGS); do \
51705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51706 done; \
51707 (cd $(TARGET_SUBDIR)/libgomp && \
51708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51710 "RANLIB=$${RANLIB}" \
51711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51712 installcheck) \
51713 || exit 1
51715 @endif target-libgomp
51717 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
51718 maybe-mostlyclean-target-libgomp:
51719 @if target-libgomp
51720 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
51722 mostlyclean-target-libgomp:
51723 @: $(MAKE); $(unstage)
51724 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51725 r=`${PWD_COMMAND}`; export r; \
51726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51727 $(NORMAL_TARGET_EXPORTS) \
51728 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
51729 for flag in $(EXTRA_TARGET_FLAGS); do \
51730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51731 done; \
51732 (cd $(TARGET_SUBDIR)/libgomp && \
51733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51735 "RANLIB=$${RANLIB}" \
51736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51737 mostlyclean) \
51738 || exit 1
51740 @endif target-libgomp
51742 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
51743 maybe-clean-target-libgomp:
51744 @if target-libgomp
51745 maybe-clean-target-libgomp: clean-target-libgomp
51747 clean-target-libgomp:
51748 @: $(MAKE); $(unstage)
51749 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51750 r=`${PWD_COMMAND}`; export r; \
51751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51752 $(NORMAL_TARGET_EXPORTS) \
51753 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
51754 for flag in $(EXTRA_TARGET_FLAGS); do \
51755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51756 done; \
51757 (cd $(TARGET_SUBDIR)/libgomp && \
51758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51760 "RANLIB=$${RANLIB}" \
51761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51762 clean) \
51763 || exit 1
51765 @endif target-libgomp
51767 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
51768 maybe-distclean-target-libgomp:
51769 @if target-libgomp
51770 maybe-distclean-target-libgomp: distclean-target-libgomp
51772 distclean-target-libgomp:
51773 @: $(MAKE); $(unstage)
51774 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51775 r=`${PWD_COMMAND}`; export r; \
51776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51777 $(NORMAL_TARGET_EXPORTS) \
51778 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
51779 for flag in $(EXTRA_TARGET_FLAGS); do \
51780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51781 done; \
51782 (cd $(TARGET_SUBDIR)/libgomp && \
51783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51785 "RANLIB=$${RANLIB}" \
51786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51787 distclean) \
51788 || exit 1
51790 @endif target-libgomp
51792 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
51793 maybe-maintainer-clean-target-libgomp:
51794 @if target-libgomp
51795 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
51797 maintainer-clean-target-libgomp:
51798 @: $(MAKE); $(unstage)
51799 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
51800 r=`${PWD_COMMAND}`; export r; \
51801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51802 $(NORMAL_TARGET_EXPORTS) \
51803 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
51804 for flag in $(EXTRA_TARGET_FLAGS); do \
51805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51806 done; \
51807 (cd $(TARGET_SUBDIR)/libgomp && \
51808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51810 "RANLIB=$${RANLIB}" \
51811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51812 maintainer-clean) \
51813 || exit 1
51815 @endif target-libgomp
51821 .PHONY: configure-target-libitm maybe-configure-target-libitm
51822 maybe-configure-target-libitm:
51823 @if gcc-bootstrap
51824 configure-target-libitm: stage_current
51825 @endif gcc-bootstrap
51826 @if target-libitm
51827 maybe-configure-target-libitm: configure-target-libitm
51828 configure-target-libitm:
51829 @: $(MAKE); $(unstage)
51830 @r=`${PWD_COMMAND}`; export r; \
51831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51832 echo "Checking multilib configuration for libitm..."; \
51833 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
51834 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
51835 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
51836 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
51837 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
51838 else \
51839 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
51840 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
51841 fi; \
51842 else \
51843 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
51844 fi; \
51845 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
51846 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
51847 $(NORMAL_TARGET_EXPORTS) \
51848 echo Configuring in $(TARGET_SUBDIR)/libitm; \
51849 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
51850 case $(srcdir) in \
51851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51852 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
51853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51854 esac; \
51855 module_srcdir=libitm; \
51856 rm -f no-such-file || : ; \
51857 CONFIG_SITE=no-such-file $(SHELL) \
51858 $$s/$$module_srcdir/configure \
51859 --srcdir=$${topdir}/$$module_srcdir \
51860 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51861 --target=${target_alias} \
51862 || exit 1
51863 @endif target-libitm
51869 .PHONY: all-target-libitm maybe-all-target-libitm
51870 maybe-all-target-libitm:
51871 @if gcc-bootstrap
51872 all-target-libitm: stage_current
51873 @endif gcc-bootstrap
51874 @if target-libitm
51875 TARGET-target-libitm=all
51876 maybe-all-target-libitm: all-target-libitm
51877 all-target-libitm: configure-target-libitm
51878 @: $(MAKE); $(unstage)
51879 @r=`${PWD_COMMAND}`; export r; \
51880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51881 $(NORMAL_TARGET_EXPORTS) \
51882 (cd $(TARGET_SUBDIR)/libitm && \
51883 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51884 $(TARGET-target-libitm))
51885 @endif target-libitm
51891 .PHONY: check-target-libitm maybe-check-target-libitm
51892 maybe-check-target-libitm:
51893 @if target-libitm
51894 maybe-check-target-libitm: check-target-libitm
51896 check-target-libitm:
51897 @: $(MAKE); $(unstage)
51898 @r=`${PWD_COMMAND}`; export r; \
51899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51900 $(NORMAL_TARGET_EXPORTS) \
51901 (cd $(TARGET_SUBDIR)/libitm && \
51902 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51904 @endif target-libitm
51906 .PHONY: install-target-libitm maybe-install-target-libitm
51907 maybe-install-target-libitm:
51908 @if target-libitm
51909 maybe-install-target-libitm: install-target-libitm
51911 install-target-libitm: installdirs
51912 @: $(MAKE); $(unstage)
51913 @r=`${PWD_COMMAND}`; export r; \
51914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51915 $(NORMAL_TARGET_EXPORTS) \
51916 (cd $(TARGET_SUBDIR)/libitm && \
51917 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51919 @endif target-libitm
51921 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
51922 maybe-install-strip-target-libitm:
51923 @if target-libitm
51924 maybe-install-strip-target-libitm: install-strip-target-libitm
51926 install-strip-target-libitm: installdirs
51927 @: $(MAKE); $(unstage)
51928 @r=`${PWD_COMMAND}`; export r; \
51929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51930 $(NORMAL_TARGET_EXPORTS) \
51931 (cd $(TARGET_SUBDIR)/libitm && \
51932 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51934 @endif target-libitm
51936 # Other targets (info, dvi, pdf, etc.)
51938 .PHONY: maybe-info-target-libitm info-target-libitm
51939 maybe-info-target-libitm:
51940 @if target-libitm
51941 maybe-info-target-libitm: info-target-libitm
51943 info-target-libitm: \
51944 configure-target-libitm
51945 @: $(MAKE); $(unstage)
51946 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51947 r=`${PWD_COMMAND}`; export r; \
51948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51949 $(NORMAL_TARGET_EXPORTS) \
51950 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
51951 for flag in $(EXTRA_TARGET_FLAGS); do \
51952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51953 done; \
51954 (cd $(TARGET_SUBDIR)/libitm && \
51955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51957 "RANLIB=$${RANLIB}" \
51958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51959 info) \
51960 || exit 1
51962 @endif target-libitm
51964 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
51965 maybe-dvi-target-libitm:
51966 @if target-libitm
51967 maybe-dvi-target-libitm: dvi-target-libitm
51969 dvi-target-libitm: \
51970 configure-target-libitm
51971 @: $(MAKE); $(unstage)
51972 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51973 r=`${PWD_COMMAND}`; export r; \
51974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51975 $(NORMAL_TARGET_EXPORTS) \
51976 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
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)/libitm && \
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 dvi) \
51986 || exit 1
51988 @endif target-libitm
51990 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
51991 maybe-pdf-target-libitm:
51992 @if target-libitm
51993 maybe-pdf-target-libitm: pdf-target-libitm
51995 pdf-target-libitm: \
51996 configure-target-libitm
51997 @: $(MAKE); $(unstage)
51998 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
51999 r=`${PWD_COMMAND}`; export r; \
52000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52001 $(NORMAL_TARGET_EXPORTS) \
52002 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
52003 for flag in $(EXTRA_TARGET_FLAGS); do \
52004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52005 done; \
52006 (cd $(TARGET_SUBDIR)/libitm && \
52007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52009 "RANLIB=$${RANLIB}" \
52010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52011 pdf) \
52012 || exit 1
52014 @endif target-libitm
52016 .PHONY: maybe-html-target-libitm html-target-libitm
52017 maybe-html-target-libitm:
52018 @if target-libitm
52019 maybe-html-target-libitm: html-target-libitm
52021 html-target-libitm: \
52022 configure-target-libitm
52023 @: $(MAKE); $(unstage)
52024 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52025 r=`${PWD_COMMAND}`; export r; \
52026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52027 $(NORMAL_TARGET_EXPORTS) \
52028 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
52029 for flag in $(EXTRA_TARGET_FLAGS); do \
52030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52031 done; \
52032 (cd $(TARGET_SUBDIR)/libitm && \
52033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52035 "RANLIB=$${RANLIB}" \
52036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52037 html) \
52038 || exit 1
52040 @endif target-libitm
52042 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
52043 maybe-TAGS-target-libitm:
52044 @if target-libitm
52045 maybe-TAGS-target-libitm: TAGS-target-libitm
52047 TAGS-target-libitm: \
52048 configure-target-libitm
52049 @: $(MAKE); $(unstage)
52050 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52051 r=`${PWD_COMMAND}`; export r; \
52052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52053 $(NORMAL_TARGET_EXPORTS) \
52054 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
52055 for flag in $(EXTRA_TARGET_FLAGS); do \
52056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52057 done; \
52058 (cd $(TARGET_SUBDIR)/libitm && \
52059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52061 "RANLIB=$${RANLIB}" \
52062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52063 TAGS) \
52064 || exit 1
52066 @endif target-libitm
52068 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
52069 maybe-install-info-target-libitm:
52070 @if target-libitm
52071 maybe-install-info-target-libitm: install-info-target-libitm
52073 install-info-target-libitm: \
52074 configure-target-libitm \
52075 info-target-libitm
52076 @: $(MAKE); $(unstage)
52077 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52078 r=`${PWD_COMMAND}`; export r; \
52079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52080 $(NORMAL_TARGET_EXPORTS) \
52081 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
52082 for flag in $(EXTRA_TARGET_FLAGS); do \
52083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52084 done; \
52085 (cd $(TARGET_SUBDIR)/libitm && \
52086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52088 "RANLIB=$${RANLIB}" \
52089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52090 install-info) \
52091 || exit 1
52093 @endif target-libitm
52095 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
52096 maybe-install-pdf-target-libitm:
52097 @if target-libitm
52098 maybe-install-pdf-target-libitm: install-pdf-target-libitm
52100 install-pdf-target-libitm: \
52101 configure-target-libitm \
52102 pdf-target-libitm
52103 @: $(MAKE); $(unstage)
52104 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52105 r=`${PWD_COMMAND}`; export r; \
52106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52107 $(NORMAL_TARGET_EXPORTS) \
52108 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
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)/libitm && \
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 install-pdf) \
52118 || exit 1
52120 @endif target-libitm
52122 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
52123 maybe-install-html-target-libitm:
52124 @if target-libitm
52125 maybe-install-html-target-libitm: install-html-target-libitm
52127 install-html-target-libitm: \
52128 configure-target-libitm \
52129 html-target-libitm
52130 @: $(MAKE); $(unstage)
52131 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52132 r=`${PWD_COMMAND}`; export r; \
52133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52134 $(NORMAL_TARGET_EXPORTS) \
52135 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
52136 for flag in $(EXTRA_TARGET_FLAGS); do \
52137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52138 done; \
52139 (cd $(TARGET_SUBDIR)/libitm && \
52140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52142 "RANLIB=$${RANLIB}" \
52143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52144 install-html) \
52145 || exit 1
52147 @endif target-libitm
52149 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
52150 maybe-installcheck-target-libitm:
52151 @if target-libitm
52152 maybe-installcheck-target-libitm: installcheck-target-libitm
52154 installcheck-target-libitm: \
52155 configure-target-libitm
52156 @: $(MAKE); $(unstage)
52157 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52158 r=`${PWD_COMMAND}`; export r; \
52159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52160 $(NORMAL_TARGET_EXPORTS) \
52161 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
52162 for flag in $(EXTRA_TARGET_FLAGS); do \
52163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52164 done; \
52165 (cd $(TARGET_SUBDIR)/libitm && \
52166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52168 "RANLIB=$${RANLIB}" \
52169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52170 installcheck) \
52171 || exit 1
52173 @endif target-libitm
52175 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
52176 maybe-mostlyclean-target-libitm:
52177 @if target-libitm
52178 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
52180 mostlyclean-target-libitm:
52181 @: $(MAKE); $(unstage)
52182 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52183 r=`${PWD_COMMAND}`; export r; \
52184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52185 $(NORMAL_TARGET_EXPORTS) \
52186 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
52187 for flag in $(EXTRA_TARGET_FLAGS); do \
52188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52189 done; \
52190 (cd $(TARGET_SUBDIR)/libitm && \
52191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52193 "RANLIB=$${RANLIB}" \
52194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52195 mostlyclean) \
52196 || exit 1
52198 @endif target-libitm
52200 .PHONY: maybe-clean-target-libitm clean-target-libitm
52201 maybe-clean-target-libitm:
52202 @if target-libitm
52203 maybe-clean-target-libitm: clean-target-libitm
52205 clean-target-libitm:
52206 @: $(MAKE); $(unstage)
52207 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52208 r=`${PWD_COMMAND}`; export r; \
52209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52210 $(NORMAL_TARGET_EXPORTS) \
52211 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
52212 for flag in $(EXTRA_TARGET_FLAGS); do \
52213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52214 done; \
52215 (cd $(TARGET_SUBDIR)/libitm && \
52216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52218 "RANLIB=$${RANLIB}" \
52219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52220 clean) \
52221 || exit 1
52223 @endif target-libitm
52225 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
52226 maybe-distclean-target-libitm:
52227 @if target-libitm
52228 maybe-distclean-target-libitm: distclean-target-libitm
52230 distclean-target-libitm:
52231 @: $(MAKE); $(unstage)
52232 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52233 r=`${PWD_COMMAND}`; export r; \
52234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52235 $(NORMAL_TARGET_EXPORTS) \
52236 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
52237 for flag in $(EXTRA_TARGET_FLAGS); do \
52238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52239 done; \
52240 (cd $(TARGET_SUBDIR)/libitm && \
52241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52243 "RANLIB=$${RANLIB}" \
52244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52245 distclean) \
52246 || exit 1
52248 @endif target-libitm
52250 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
52251 maybe-maintainer-clean-target-libitm:
52252 @if target-libitm
52253 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
52255 maintainer-clean-target-libitm:
52256 @: $(MAKE); $(unstage)
52257 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
52258 r=`${PWD_COMMAND}`; export r; \
52259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52260 $(NORMAL_TARGET_EXPORTS) \
52261 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
52262 for flag in $(EXTRA_TARGET_FLAGS); do \
52263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52264 done; \
52265 (cd $(TARGET_SUBDIR)/libitm && \
52266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52268 "RANLIB=$${RANLIB}" \
52269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52270 maintainer-clean) \
52271 || exit 1
52273 @endif target-libitm
52279 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
52280 maybe-configure-target-libatomic:
52281 @if gcc-bootstrap
52282 configure-target-libatomic: stage_current
52283 @endif gcc-bootstrap
52284 @if target-libatomic
52285 maybe-configure-target-libatomic: configure-target-libatomic
52286 configure-target-libatomic:
52287 @: $(MAKE); $(unstage)
52288 @r=`${PWD_COMMAND}`; export r; \
52289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52290 echo "Checking multilib configuration for libatomic..."; \
52291 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
52292 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
52293 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
52294 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
52295 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
52296 else \
52297 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
52298 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
52299 fi; \
52300 else \
52301 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
52302 fi; \
52303 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
52304 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
52305 $(NORMAL_TARGET_EXPORTS) \
52306 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
52307 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
52308 case $(srcdir) in \
52309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52310 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
52311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52312 esac; \
52313 module_srcdir=libatomic; \
52314 rm -f no-such-file || : ; \
52315 CONFIG_SITE=no-such-file $(SHELL) \
52316 $$s/$$module_srcdir/configure \
52317 --srcdir=$${topdir}/$$module_srcdir \
52318 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52319 --target=${target_alias} \
52320 || exit 1
52321 @endif target-libatomic
52327 .PHONY: all-target-libatomic maybe-all-target-libatomic
52328 maybe-all-target-libatomic:
52329 @if gcc-bootstrap
52330 all-target-libatomic: stage_current
52331 @endif gcc-bootstrap
52332 @if target-libatomic
52333 TARGET-target-libatomic=all
52334 maybe-all-target-libatomic: all-target-libatomic
52335 all-target-libatomic: configure-target-libatomic
52336 @: $(MAKE); $(unstage)
52337 @r=`${PWD_COMMAND}`; export r; \
52338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52339 $(NORMAL_TARGET_EXPORTS) \
52340 (cd $(TARGET_SUBDIR)/libatomic && \
52341 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52342 $(TARGET-target-libatomic))
52343 @endif target-libatomic
52349 .PHONY: check-target-libatomic maybe-check-target-libatomic
52350 maybe-check-target-libatomic:
52351 @if target-libatomic
52352 maybe-check-target-libatomic: check-target-libatomic
52354 check-target-libatomic:
52355 @: $(MAKE); $(unstage)
52356 @r=`${PWD_COMMAND}`; export r; \
52357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52358 $(NORMAL_TARGET_EXPORTS) \
52359 (cd $(TARGET_SUBDIR)/libatomic && \
52360 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52362 @endif target-libatomic
52364 .PHONY: install-target-libatomic maybe-install-target-libatomic
52365 maybe-install-target-libatomic:
52366 @if target-libatomic
52367 maybe-install-target-libatomic: install-target-libatomic
52369 install-target-libatomic: installdirs
52370 @: $(MAKE); $(unstage)
52371 @r=`${PWD_COMMAND}`; export r; \
52372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52373 $(NORMAL_TARGET_EXPORTS) \
52374 (cd $(TARGET_SUBDIR)/libatomic && \
52375 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52377 @endif target-libatomic
52379 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
52380 maybe-install-strip-target-libatomic:
52381 @if target-libatomic
52382 maybe-install-strip-target-libatomic: install-strip-target-libatomic
52384 install-strip-target-libatomic: installdirs
52385 @: $(MAKE); $(unstage)
52386 @r=`${PWD_COMMAND}`; export r; \
52387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52388 $(NORMAL_TARGET_EXPORTS) \
52389 (cd $(TARGET_SUBDIR)/libatomic && \
52390 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52392 @endif target-libatomic
52394 # Other targets (info, dvi, pdf, etc.)
52396 .PHONY: maybe-info-target-libatomic info-target-libatomic
52397 maybe-info-target-libatomic:
52398 @if target-libatomic
52399 maybe-info-target-libatomic: info-target-libatomic
52401 info-target-libatomic: \
52402 configure-target-libatomic
52403 @: $(MAKE); $(unstage)
52404 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52405 r=`${PWD_COMMAND}`; export r; \
52406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52407 $(NORMAL_TARGET_EXPORTS) \
52408 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
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)/libatomic && \
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 info) \
52418 || exit 1
52420 @endif target-libatomic
52422 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
52423 maybe-dvi-target-libatomic:
52424 @if target-libatomic
52425 maybe-dvi-target-libatomic: dvi-target-libatomic
52427 dvi-target-libatomic: \
52428 configure-target-libatomic
52429 @: $(MAKE); $(unstage)
52430 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52431 r=`${PWD_COMMAND}`; export r; \
52432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52433 $(NORMAL_TARGET_EXPORTS) \
52434 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
52435 for flag in $(EXTRA_TARGET_FLAGS); do \
52436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52437 done; \
52438 (cd $(TARGET_SUBDIR)/libatomic && \
52439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52441 "RANLIB=$${RANLIB}" \
52442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52443 dvi) \
52444 || exit 1
52446 @endif target-libatomic
52448 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
52449 maybe-pdf-target-libatomic:
52450 @if target-libatomic
52451 maybe-pdf-target-libatomic: pdf-target-libatomic
52453 pdf-target-libatomic: \
52454 configure-target-libatomic
52455 @: $(MAKE); $(unstage)
52456 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52457 r=`${PWD_COMMAND}`; export r; \
52458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52459 $(NORMAL_TARGET_EXPORTS) \
52460 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
52461 for flag in $(EXTRA_TARGET_FLAGS); do \
52462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52463 done; \
52464 (cd $(TARGET_SUBDIR)/libatomic && \
52465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52467 "RANLIB=$${RANLIB}" \
52468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52469 pdf) \
52470 || exit 1
52472 @endif target-libatomic
52474 .PHONY: maybe-html-target-libatomic html-target-libatomic
52475 maybe-html-target-libatomic:
52476 @if target-libatomic
52477 maybe-html-target-libatomic: html-target-libatomic
52479 html-target-libatomic: \
52480 configure-target-libatomic
52481 @: $(MAKE); $(unstage)
52482 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52483 r=`${PWD_COMMAND}`; export r; \
52484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52485 $(NORMAL_TARGET_EXPORTS) \
52486 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
52487 for flag in $(EXTRA_TARGET_FLAGS); do \
52488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52489 done; \
52490 (cd $(TARGET_SUBDIR)/libatomic && \
52491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52493 "RANLIB=$${RANLIB}" \
52494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52495 html) \
52496 || exit 1
52498 @endif target-libatomic
52500 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
52501 maybe-TAGS-target-libatomic:
52502 @if target-libatomic
52503 maybe-TAGS-target-libatomic: TAGS-target-libatomic
52505 TAGS-target-libatomic: \
52506 configure-target-libatomic
52507 @: $(MAKE); $(unstage)
52508 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52509 r=`${PWD_COMMAND}`; export r; \
52510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52511 $(NORMAL_TARGET_EXPORTS) \
52512 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
52513 for flag in $(EXTRA_TARGET_FLAGS); do \
52514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52515 done; \
52516 (cd $(TARGET_SUBDIR)/libatomic && \
52517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52519 "RANLIB=$${RANLIB}" \
52520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52521 TAGS) \
52522 || exit 1
52524 @endif target-libatomic
52526 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
52527 maybe-install-info-target-libatomic:
52528 @if target-libatomic
52529 maybe-install-info-target-libatomic: install-info-target-libatomic
52531 install-info-target-libatomic: \
52532 configure-target-libatomic \
52533 info-target-libatomic
52534 @: $(MAKE); $(unstage)
52535 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52536 r=`${PWD_COMMAND}`; export r; \
52537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52538 $(NORMAL_TARGET_EXPORTS) \
52539 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
52540 for flag in $(EXTRA_TARGET_FLAGS); do \
52541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52542 done; \
52543 (cd $(TARGET_SUBDIR)/libatomic && \
52544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52546 "RANLIB=$${RANLIB}" \
52547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52548 install-info) \
52549 || exit 1
52551 @endif target-libatomic
52553 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
52554 maybe-install-pdf-target-libatomic:
52555 @if target-libatomic
52556 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
52558 install-pdf-target-libatomic: \
52559 configure-target-libatomic \
52560 pdf-target-libatomic
52561 @: $(MAKE); $(unstage)
52562 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52563 r=`${PWD_COMMAND}`; export r; \
52564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52565 $(NORMAL_TARGET_EXPORTS) \
52566 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
52567 for flag in $(EXTRA_TARGET_FLAGS); do \
52568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52569 done; \
52570 (cd $(TARGET_SUBDIR)/libatomic && \
52571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52573 "RANLIB=$${RANLIB}" \
52574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52575 install-pdf) \
52576 || exit 1
52578 @endif target-libatomic
52580 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
52581 maybe-install-html-target-libatomic:
52582 @if target-libatomic
52583 maybe-install-html-target-libatomic: install-html-target-libatomic
52585 install-html-target-libatomic: \
52586 configure-target-libatomic \
52587 html-target-libatomic
52588 @: $(MAKE); $(unstage)
52589 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52590 r=`${PWD_COMMAND}`; export r; \
52591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52592 $(NORMAL_TARGET_EXPORTS) \
52593 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
52594 for flag in $(EXTRA_TARGET_FLAGS); do \
52595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52596 done; \
52597 (cd $(TARGET_SUBDIR)/libatomic && \
52598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52600 "RANLIB=$${RANLIB}" \
52601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52602 install-html) \
52603 || exit 1
52605 @endif target-libatomic
52607 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
52608 maybe-installcheck-target-libatomic:
52609 @if target-libatomic
52610 maybe-installcheck-target-libatomic: installcheck-target-libatomic
52612 installcheck-target-libatomic: \
52613 configure-target-libatomic
52614 @: $(MAKE); $(unstage)
52615 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52616 r=`${PWD_COMMAND}`; export r; \
52617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52618 $(NORMAL_TARGET_EXPORTS) \
52619 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
52620 for flag in $(EXTRA_TARGET_FLAGS); do \
52621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52622 done; \
52623 (cd $(TARGET_SUBDIR)/libatomic && \
52624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52626 "RANLIB=$${RANLIB}" \
52627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52628 installcheck) \
52629 || exit 1
52631 @endif target-libatomic
52633 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
52634 maybe-mostlyclean-target-libatomic:
52635 @if target-libatomic
52636 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
52638 mostlyclean-target-libatomic:
52639 @: $(MAKE); $(unstage)
52640 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52641 r=`${PWD_COMMAND}`; export r; \
52642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52643 $(NORMAL_TARGET_EXPORTS) \
52644 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
52645 for flag in $(EXTRA_TARGET_FLAGS); do \
52646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52647 done; \
52648 (cd $(TARGET_SUBDIR)/libatomic && \
52649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52651 "RANLIB=$${RANLIB}" \
52652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52653 mostlyclean) \
52654 || exit 1
52656 @endif target-libatomic
52658 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
52659 maybe-clean-target-libatomic:
52660 @if target-libatomic
52661 maybe-clean-target-libatomic: clean-target-libatomic
52663 clean-target-libatomic:
52664 @: $(MAKE); $(unstage)
52665 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52666 r=`${PWD_COMMAND}`; export r; \
52667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52668 $(NORMAL_TARGET_EXPORTS) \
52669 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
52670 for flag in $(EXTRA_TARGET_FLAGS); do \
52671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52672 done; \
52673 (cd $(TARGET_SUBDIR)/libatomic && \
52674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52676 "RANLIB=$${RANLIB}" \
52677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52678 clean) \
52679 || exit 1
52681 @endif target-libatomic
52683 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
52684 maybe-distclean-target-libatomic:
52685 @if target-libatomic
52686 maybe-distclean-target-libatomic: distclean-target-libatomic
52688 distclean-target-libatomic:
52689 @: $(MAKE); $(unstage)
52690 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52691 r=`${PWD_COMMAND}`; export r; \
52692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52693 $(NORMAL_TARGET_EXPORTS) \
52694 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
52695 for flag in $(EXTRA_TARGET_FLAGS); do \
52696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52697 done; \
52698 (cd $(TARGET_SUBDIR)/libatomic && \
52699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52701 "RANLIB=$${RANLIB}" \
52702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52703 distclean) \
52704 || exit 1
52706 @endif target-libatomic
52708 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
52709 maybe-maintainer-clean-target-libatomic:
52710 @if target-libatomic
52711 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
52713 maintainer-clean-target-libatomic:
52714 @: $(MAKE); $(unstage)
52715 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
52716 r=`${PWD_COMMAND}`; export r; \
52717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52718 $(NORMAL_TARGET_EXPORTS) \
52719 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
52720 for flag in $(EXTRA_TARGET_FLAGS); do \
52721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52722 done; \
52723 (cd $(TARGET_SUBDIR)/libatomic && \
52724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52726 "RANLIB=$${RANLIB}" \
52727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52728 maintainer-clean) \
52729 || exit 1
52731 @endif target-libatomic
52735 @if target-libgomp
52736 .PHONY: check-target-libgomp-c++
52737 check-target-libgomp-c++:
52738 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
52740 .PHONY: check-target-libgomp-fortran
52741 check-target-libgomp-fortran:
52742 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
52744 @endif target-libgomp
52746 @if target-libitm
52747 .PHONY: check-target-libitm-c++
52748 check-target-libitm-c++:
52749 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
52751 @endif target-libitm
52753 # ----------
52754 # GCC module
52755 # ----------
52757 @if gcc-no-bootstrap
52758 .PHONY: cross
52759 cross: all-build all-gas all-ld
52760 @r=`${PWD_COMMAND}`; export r; \
52761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52762 $(HOST_EXPORTS) \
52763 echo "Building the C and C++ compiler"; \
52764 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
52765 @r=`${PWD_COMMAND}`; export r; \
52766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52767 echo "Building runtime libraries"; \
52768 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
52769 @endif gcc-no-bootstrap
52771 @if gcc
52773 .PHONY: check-gcc-c check-c
52774 check-gcc-c:
52775 r=`${PWD_COMMAND}`; export r; \
52776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52777 $(HOST_EXPORTS) \
52778 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
52779 check-c: check-gcc-c
52781 .PHONY: check-gcc-c++ check-c++
52782 check-gcc-c++:
52783 r=`${PWD_COMMAND}`; export r; \
52784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52785 $(HOST_EXPORTS) \
52786 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
52787 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
52789 .PHONY: check-gcc-fortran check-fortran
52790 check-gcc-fortran:
52791 r=`${PWD_COMMAND}`; export r; \
52792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52793 $(HOST_EXPORTS) \
52794 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
52795 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran check-target-libgomp-fortran
52797 .PHONY: check-gcc-ada check-ada
52798 check-gcc-ada:
52799 r=`${PWD_COMMAND}`; export r; \
52800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52801 $(HOST_EXPORTS) \
52802 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
52803 check-ada: check-gcc-ada check-target-libada
52805 .PHONY: check-gcc-objc check-objc
52806 check-gcc-objc:
52807 r=`${PWD_COMMAND}`; export r; \
52808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52809 $(HOST_EXPORTS) \
52810 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
52811 check-objc: check-gcc-objc check-target-libobjc
52813 .PHONY: check-gcc-obj-c++ check-obj-c++
52814 check-gcc-obj-c++:
52815 r=`${PWD_COMMAND}`; export r; \
52816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52817 $(HOST_EXPORTS) \
52818 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
52819 check-obj-c++: check-gcc-obj-c++
52821 .PHONY: check-gcc-go check-go
52822 check-gcc-go:
52823 r=`${PWD_COMMAND}`; export r; \
52824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52825 $(HOST_EXPORTS) \
52826 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
52827 check-go: check-gcc-go check-target-libgo check-gotools
52829 .PHONY: check-gcc-brig check-brig
52830 check-gcc-brig:
52831 r=`${PWD_COMMAND}`; export r; \
52832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52833 $(HOST_EXPORTS) \
52834 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-brig);
52835 check-brig: check-gcc-brig check-target-libhsail-rt
52837 .PHONY: check-gcc-d check-d
52838 check-gcc-d:
52839 r=`${PWD_COMMAND}`; export r; \
52840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52841 $(HOST_EXPORTS) \
52842 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-d);
52843 check-d: check-gcc-d check-target-libphobos
52846 # The gcc part of install-no-fixedincludes, which relies on an intimate
52847 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
52848 .PHONY: gcc-install-no-fixedincludes
52849 gcc-install-no-fixedincludes:
52850 @if [ -f ./gcc/Makefile ]; then \
52851 r=`${PWD_COMMAND}`; export r; \
52852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52853 $(HOST_EXPORTS) \
52854 (cd ./gcc \
52855 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
52856 else true; fi
52857 @endif gcc
52859 # ---------------------
52860 # GCC bootstrap support
52861 # ---------------------
52863 # We track the current stage (the one in 'gcc') in the stage_current file.
52864 # stage_last instead tracks the stage that was built last. These targets
52865 # are dummy when toplevel bootstrap is not active.
52867 # While making host and target tools, symlinks to the final stage must be
52868 # there, so $(unstage) should be run at various points. To avoid excessive
52869 # recursive invocations of make, we "inline" them using a variable. These
52870 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
52871 # to avoid warnings from the GNU Make job server.
52873 unstage = :
52874 stage = :
52875 current_stage = ""
52877 @if gcc-bootstrap
52878 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
52879 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
52880 current_stage = "`cat stage_current 2> /dev/null`"
52881 @endif gcc-bootstrap
52883 .PHONY: unstage stage
52884 unstage:
52885 @: $(MAKE); $(unstage)
52886 stage:
52887 @: $(MAKE); $(stage)
52889 # Disable commands for lean bootstrap.
52890 LEAN = false
52892 # We name the build directories for the various stages "stage1-gcc",
52893 # "stage2-gcc","stage3-gcc", etc.
52895 # Since the 'compare' process will fail (on debugging information) if any
52896 # directory names are different, we need to link the gcc directory for
52897 # the previous stage to a constant name ('prev-gcc'), and to make the name of
52898 # the build directories constant as well. For the latter, we use naked names
52899 # like 'gcc', because the scripts in that directory assume it. We use
52900 # mv on platforms where symlinks to directories do not work or are not
52901 # reliable.
52903 # 'touch' doesn't work right on some platforms.
52904 STAMP = echo timestamp >
52906 # We only want to compare .o files, so set this!
52907 objext = .o
52910 .PHONY: stage1-start stage1-end
52912 stage1-start::
52913 @: $(MAKE); $(stage); \
52914 echo stage1 > stage_current; \
52915 echo stage1 > stage_last; \
52916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52917 @if bfd
52918 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
52919 mkdir stage1-bfd; \
52920 mv stage1-bfd bfd
52921 @endif bfd
52922 @if opcodes
52923 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
52924 mkdir stage1-opcodes; \
52925 mv stage1-opcodes opcodes
52926 @endif opcodes
52927 @if binutils
52928 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
52929 mkdir stage1-binutils; \
52930 mv stage1-binutils binutils
52931 @endif binutils
52932 @if fixincludes
52933 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
52934 mkdir stage1-fixincludes; \
52935 mv stage1-fixincludes fixincludes
52936 @endif fixincludes
52937 @if gas
52938 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
52939 mkdir stage1-gas; \
52940 mv stage1-gas gas
52941 @endif gas
52942 @if gcc
52943 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
52944 mkdir stage1-gcc; \
52945 mv stage1-gcc gcc
52946 @endif gcc
52947 @if gmp
52948 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
52949 mkdir stage1-gmp; \
52950 mv stage1-gmp gmp
52951 @endif gmp
52952 @if mpfr
52953 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
52954 mkdir stage1-mpfr; \
52955 mv stage1-mpfr mpfr
52956 @endif mpfr
52957 @if mpc
52958 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
52959 mkdir stage1-mpc; \
52960 mv stage1-mpc mpc
52961 @endif mpc
52962 @if isl
52963 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
52964 mkdir stage1-isl; \
52965 mv stage1-isl isl
52966 @endif isl
52967 @if libelf
52968 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
52969 mkdir stage1-libelf; \
52970 mv stage1-libelf libelf
52971 @endif libelf
52972 @if gold
52973 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
52974 mkdir stage1-gold; \
52975 mv stage1-gold gold
52976 @endif gold
52977 @if intl
52978 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
52979 mkdir stage1-intl; \
52980 mv stage1-intl intl
52981 @endif intl
52982 @if ld
52983 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
52984 mkdir stage1-ld; \
52985 mv stage1-ld ld
52986 @endif ld
52987 @if libbacktrace
52988 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
52989 mkdir stage1-libbacktrace; \
52990 mv stage1-libbacktrace libbacktrace
52991 @endif libbacktrace
52992 @if libcpp
52993 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
52994 mkdir stage1-libcpp; \
52995 mv stage1-libcpp libcpp
52996 @endif libcpp
52997 @if libdecnumber
52998 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
52999 mkdir stage1-libdecnumber; \
53000 mv stage1-libdecnumber libdecnumber
53001 @endif libdecnumber
53002 @if libiberty
53003 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
53004 mkdir stage1-libiberty; \
53005 mv stage1-libiberty libiberty
53006 @endif libiberty
53007 @if libiberty-linker-plugin
53008 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
53009 mkdir stage1-libiberty-linker-plugin; \
53010 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
53011 @endif libiberty-linker-plugin
53012 @if libiconv
53013 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
53014 mkdir stage1-libiconv; \
53015 mv stage1-libiconv libiconv
53016 @endif libiconv
53017 @if zlib
53018 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
53019 mkdir stage1-zlib; \
53020 mv stage1-zlib zlib
53021 @endif zlib
53022 @if lto-plugin
53023 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
53024 mkdir stage1-lto-plugin; \
53025 mv stage1-lto-plugin lto-plugin
53026 @endif lto-plugin
53027 @[ -d stage1-$(TARGET_SUBDIR) ] || \
53028 mkdir stage1-$(TARGET_SUBDIR); \
53029 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
53031 stage1-end::
53032 @if bfd
53033 @if test -d $(HOST_SUBDIR)/bfd; then \
53034 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
53036 @endif bfd
53037 @if opcodes
53038 @if test -d $(HOST_SUBDIR)/opcodes; then \
53039 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
53041 @endif opcodes
53042 @if binutils
53043 @if test -d $(HOST_SUBDIR)/binutils; then \
53044 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
53046 @endif binutils
53047 @if fixincludes
53048 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53049 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
53051 @endif fixincludes
53052 @if gas
53053 @if test -d $(HOST_SUBDIR)/gas; then \
53054 cd $(HOST_SUBDIR); mv gas stage1-gas; \
53056 @endif gas
53057 @if gcc
53058 @if test -d $(HOST_SUBDIR)/gcc; then \
53059 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
53061 @endif gcc
53062 @if gmp
53063 @if test -d $(HOST_SUBDIR)/gmp; then \
53064 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
53066 @endif gmp
53067 @if mpfr
53068 @if test -d $(HOST_SUBDIR)/mpfr; then \
53069 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
53071 @endif mpfr
53072 @if mpc
53073 @if test -d $(HOST_SUBDIR)/mpc; then \
53074 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
53076 @endif mpc
53077 @if isl
53078 @if test -d $(HOST_SUBDIR)/isl; then \
53079 cd $(HOST_SUBDIR); mv isl stage1-isl; \
53081 @endif isl
53082 @if libelf
53083 @if test -d $(HOST_SUBDIR)/libelf; then \
53084 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
53086 @endif libelf
53087 @if gold
53088 @if test -d $(HOST_SUBDIR)/gold; then \
53089 cd $(HOST_SUBDIR); mv gold stage1-gold; \
53091 @endif gold
53092 @if intl
53093 @if test -d $(HOST_SUBDIR)/intl; then \
53094 cd $(HOST_SUBDIR); mv intl stage1-intl; \
53096 @endif intl
53097 @if ld
53098 @if test -d $(HOST_SUBDIR)/ld; then \
53099 cd $(HOST_SUBDIR); mv ld stage1-ld; \
53101 @endif ld
53102 @if libbacktrace
53103 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53104 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
53106 @endif libbacktrace
53107 @if libcpp
53108 @if test -d $(HOST_SUBDIR)/libcpp; then \
53109 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
53111 @endif libcpp
53112 @if libdecnumber
53113 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53114 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
53116 @endif libdecnumber
53117 @if libiberty
53118 @if test -d $(HOST_SUBDIR)/libiberty; then \
53119 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
53121 @endif libiberty
53122 @if libiberty-linker-plugin
53123 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53124 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
53126 @endif libiberty-linker-plugin
53127 @if libiconv
53128 @if test -d $(HOST_SUBDIR)/libiconv; then \
53129 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
53131 @endif libiconv
53132 @if zlib
53133 @if test -d $(HOST_SUBDIR)/zlib; then \
53134 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
53136 @endif zlib
53137 @if lto-plugin
53138 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53139 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
53141 @endif lto-plugin
53142 @if test -d $(TARGET_SUBDIR); then \
53143 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
53145 rm -f stage_current
53147 # Bubble a bug fix through all the stages up to stage 1. They are
53148 # remade, but not reconfigured. The next stage (if any) will not be
53149 # reconfigured either.
53150 .PHONY: stage1-bubble
53151 stage1-bubble::
53152 @r=`${PWD_COMMAND}`; export r; \
53153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53154 if test -f stage1-lean ; then \
53155 echo Skipping rebuild of stage1; \
53156 else \
53157 $(MAKE) stage1-start; \
53158 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
53161 .PHONY: all-stage1 clean-stage1
53162 do-clean: clean-stage1
53164 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53165 # only possibility, but now it conflicts with no-bootstrap rules
53166 @if gcc-bootstrap
53171 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53173 .PHONY: distclean-stage1
53174 distclean-stage1::
53175 @: $(MAKE); $(stage)
53176 @test "`cat stage_last`" != stage1 || rm -f stage_last
53177 rm -rf stage1-*
53180 @endif gcc-bootstrap
53183 .PHONY: stage2-start stage2-end
53185 stage2-start::
53186 @: $(MAKE); $(stage); \
53187 echo stage2 > stage_current; \
53188 echo stage2 > stage_last; \
53189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53190 @if bfd
53191 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
53192 mkdir stage2-bfd; \
53193 mv stage2-bfd bfd; \
53194 mv stage1-bfd prev-bfd || test -f stage1-lean
53195 @endif bfd
53196 @if opcodes
53197 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
53198 mkdir stage2-opcodes; \
53199 mv stage2-opcodes opcodes; \
53200 mv stage1-opcodes prev-opcodes || test -f stage1-lean
53201 @endif opcodes
53202 @if binutils
53203 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
53204 mkdir stage2-binutils; \
53205 mv stage2-binutils binutils; \
53206 mv stage1-binutils prev-binutils || test -f stage1-lean
53207 @endif binutils
53208 @if fixincludes
53209 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
53210 mkdir stage2-fixincludes; \
53211 mv stage2-fixincludes fixincludes; \
53212 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
53213 @endif fixincludes
53214 @if gas
53215 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
53216 mkdir stage2-gas; \
53217 mv stage2-gas gas; \
53218 mv stage1-gas prev-gas || test -f stage1-lean
53219 @endif gas
53220 @if gcc
53221 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
53222 mkdir stage2-gcc; \
53223 mv stage2-gcc gcc; \
53224 mv stage1-gcc prev-gcc || test -f stage1-lean
53225 @endif gcc
53226 @if gmp
53227 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
53228 mkdir stage2-gmp; \
53229 mv stage2-gmp gmp; \
53230 mv stage1-gmp prev-gmp || test -f stage1-lean
53231 @endif gmp
53232 @if mpfr
53233 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
53234 mkdir stage2-mpfr; \
53235 mv stage2-mpfr mpfr; \
53236 mv stage1-mpfr prev-mpfr || test -f stage1-lean
53237 @endif mpfr
53238 @if mpc
53239 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
53240 mkdir stage2-mpc; \
53241 mv stage2-mpc mpc; \
53242 mv stage1-mpc prev-mpc || test -f stage1-lean
53243 @endif mpc
53244 @if isl
53245 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
53246 mkdir stage2-isl; \
53247 mv stage2-isl isl; \
53248 mv stage1-isl prev-isl || test -f stage1-lean
53249 @endif isl
53250 @if libelf
53251 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
53252 mkdir stage2-libelf; \
53253 mv stage2-libelf libelf; \
53254 mv stage1-libelf prev-libelf || test -f stage1-lean
53255 @endif libelf
53256 @if gold
53257 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
53258 mkdir stage2-gold; \
53259 mv stage2-gold gold; \
53260 mv stage1-gold prev-gold || test -f stage1-lean
53261 @endif gold
53262 @if intl
53263 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
53264 mkdir stage2-intl; \
53265 mv stage2-intl intl; \
53266 mv stage1-intl prev-intl || test -f stage1-lean
53267 @endif intl
53268 @if ld
53269 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
53270 mkdir stage2-ld; \
53271 mv stage2-ld ld; \
53272 mv stage1-ld prev-ld || test -f stage1-lean
53273 @endif ld
53274 @if libbacktrace
53275 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
53276 mkdir stage2-libbacktrace; \
53277 mv stage2-libbacktrace libbacktrace; \
53278 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
53279 @endif libbacktrace
53280 @if libcpp
53281 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
53282 mkdir stage2-libcpp; \
53283 mv stage2-libcpp libcpp; \
53284 mv stage1-libcpp prev-libcpp || test -f stage1-lean
53285 @endif libcpp
53286 @if libdecnumber
53287 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
53288 mkdir stage2-libdecnumber; \
53289 mv stage2-libdecnumber libdecnumber; \
53290 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
53291 @endif libdecnumber
53292 @if libiberty
53293 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
53294 mkdir stage2-libiberty; \
53295 mv stage2-libiberty libiberty; \
53296 mv stage1-libiberty prev-libiberty || test -f stage1-lean
53297 @endif libiberty
53298 @if libiberty-linker-plugin
53299 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
53300 mkdir stage2-libiberty-linker-plugin; \
53301 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
53302 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
53303 @endif libiberty-linker-plugin
53304 @if libiconv
53305 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
53306 mkdir stage2-libiconv; \
53307 mv stage2-libiconv libiconv; \
53308 mv stage1-libiconv prev-libiconv || test -f stage1-lean
53309 @endif libiconv
53310 @if zlib
53311 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
53312 mkdir stage2-zlib; \
53313 mv stage2-zlib zlib; \
53314 mv stage1-zlib prev-zlib || test -f stage1-lean
53315 @endif zlib
53316 @if lto-plugin
53317 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
53318 mkdir stage2-lto-plugin; \
53319 mv stage2-lto-plugin lto-plugin; \
53320 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
53321 @endif lto-plugin
53322 @[ -d stage2-$(TARGET_SUBDIR) ] || \
53323 mkdir stage2-$(TARGET_SUBDIR); \
53324 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53325 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
53327 stage2-end::
53328 @if bfd
53329 @if test -d $(HOST_SUBDIR)/bfd; then \
53330 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
53331 mv prev-bfd stage1-bfd; : ; \
53333 @endif bfd
53334 @if opcodes
53335 @if test -d $(HOST_SUBDIR)/opcodes; then \
53336 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
53337 mv prev-opcodes stage1-opcodes; : ; \
53339 @endif opcodes
53340 @if binutils
53341 @if test -d $(HOST_SUBDIR)/binutils; then \
53342 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
53343 mv prev-binutils stage1-binutils; : ; \
53345 @endif binutils
53346 @if fixincludes
53347 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53348 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
53349 mv prev-fixincludes stage1-fixincludes; : ; \
53351 @endif fixincludes
53352 @if gas
53353 @if test -d $(HOST_SUBDIR)/gas; then \
53354 cd $(HOST_SUBDIR); mv gas stage2-gas; \
53355 mv prev-gas stage1-gas; : ; \
53357 @endif gas
53358 @if gcc
53359 @if test -d $(HOST_SUBDIR)/gcc; then \
53360 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
53361 mv prev-gcc stage1-gcc; : ; \
53363 @endif gcc
53364 @if gmp
53365 @if test -d $(HOST_SUBDIR)/gmp; then \
53366 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
53367 mv prev-gmp stage1-gmp; : ; \
53369 @endif gmp
53370 @if mpfr
53371 @if test -d $(HOST_SUBDIR)/mpfr; then \
53372 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
53373 mv prev-mpfr stage1-mpfr; : ; \
53375 @endif mpfr
53376 @if mpc
53377 @if test -d $(HOST_SUBDIR)/mpc; then \
53378 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
53379 mv prev-mpc stage1-mpc; : ; \
53381 @endif mpc
53382 @if isl
53383 @if test -d $(HOST_SUBDIR)/isl; then \
53384 cd $(HOST_SUBDIR); mv isl stage2-isl; \
53385 mv prev-isl stage1-isl; : ; \
53387 @endif isl
53388 @if libelf
53389 @if test -d $(HOST_SUBDIR)/libelf; then \
53390 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
53391 mv prev-libelf stage1-libelf; : ; \
53393 @endif libelf
53394 @if gold
53395 @if test -d $(HOST_SUBDIR)/gold; then \
53396 cd $(HOST_SUBDIR); mv gold stage2-gold; \
53397 mv prev-gold stage1-gold; : ; \
53399 @endif gold
53400 @if intl
53401 @if test -d $(HOST_SUBDIR)/intl; then \
53402 cd $(HOST_SUBDIR); mv intl stage2-intl; \
53403 mv prev-intl stage1-intl; : ; \
53405 @endif intl
53406 @if ld
53407 @if test -d $(HOST_SUBDIR)/ld; then \
53408 cd $(HOST_SUBDIR); mv ld stage2-ld; \
53409 mv prev-ld stage1-ld; : ; \
53411 @endif ld
53412 @if libbacktrace
53413 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53414 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
53415 mv prev-libbacktrace stage1-libbacktrace; : ; \
53417 @endif libbacktrace
53418 @if libcpp
53419 @if test -d $(HOST_SUBDIR)/libcpp; then \
53420 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
53421 mv prev-libcpp stage1-libcpp; : ; \
53423 @endif libcpp
53424 @if libdecnumber
53425 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53426 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
53427 mv prev-libdecnumber stage1-libdecnumber; : ; \
53429 @endif libdecnumber
53430 @if libiberty
53431 @if test -d $(HOST_SUBDIR)/libiberty; then \
53432 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
53433 mv prev-libiberty stage1-libiberty; : ; \
53435 @endif libiberty
53436 @if libiberty-linker-plugin
53437 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53438 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
53439 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
53441 @endif libiberty-linker-plugin
53442 @if libiconv
53443 @if test -d $(HOST_SUBDIR)/libiconv; then \
53444 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
53445 mv prev-libiconv stage1-libiconv; : ; \
53447 @endif libiconv
53448 @if zlib
53449 @if test -d $(HOST_SUBDIR)/zlib; then \
53450 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
53451 mv prev-zlib stage1-zlib; : ; \
53453 @endif zlib
53454 @if lto-plugin
53455 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53456 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
53457 mv prev-lto-plugin stage1-lto-plugin; : ; \
53459 @endif lto-plugin
53460 @if test -d $(TARGET_SUBDIR); then \
53461 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
53462 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
53464 rm -f stage_current
53466 # Bubble a bug fix through all the stages up to stage 2. They are
53467 # remade, but not reconfigured. The next stage (if any) will not be
53468 # reconfigured either.
53469 .PHONY: stage2-bubble
53470 stage2-bubble:: stage1-bubble
53471 @r=`${PWD_COMMAND}`; export r; \
53472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53473 if test -f stage2-lean || test -f stage1-lean ; then \
53474 echo Skipping rebuild of stage2; \
53475 else \
53476 $(MAKE) stage2-start; \
53477 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
53480 .PHONY: all-stage2 clean-stage2
53481 do-clean: clean-stage2
53483 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53484 # only possibility, but now it conflicts with no-bootstrap rules
53485 @if gcc-bootstrap
53489 .PHONY: bootstrap2 bootstrap2-lean
53490 bootstrap2:
53491 echo stage2 > stage_final
53492 @r=`${PWD_COMMAND}`; export r; \
53493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53494 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
53495 @: $(MAKE); $(unstage)
53496 @r=`${PWD_COMMAND}`; export r; \
53497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53498 TFLAGS="$(STAGE2_TFLAGS)"; \
53499 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53501 bootstrap2-lean:
53502 echo stage2 > stage_final
53503 @r=`${PWD_COMMAND}`; export r; \
53504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53505 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
53506 @: $(MAKE); $(unstage)
53507 @r=`${PWD_COMMAND}`; export r; \
53508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53509 TFLAGS="$(STAGE2_TFLAGS)"; \
53510 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53513 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53514 distclean-stage1:: distclean-stage2
53515 .PHONY: distclean-stage2
53516 distclean-stage2::
53517 @: $(MAKE); $(stage)
53518 @test "`cat stage_last`" != stage2 || rm -f stage_last
53519 rm -rf stage2-*
53522 @endif gcc-bootstrap
53525 .PHONY: stage3-start stage3-end
53527 stage3-start::
53528 @: $(MAKE); $(stage); \
53529 echo stage3 > stage_current; \
53530 echo stage3 > stage_last; \
53531 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53532 @if bfd
53533 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
53534 mkdir stage3-bfd; \
53535 mv stage3-bfd bfd; \
53536 mv stage2-bfd prev-bfd || test -f stage2-lean
53537 @endif bfd
53538 @if opcodes
53539 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
53540 mkdir stage3-opcodes; \
53541 mv stage3-opcodes opcodes; \
53542 mv stage2-opcodes prev-opcodes || test -f stage2-lean
53543 @endif opcodes
53544 @if binutils
53545 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
53546 mkdir stage3-binutils; \
53547 mv stage3-binutils binutils; \
53548 mv stage2-binutils prev-binutils || test -f stage2-lean
53549 @endif binutils
53550 @if fixincludes
53551 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
53552 mkdir stage3-fixincludes; \
53553 mv stage3-fixincludes fixincludes; \
53554 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
53555 @endif fixincludes
53556 @if gas
53557 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
53558 mkdir stage3-gas; \
53559 mv stage3-gas gas; \
53560 mv stage2-gas prev-gas || test -f stage2-lean
53561 @endif gas
53562 @if gcc
53563 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
53564 mkdir stage3-gcc; \
53565 mv stage3-gcc gcc; \
53566 mv stage2-gcc prev-gcc || test -f stage2-lean
53567 @endif gcc
53568 @if gmp
53569 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
53570 mkdir stage3-gmp; \
53571 mv stage3-gmp gmp; \
53572 mv stage2-gmp prev-gmp || test -f stage2-lean
53573 @endif gmp
53574 @if mpfr
53575 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
53576 mkdir stage3-mpfr; \
53577 mv stage3-mpfr mpfr; \
53578 mv stage2-mpfr prev-mpfr || test -f stage2-lean
53579 @endif mpfr
53580 @if mpc
53581 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
53582 mkdir stage3-mpc; \
53583 mv stage3-mpc mpc; \
53584 mv stage2-mpc prev-mpc || test -f stage2-lean
53585 @endif mpc
53586 @if isl
53587 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
53588 mkdir stage3-isl; \
53589 mv stage3-isl isl; \
53590 mv stage2-isl prev-isl || test -f stage2-lean
53591 @endif isl
53592 @if libelf
53593 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
53594 mkdir stage3-libelf; \
53595 mv stage3-libelf libelf; \
53596 mv stage2-libelf prev-libelf || test -f stage2-lean
53597 @endif libelf
53598 @if gold
53599 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
53600 mkdir stage3-gold; \
53601 mv stage3-gold gold; \
53602 mv stage2-gold prev-gold || test -f stage2-lean
53603 @endif gold
53604 @if intl
53605 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
53606 mkdir stage3-intl; \
53607 mv stage3-intl intl; \
53608 mv stage2-intl prev-intl || test -f stage2-lean
53609 @endif intl
53610 @if ld
53611 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
53612 mkdir stage3-ld; \
53613 mv stage3-ld ld; \
53614 mv stage2-ld prev-ld || test -f stage2-lean
53615 @endif ld
53616 @if libbacktrace
53617 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
53618 mkdir stage3-libbacktrace; \
53619 mv stage3-libbacktrace libbacktrace; \
53620 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
53621 @endif libbacktrace
53622 @if libcpp
53623 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
53624 mkdir stage3-libcpp; \
53625 mv stage3-libcpp libcpp; \
53626 mv stage2-libcpp prev-libcpp || test -f stage2-lean
53627 @endif libcpp
53628 @if libdecnumber
53629 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
53630 mkdir stage3-libdecnumber; \
53631 mv stage3-libdecnumber libdecnumber; \
53632 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
53633 @endif libdecnumber
53634 @if libiberty
53635 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
53636 mkdir stage3-libiberty; \
53637 mv stage3-libiberty libiberty; \
53638 mv stage2-libiberty prev-libiberty || test -f stage2-lean
53639 @endif libiberty
53640 @if libiberty-linker-plugin
53641 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
53642 mkdir stage3-libiberty-linker-plugin; \
53643 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
53644 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
53645 @endif libiberty-linker-plugin
53646 @if libiconv
53647 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
53648 mkdir stage3-libiconv; \
53649 mv stage3-libiconv libiconv; \
53650 mv stage2-libiconv prev-libiconv || test -f stage2-lean
53651 @endif libiconv
53652 @if zlib
53653 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
53654 mkdir stage3-zlib; \
53655 mv stage3-zlib zlib; \
53656 mv stage2-zlib prev-zlib || test -f stage2-lean
53657 @endif zlib
53658 @if lto-plugin
53659 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
53660 mkdir stage3-lto-plugin; \
53661 mv stage3-lto-plugin lto-plugin; \
53662 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
53663 @endif lto-plugin
53664 @[ -d stage3-$(TARGET_SUBDIR) ] || \
53665 mkdir stage3-$(TARGET_SUBDIR); \
53666 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
53667 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
53669 stage3-end::
53670 @if bfd
53671 @if test -d $(HOST_SUBDIR)/bfd; then \
53672 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
53673 mv prev-bfd stage2-bfd; : ; \
53675 @endif bfd
53676 @if opcodes
53677 @if test -d $(HOST_SUBDIR)/opcodes; then \
53678 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
53679 mv prev-opcodes stage2-opcodes; : ; \
53681 @endif opcodes
53682 @if binutils
53683 @if test -d $(HOST_SUBDIR)/binutils; then \
53684 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
53685 mv prev-binutils stage2-binutils; : ; \
53687 @endif binutils
53688 @if fixincludes
53689 @if test -d $(HOST_SUBDIR)/fixincludes; then \
53690 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
53691 mv prev-fixincludes stage2-fixincludes; : ; \
53693 @endif fixincludes
53694 @if gas
53695 @if test -d $(HOST_SUBDIR)/gas; then \
53696 cd $(HOST_SUBDIR); mv gas stage3-gas; \
53697 mv prev-gas stage2-gas; : ; \
53699 @endif gas
53700 @if gcc
53701 @if test -d $(HOST_SUBDIR)/gcc; then \
53702 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
53703 mv prev-gcc stage2-gcc; : ; \
53705 @endif gcc
53706 @if gmp
53707 @if test -d $(HOST_SUBDIR)/gmp; then \
53708 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
53709 mv prev-gmp stage2-gmp; : ; \
53711 @endif gmp
53712 @if mpfr
53713 @if test -d $(HOST_SUBDIR)/mpfr; then \
53714 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
53715 mv prev-mpfr stage2-mpfr; : ; \
53717 @endif mpfr
53718 @if mpc
53719 @if test -d $(HOST_SUBDIR)/mpc; then \
53720 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
53721 mv prev-mpc stage2-mpc; : ; \
53723 @endif mpc
53724 @if isl
53725 @if test -d $(HOST_SUBDIR)/isl; then \
53726 cd $(HOST_SUBDIR); mv isl stage3-isl; \
53727 mv prev-isl stage2-isl; : ; \
53729 @endif isl
53730 @if libelf
53731 @if test -d $(HOST_SUBDIR)/libelf; then \
53732 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
53733 mv prev-libelf stage2-libelf; : ; \
53735 @endif libelf
53736 @if gold
53737 @if test -d $(HOST_SUBDIR)/gold; then \
53738 cd $(HOST_SUBDIR); mv gold stage3-gold; \
53739 mv prev-gold stage2-gold; : ; \
53741 @endif gold
53742 @if intl
53743 @if test -d $(HOST_SUBDIR)/intl; then \
53744 cd $(HOST_SUBDIR); mv intl stage3-intl; \
53745 mv prev-intl stage2-intl; : ; \
53747 @endif intl
53748 @if ld
53749 @if test -d $(HOST_SUBDIR)/ld; then \
53750 cd $(HOST_SUBDIR); mv ld stage3-ld; \
53751 mv prev-ld stage2-ld; : ; \
53753 @endif ld
53754 @if libbacktrace
53755 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
53756 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
53757 mv prev-libbacktrace stage2-libbacktrace; : ; \
53759 @endif libbacktrace
53760 @if libcpp
53761 @if test -d $(HOST_SUBDIR)/libcpp; then \
53762 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
53763 mv prev-libcpp stage2-libcpp; : ; \
53765 @endif libcpp
53766 @if libdecnumber
53767 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
53768 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
53769 mv prev-libdecnumber stage2-libdecnumber; : ; \
53771 @endif libdecnumber
53772 @if libiberty
53773 @if test -d $(HOST_SUBDIR)/libiberty; then \
53774 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
53775 mv prev-libiberty stage2-libiberty; : ; \
53777 @endif libiberty
53778 @if libiberty-linker-plugin
53779 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
53780 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
53781 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
53783 @endif libiberty-linker-plugin
53784 @if libiconv
53785 @if test -d $(HOST_SUBDIR)/libiconv; then \
53786 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
53787 mv prev-libiconv stage2-libiconv; : ; \
53789 @endif libiconv
53790 @if zlib
53791 @if test -d $(HOST_SUBDIR)/zlib; then \
53792 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
53793 mv prev-zlib stage2-zlib; : ; \
53795 @endif zlib
53796 @if lto-plugin
53797 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
53798 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
53799 mv prev-lto-plugin stage2-lto-plugin; : ; \
53801 @endif lto-plugin
53802 @if test -d $(TARGET_SUBDIR); then \
53803 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
53804 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
53806 rm -f stage_current
53808 # Bubble a bug fix through all the stages up to stage 3. They are
53809 # remade, but not reconfigured. The next stage (if any) will not be
53810 # reconfigured either.
53811 .PHONY: stage3-bubble
53812 stage3-bubble:: stage2-bubble
53813 @r=`${PWD_COMMAND}`; export r; \
53814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53815 if test -f stage3-lean || test -f stage2-lean ; then \
53816 echo Skipping rebuild of stage3; \
53817 else \
53818 $(MAKE) stage3-start; \
53819 if $(LEAN); then \
53820 rm -rf stage1-*; \
53821 $(STAMP) stage1-lean; \
53822 fi; \
53823 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
53825 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
53827 .PHONY: all-stage3 clean-stage3
53828 do-clean: clean-stage3
53830 # FIXME: Will not need to be conditional when toplevel bootstrap is the
53831 # only possibility, but now it conflicts with no-bootstrap rules
53832 @if gcc-bootstrap
53834 compare:
53835 @r=`${PWD_COMMAND}`; export r; \
53836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53837 if test -f stage2-lean; then \
53838 echo Cannot compare object files as stage 2 was deleted.; \
53839 exit 0; \
53840 fi; \
53841 : $(MAKE); $(stage); \
53842 rm -f .bad_compare; \
53843 echo Comparing stages 2 and 3; \
53844 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
53845 files=`find stage3-* -name "*$(objext)" -print | \
53846 sed -n s,^stage$$sed-,,p`; \
53847 for file in $${files}; do \
53848 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
53849 if test ! -f $$f1; then continue; fi; \
53850 $(do-compare) > /dev/null 2>&1; \
53851 if test $$? -eq 1; then \
53852 case $$file in \
53853 @compare_exclusions@) \
53854 echo warning: $$file differs ;; \
53855 *) \
53856 echo $$file differs >> .bad_compare ;; \
53857 esac; \
53858 fi; \
53859 done; \
53860 if [ -f .bad_compare ]; then \
53861 echo "Bootstrap comparison failure!"; \
53862 cat .bad_compare; \
53863 exit 1; \
53864 else \
53865 echo Comparison successful.; \
53866 fi; \
53867 $(STAMP) compare
53868 if $(LEAN); then \
53869 rm -rf stage2-*; \
53870 $(STAMP) stage2-lean; \
53875 .PHONY: bootstrap bootstrap-lean
53876 bootstrap:
53877 echo stage3 > stage_final
53878 @r=`${PWD_COMMAND}`; export r; \
53879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53880 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
53881 @: $(MAKE); $(unstage)
53882 @r=`${PWD_COMMAND}`; export r; \
53883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53884 TFLAGS="$(STAGE3_TFLAGS)"; \
53885 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53887 bootstrap-lean:
53888 echo stage3 > stage_final
53889 @r=`${PWD_COMMAND}`; export r; \
53890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53891 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
53892 @: $(MAKE); $(unstage)
53893 @r=`${PWD_COMMAND}`; export r; \
53894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53895 TFLAGS="$(STAGE3_TFLAGS)"; \
53896 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53899 # Rules to wipe a stage and all the following ones, also used for cleanstrap
53900 distclean-stage2:: distclean-stage3
53901 .PHONY: distclean-stage3
53902 distclean-stage3::
53903 @: $(MAKE); $(stage)
53904 @test "`cat stage_last`" != stage3 || rm -f stage_last
53905 rm -rf stage3-* compare
53908 .PHONY: cleanstrap
53909 cleanstrap: do-distclean local-clean
53910 echo stage3 > stage_final
53911 @r=`${PWD_COMMAND}`; export r; \
53912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53913 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
53914 @: $(MAKE); $(unstage)
53915 @r=`${PWD_COMMAND}`; export r; \
53916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53917 TFLAGS="$(STAGE3_TFLAGS)"; \
53918 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
53920 @endif gcc-bootstrap
53923 .PHONY: stage4-start stage4-end
53925 stage4-start::
53926 @: $(MAKE); $(stage); \
53927 echo stage4 > stage_current; \
53928 echo stage4 > stage_last; \
53929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
53930 @if bfd
53931 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
53932 mkdir stage4-bfd; \
53933 mv stage4-bfd bfd; \
53934 mv stage3-bfd prev-bfd || test -f stage3-lean
53935 @endif bfd
53936 @if opcodes
53937 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
53938 mkdir stage4-opcodes; \
53939 mv stage4-opcodes opcodes; \
53940 mv stage3-opcodes prev-opcodes || test -f stage3-lean
53941 @endif opcodes
53942 @if binutils
53943 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
53944 mkdir stage4-binutils; \
53945 mv stage4-binutils binutils; \
53946 mv stage3-binutils prev-binutils || test -f stage3-lean
53947 @endif binutils
53948 @if fixincludes
53949 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
53950 mkdir stage4-fixincludes; \
53951 mv stage4-fixincludes fixincludes; \
53952 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
53953 @endif fixincludes
53954 @if gas
53955 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
53956 mkdir stage4-gas; \
53957 mv stage4-gas gas; \
53958 mv stage3-gas prev-gas || test -f stage3-lean
53959 @endif gas
53960 @if gcc
53961 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
53962 mkdir stage4-gcc; \
53963 mv stage4-gcc gcc; \
53964 mv stage3-gcc prev-gcc || test -f stage3-lean
53965 @endif gcc
53966 @if gmp
53967 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
53968 mkdir stage4-gmp; \
53969 mv stage4-gmp gmp; \
53970 mv stage3-gmp prev-gmp || test -f stage3-lean
53971 @endif gmp
53972 @if mpfr
53973 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
53974 mkdir stage4-mpfr; \
53975 mv stage4-mpfr mpfr; \
53976 mv stage3-mpfr prev-mpfr || test -f stage3-lean
53977 @endif mpfr
53978 @if mpc
53979 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
53980 mkdir stage4-mpc; \
53981 mv stage4-mpc mpc; \
53982 mv stage3-mpc prev-mpc || test -f stage3-lean
53983 @endif mpc
53984 @if isl
53985 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
53986 mkdir stage4-isl; \
53987 mv stage4-isl isl; \
53988 mv stage3-isl prev-isl || test -f stage3-lean
53989 @endif isl
53990 @if libelf
53991 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
53992 mkdir stage4-libelf; \
53993 mv stage4-libelf libelf; \
53994 mv stage3-libelf prev-libelf || test -f stage3-lean
53995 @endif libelf
53996 @if gold
53997 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
53998 mkdir stage4-gold; \
53999 mv stage4-gold gold; \
54000 mv stage3-gold prev-gold || test -f stage3-lean
54001 @endif gold
54002 @if intl
54003 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
54004 mkdir stage4-intl; \
54005 mv stage4-intl intl; \
54006 mv stage3-intl prev-intl || test -f stage3-lean
54007 @endif intl
54008 @if ld
54009 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
54010 mkdir stage4-ld; \
54011 mv stage4-ld ld; \
54012 mv stage3-ld prev-ld || test -f stage3-lean
54013 @endif ld
54014 @if libbacktrace
54015 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
54016 mkdir stage4-libbacktrace; \
54017 mv stage4-libbacktrace libbacktrace; \
54018 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
54019 @endif libbacktrace
54020 @if libcpp
54021 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
54022 mkdir stage4-libcpp; \
54023 mv stage4-libcpp libcpp; \
54024 mv stage3-libcpp prev-libcpp || test -f stage3-lean
54025 @endif libcpp
54026 @if libdecnumber
54027 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
54028 mkdir stage4-libdecnumber; \
54029 mv stage4-libdecnumber libdecnumber; \
54030 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
54031 @endif libdecnumber
54032 @if libiberty
54033 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
54034 mkdir stage4-libiberty; \
54035 mv stage4-libiberty libiberty; \
54036 mv stage3-libiberty prev-libiberty || test -f stage3-lean
54037 @endif libiberty
54038 @if libiberty-linker-plugin
54039 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
54040 mkdir stage4-libiberty-linker-plugin; \
54041 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
54042 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
54043 @endif libiberty-linker-plugin
54044 @if libiconv
54045 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
54046 mkdir stage4-libiconv; \
54047 mv stage4-libiconv libiconv; \
54048 mv stage3-libiconv prev-libiconv || test -f stage3-lean
54049 @endif libiconv
54050 @if zlib
54051 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
54052 mkdir stage4-zlib; \
54053 mv stage4-zlib zlib; \
54054 mv stage3-zlib prev-zlib || test -f stage3-lean
54055 @endif zlib
54056 @if lto-plugin
54057 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
54058 mkdir stage4-lto-plugin; \
54059 mv stage4-lto-plugin lto-plugin; \
54060 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
54061 @endif lto-plugin
54062 @[ -d stage4-$(TARGET_SUBDIR) ] || \
54063 mkdir stage4-$(TARGET_SUBDIR); \
54064 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54065 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
54067 stage4-end::
54068 @if bfd
54069 @if test -d $(HOST_SUBDIR)/bfd; then \
54070 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
54071 mv prev-bfd stage3-bfd; : ; \
54073 @endif bfd
54074 @if opcodes
54075 @if test -d $(HOST_SUBDIR)/opcodes; then \
54076 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
54077 mv prev-opcodes stage3-opcodes; : ; \
54079 @endif opcodes
54080 @if binutils
54081 @if test -d $(HOST_SUBDIR)/binutils; then \
54082 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
54083 mv prev-binutils stage3-binutils; : ; \
54085 @endif binutils
54086 @if fixincludes
54087 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54088 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
54089 mv prev-fixincludes stage3-fixincludes; : ; \
54091 @endif fixincludes
54092 @if gas
54093 @if test -d $(HOST_SUBDIR)/gas; then \
54094 cd $(HOST_SUBDIR); mv gas stage4-gas; \
54095 mv prev-gas stage3-gas; : ; \
54097 @endif gas
54098 @if gcc
54099 @if test -d $(HOST_SUBDIR)/gcc; then \
54100 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
54101 mv prev-gcc stage3-gcc; : ; \
54103 @endif gcc
54104 @if gmp
54105 @if test -d $(HOST_SUBDIR)/gmp; then \
54106 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
54107 mv prev-gmp stage3-gmp; : ; \
54109 @endif gmp
54110 @if mpfr
54111 @if test -d $(HOST_SUBDIR)/mpfr; then \
54112 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
54113 mv prev-mpfr stage3-mpfr; : ; \
54115 @endif mpfr
54116 @if mpc
54117 @if test -d $(HOST_SUBDIR)/mpc; then \
54118 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
54119 mv prev-mpc stage3-mpc; : ; \
54121 @endif mpc
54122 @if isl
54123 @if test -d $(HOST_SUBDIR)/isl; then \
54124 cd $(HOST_SUBDIR); mv isl stage4-isl; \
54125 mv prev-isl stage3-isl; : ; \
54127 @endif isl
54128 @if libelf
54129 @if test -d $(HOST_SUBDIR)/libelf; then \
54130 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
54131 mv prev-libelf stage3-libelf; : ; \
54133 @endif libelf
54134 @if gold
54135 @if test -d $(HOST_SUBDIR)/gold; then \
54136 cd $(HOST_SUBDIR); mv gold stage4-gold; \
54137 mv prev-gold stage3-gold; : ; \
54139 @endif gold
54140 @if intl
54141 @if test -d $(HOST_SUBDIR)/intl; then \
54142 cd $(HOST_SUBDIR); mv intl stage4-intl; \
54143 mv prev-intl stage3-intl; : ; \
54145 @endif intl
54146 @if ld
54147 @if test -d $(HOST_SUBDIR)/ld; then \
54148 cd $(HOST_SUBDIR); mv ld stage4-ld; \
54149 mv prev-ld stage3-ld; : ; \
54151 @endif ld
54152 @if libbacktrace
54153 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54154 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
54155 mv prev-libbacktrace stage3-libbacktrace; : ; \
54157 @endif libbacktrace
54158 @if libcpp
54159 @if test -d $(HOST_SUBDIR)/libcpp; then \
54160 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
54161 mv prev-libcpp stage3-libcpp; : ; \
54163 @endif libcpp
54164 @if libdecnumber
54165 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54166 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
54167 mv prev-libdecnumber stage3-libdecnumber; : ; \
54169 @endif libdecnumber
54170 @if libiberty
54171 @if test -d $(HOST_SUBDIR)/libiberty; then \
54172 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
54173 mv prev-libiberty stage3-libiberty; : ; \
54175 @endif libiberty
54176 @if libiberty-linker-plugin
54177 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54178 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
54179 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
54181 @endif libiberty-linker-plugin
54182 @if libiconv
54183 @if test -d $(HOST_SUBDIR)/libiconv; then \
54184 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
54185 mv prev-libiconv stage3-libiconv; : ; \
54187 @endif libiconv
54188 @if zlib
54189 @if test -d $(HOST_SUBDIR)/zlib; then \
54190 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
54191 mv prev-zlib stage3-zlib; : ; \
54193 @endif zlib
54194 @if lto-plugin
54195 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54196 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
54197 mv prev-lto-plugin stage3-lto-plugin; : ; \
54199 @endif lto-plugin
54200 @if test -d $(TARGET_SUBDIR); then \
54201 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
54202 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
54204 rm -f stage_current
54206 # Bubble a bug fix through all the stages up to stage 4. They are
54207 # remade, but not reconfigured. The next stage (if any) will not be
54208 # reconfigured either.
54209 .PHONY: stage4-bubble
54210 stage4-bubble:: stage3-bubble
54211 @r=`${PWD_COMMAND}`; export r; \
54212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54213 if test -f stage4-lean || test -f stage3-lean ; then \
54214 echo Skipping rebuild of stage4; \
54215 else \
54216 $(MAKE) stage4-start; \
54217 if $(LEAN); then \
54218 rm -rf stage2-*; \
54219 $(STAMP) stage2-lean; \
54220 fi; \
54221 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
54223 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
54225 .PHONY: all-stage4 clean-stage4
54226 do-clean: clean-stage4
54228 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54229 # only possibility, but now it conflicts with no-bootstrap rules
54230 @if gcc-bootstrap
54232 compare3:
54233 @r=`${PWD_COMMAND}`; export r; \
54234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54235 if test -f stage3-lean; then \
54236 echo Cannot compare object files as stage 3 was deleted.; \
54237 exit 0; \
54238 fi; \
54239 : $(MAKE); $(stage); \
54240 rm -f .bad_compare; \
54241 echo Comparing stages 3 and 4; \
54242 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
54243 files=`find stage4-* -name "*$(objext)" -print | \
54244 sed -n s,^stage$$sed-,,p`; \
54245 for file in $${files}; do \
54246 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
54247 if test ! -f $$f1; then continue; fi; \
54248 $(do-compare3) > /dev/null 2>&1; \
54249 if test $$? -eq 1; then \
54250 case $$file in \
54251 @compare_exclusions@) \
54252 echo warning: $$file differs ;; \
54253 *) \
54254 echo $$file differs >> .bad_compare ;; \
54255 esac; \
54256 fi; \
54257 done; \
54258 if [ -f .bad_compare ]; then \
54259 echo "Bootstrap comparison failure!"; \
54260 cat .bad_compare; \
54261 exit 1; \
54262 else \
54263 echo Comparison successful.; \
54264 fi; \
54265 $(STAMP) compare3
54266 if $(LEAN); then \
54267 rm -rf stage3-*; \
54268 $(STAMP) stage3-lean; \
54273 .PHONY: bootstrap4 bootstrap4-lean
54274 bootstrap4:
54275 echo stage4 > stage_final
54276 @r=`${PWD_COMMAND}`; export r; \
54277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54278 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
54279 @: $(MAKE); $(unstage)
54280 @r=`${PWD_COMMAND}`; export r; \
54281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54282 TFLAGS="$(STAGE4_TFLAGS)"; \
54283 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54285 bootstrap4-lean:
54286 echo stage4 > stage_final
54287 @r=`${PWD_COMMAND}`; export r; \
54288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54289 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
54290 @: $(MAKE); $(unstage)
54291 @r=`${PWD_COMMAND}`; export r; \
54292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54293 TFLAGS="$(STAGE4_TFLAGS)"; \
54294 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
54297 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54298 distclean-stage3:: distclean-stage4
54299 .PHONY: distclean-stage4
54300 distclean-stage4::
54301 @: $(MAKE); $(stage)
54302 @test "`cat stage_last`" != stage4 || rm -f stage_last
54303 rm -rf stage4-* compare3
54306 @endif gcc-bootstrap
54309 .PHONY: stageprofile-start stageprofile-end
54311 stageprofile-start::
54312 @: $(MAKE); $(stage); \
54313 echo stageprofile > stage_current; \
54314 echo stageprofile > stage_last; \
54315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54316 @if bfd
54317 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
54318 mkdir stageprofile-bfd; \
54319 mv stageprofile-bfd bfd; \
54320 mv stage1-bfd prev-bfd || test -f stage1-lean
54321 @endif bfd
54322 @if opcodes
54323 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
54324 mkdir stageprofile-opcodes; \
54325 mv stageprofile-opcodes opcodes; \
54326 mv stage1-opcodes prev-opcodes || test -f stage1-lean
54327 @endif opcodes
54328 @if binutils
54329 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
54330 mkdir stageprofile-binutils; \
54331 mv stageprofile-binutils binutils; \
54332 mv stage1-binutils prev-binutils || test -f stage1-lean
54333 @endif binutils
54334 @if fixincludes
54335 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
54336 mkdir stageprofile-fixincludes; \
54337 mv stageprofile-fixincludes fixincludes; \
54338 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
54339 @endif fixincludes
54340 @if gas
54341 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
54342 mkdir stageprofile-gas; \
54343 mv stageprofile-gas gas; \
54344 mv stage1-gas prev-gas || test -f stage1-lean
54345 @endif gas
54346 @if gcc
54347 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
54348 mkdir stageprofile-gcc; \
54349 mv stageprofile-gcc gcc; \
54350 mv stage1-gcc prev-gcc || test -f stage1-lean
54351 @endif gcc
54352 @if gmp
54353 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
54354 mkdir stageprofile-gmp; \
54355 mv stageprofile-gmp gmp; \
54356 mv stage1-gmp prev-gmp || test -f stage1-lean
54357 @endif gmp
54358 @if mpfr
54359 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
54360 mkdir stageprofile-mpfr; \
54361 mv stageprofile-mpfr mpfr; \
54362 mv stage1-mpfr prev-mpfr || test -f stage1-lean
54363 @endif mpfr
54364 @if mpc
54365 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
54366 mkdir stageprofile-mpc; \
54367 mv stageprofile-mpc mpc; \
54368 mv stage1-mpc prev-mpc || test -f stage1-lean
54369 @endif mpc
54370 @if isl
54371 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
54372 mkdir stageprofile-isl; \
54373 mv stageprofile-isl isl; \
54374 mv stage1-isl prev-isl || test -f stage1-lean
54375 @endif isl
54376 @if libelf
54377 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
54378 mkdir stageprofile-libelf; \
54379 mv stageprofile-libelf libelf; \
54380 mv stage1-libelf prev-libelf || test -f stage1-lean
54381 @endif libelf
54382 @if gold
54383 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
54384 mkdir stageprofile-gold; \
54385 mv stageprofile-gold gold; \
54386 mv stage1-gold prev-gold || test -f stage1-lean
54387 @endif gold
54388 @if intl
54389 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
54390 mkdir stageprofile-intl; \
54391 mv stageprofile-intl intl; \
54392 mv stage1-intl prev-intl || test -f stage1-lean
54393 @endif intl
54394 @if ld
54395 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
54396 mkdir stageprofile-ld; \
54397 mv stageprofile-ld ld; \
54398 mv stage1-ld prev-ld || test -f stage1-lean
54399 @endif ld
54400 @if libbacktrace
54401 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
54402 mkdir stageprofile-libbacktrace; \
54403 mv stageprofile-libbacktrace libbacktrace; \
54404 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
54405 @endif libbacktrace
54406 @if libcpp
54407 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
54408 mkdir stageprofile-libcpp; \
54409 mv stageprofile-libcpp libcpp; \
54410 mv stage1-libcpp prev-libcpp || test -f stage1-lean
54411 @endif libcpp
54412 @if libdecnumber
54413 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
54414 mkdir stageprofile-libdecnumber; \
54415 mv stageprofile-libdecnumber libdecnumber; \
54416 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
54417 @endif libdecnumber
54418 @if libiberty
54419 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
54420 mkdir stageprofile-libiberty; \
54421 mv stageprofile-libiberty libiberty; \
54422 mv stage1-libiberty prev-libiberty || test -f stage1-lean
54423 @endif libiberty
54424 @if libiberty-linker-plugin
54425 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
54426 mkdir stageprofile-libiberty-linker-plugin; \
54427 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
54428 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
54429 @endif libiberty-linker-plugin
54430 @if libiconv
54431 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
54432 mkdir stageprofile-libiconv; \
54433 mv stageprofile-libiconv libiconv; \
54434 mv stage1-libiconv prev-libiconv || test -f stage1-lean
54435 @endif libiconv
54436 @if zlib
54437 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
54438 mkdir stageprofile-zlib; \
54439 mv stageprofile-zlib zlib; \
54440 mv stage1-zlib prev-zlib || test -f stage1-lean
54441 @endif zlib
54442 @if lto-plugin
54443 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
54444 mkdir stageprofile-lto-plugin; \
54445 mv stageprofile-lto-plugin lto-plugin; \
54446 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
54447 @endif lto-plugin
54448 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
54449 mkdir stageprofile-$(TARGET_SUBDIR); \
54450 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54451 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
54453 stageprofile-end::
54454 @if bfd
54455 @if test -d $(HOST_SUBDIR)/bfd; then \
54456 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
54457 mv prev-bfd stage1-bfd; : ; \
54459 @endif bfd
54460 @if opcodes
54461 @if test -d $(HOST_SUBDIR)/opcodes; then \
54462 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
54463 mv prev-opcodes stage1-opcodes; : ; \
54465 @endif opcodes
54466 @if binutils
54467 @if test -d $(HOST_SUBDIR)/binutils; then \
54468 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
54469 mv prev-binutils stage1-binutils; : ; \
54471 @endif binutils
54472 @if fixincludes
54473 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54474 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
54475 mv prev-fixincludes stage1-fixincludes; : ; \
54477 @endif fixincludes
54478 @if gas
54479 @if test -d $(HOST_SUBDIR)/gas; then \
54480 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
54481 mv prev-gas stage1-gas; : ; \
54483 @endif gas
54484 @if gcc
54485 @if test -d $(HOST_SUBDIR)/gcc; then \
54486 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
54487 mv prev-gcc stage1-gcc; : ; \
54489 @endif gcc
54490 @if gmp
54491 @if test -d $(HOST_SUBDIR)/gmp; then \
54492 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
54493 mv prev-gmp stage1-gmp; : ; \
54495 @endif gmp
54496 @if mpfr
54497 @if test -d $(HOST_SUBDIR)/mpfr; then \
54498 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
54499 mv prev-mpfr stage1-mpfr; : ; \
54501 @endif mpfr
54502 @if mpc
54503 @if test -d $(HOST_SUBDIR)/mpc; then \
54504 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
54505 mv prev-mpc stage1-mpc; : ; \
54507 @endif mpc
54508 @if isl
54509 @if test -d $(HOST_SUBDIR)/isl; then \
54510 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
54511 mv prev-isl stage1-isl; : ; \
54513 @endif isl
54514 @if libelf
54515 @if test -d $(HOST_SUBDIR)/libelf; then \
54516 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
54517 mv prev-libelf stage1-libelf; : ; \
54519 @endif libelf
54520 @if gold
54521 @if test -d $(HOST_SUBDIR)/gold; then \
54522 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
54523 mv prev-gold stage1-gold; : ; \
54525 @endif gold
54526 @if intl
54527 @if test -d $(HOST_SUBDIR)/intl; then \
54528 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
54529 mv prev-intl stage1-intl; : ; \
54531 @endif intl
54532 @if ld
54533 @if test -d $(HOST_SUBDIR)/ld; then \
54534 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
54535 mv prev-ld stage1-ld; : ; \
54537 @endif ld
54538 @if libbacktrace
54539 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54540 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
54541 mv prev-libbacktrace stage1-libbacktrace; : ; \
54543 @endif libbacktrace
54544 @if libcpp
54545 @if test -d $(HOST_SUBDIR)/libcpp; then \
54546 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
54547 mv prev-libcpp stage1-libcpp; : ; \
54549 @endif libcpp
54550 @if libdecnumber
54551 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54552 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
54553 mv prev-libdecnumber stage1-libdecnumber; : ; \
54555 @endif libdecnumber
54556 @if libiberty
54557 @if test -d $(HOST_SUBDIR)/libiberty; then \
54558 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
54559 mv prev-libiberty stage1-libiberty; : ; \
54561 @endif libiberty
54562 @if libiberty-linker-plugin
54563 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54564 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
54565 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
54567 @endif libiberty-linker-plugin
54568 @if libiconv
54569 @if test -d $(HOST_SUBDIR)/libiconv; then \
54570 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
54571 mv prev-libiconv stage1-libiconv; : ; \
54573 @endif libiconv
54574 @if zlib
54575 @if test -d $(HOST_SUBDIR)/zlib; then \
54576 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
54577 mv prev-zlib stage1-zlib; : ; \
54579 @endif zlib
54580 @if lto-plugin
54581 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54582 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
54583 mv prev-lto-plugin stage1-lto-plugin; : ; \
54585 @endif lto-plugin
54586 @if test -d $(TARGET_SUBDIR); then \
54587 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
54588 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
54590 rm -f stage_current
54592 # Bubble a bug fix through all the stages up to stage profile. They are
54593 # remade, but not reconfigured. The next stage (if any) will not be
54594 # reconfigured either.
54595 .PHONY: stageprofile-bubble
54596 stageprofile-bubble:: stage1-bubble
54597 @r=`${PWD_COMMAND}`; export r; \
54598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54599 if test -f stageprofile-lean || test -f stage1-lean ; then \
54600 echo Skipping rebuild of stageprofile; \
54601 else \
54602 $(MAKE) stageprofile-start; \
54603 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
54606 .PHONY: all-stageprofile clean-stageprofile
54607 do-clean: clean-stageprofile
54609 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54610 # only possibility, but now it conflicts with no-bootstrap rules
54611 @if gcc-bootstrap
54616 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54617 distclean-stage1:: distclean-stageprofile
54618 .PHONY: distclean-stageprofile
54619 distclean-stageprofile::
54620 @: $(MAKE); $(stage)
54621 @test "`cat stage_last`" != stageprofile || rm -f stage_last
54622 rm -rf stageprofile-*
54625 @endif gcc-bootstrap
54628 .PHONY: stagetrain-start stagetrain-end
54630 stagetrain-start::
54631 @: $(MAKE); $(stage); \
54632 echo stagetrain > stage_current; \
54633 echo stagetrain > stage_last; \
54634 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54635 @if bfd
54636 @cd $(HOST_SUBDIR); [ -d stagetrain-bfd ] || \
54637 mkdir stagetrain-bfd; \
54638 mv stagetrain-bfd bfd; \
54639 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
54640 @endif bfd
54641 @if opcodes
54642 @cd $(HOST_SUBDIR); [ -d stagetrain-opcodes ] || \
54643 mkdir stagetrain-opcodes; \
54644 mv stagetrain-opcodes opcodes; \
54645 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
54646 @endif opcodes
54647 @if binutils
54648 @cd $(HOST_SUBDIR); [ -d stagetrain-binutils ] || \
54649 mkdir stagetrain-binutils; \
54650 mv stagetrain-binutils binutils; \
54651 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
54652 @endif binutils
54653 @if fixincludes
54654 @cd $(HOST_SUBDIR); [ -d stagetrain-fixincludes ] || \
54655 mkdir stagetrain-fixincludes; \
54656 mv stagetrain-fixincludes fixincludes; \
54657 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
54658 @endif fixincludes
54659 @if gas
54660 @cd $(HOST_SUBDIR); [ -d stagetrain-gas ] || \
54661 mkdir stagetrain-gas; \
54662 mv stagetrain-gas gas; \
54663 mv stageprofile-gas prev-gas || test -f stageprofile-lean
54664 @endif gas
54665 @if gcc
54666 @cd $(HOST_SUBDIR); [ -d stagetrain-gcc ] || \
54667 mkdir stagetrain-gcc; \
54668 mv stagetrain-gcc gcc; \
54669 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
54670 @endif gcc
54671 @if gmp
54672 @cd $(HOST_SUBDIR); [ -d stagetrain-gmp ] || \
54673 mkdir stagetrain-gmp; \
54674 mv stagetrain-gmp gmp; \
54675 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
54676 @endif gmp
54677 @if mpfr
54678 @cd $(HOST_SUBDIR); [ -d stagetrain-mpfr ] || \
54679 mkdir stagetrain-mpfr; \
54680 mv stagetrain-mpfr mpfr; \
54681 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
54682 @endif mpfr
54683 @if mpc
54684 @cd $(HOST_SUBDIR); [ -d stagetrain-mpc ] || \
54685 mkdir stagetrain-mpc; \
54686 mv stagetrain-mpc mpc; \
54687 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
54688 @endif mpc
54689 @if isl
54690 @cd $(HOST_SUBDIR); [ -d stagetrain-isl ] || \
54691 mkdir stagetrain-isl; \
54692 mv stagetrain-isl isl; \
54693 mv stageprofile-isl prev-isl || test -f stageprofile-lean
54694 @endif isl
54695 @if libelf
54696 @cd $(HOST_SUBDIR); [ -d stagetrain-libelf ] || \
54697 mkdir stagetrain-libelf; \
54698 mv stagetrain-libelf libelf; \
54699 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
54700 @endif libelf
54701 @if gold
54702 @cd $(HOST_SUBDIR); [ -d stagetrain-gold ] || \
54703 mkdir stagetrain-gold; \
54704 mv stagetrain-gold gold; \
54705 mv stageprofile-gold prev-gold || test -f stageprofile-lean
54706 @endif gold
54707 @if intl
54708 @cd $(HOST_SUBDIR); [ -d stagetrain-intl ] || \
54709 mkdir stagetrain-intl; \
54710 mv stagetrain-intl intl; \
54711 mv stageprofile-intl prev-intl || test -f stageprofile-lean
54712 @endif intl
54713 @if ld
54714 @cd $(HOST_SUBDIR); [ -d stagetrain-ld ] || \
54715 mkdir stagetrain-ld; \
54716 mv stagetrain-ld ld; \
54717 mv stageprofile-ld prev-ld || test -f stageprofile-lean
54718 @endif ld
54719 @if libbacktrace
54720 @cd $(HOST_SUBDIR); [ -d stagetrain-libbacktrace ] || \
54721 mkdir stagetrain-libbacktrace; \
54722 mv stagetrain-libbacktrace libbacktrace; \
54723 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
54724 @endif libbacktrace
54725 @if libcpp
54726 @cd $(HOST_SUBDIR); [ -d stagetrain-libcpp ] || \
54727 mkdir stagetrain-libcpp; \
54728 mv stagetrain-libcpp libcpp; \
54729 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
54730 @endif libcpp
54731 @if libdecnumber
54732 @cd $(HOST_SUBDIR); [ -d stagetrain-libdecnumber ] || \
54733 mkdir stagetrain-libdecnumber; \
54734 mv stagetrain-libdecnumber libdecnumber; \
54735 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
54736 @endif libdecnumber
54737 @if libiberty
54738 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty ] || \
54739 mkdir stagetrain-libiberty; \
54740 mv stagetrain-libiberty libiberty; \
54741 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
54742 @endif libiberty
54743 @if libiberty-linker-plugin
54744 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty-linker-plugin ] || \
54745 mkdir stagetrain-libiberty-linker-plugin; \
54746 mv stagetrain-libiberty-linker-plugin libiberty-linker-plugin; \
54747 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
54748 @endif libiberty-linker-plugin
54749 @if libiconv
54750 @cd $(HOST_SUBDIR); [ -d stagetrain-libiconv ] || \
54751 mkdir stagetrain-libiconv; \
54752 mv stagetrain-libiconv libiconv; \
54753 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
54754 @endif libiconv
54755 @if zlib
54756 @cd $(HOST_SUBDIR); [ -d stagetrain-zlib ] || \
54757 mkdir stagetrain-zlib; \
54758 mv stagetrain-zlib zlib; \
54759 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
54760 @endif zlib
54761 @if lto-plugin
54762 @cd $(HOST_SUBDIR); [ -d stagetrain-lto-plugin ] || \
54763 mkdir stagetrain-lto-plugin; \
54764 mv stagetrain-lto-plugin lto-plugin; \
54765 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
54766 @endif lto-plugin
54767 @[ -d stagetrain-$(TARGET_SUBDIR) ] || \
54768 mkdir stagetrain-$(TARGET_SUBDIR); \
54769 mv stagetrain-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
54770 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
54772 stagetrain-end::
54773 @if bfd
54774 @if test -d $(HOST_SUBDIR)/bfd; then \
54775 cd $(HOST_SUBDIR); mv bfd stagetrain-bfd; \
54776 mv prev-bfd stageprofile-bfd; : ; \
54778 @endif bfd
54779 @if opcodes
54780 @if test -d $(HOST_SUBDIR)/opcodes; then \
54781 cd $(HOST_SUBDIR); mv opcodes stagetrain-opcodes; \
54782 mv prev-opcodes stageprofile-opcodes; : ; \
54784 @endif opcodes
54785 @if binutils
54786 @if test -d $(HOST_SUBDIR)/binutils; then \
54787 cd $(HOST_SUBDIR); mv binutils stagetrain-binutils; \
54788 mv prev-binutils stageprofile-binutils; : ; \
54790 @endif binutils
54791 @if fixincludes
54792 @if test -d $(HOST_SUBDIR)/fixincludes; then \
54793 cd $(HOST_SUBDIR); mv fixincludes stagetrain-fixincludes; \
54794 mv prev-fixincludes stageprofile-fixincludes; : ; \
54796 @endif fixincludes
54797 @if gas
54798 @if test -d $(HOST_SUBDIR)/gas; then \
54799 cd $(HOST_SUBDIR); mv gas stagetrain-gas; \
54800 mv prev-gas stageprofile-gas; : ; \
54802 @endif gas
54803 @if gcc
54804 @if test -d $(HOST_SUBDIR)/gcc; then \
54805 cd $(HOST_SUBDIR); mv gcc stagetrain-gcc; \
54806 mv prev-gcc stageprofile-gcc; : ; \
54808 @endif gcc
54809 @if gmp
54810 @if test -d $(HOST_SUBDIR)/gmp; then \
54811 cd $(HOST_SUBDIR); mv gmp stagetrain-gmp; \
54812 mv prev-gmp stageprofile-gmp; : ; \
54814 @endif gmp
54815 @if mpfr
54816 @if test -d $(HOST_SUBDIR)/mpfr; then \
54817 cd $(HOST_SUBDIR); mv mpfr stagetrain-mpfr; \
54818 mv prev-mpfr stageprofile-mpfr; : ; \
54820 @endif mpfr
54821 @if mpc
54822 @if test -d $(HOST_SUBDIR)/mpc; then \
54823 cd $(HOST_SUBDIR); mv mpc stagetrain-mpc; \
54824 mv prev-mpc stageprofile-mpc; : ; \
54826 @endif mpc
54827 @if isl
54828 @if test -d $(HOST_SUBDIR)/isl; then \
54829 cd $(HOST_SUBDIR); mv isl stagetrain-isl; \
54830 mv prev-isl stageprofile-isl; : ; \
54832 @endif isl
54833 @if libelf
54834 @if test -d $(HOST_SUBDIR)/libelf; then \
54835 cd $(HOST_SUBDIR); mv libelf stagetrain-libelf; \
54836 mv prev-libelf stageprofile-libelf; : ; \
54838 @endif libelf
54839 @if gold
54840 @if test -d $(HOST_SUBDIR)/gold; then \
54841 cd $(HOST_SUBDIR); mv gold stagetrain-gold; \
54842 mv prev-gold stageprofile-gold; : ; \
54844 @endif gold
54845 @if intl
54846 @if test -d $(HOST_SUBDIR)/intl; then \
54847 cd $(HOST_SUBDIR); mv intl stagetrain-intl; \
54848 mv prev-intl stageprofile-intl; : ; \
54850 @endif intl
54851 @if ld
54852 @if test -d $(HOST_SUBDIR)/ld; then \
54853 cd $(HOST_SUBDIR); mv ld stagetrain-ld; \
54854 mv prev-ld stageprofile-ld; : ; \
54856 @endif ld
54857 @if libbacktrace
54858 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
54859 cd $(HOST_SUBDIR); mv libbacktrace stagetrain-libbacktrace; \
54860 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
54862 @endif libbacktrace
54863 @if libcpp
54864 @if test -d $(HOST_SUBDIR)/libcpp; then \
54865 cd $(HOST_SUBDIR); mv libcpp stagetrain-libcpp; \
54866 mv prev-libcpp stageprofile-libcpp; : ; \
54868 @endif libcpp
54869 @if libdecnumber
54870 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
54871 cd $(HOST_SUBDIR); mv libdecnumber stagetrain-libdecnumber; \
54872 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
54874 @endif libdecnumber
54875 @if libiberty
54876 @if test -d $(HOST_SUBDIR)/libiberty; then \
54877 cd $(HOST_SUBDIR); mv libiberty stagetrain-libiberty; \
54878 mv prev-libiberty stageprofile-libiberty; : ; \
54880 @endif libiberty
54881 @if libiberty-linker-plugin
54882 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
54883 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagetrain-libiberty-linker-plugin; \
54884 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
54886 @endif libiberty-linker-plugin
54887 @if libiconv
54888 @if test -d $(HOST_SUBDIR)/libiconv; then \
54889 cd $(HOST_SUBDIR); mv libiconv stagetrain-libiconv; \
54890 mv prev-libiconv stageprofile-libiconv; : ; \
54892 @endif libiconv
54893 @if zlib
54894 @if test -d $(HOST_SUBDIR)/zlib; then \
54895 cd $(HOST_SUBDIR); mv zlib stagetrain-zlib; \
54896 mv prev-zlib stageprofile-zlib; : ; \
54898 @endif zlib
54899 @if lto-plugin
54900 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
54901 cd $(HOST_SUBDIR); mv lto-plugin stagetrain-lto-plugin; \
54902 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
54904 @endif lto-plugin
54905 @if test -d $(TARGET_SUBDIR); then \
54906 mv $(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); \
54907 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
54909 rm -f stage_current
54911 # Bubble a bug fix through all the stages up to stage train. They are
54912 # remade, but not reconfigured. The next stage (if any) will not be
54913 # reconfigured either.
54914 .PHONY: stagetrain-bubble
54915 stagetrain-bubble:: stageprofile-bubble
54916 @r=`${PWD_COMMAND}`; export r; \
54917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54918 if test -f stagetrain-lean || test -f stageprofile-lean ; then \
54919 echo Skipping rebuild of stagetrain; \
54920 else \
54921 $(MAKE) stagetrain-start; \
54922 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagetrain; \
54925 .PHONY: all-stagetrain clean-stagetrain
54926 do-clean: clean-stagetrain
54928 # FIXME: Will not need to be conditional when toplevel bootstrap is the
54929 # only possibility, but now it conflicts with no-bootstrap rules
54930 @if gcc-bootstrap
54935 # Rules to wipe a stage and all the following ones, also used for cleanstrap
54936 distclean-stageprofile:: distclean-stagetrain
54937 .PHONY: distclean-stagetrain
54938 distclean-stagetrain::
54939 @: $(MAKE); $(stage)
54940 @test "`cat stage_last`" != stagetrain || rm -f stage_last
54941 rm -rf stagetrain-*
54944 @endif gcc-bootstrap
54947 .PHONY: stagefeedback-start stagefeedback-end
54949 stagefeedback-start::
54950 @: $(MAKE); $(stage); \
54951 echo stagefeedback > stage_current; \
54952 echo stagefeedback > stage_last; \
54953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
54954 @if bfd
54955 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
54956 mkdir stagefeedback-bfd; \
54957 mv stagefeedback-bfd bfd; \
54958 mv stagetrain-bfd prev-bfd || test -f stagetrain-lean
54959 @endif bfd
54960 @if opcodes
54961 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
54962 mkdir stagefeedback-opcodes; \
54963 mv stagefeedback-opcodes opcodes; \
54964 mv stagetrain-opcodes prev-opcodes || test -f stagetrain-lean
54965 @endif opcodes
54966 @if binutils
54967 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
54968 mkdir stagefeedback-binutils; \
54969 mv stagefeedback-binutils binutils; \
54970 mv stagetrain-binutils prev-binutils || test -f stagetrain-lean
54971 @endif binutils
54972 @if fixincludes
54973 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
54974 mkdir stagefeedback-fixincludes; \
54975 mv stagefeedback-fixincludes fixincludes; \
54976 mv stagetrain-fixincludes prev-fixincludes || test -f stagetrain-lean
54977 @endif fixincludes
54978 @if gas
54979 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
54980 mkdir stagefeedback-gas; \
54981 mv stagefeedback-gas gas; \
54982 mv stagetrain-gas prev-gas || test -f stagetrain-lean
54983 @endif gas
54984 @if gcc
54985 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
54986 mkdir stagefeedback-gcc; \
54987 mv stagefeedback-gcc gcc; \
54988 mv stagetrain-gcc prev-gcc || test -f stagetrain-lean
54989 @endif gcc
54990 @if gmp
54991 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
54992 mkdir stagefeedback-gmp; \
54993 mv stagefeedback-gmp gmp; \
54994 mv stagetrain-gmp prev-gmp || test -f stagetrain-lean
54995 @endif gmp
54996 @if mpfr
54997 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
54998 mkdir stagefeedback-mpfr; \
54999 mv stagefeedback-mpfr mpfr; \
55000 mv stagetrain-mpfr prev-mpfr || test -f stagetrain-lean
55001 @endif mpfr
55002 @if mpc
55003 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
55004 mkdir stagefeedback-mpc; \
55005 mv stagefeedback-mpc mpc; \
55006 mv stagetrain-mpc prev-mpc || test -f stagetrain-lean
55007 @endif mpc
55008 @if isl
55009 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
55010 mkdir stagefeedback-isl; \
55011 mv stagefeedback-isl isl; \
55012 mv stagetrain-isl prev-isl || test -f stagetrain-lean
55013 @endif isl
55014 @if libelf
55015 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
55016 mkdir stagefeedback-libelf; \
55017 mv stagefeedback-libelf libelf; \
55018 mv stagetrain-libelf prev-libelf || test -f stagetrain-lean
55019 @endif libelf
55020 @if gold
55021 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
55022 mkdir stagefeedback-gold; \
55023 mv stagefeedback-gold gold; \
55024 mv stagetrain-gold prev-gold || test -f stagetrain-lean
55025 @endif gold
55026 @if intl
55027 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
55028 mkdir stagefeedback-intl; \
55029 mv stagefeedback-intl intl; \
55030 mv stagetrain-intl prev-intl || test -f stagetrain-lean
55031 @endif intl
55032 @if ld
55033 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
55034 mkdir stagefeedback-ld; \
55035 mv stagefeedback-ld ld; \
55036 mv stagetrain-ld prev-ld || test -f stagetrain-lean
55037 @endif ld
55038 @if libbacktrace
55039 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
55040 mkdir stagefeedback-libbacktrace; \
55041 mv stagefeedback-libbacktrace libbacktrace; \
55042 mv stagetrain-libbacktrace prev-libbacktrace || test -f stagetrain-lean
55043 @endif libbacktrace
55044 @if libcpp
55045 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
55046 mkdir stagefeedback-libcpp; \
55047 mv stagefeedback-libcpp libcpp; \
55048 mv stagetrain-libcpp prev-libcpp || test -f stagetrain-lean
55049 @endif libcpp
55050 @if libdecnumber
55051 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
55052 mkdir stagefeedback-libdecnumber; \
55053 mv stagefeedback-libdecnumber libdecnumber; \
55054 mv stagetrain-libdecnumber prev-libdecnumber || test -f stagetrain-lean
55055 @endif libdecnumber
55056 @if libiberty
55057 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
55058 mkdir stagefeedback-libiberty; \
55059 mv stagefeedback-libiberty libiberty; \
55060 mv stagetrain-libiberty prev-libiberty || test -f stagetrain-lean
55061 @endif libiberty
55062 @if libiberty-linker-plugin
55063 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
55064 mkdir stagefeedback-libiberty-linker-plugin; \
55065 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
55066 mv stagetrain-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stagetrain-lean
55067 @endif libiberty-linker-plugin
55068 @if libiconv
55069 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
55070 mkdir stagefeedback-libiconv; \
55071 mv stagefeedback-libiconv libiconv; \
55072 mv stagetrain-libiconv prev-libiconv || test -f stagetrain-lean
55073 @endif libiconv
55074 @if zlib
55075 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
55076 mkdir stagefeedback-zlib; \
55077 mv stagefeedback-zlib zlib; \
55078 mv stagetrain-zlib prev-zlib || test -f stagetrain-lean
55079 @endif zlib
55080 @if lto-plugin
55081 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
55082 mkdir stagefeedback-lto-plugin; \
55083 mv stagefeedback-lto-plugin lto-plugin; \
55084 mv stagetrain-lto-plugin prev-lto-plugin || test -f stagetrain-lean
55085 @endif lto-plugin
55086 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
55087 mkdir stagefeedback-$(TARGET_SUBDIR); \
55088 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55089 mv stagetrain-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stagetrain-lean
55091 stagefeedback-end::
55092 @if bfd
55093 @if test -d $(HOST_SUBDIR)/bfd; then \
55094 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
55095 mv prev-bfd stagetrain-bfd; : ; \
55097 @endif bfd
55098 @if opcodes
55099 @if test -d $(HOST_SUBDIR)/opcodes; then \
55100 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
55101 mv prev-opcodes stagetrain-opcodes; : ; \
55103 @endif opcodes
55104 @if binutils
55105 @if test -d $(HOST_SUBDIR)/binutils; then \
55106 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
55107 mv prev-binutils stagetrain-binutils; : ; \
55109 @endif binutils
55110 @if fixincludes
55111 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55112 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
55113 mv prev-fixincludes stagetrain-fixincludes; : ; \
55115 @endif fixincludes
55116 @if gas
55117 @if test -d $(HOST_SUBDIR)/gas; then \
55118 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
55119 mv prev-gas stagetrain-gas; : ; \
55121 @endif gas
55122 @if gcc
55123 @if test -d $(HOST_SUBDIR)/gcc; then \
55124 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
55125 mv prev-gcc stagetrain-gcc; : ; \
55127 @endif gcc
55128 @if gmp
55129 @if test -d $(HOST_SUBDIR)/gmp; then \
55130 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
55131 mv prev-gmp stagetrain-gmp; : ; \
55133 @endif gmp
55134 @if mpfr
55135 @if test -d $(HOST_SUBDIR)/mpfr; then \
55136 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
55137 mv prev-mpfr stagetrain-mpfr; : ; \
55139 @endif mpfr
55140 @if mpc
55141 @if test -d $(HOST_SUBDIR)/mpc; then \
55142 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
55143 mv prev-mpc stagetrain-mpc; : ; \
55145 @endif mpc
55146 @if isl
55147 @if test -d $(HOST_SUBDIR)/isl; then \
55148 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
55149 mv prev-isl stagetrain-isl; : ; \
55151 @endif isl
55152 @if libelf
55153 @if test -d $(HOST_SUBDIR)/libelf; then \
55154 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
55155 mv prev-libelf stagetrain-libelf; : ; \
55157 @endif libelf
55158 @if gold
55159 @if test -d $(HOST_SUBDIR)/gold; then \
55160 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
55161 mv prev-gold stagetrain-gold; : ; \
55163 @endif gold
55164 @if intl
55165 @if test -d $(HOST_SUBDIR)/intl; then \
55166 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
55167 mv prev-intl stagetrain-intl; : ; \
55169 @endif intl
55170 @if ld
55171 @if test -d $(HOST_SUBDIR)/ld; then \
55172 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
55173 mv prev-ld stagetrain-ld; : ; \
55175 @endif ld
55176 @if libbacktrace
55177 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55178 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
55179 mv prev-libbacktrace stagetrain-libbacktrace; : ; \
55181 @endif libbacktrace
55182 @if libcpp
55183 @if test -d $(HOST_SUBDIR)/libcpp; then \
55184 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
55185 mv prev-libcpp stagetrain-libcpp; : ; \
55187 @endif libcpp
55188 @if libdecnumber
55189 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55190 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
55191 mv prev-libdecnumber stagetrain-libdecnumber; : ; \
55193 @endif libdecnumber
55194 @if libiberty
55195 @if test -d $(HOST_SUBDIR)/libiberty; then \
55196 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
55197 mv prev-libiberty stagetrain-libiberty; : ; \
55199 @endif libiberty
55200 @if libiberty-linker-plugin
55201 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55202 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
55203 mv prev-libiberty-linker-plugin stagetrain-libiberty-linker-plugin; : ; \
55205 @endif libiberty-linker-plugin
55206 @if libiconv
55207 @if test -d $(HOST_SUBDIR)/libiconv; then \
55208 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
55209 mv prev-libiconv stagetrain-libiconv; : ; \
55211 @endif libiconv
55212 @if zlib
55213 @if test -d $(HOST_SUBDIR)/zlib; then \
55214 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
55215 mv prev-zlib stagetrain-zlib; : ; \
55217 @endif zlib
55218 @if lto-plugin
55219 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55220 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
55221 mv prev-lto-plugin stagetrain-lto-plugin; : ; \
55223 @endif lto-plugin
55224 @if test -d $(TARGET_SUBDIR); then \
55225 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
55226 mv prev-$(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); : ; \
55228 rm -f stage_current
55230 # Bubble a bug fix through all the stages up to stage feedback. They are
55231 # remade, but not reconfigured. The next stage (if any) will not be
55232 # reconfigured either.
55233 .PHONY: stagefeedback-bubble
55234 stagefeedback-bubble:: stagetrain-bubble
55235 @r=`${PWD_COMMAND}`; export r; \
55236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55237 if test -f stagefeedback-lean || test -f stagetrain-lean ; then \
55238 echo Skipping rebuild of stagefeedback; \
55239 else \
55240 $(MAKE) stagefeedback-start; \
55241 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
55244 .PHONY: all-stagefeedback clean-stagefeedback
55245 do-clean: clean-stagefeedback
55247 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55248 # only possibility, but now it conflicts with no-bootstrap rules
55249 @if gcc-bootstrap
55253 .PHONY: profiledbootstrap profiledbootstrap-lean
55254 profiledbootstrap:
55255 echo stagefeedback > stage_final
55256 @r=`${PWD_COMMAND}`; export r; \
55257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55258 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
55259 @: $(MAKE); $(unstage)
55260 @r=`${PWD_COMMAND}`; export r; \
55261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55262 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
55263 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55265 profiledbootstrap-lean:
55266 echo stagefeedback > stage_final
55267 @r=`${PWD_COMMAND}`; export r; \
55268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55269 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
55270 @: $(MAKE); $(unstage)
55271 @r=`${PWD_COMMAND}`; export r; \
55272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55273 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
55274 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55277 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55278 distclean-stagetrain:: distclean-stagefeedback
55279 .PHONY: distclean-stagefeedback
55280 distclean-stagefeedback::
55281 @: $(MAKE); $(stage)
55282 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
55283 rm -rf stagefeedback-*
55286 @endif gcc-bootstrap
55289 .PHONY: stageautoprofile-start stageautoprofile-end
55291 stageautoprofile-start::
55292 @: $(MAKE); $(stage); \
55293 echo stageautoprofile > stage_current; \
55294 echo stageautoprofile > stage_last; \
55295 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55296 @if bfd
55297 @cd $(HOST_SUBDIR); [ -d stageautoprofile-bfd ] || \
55298 mkdir stageautoprofile-bfd; \
55299 mv stageautoprofile-bfd bfd; \
55300 mv stage1-bfd prev-bfd || test -f stage1-lean
55301 @endif bfd
55302 @if opcodes
55303 @cd $(HOST_SUBDIR); [ -d stageautoprofile-opcodes ] || \
55304 mkdir stageautoprofile-opcodes; \
55305 mv stageautoprofile-opcodes opcodes; \
55306 mv stage1-opcodes prev-opcodes || test -f stage1-lean
55307 @endif opcodes
55308 @if binutils
55309 @cd $(HOST_SUBDIR); [ -d stageautoprofile-binutils ] || \
55310 mkdir stageautoprofile-binutils; \
55311 mv stageautoprofile-binutils binutils; \
55312 mv stage1-binutils prev-binutils || test -f stage1-lean
55313 @endif binutils
55314 @if fixincludes
55315 @cd $(HOST_SUBDIR); [ -d stageautoprofile-fixincludes ] || \
55316 mkdir stageautoprofile-fixincludes; \
55317 mv stageautoprofile-fixincludes fixincludes; \
55318 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
55319 @endif fixincludes
55320 @if gas
55321 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gas ] || \
55322 mkdir stageautoprofile-gas; \
55323 mv stageautoprofile-gas gas; \
55324 mv stage1-gas prev-gas || test -f stage1-lean
55325 @endif gas
55326 @if gcc
55327 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gcc ] || \
55328 mkdir stageautoprofile-gcc; \
55329 mv stageautoprofile-gcc gcc; \
55330 mv stage1-gcc prev-gcc || test -f stage1-lean
55331 @endif gcc
55332 @if gmp
55333 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gmp ] || \
55334 mkdir stageautoprofile-gmp; \
55335 mv stageautoprofile-gmp gmp; \
55336 mv stage1-gmp prev-gmp || test -f stage1-lean
55337 @endif gmp
55338 @if mpfr
55339 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpfr ] || \
55340 mkdir stageautoprofile-mpfr; \
55341 mv stageautoprofile-mpfr mpfr; \
55342 mv stage1-mpfr prev-mpfr || test -f stage1-lean
55343 @endif mpfr
55344 @if mpc
55345 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpc ] || \
55346 mkdir stageautoprofile-mpc; \
55347 mv stageautoprofile-mpc mpc; \
55348 mv stage1-mpc prev-mpc || test -f stage1-lean
55349 @endif mpc
55350 @if isl
55351 @cd $(HOST_SUBDIR); [ -d stageautoprofile-isl ] || \
55352 mkdir stageautoprofile-isl; \
55353 mv stageautoprofile-isl isl; \
55354 mv stage1-isl prev-isl || test -f stage1-lean
55355 @endif isl
55356 @if libelf
55357 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libelf ] || \
55358 mkdir stageautoprofile-libelf; \
55359 mv stageautoprofile-libelf libelf; \
55360 mv stage1-libelf prev-libelf || test -f stage1-lean
55361 @endif libelf
55362 @if gold
55363 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gold ] || \
55364 mkdir stageautoprofile-gold; \
55365 mv stageautoprofile-gold gold; \
55366 mv stage1-gold prev-gold || test -f stage1-lean
55367 @endif gold
55368 @if intl
55369 @cd $(HOST_SUBDIR); [ -d stageautoprofile-intl ] || \
55370 mkdir stageautoprofile-intl; \
55371 mv stageautoprofile-intl intl; \
55372 mv stage1-intl prev-intl || test -f stage1-lean
55373 @endif intl
55374 @if ld
55375 @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \
55376 mkdir stageautoprofile-ld; \
55377 mv stageautoprofile-ld ld; \
55378 mv stage1-ld prev-ld || test -f stage1-lean
55379 @endif ld
55380 @if libbacktrace
55381 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libbacktrace ] || \
55382 mkdir stageautoprofile-libbacktrace; \
55383 mv stageautoprofile-libbacktrace libbacktrace; \
55384 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
55385 @endif libbacktrace
55386 @if libcpp
55387 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcpp ] || \
55388 mkdir stageautoprofile-libcpp; \
55389 mv stageautoprofile-libcpp libcpp; \
55390 mv stage1-libcpp prev-libcpp || test -f stage1-lean
55391 @endif libcpp
55392 @if libdecnumber
55393 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libdecnumber ] || \
55394 mkdir stageautoprofile-libdecnumber; \
55395 mv stageautoprofile-libdecnumber libdecnumber; \
55396 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
55397 @endif libdecnumber
55398 @if libiberty
55399 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty ] || \
55400 mkdir stageautoprofile-libiberty; \
55401 mv stageautoprofile-libiberty libiberty; \
55402 mv stage1-libiberty prev-libiberty || test -f stage1-lean
55403 @endif libiberty
55404 @if libiberty-linker-plugin
55405 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty-linker-plugin ] || \
55406 mkdir stageautoprofile-libiberty-linker-plugin; \
55407 mv stageautoprofile-libiberty-linker-plugin libiberty-linker-plugin; \
55408 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
55409 @endif libiberty-linker-plugin
55410 @if libiconv
55411 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiconv ] || \
55412 mkdir stageautoprofile-libiconv; \
55413 mv stageautoprofile-libiconv libiconv; \
55414 mv stage1-libiconv prev-libiconv || test -f stage1-lean
55415 @endif libiconv
55416 @if zlib
55417 @cd $(HOST_SUBDIR); [ -d stageautoprofile-zlib ] || \
55418 mkdir stageautoprofile-zlib; \
55419 mv stageautoprofile-zlib zlib; \
55420 mv stage1-zlib prev-zlib || test -f stage1-lean
55421 @endif zlib
55422 @if lto-plugin
55423 @cd $(HOST_SUBDIR); [ -d stageautoprofile-lto-plugin ] || \
55424 mkdir stageautoprofile-lto-plugin; \
55425 mv stageautoprofile-lto-plugin lto-plugin; \
55426 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
55427 @endif lto-plugin
55428 @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \
55429 mkdir stageautoprofile-$(TARGET_SUBDIR); \
55430 mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55431 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
55433 stageautoprofile-end::
55434 @if bfd
55435 @if test -d $(HOST_SUBDIR)/bfd; then \
55436 cd $(HOST_SUBDIR); mv bfd stageautoprofile-bfd; \
55437 mv prev-bfd stage1-bfd; : ; \
55439 @endif bfd
55440 @if opcodes
55441 @if test -d $(HOST_SUBDIR)/opcodes; then \
55442 cd $(HOST_SUBDIR); mv opcodes stageautoprofile-opcodes; \
55443 mv prev-opcodes stage1-opcodes; : ; \
55445 @endif opcodes
55446 @if binutils
55447 @if test -d $(HOST_SUBDIR)/binutils; then \
55448 cd $(HOST_SUBDIR); mv binutils stageautoprofile-binutils; \
55449 mv prev-binutils stage1-binutils; : ; \
55451 @endif binutils
55452 @if fixincludes
55453 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55454 cd $(HOST_SUBDIR); mv fixincludes stageautoprofile-fixincludes; \
55455 mv prev-fixincludes stage1-fixincludes; : ; \
55457 @endif fixincludes
55458 @if gas
55459 @if test -d $(HOST_SUBDIR)/gas; then \
55460 cd $(HOST_SUBDIR); mv gas stageautoprofile-gas; \
55461 mv prev-gas stage1-gas; : ; \
55463 @endif gas
55464 @if gcc
55465 @if test -d $(HOST_SUBDIR)/gcc; then \
55466 cd $(HOST_SUBDIR); mv gcc stageautoprofile-gcc; \
55467 mv prev-gcc stage1-gcc; : ; \
55469 @endif gcc
55470 @if gmp
55471 @if test -d $(HOST_SUBDIR)/gmp; then \
55472 cd $(HOST_SUBDIR); mv gmp stageautoprofile-gmp; \
55473 mv prev-gmp stage1-gmp; : ; \
55475 @endif gmp
55476 @if mpfr
55477 @if test -d $(HOST_SUBDIR)/mpfr; then \
55478 cd $(HOST_SUBDIR); mv mpfr stageautoprofile-mpfr; \
55479 mv prev-mpfr stage1-mpfr; : ; \
55481 @endif mpfr
55482 @if mpc
55483 @if test -d $(HOST_SUBDIR)/mpc; then \
55484 cd $(HOST_SUBDIR); mv mpc stageautoprofile-mpc; \
55485 mv prev-mpc stage1-mpc; : ; \
55487 @endif mpc
55488 @if isl
55489 @if test -d $(HOST_SUBDIR)/isl; then \
55490 cd $(HOST_SUBDIR); mv isl stageautoprofile-isl; \
55491 mv prev-isl stage1-isl; : ; \
55493 @endif isl
55494 @if libelf
55495 @if test -d $(HOST_SUBDIR)/libelf; then \
55496 cd $(HOST_SUBDIR); mv libelf stageautoprofile-libelf; \
55497 mv prev-libelf stage1-libelf; : ; \
55499 @endif libelf
55500 @if gold
55501 @if test -d $(HOST_SUBDIR)/gold; then \
55502 cd $(HOST_SUBDIR); mv gold stageautoprofile-gold; \
55503 mv prev-gold stage1-gold; : ; \
55505 @endif gold
55506 @if intl
55507 @if test -d $(HOST_SUBDIR)/intl; then \
55508 cd $(HOST_SUBDIR); mv intl stageautoprofile-intl; \
55509 mv prev-intl stage1-intl; : ; \
55511 @endif intl
55512 @if ld
55513 @if test -d $(HOST_SUBDIR)/ld; then \
55514 cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \
55515 mv prev-ld stage1-ld; : ; \
55517 @endif ld
55518 @if libbacktrace
55519 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55520 cd $(HOST_SUBDIR); mv libbacktrace stageautoprofile-libbacktrace; \
55521 mv prev-libbacktrace stage1-libbacktrace; : ; \
55523 @endif libbacktrace
55524 @if libcpp
55525 @if test -d $(HOST_SUBDIR)/libcpp; then \
55526 cd $(HOST_SUBDIR); mv libcpp stageautoprofile-libcpp; \
55527 mv prev-libcpp stage1-libcpp; : ; \
55529 @endif libcpp
55530 @if libdecnumber
55531 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55532 cd $(HOST_SUBDIR); mv libdecnumber stageautoprofile-libdecnumber; \
55533 mv prev-libdecnumber stage1-libdecnumber; : ; \
55535 @endif libdecnumber
55536 @if libiberty
55537 @if test -d $(HOST_SUBDIR)/libiberty; then \
55538 cd $(HOST_SUBDIR); mv libiberty stageautoprofile-libiberty; \
55539 mv prev-libiberty stage1-libiberty; : ; \
55541 @endif libiberty
55542 @if libiberty-linker-plugin
55543 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55544 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; \
55545 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
55547 @endif libiberty-linker-plugin
55548 @if libiconv
55549 @if test -d $(HOST_SUBDIR)/libiconv; then \
55550 cd $(HOST_SUBDIR); mv libiconv stageautoprofile-libiconv; \
55551 mv prev-libiconv stage1-libiconv; : ; \
55553 @endif libiconv
55554 @if zlib
55555 @if test -d $(HOST_SUBDIR)/zlib; then \
55556 cd $(HOST_SUBDIR); mv zlib stageautoprofile-zlib; \
55557 mv prev-zlib stage1-zlib; : ; \
55559 @endif zlib
55560 @if lto-plugin
55561 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55562 cd $(HOST_SUBDIR); mv lto-plugin stageautoprofile-lto-plugin; \
55563 mv prev-lto-plugin stage1-lto-plugin; : ; \
55565 @endif lto-plugin
55566 @if test -d $(TARGET_SUBDIR); then \
55567 mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \
55568 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
55570 rm -f stage_current
55572 # Bubble a bug fix through all the stages up to stage autoprofile. They are
55573 # remade, but not reconfigured. The next stage (if any) will not be
55574 # reconfigured either.
55575 .PHONY: stageautoprofile-bubble
55576 stageautoprofile-bubble:: stage1-bubble
55577 @r=`${PWD_COMMAND}`; export r; \
55578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55579 if test -f stageautoprofile-lean || test -f stage1-lean ; then \
55580 echo Skipping rebuild of stageautoprofile; \
55581 else \
55582 $(MAKE) stageautoprofile-start; \
55583 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautoprofile; \
55586 .PHONY: all-stageautoprofile clean-stageautoprofile
55587 do-clean: clean-stageautoprofile
55589 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55590 # only possibility, but now it conflicts with no-bootstrap rules
55591 @if gcc-bootstrap
55596 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55597 distclean-stage1:: distclean-stageautoprofile
55598 .PHONY: distclean-stageautoprofile
55599 distclean-stageautoprofile::
55600 @: $(MAKE); $(stage)
55601 @test "`cat stage_last`" != stageautoprofile || rm -f stage_last
55602 rm -rf stageautoprofile-*
55605 @endif gcc-bootstrap
55608 .PHONY: stageautofeedback-start stageautofeedback-end
55610 stageautofeedback-start::
55611 @: $(MAKE); $(stage); \
55612 echo stageautofeedback > stage_current; \
55613 echo stageautofeedback > stage_last; \
55614 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
55615 @if bfd
55616 @cd $(HOST_SUBDIR); [ -d stageautofeedback-bfd ] || \
55617 mkdir stageautofeedback-bfd; \
55618 mv stageautofeedback-bfd bfd; \
55619 mv stageautoprofile-bfd prev-bfd || test -f stageautoprofile-lean
55620 @endif bfd
55621 @if opcodes
55622 @cd $(HOST_SUBDIR); [ -d stageautofeedback-opcodes ] || \
55623 mkdir stageautofeedback-opcodes; \
55624 mv stageautofeedback-opcodes opcodes; \
55625 mv stageautoprofile-opcodes prev-opcodes || test -f stageautoprofile-lean
55626 @endif opcodes
55627 @if binutils
55628 @cd $(HOST_SUBDIR); [ -d stageautofeedback-binutils ] || \
55629 mkdir stageautofeedback-binutils; \
55630 mv stageautofeedback-binutils binutils; \
55631 mv stageautoprofile-binutils prev-binutils || test -f stageautoprofile-lean
55632 @endif binutils
55633 @if fixincludes
55634 @cd $(HOST_SUBDIR); [ -d stageautofeedback-fixincludes ] || \
55635 mkdir stageautofeedback-fixincludes; \
55636 mv stageautofeedback-fixincludes fixincludes; \
55637 mv stageautoprofile-fixincludes prev-fixincludes || test -f stageautoprofile-lean
55638 @endif fixincludes
55639 @if gas
55640 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gas ] || \
55641 mkdir stageautofeedback-gas; \
55642 mv stageautofeedback-gas gas; \
55643 mv stageautoprofile-gas prev-gas || test -f stageautoprofile-lean
55644 @endif gas
55645 @if gcc
55646 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gcc ] || \
55647 mkdir stageautofeedback-gcc; \
55648 mv stageautofeedback-gcc gcc; \
55649 mv stageautoprofile-gcc prev-gcc || test -f stageautoprofile-lean
55650 @endif gcc
55651 @if gmp
55652 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gmp ] || \
55653 mkdir stageautofeedback-gmp; \
55654 mv stageautofeedback-gmp gmp; \
55655 mv stageautoprofile-gmp prev-gmp || test -f stageautoprofile-lean
55656 @endif gmp
55657 @if mpfr
55658 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpfr ] || \
55659 mkdir stageautofeedback-mpfr; \
55660 mv stageautofeedback-mpfr mpfr; \
55661 mv stageautoprofile-mpfr prev-mpfr || test -f stageautoprofile-lean
55662 @endif mpfr
55663 @if mpc
55664 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpc ] || \
55665 mkdir stageautofeedback-mpc; \
55666 mv stageautofeedback-mpc mpc; \
55667 mv stageautoprofile-mpc prev-mpc || test -f stageautoprofile-lean
55668 @endif mpc
55669 @if isl
55670 @cd $(HOST_SUBDIR); [ -d stageautofeedback-isl ] || \
55671 mkdir stageautofeedback-isl; \
55672 mv stageautofeedback-isl isl; \
55673 mv stageautoprofile-isl prev-isl || test -f stageautoprofile-lean
55674 @endif isl
55675 @if libelf
55676 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libelf ] || \
55677 mkdir stageautofeedback-libelf; \
55678 mv stageautofeedback-libelf libelf; \
55679 mv stageautoprofile-libelf prev-libelf || test -f stageautoprofile-lean
55680 @endif libelf
55681 @if gold
55682 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gold ] || \
55683 mkdir stageautofeedback-gold; \
55684 mv stageautofeedback-gold gold; \
55685 mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean
55686 @endif gold
55687 @if intl
55688 @cd $(HOST_SUBDIR); [ -d stageautofeedback-intl ] || \
55689 mkdir stageautofeedback-intl; \
55690 mv stageautofeedback-intl intl; \
55691 mv stageautoprofile-intl prev-intl || test -f stageautoprofile-lean
55692 @endif intl
55693 @if ld
55694 @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \
55695 mkdir stageautofeedback-ld; \
55696 mv stageautofeedback-ld ld; \
55697 mv stageautoprofile-ld prev-ld || test -f stageautoprofile-lean
55698 @endif ld
55699 @if libbacktrace
55700 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libbacktrace ] || \
55701 mkdir stageautofeedback-libbacktrace; \
55702 mv stageautofeedback-libbacktrace libbacktrace; \
55703 mv stageautoprofile-libbacktrace prev-libbacktrace || test -f stageautoprofile-lean
55704 @endif libbacktrace
55705 @if libcpp
55706 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcpp ] || \
55707 mkdir stageautofeedback-libcpp; \
55708 mv stageautofeedback-libcpp libcpp; \
55709 mv stageautoprofile-libcpp prev-libcpp || test -f stageautoprofile-lean
55710 @endif libcpp
55711 @if libdecnumber
55712 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libdecnumber ] || \
55713 mkdir stageautofeedback-libdecnumber; \
55714 mv stageautofeedback-libdecnumber libdecnumber; \
55715 mv stageautoprofile-libdecnumber prev-libdecnumber || test -f stageautoprofile-lean
55716 @endif libdecnumber
55717 @if libiberty
55718 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty ] || \
55719 mkdir stageautofeedback-libiberty; \
55720 mv stageautofeedback-libiberty libiberty; \
55721 mv stageautoprofile-libiberty prev-libiberty || test -f stageautoprofile-lean
55722 @endif libiberty
55723 @if libiberty-linker-plugin
55724 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty-linker-plugin ] || \
55725 mkdir stageautofeedback-libiberty-linker-plugin; \
55726 mv stageautofeedback-libiberty-linker-plugin libiberty-linker-plugin; \
55727 mv stageautoprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageautoprofile-lean
55728 @endif libiberty-linker-plugin
55729 @if libiconv
55730 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiconv ] || \
55731 mkdir stageautofeedback-libiconv; \
55732 mv stageautofeedback-libiconv libiconv; \
55733 mv stageautoprofile-libiconv prev-libiconv || test -f stageautoprofile-lean
55734 @endif libiconv
55735 @if zlib
55736 @cd $(HOST_SUBDIR); [ -d stageautofeedback-zlib ] || \
55737 mkdir stageautofeedback-zlib; \
55738 mv stageautofeedback-zlib zlib; \
55739 mv stageautoprofile-zlib prev-zlib || test -f stageautoprofile-lean
55740 @endif zlib
55741 @if lto-plugin
55742 @cd $(HOST_SUBDIR); [ -d stageautofeedback-lto-plugin ] || \
55743 mkdir stageautofeedback-lto-plugin; \
55744 mv stageautofeedback-lto-plugin lto-plugin; \
55745 mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean
55746 @endif lto-plugin
55747 @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \
55748 mkdir stageautofeedback-$(TARGET_SUBDIR); \
55749 mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
55750 mv stageautoprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageautoprofile-lean
55752 stageautofeedback-end::
55753 @if bfd
55754 @if test -d $(HOST_SUBDIR)/bfd; then \
55755 cd $(HOST_SUBDIR); mv bfd stageautofeedback-bfd; \
55756 mv prev-bfd stageautoprofile-bfd; : ; \
55758 @endif bfd
55759 @if opcodes
55760 @if test -d $(HOST_SUBDIR)/opcodes; then \
55761 cd $(HOST_SUBDIR); mv opcodes stageautofeedback-opcodes; \
55762 mv prev-opcodes stageautoprofile-opcodes; : ; \
55764 @endif opcodes
55765 @if binutils
55766 @if test -d $(HOST_SUBDIR)/binutils; then \
55767 cd $(HOST_SUBDIR); mv binutils stageautofeedback-binutils; \
55768 mv prev-binutils stageautoprofile-binutils; : ; \
55770 @endif binutils
55771 @if fixincludes
55772 @if test -d $(HOST_SUBDIR)/fixincludes; then \
55773 cd $(HOST_SUBDIR); mv fixincludes stageautofeedback-fixincludes; \
55774 mv prev-fixincludes stageautoprofile-fixincludes; : ; \
55776 @endif fixincludes
55777 @if gas
55778 @if test -d $(HOST_SUBDIR)/gas; then \
55779 cd $(HOST_SUBDIR); mv gas stageautofeedback-gas; \
55780 mv prev-gas stageautoprofile-gas; : ; \
55782 @endif gas
55783 @if gcc
55784 @if test -d $(HOST_SUBDIR)/gcc; then \
55785 cd $(HOST_SUBDIR); mv gcc stageautofeedback-gcc; \
55786 mv prev-gcc stageautoprofile-gcc; : ; \
55788 @endif gcc
55789 @if gmp
55790 @if test -d $(HOST_SUBDIR)/gmp; then \
55791 cd $(HOST_SUBDIR); mv gmp stageautofeedback-gmp; \
55792 mv prev-gmp stageautoprofile-gmp; : ; \
55794 @endif gmp
55795 @if mpfr
55796 @if test -d $(HOST_SUBDIR)/mpfr; then \
55797 cd $(HOST_SUBDIR); mv mpfr stageautofeedback-mpfr; \
55798 mv prev-mpfr stageautoprofile-mpfr; : ; \
55800 @endif mpfr
55801 @if mpc
55802 @if test -d $(HOST_SUBDIR)/mpc; then \
55803 cd $(HOST_SUBDIR); mv mpc stageautofeedback-mpc; \
55804 mv prev-mpc stageautoprofile-mpc; : ; \
55806 @endif mpc
55807 @if isl
55808 @if test -d $(HOST_SUBDIR)/isl; then \
55809 cd $(HOST_SUBDIR); mv isl stageautofeedback-isl; \
55810 mv prev-isl stageautoprofile-isl; : ; \
55812 @endif isl
55813 @if libelf
55814 @if test -d $(HOST_SUBDIR)/libelf; then \
55815 cd $(HOST_SUBDIR); mv libelf stageautofeedback-libelf; \
55816 mv prev-libelf stageautoprofile-libelf; : ; \
55818 @endif libelf
55819 @if gold
55820 @if test -d $(HOST_SUBDIR)/gold; then \
55821 cd $(HOST_SUBDIR); mv gold stageautofeedback-gold; \
55822 mv prev-gold stageautoprofile-gold; : ; \
55824 @endif gold
55825 @if intl
55826 @if test -d $(HOST_SUBDIR)/intl; then \
55827 cd $(HOST_SUBDIR); mv intl stageautofeedback-intl; \
55828 mv prev-intl stageautoprofile-intl; : ; \
55830 @endif intl
55831 @if ld
55832 @if test -d $(HOST_SUBDIR)/ld; then \
55833 cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \
55834 mv prev-ld stageautoprofile-ld; : ; \
55836 @endif ld
55837 @if libbacktrace
55838 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
55839 cd $(HOST_SUBDIR); mv libbacktrace stageautofeedback-libbacktrace; \
55840 mv prev-libbacktrace stageautoprofile-libbacktrace; : ; \
55842 @endif libbacktrace
55843 @if libcpp
55844 @if test -d $(HOST_SUBDIR)/libcpp; then \
55845 cd $(HOST_SUBDIR); mv libcpp stageautofeedback-libcpp; \
55846 mv prev-libcpp stageautoprofile-libcpp; : ; \
55848 @endif libcpp
55849 @if libdecnumber
55850 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
55851 cd $(HOST_SUBDIR); mv libdecnumber stageautofeedback-libdecnumber; \
55852 mv prev-libdecnumber stageautoprofile-libdecnumber; : ; \
55854 @endif libdecnumber
55855 @if libiberty
55856 @if test -d $(HOST_SUBDIR)/libiberty; then \
55857 cd $(HOST_SUBDIR); mv libiberty stageautofeedback-libiberty; \
55858 mv prev-libiberty stageautoprofile-libiberty; : ; \
55860 @endif libiberty
55861 @if libiberty-linker-plugin
55862 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
55863 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautofeedback-libiberty-linker-plugin; \
55864 mv prev-libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; : ; \
55866 @endif libiberty-linker-plugin
55867 @if libiconv
55868 @if test -d $(HOST_SUBDIR)/libiconv; then \
55869 cd $(HOST_SUBDIR); mv libiconv stageautofeedback-libiconv; \
55870 mv prev-libiconv stageautoprofile-libiconv; : ; \
55872 @endif libiconv
55873 @if zlib
55874 @if test -d $(HOST_SUBDIR)/zlib; then \
55875 cd $(HOST_SUBDIR); mv zlib stageautofeedback-zlib; \
55876 mv prev-zlib stageautoprofile-zlib; : ; \
55878 @endif zlib
55879 @if lto-plugin
55880 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
55881 cd $(HOST_SUBDIR); mv lto-plugin stageautofeedback-lto-plugin; \
55882 mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \
55884 @endif lto-plugin
55885 @if test -d $(TARGET_SUBDIR); then \
55886 mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \
55887 mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \
55889 rm -f stage_current
55891 # Bubble a bug fix through all the stages up to stage autofeedback. They are
55892 # remade, but not reconfigured. The next stage (if any) will not be
55893 # reconfigured either.
55894 .PHONY: stageautofeedback-bubble
55895 stageautofeedback-bubble:: stageautoprofile-bubble
55896 @r=`${PWD_COMMAND}`; export r; \
55897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55898 if test -f stageautofeedback-lean || test -f stageautoprofile-lean ; then \
55899 echo Skipping rebuild of stageautofeedback; \
55900 else \
55901 $(MAKE) stageautofeedback-start; \
55902 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautofeedback; \
55905 .PHONY: all-stageautofeedback clean-stageautofeedback
55906 do-clean: clean-stageautofeedback
55908 # FIXME: Will not need to be conditional when toplevel bootstrap is the
55909 # only possibility, but now it conflicts with no-bootstrap rules
55910 @if gcc-bootstrap
55914 .PHONY: autoprofiledbootstrap autoprofiledbootstrap-lean
55915 autoprofiledbootstrap:
55916 echo stageautofeedback > stage_final
55917 @r=`${PWD_COMMAND}`; export r; \
55918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55919 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageautofeedback-bubble
55920 @: $(MAKE); $(unstage)
55921 @r=`${PWD_COMMAND}`; export r; \
55922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55923 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
55924 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55926 autoprofiledbootstrap-lean:
55927 echo stageautofeedback > stage_final
55928 @r=`${PWD_COMMAND}`; export r; \
55929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55930 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageautofeedback-bubble
55931 @: $(MAKE); $(unstage)
55932 @r=`${PWD_COMMAND}`; export r; \
55933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55934 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
55935 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
55938 # Rules to wipe a stage and all the following ones, also used for cleanstrap
55939 distclean-stageautoprofile:: distclean-stageautofeedback
55940 .PHONY: distclean-stageautofeedback
55941 distclean-stageautofeedback::
55942 @: $(MAKE); $(stage)
55943 @test "`cat stage_last`" != stageautofeedback || rm -f stage_last
55944 rm -rf stageautofeedback-*
55947 @endif gcc-bootstrap
55951 stageprofile-end::
55952 $(MAKE) distclean-stagefeedback
55954 stagefeedback-start::
55955 @r=`${PWD_COMMAND}`; export r; \
55956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55957 for i in stageprofile-*; do \
55958 j=`echo $$i | sed s/^stageprofile-//`; \
55959 cd $$r/$$i && \
55960 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
55961 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
55962 done
55964 @if gcc-bootstrap
55965 do-distclean: distclean-stage1
55967 # Provide a GCC build when we're building target libraries. This does
55968 # not work as a dependency, just as the minimum necessary to avoid errors.
55969 stage_last:
55970 @r=`${PWD_COMMAND}`; export r; \
55971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55972 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
55974 # Same as unstage, but not phony and defaulting to stage1-start. We place
55975 # it in the dependency so that for example `make -j3 all-gcc' works.
55976 stage_current:
55977 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
55979 .PHONY: restrap
55980 restrap::
55981 @: $(MAKE); $(stage)
55982 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagetrain-* stagefeedback-* stageautoprofile-* stageautofeedback-*
55983 restrap:: all
55984 @endif gcc-bootstrap
55986 # --------------------------------------
55987 # Dependencies between different modules
55988 # --------------------------------------
55990 # Generic dependencies for target modules on host stuff, especially gcc
55991 @if gcc-bootstrap
55992 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
55993 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
55994 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
55995 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
55996 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
55997 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-gcc
55998 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
55999 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-gcc
56000 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-gcc
56001 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
56002 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
56003 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
56004 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
56005 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
56006 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-gcc
56007 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
56008 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-gcc
56009 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-gcc
56010 configure-stage1-target-libvtv: maybe-all-stage1-gcc
56011 configure-stage2-target-libvtv: maybe-all-stage2-gcc
56012 configure-stage3-target-libvtv: maybe-all-stage3-gcc
56013 configure-stage4-target-libvtv: maybe-all-stage4-gcc
56014 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
56015 configure-stagetrain-target-libvtv: maybe-all-stagetrain-gcc
56016 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
56017 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-gcc
56018 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-gcc
56019 configure-target-liboffloadmic: stage_last
56020 configure-target-libssp: stage_last
56021 configure-target-newlib: stage_last
56022 configure-stage1-target-libgcc: maybe-all-stage1-gcc
56023 configure-stage2-target-libgcc: maybe-all-stage2-gcc
56024 configure-stage3-target-libgcc: maybe-all-stage3-gcc
56025 configure-stage4-target-libgcc: maybe-all-stage4-gcc
56026 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
56027 configure-stagetrain-target-libgcc: maybe-all-stagetrain-gcc
56028 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
56029 configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
56030 configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
56031 configure-target-libbacktrace: stage_last
56032 configure-target-libquadmath: stage_last
56033 configure-target-libgfortran: stage_last
56034 configure-target-libobjc: stage_last
56035 configure-target-libgo: stage_last
56036 configure-target-libhsail-rt: stage_last
56037 configure-target-libphobos: stage_last
56038 configure-target-libtermcap: stage_last
56039 configure-target-winsup: stage_last
56040 configure-target-libgloss: stage_last
56041 configure-target-libffi: stage_last
56042 configure-target-zlib: stage_last
56043 configure-target-rda: stage_last
56044 configure-target-libada: stage_last
56045 configure-stage1-target-libgomp: maybe-all-stage1-gcc
56046 configure-stage2-target-libgomp: maybe-all-stage2-gcc
56047 configure-stage3-target-libgomp: maybe-all-stage3-gcc
56048 configure-stage4-target-libgomp: maybe-all-stage4-gcc
56049 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
56050 configure-stagetrain-target-libgomp: maybe-all-stagetrain-gcc
56051 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
56052 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
56053 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
56054 configure-target-libitm: stage_last
56055 configure-target-libatomic: stage_last
56056 @endif gcc-bootstrap
56058 @if gcc-no-bootstrap
56059 configure-target-libstdc++-v3: maybe-all-gcc
56060 configure-target-libsanitizer: maybe-all-gcc
56061 configure-target-libvtv: maybe-all-gcc
56062 configure-target-liboffloadmic: maybe-all-gcc
56063 configure-target-libssp: maybe-all-gcc
56064 configure-target-newlib: maybe-all-gcc
56065 configure-target-libgcc: maybe-all-gcc
56066 configure-target-libbacktrace: maybe-all-gcc
56067 configure-target-libquadmath: maybe-all-gcc
56068 configure-target-libgfortran: maybe-all-gcc
56069 configure-target-libobjc: maybe-all-gcc
56070 configure-target-libgo: maybe-all-gcc
56071 configure-target-libhsail-rt: maybe-all-gcc
56072 configure-target-libphobos: maybe-all-gcc
56073 configure-target-libtermcap: maybe-all-gcc
56074 configure-target-winsup: maybe-all-gcc
56075 configure-target-libgloss: maybe-all-gcc
56076 configure-target-libffi: maybe-all-gcc
56077 configure-target-zlib: maybe-all-gcc
56078 configure-target-rda: maybe-all-gcc
56079 configure-target-libada: maybe-all-gcc
56080 configure-target-libgomp: maybe-all-gcc
56081 configure-target-libitm: maybe-all-gcc
56082 configure-target-libatomic: maybe-all-gcc
56083 @endif gcc-no-bootstrap
56086 # There are two types of dependencies here: 'hard' dependencies, where one
56087 # module simply won't build without the other; and 'soft' dependencies, where
56088 # if the depended-on module is missing, the depending module will do without
56089 # or find a substitute somewhere (perhaps installed). Soft dependencies
56090 # are made here to depend on a 'maybe-' target. If you're not sure,
56091 # it's safer to use a soft dependency.
56098 # With all the machinery above in place, it is pretty easy to generate
56099 # dependencies. Host dependencies are a bit more complex because we have
56100 # to check for bootstrap/prebootstrap dependencies. To resolve
56101 # prebootstrap dependencies, prebootstrap modules are gathered in
56102 # a hash table.
56103 all-build-bison: maybe-all-build-texinfo
56104 all-build-flex: maybe-all-build-texinfo
56105 all-build-flex: maybe-all-build-bison
56106 all-build-flex: maybe-all-build-m4
56107 all-build-libiberty: maybe-all-build-texinfo
56108 all-build-m4: maybe-all-build-texinfo
56109 all-build-fixincludes: maybe-all-build-libiberty
56110 all-build-libcpp: maybe-all-build-libiberty
56111 configure-gcc: maybe-configure-intl
56112 configure-stage1-gcc: maybe-configure-stage1-intl
56113 configure-stage2-gcc: maybe-configure-stage2-intl
56114 configure-stage3-gcc: maybe-configure-stage3-intl
56115 configure-stage4-gcc: maybe-configure-stage4-intl
56116 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
56117 configure-stagetrain-gcc: maybe-configure-stagetrain-intl
56118 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
56119 configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl
56120 configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl
56121 configure-gcc: maybe-all-gmp
56122 configure-stage1-gcc: maybe-all-stage1-gmp
56123 configure-stage2-gcc: maybe-all-stage2-gmp
56124 configure-stage3-gcc: maybe-all-stage3-gmp
56125 configure-stage4-gcc: maybe-all-stage4-gmp
56126 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
56127 configure-stagetrain-gcc: maybe-all-stagetrain-gmp
56128 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
56129 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
56130 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
56131 configure-gcc: maybe-all-mpfr
56132 configure-stage1-gcc: maybe-all-stage1-mpfr
56133 configure-stage2-gcc: maybe-all-stage2-mpfr
56134 configure-stage3-gcc: maybe-all-stage3-mpfr
56135 configure-stage4-gcc: maybe-all-stage4-mpfr
56136 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
56137 configure-stagetrain-gcc: maybe-all-stagetrain-mpfr
56138 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
56139 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
56140 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
56141 configure-gcc: maybe-all-mpc
56142 configure-stage1-gcc: maybe-all-stage1-mpc
56143 configure-stage2-gcc: maybe-all-stage2-mpc
56144 configure-stage3-gcc: maybe-all-stage3-mpc
56145 configure-stage4-gcc: maybe-all-stage4-mpc
56146 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
56147 configure-stagetrain-gcc: maybe-all-stagetrain-mpc
56148 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
56149 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
56150 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
56151 configure-gcc: maybe-all-isl
56152 configure-stage1-gcc: maybe-all-stage1-isl
56153 configure-stage2-gcc: maybe-all-stage2-isl
56154 configure-stage3-gcc: maybe-all-stage3-isl
56155 configure-stage4-gcc: maybe-all-stage4-isl
56156 configure-stageprofile-gcc: maybe-all-stageprofile-isl
56157 configure-stagetrain-gcc: maybe-all-stagetrain-isl
56158 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
56159 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
56160 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
56161 configure-gcc: maybe-all-lto-plugin
56162 configure-stage1-gcc: maybe-all-stage1-lto-plugin
56163 configure-stage2-gcc: maybe-all-stage2-lto-plugin
56164 configure-stage3-gcc: maybe-all-stage3-lto-plugin
56165 configure-stage4-gcc: maybe-all-stage4-lto-plugin
56166 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
56167 configure-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
56168 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
56169 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
56170 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
56171 configure-gcc: maybe-all-binutils
56172 configure-stage1-gcc: maybe-all-stage1-binutils
56173 configure-stage2-gcc: maybe-all-stage2-binutils
56174 configure-stage3-gcc: maybe-all-stage3-binutils
56175 configure-stage4-gcc: maybe-all-stage4-binutils
56176 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
56177 configure-stagetrain-gcc: maybe-all-stagetrain-binutils
56178 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
56179 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
56180 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
56181 configure-gcc: maybe-all-gas
56182 configure-stage1-gcc: maybe-all-stage1-gas
56183 configure-stage2-gcc: maybe-all-stage2-gas
56184 configure-stage3-gcc: maybe-all-stage3-gas
56185 configure-stage4-gcc: maybe-all-stage4-gas
56186 configure-stageprofile-gcc: maybe-all-stageprofile-gas
56187 configure-stagetrain-gcc: maybe-all-stagetrain-gas
56188 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
56189 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
56190 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
56191 configure-gcc: maybe-all-ld
56192 configure-stage1-gcc: maybe-all-stage1-ld
56193 configure-stage2-gcc: maybe-all-stage2-ld
56194 configure-stage3-gcc: maybe-all-stage3-ld
56195 configure-stage4-gcc: maybe-all-stage4-ld
56196 configure-stageprofile-gcc: maybe-all-stageprofile-ld
56197 configure-stagetrain-gcc: maybe-all-stagetrain-ld
56198 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
56199 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
56200 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
56201 configure-gcc: maybe-all-gold
56202 configure-stage1-gcc: maybe-all-stage1-gold
56203 configure-stage2-gcc: maybe-all-stage2-gold
56204 configure-stage3-gcc: maybe-all-stage3-gold
56205 configure-stage4-gcc: maybe-all-stage4-gold
56206 configure-stageprofile-gcc: maybe-all-stageprofile-gold
56207 configure-stagetrain-gcc: maybe-all-stagetrain-gold
56208 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
56209 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
56210 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
56211 configure-gcc: maybe-all-libelf
56212 configure-stage1-gcc: maybe-all-stage1-libelf
56213 configure-stage2-gcc: maybe-all-stage2-libelf
56214 configure-stage3-gcc: maybe-all-stage3-libelf
56215 configure-stage4-gcc: maybe-all-stage4-libelf
56216 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
56217 configure-stagetrain-gcc: maybe-all-stagetrain-libelf
56218 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
56219 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libelf
56220 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libelf
56221 configure-gcc: maybe-all-libiconv
56222 configure-stage1-gcc: maybe-all-stage1-libiconv
56223 configure-stage2-gcc: maybe-all-stage2-libiconv
56224 configure-stage3-gcc: maybe-all-stage3-libiconv
56225 configure-stage4-gcc: maybe-all-stage4-libiconv
56226 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
56227 configure-stagetrain-gcc: maybe-all-stagetrain-libiconv
56228 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
56229 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
56230 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
56231 all-gcc: all-libiberty
56232 all-stage1-gcc: all-stage1-libiberty
56233 all-stage2-gcc: all-stage2-libiberty
56234 all-stage3-gcc: all-stage3-libiberty
56235 all-stage4-gcc: all-stage4-libiberty
56236 all-stageprofile-gcc: all-stageprofile-libiberty
56237 all-stagetrain-gcc: all-stagetrain-libiberty
56238 all-stagefeedback-gcc: all-stagefeedback-libiberty
56239 all-stageautoprofile-gcc: all-stageautoprofile-libiberty
56240 all-stageautofeedback-gcc: all-stageautofeedback-libiberty
56241 all-gcc: maybe-all-intl
56242 all-stage1-gcc: maybe-all-stage1-intl
56243 all-stage2-gcc: maybe-all-stage2-intl
56244 all-stage3-gcc: maybe-all-stage3-intl
56245 all-stage4-gcc: maybe-all-stage4-intl
56246 all-stageprofile-gcc: maybe-all-stageprofile-intl
56247 all-stagetrain-gcc: maybe-all-stagetrain-intl
56248 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
56249 all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl
56250 all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl
56251 all-gcc: maybe-all-mpfr
56252 all-stage1-gcc: maybe-all-stage1-mpfr
56253 all-stage2-gcc: maybe-all-stage2-mpfr
56254 all-stage3-gcc: maybe-all-stage3-mpfr
56255 all-stage4-gcc: maybe-all-stage4-mpfr
56256 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
56257 all-stagetrain-gcc: maybe-all-stagetrain-mpfr
56258 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
56259 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
56260 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
56261 all-gcc: maybe-all-mpc
56262 all-stage1-gcc: maybe-all-stage1-mpc
56263 all-stage2-gcc: maybe-all-stage2-mpc
56264 all-stage3-gcc: maybe-all-stage3-mpc
56265 all-stage4-gcc: maybe-all-stage4-mpc
56266 all-stageprofile-gcc: maybe-all-stageprofile-mpc
56267 all-stagetrain-gcc: maybe-all-stagetrain-mpc
56268 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
56269 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
56270 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
56271 all-gcc: maybe-all-isl
56272 all-stage1-gcc: maybe-all-stage1-isl
56273 all-stage2-gcc: maybe-all-stage2-isl
56274 all-stage3-gcc: maybe-all-stage3-isl
56275 all-stage4-gcc: maybe-all-stage4-isl
56276 all-stageprofile-gcc: maybe-all-stageprofile-isl
56277 all-stagetrain-gcc: maybe-all-stagetrain-isl
56278 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
56279 all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
56280 all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
56281 all-gcc: maybe-all-build-texinfo
56282 all-stage1-gcc: maybe-all-build-texinfo
56283 all-stage2-gcc: maybe-all-build-texinfo
56284 all-stage3-gcc: maybe-all-build-texinfo
56285 all-stage4-gcc: maybe-all-build-texinfo
56286 all-stageprofile-gcc: maybe-all-build-texinfo
56287 all-stagetrain-gcc: maybe-all-build-texinfo
56288 all-stagefeedback-gcc: maybe-all-build-texinfo
56289 all-stageautoprofile-gcc: maybe-all-build-texinfo
56290 all-stageautofeedback-gcc: maybe-all-build-texinfo
56291 all-gcc: maybe-all-build-bison
56292 all-stage1-gcc: maybe-all-build-bison
56293 all-stage2-gcc: maybe-all-build-bison
56294 all-stage3-gcc: maybe-all-build-bison
56295 all-stage4-gcc: maybe-all-build-bison
56296 all-stageprofile-gcc: maybe-all-build-bison
56297 all-stagetrain-gcc: maybe-all-build-bison
56298 all-stagefeedback-gcc: maybe-all-build-bison
56299 all-stageautoprofile-gcc: maybe-all-build-bison
56300 all-stageautofeedback-gcc: maybe-all-build-bison
56301 all-gcc: maybe-all-build-flex
56302 all-stage1-gcc: maybe-all-build-flex
56303 all-stage2-gcc: maybe-all-build-flex
56304 all-stage3-gcc: maybe-all-build-flex
56305 all-stage4-gcc: maybe-all-build-flex
56306 all-stageprofile-gcc: maybe-all-build-flex
56307 all-stagetrain-gcc: maybe-all-build-flex
56308 all-stagefeedback-gcc: maybe-all-build-flex
56309 all-stageautoprofile-gcc: maybe-all-build-flex
56310 all-stageautofeedback-gcc: maybe-all-build-flex
56311 all-gcc: maybe-all-build-libiberty
56312 all-stage1-gcc: maybe-all-build-libiberty
56313 all-stage2-gcc: maybe-all-build-libiberty
56314 all-stage3-gcc: maybe-all-build-libiberty
56315 all-stage4-gcc: maybe-all-build-libiberty
56316 all-stageprofile-gcc: maybe-all-build-libiberty
56317 all-stagetrain-gcc: maybe-all-build-libiberty
56318 all-stagefeedback-gcc: maybe-all-build-libiberty
56319 all-stageautoprofile-gcc: maybe-all-build-libiberty
56320 all-stageautofeedback-gcc: maybe-all-build-libiberty
56321 all-gcc: maybe-all-build-fixincludes
56322 all-stage1-gcc: maybe-all-build-fixincludes
56323 all-stage2-gcc: maybe-all-build-fixincludes
56324 all-stage3-gcc: maybe-all-build-fixincludes
56325 all-stage4-gcc: maybe-all-build-fixincludes
56326 all-stageprofile-gcc: maybe-all-build-fixincludes
56327 all-stagetrain-gcc: maybe-all-build-fixincludes
56328 all-stagefeedback-gcc: maybe-all-build-fixincludes
56329 all-stageautoprofile-gcc: maybe-all-build-fixincludes
56330 all-stageautofeedback-gcc: maybe-all-build-fixincludes
56331 all-gcc: maybe-all-build-libcpp
56332 all-stage1-gcc: maybe-all-build-libcpp
56333 all-stage2-gcc: maybe-all-build-libcpp
56334 all-stage3-gcc: maybe-all-build-libcpp
56335 all-stage4-gcc: maybe-all-build-libcpp
56336 all-stageprofile-gcc: maybe-all-build-libcpp
56337 all-stagetrain-gcc: maybe-all-build-libcpp
56338 all-stagefeedback-gcc: maybe-all-build-libcpp
56339 all-stageautoprofile-gcc: maybe-all-build-libcpp
56340 all-stageautofeedback-gcc: maybe-all-build-libcpp
56341 all-gcc: maybe-all-zlib
56342 all-stage1-gcc: maybe-all-stage1-zlib
56343 all-stage2-gcc: maybe-all-stage2-zlib
56344 all-stage3-gcc: maybe-all-stage3-zlib
56345 all-stage4-gcc: maybe-all-stage4-zlib
56346 all-stageprofile-gcc: maybe-all-stageprofile-zlib
56347 all-stagetrain-gcc: maybe-all-stagetrain-zlib
56348 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
56349 all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
56350 all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
56351 all-gcc: all-libbacktrace
56352 all-stage1-gcc: all-stage1-libbacktrace
56353 all-stage2-gcc: all-stage2-libbacktrace
56354 all-stage3-gcc: all-stage3-libbacktrace
56355 all-stage4-gcc: all-stage4-libbacktrace
56356 all-stageprofile-gcc: all-stageprofile-libbacktrace
56357 all-stagetrain-gcc: all-stagetrain-libbacktrace
56358 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
56359 all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
56360 all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
56361 all-gcc: all-libcpp
56362 all-stage1-gcc: all-stage1-libcpp
56363 all-stage2-gcc: all-stage2-libcpp
56364 all-stage3-gcc: all-stage3-libcpp
56365 all-stage4-gcc: all-stage4-libcpp
56366 all-stageprofile-gcc: all-stageprofile-libcpp
56367 all-stagetrain-gcc: all-stagetrain-libcpp
56368 all-stagefeedback-gcc: all-stagefeedback-libcpp
56369 all-stageautoprofile-gcc: all-stageautoprofile-libcpp
56370 all-stageautofeedback-gcc: all-stageautofeedback-libcpp
56371 all-gcc: all-libdecnumber
56372 all-stage1-gcc: all-stage1-libdecnumber
56373 all-stage2-gcc: all-stage2-libdecnumber
56374 all-stage3-gcc: all-stage3-libdecnumber
56375 all-stage4-gcc: all-stage4-libdecnumber
56376 all-stageprofile-gcc: all-stageprofile-libdecnumber
56377 all-stagetrain-gcc: all-stagetrain-libdecnumber
56378 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
56379 all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
56380 all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
56381 all-gcc: maybe-all-libiberty
56382 all-stage1-gcc: maybe-all-stage1-libiberty
56383 all-stage2-gcc: maybe-all-stage2-libiberty
56384 all-stage3-gcc: maybe-all-stage3-libiberty
56385 all-stage4-gcc: maybe-all-stage4-libiberty
56386 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
56387 all-stagetrain-gcc: maybe-all-stagetrain-libiberty
56388 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
56389 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
56390 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
56391 all-gcc: maybe-all-fixincludes
56392 all-stage1-gcc: maybe-all-stage1-fixincludes
56393 all-stage2-gcc: maybe-all-stage2-fixincludes
56394 all-stage3-gcc: maybe-all-stage3-fixincludes
56395 all-stage4-gcc: maybe-all-stage4-fixincludes
56396 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
56397 all-stagetrain-gcc: maybe-all-stagetrain-fixincludes
56398 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
56399 all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
56400 all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
56401 all-gcc: maybe-all-lto-plugin
56402 all-stage1-gcc: maybe-all-stage1-lto-plugin
56403 all-stage2-gcc: maybe-all-stage2-lto-plugin
56404 all-stage3-gcc: maybe-all-stage3-lto-plugin
56405 all-stage4-gcc: maybe-all-stage4-lto-plugin
56406 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
56407 all-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
56408 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
56409 all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
56410 all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
56411 all-gcc: maybe-all-libiconv
56412 all-stage1-gcc: maybe-all-stage1-libiconv
56413 all-stage2-gcc: maybe-all-stage2-libiconv
56414 all-stage3-gcc: maybe-all-stage3-libiconv
56415 all-stage4-gcc: maybe-all-stage4-libiconv
56416 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
56417 all-stagetrain-gcc: maybe-all-stagetrain-libiconv
56418 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
56419 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
56420 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
56421 info-gcc: maybe-all-build-libiberty
56422 info-stage1-gcc: maybe-all-build-libiberty
56423 info-stage2-gcc: maybe-all-build-libiberty
56424 info-stage3-gcc: maybe-all-build-libiberty
56425 info-stage4-gcc: maybe-all-build-libiberty
56426 info-stageprofile-gcc: maybe-all-build-libiberty
56427 info-stagetrain-gcc: maybe-all-build-libiberty
56428 info-stagefeedback-gcc: maybe-all-build-libiberty
56429 info-stageautoprofile-gcc: maybe-all-build-libiberty
56430 info-stageautofeedback-gcc: maybe-all-build-libiberty
56431 dvi-gcc: maybe-all-build-libiberty
56432 dvi-stage1-gcc: maybe-all-build-libiberty
56433 dvi-stage2-gcc: maybe-all-build-libiberty
56434 dvi-stage3-gcc: maybe-all-build-libiberty
56435 dvi-stage4-gcc: maybe-all-build-libiberty
56436 dvi-stageprofile-gcc: maybe-all-build-libiberty
56437 dvi-stagetrain-gcc: maybe-all-build-libiberty
56438 dvi-stagefeedback-gcc: maybe-all-build-libiberty
56439 dvi-stageautoprofile-gcc: maybe-all-build-libiberty
56440 dvi-stageautofeedback-gcc: maybe-all-build-libiberty
56441 pdf-gcc: maybe-all-build-libiberty
56442 pdf-stage1-gcc: maybe-all-build-libiberty
56443 pdf-stage2-gcc: maybe-all-build-libiberty
56444 pdf-stage3-gcc: maybe-all-build-libiberty
56445 pdf-stage4-gcc: maybe-all-build-libiberty
56446 pdf-stageprofile-gcc: maybe-all-build-libiberty
56447 pdf-stagetrain-gcc: maybe-all-build-libiberty
56448 pdf-stagefeedback-gcc: maybe-all-build-libiberty
56449 pdf-stageautoprofile-gcc: maybe-all-build-libiberty
56450 pdf-stageautofeedback-gcc: maybe-all-build-libiberty
56451 html-gcc: maybe-all-build-libiberty
56452 html-stage1-gcc: maybe-all-build-libiberty
56453 html-stage2-gcc: maybe-all-build-libiberty
56454 html-stage3-gcc: maybe-all-build-libiberty
56455 html-stage4-gcc: maybe-all-build-libiberty
56456 html-stageprofile-gcc: maybe-all-build-libiberty
56457 html-stagetrain-gcc: maybe-all-build-libiberty
56458 html-stagefeedback-gcc: maybe-all-build-libiberty
56459 html-stageautoprofile-gcc: maybe-all-build-libiberty
56460 html-stageautofeedback-gcc: maybe-all-build-libiberty
56461 install-gcc: maybe-install-fixincludes
56462 install-gcc: maybe-install-lto-plugin
56463 install-strip-gcc: maybe-install-strip-fixincludes
56464 install-strip-gcc: maybe-install-strip-lto-plugin
56465 configure-libcpp: configure-libiberty
56466 configure-stage1-libcpp: configure-stage1-libiberty
56467 configure-stage2-libcpp: configure-stage2-libiberty
56468 configure-stage3-libcpp: configure-stage3-libiberty
56469 configure-stage4-libcpp: configure-stage4-libiberty
56470 configure-stageprofile-libcpp: configure-stageprofile-libiberty
56471 configure-stagetrain-libcpp: configure-stagetrain-libiberty
56472 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
56473 configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
56474 configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
56475 configure-libcpp: maybe-configure-intl
56476 configure-stage1-libcpp: maybe-configure-stage1-intl
56477 configure-stage2-libcpp: maybe-configure-stage2-intl
56478 configure-stage3-libcpp: maybe-configure-stage3-intl
56479 configure-stage4-libcpp: maybe-configure-stage4-intl
56480 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
56481 configure-stagetrain-libcpp: maybe-configure-stagetrain-intl
56482 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
56483 configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl
56484 configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl
56485 configure-libcpp: maybe-all-libiconv
56486 configure-stage1-libcpp: maybe-all-stage1-libiconv
56487 configure-stage2-libcpp: maybe-all-stage2-libiconv
56488 configure-stage3-libcpp: maybe-all-stage3-libiconv
56489 configure-stage4-libcpp: maybe-all-stage4-libiconv
56490 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
56491 configure-stagetrain-libcpp: maybe-all-stagetrain-libiconv
56492 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
56493 configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
56494 configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
56495 all-libcpp: all-libiberty
56496 all-stage1-libcpp: all-stage1-libiberty
56497 all-stage2-libcpp: all-stage2-libiberty
56498 all-stage3-libcpp: all-stage3-libiberty
56499 all-stage4-libcpp: all-stage4-libiberty
56500 all-stageprofile-libcpp: all-stageprofile-libiberty
56501 all-stagetrain-libcpp: all-stagetrain-libiberty
56502 all-stagefeedback-libcpp: all-stagefeedback-libiberty
56503 all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
56504 all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
56505 all-libcpp: maybe-all-intl
56506 all-stage1-libcpp: maybe-all-stage1-intl
56507 all-stage2-libcpp: maybe-all-stage2-intl
56508 all-stage3-libcpp: maybe-all-stage3-intl
56509 all-stage4-libcpp: maybe-all-stage4-intl
56510 all-stageprofile-libcpp: maybe-all-stageprofile-intl
56511 all-stagetrain-libcpp: maybe-all-stagetrain-intl
56512 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
56513 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl
56514 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl
56515 all-libcpp: maybe-all-libiconv
56516 all-stage1-libcpp: maybe-all-stage1-libiconv
56517 all-stage2-libcpp: maybe-all-stage2-libiconv
56518 all-stage3-libcpp: maybe-all-stage3-libiconv
56519 all-stage4-libcpp: maybe-all-stage4-libiconv
56520 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
56521 all-stagetrain-libcpp: maybe-all-stagetrain-libiconv
56522 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
56523 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
56524 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
56525 all-fixincludes: maybe-all-libiberty
56526 all-stage1-fixincludes: maybe-all-stage1-libiberty
56527 all-stage2-fixincludes: maybe-all-stage2-libiberty
56528 all-stage3-fixincludes: maybe-all-stage3-libiberty
56529 all-stage4-fixincludes: maybe-all-stage4-libiberty
56530 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
56531 all-stagetrain-fixincludes: maybe-all-stagetrain-libiberty
56532 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
56533 all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
56534 all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
56535 all-gnattools: maybe-all-target-libada
56536 all-lto-plugin: maybe-all-libiberty
56537 all-stage1-lto-plugin: maybe-all-stage1-libiberty
56538 all-stage2-lto-plugin: maybe-all-stage2-libiberty
56539 all-stage3-lto-plugin: maybe-all-stage3-libiberty
56540 all-stage4-lto-plugin: maybe-all-stage4-libiberty
56541 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
56542 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty
56543 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
56544 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
56545 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
56546 all-lto-plugin: maybe-all-libiberty-linker-plugin
56547 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
56548 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
56549 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
56550 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
56551 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
56552 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty-linker-plugin
56553 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
56554 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
56555 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
56556 all-gotools: maybe-all-target-libgo
56557 configure-intl: maybe-all-libiconv
56558 configure-stage1-intl: maybe-all-stage1-libiconv
56559 configure-stage2-intl: maybe-all-stage2-libiconv
56560 configure-stage3-intl: maybe-all-stage3-libiconv
56561 configure-stage4-intl: maybe-all-stage4-libiconv
56562 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
56563 configure-stagetrain-intl: maybe-all-stagetrain-libiconv
56564 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
56565 configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
56566 configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
56567 configure-mpfr: maybe-all-gmp
56568 configure-stage1-mpfr: maybe-all-stage1-gmp
56569 configure-stage2-mpfr: maybe-all-stage2-gmp
56570 configure-stage3-mpfr: maybe-all-stage3-gmp
56571 configure-stage4-mpfr: maybe-all-stage4-gmp
56572 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
56573 configure-stagetrain-mpfr: maybe-all-stagetrain-gmp
56574 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
56575 configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
56576 configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
56577 configure-mpc: maybe-all-mpfr
56578 configure-stage1-mpc: maybe-all-stage1-mpfr
56579 configure-stage2-mpc: maybe-all-stage2-mpfr
56580 configure-stage3-mpc: maybe-all-stage3-mpfr
56581 configure-stage4-mpc: maybe-all-stage4-mpfr
56582 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
56583 configure-stagetrain-mpc: maybe-all-stagetrain-mpfr
56584 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
56585 configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
56586 configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
56587 configure-isl: maybe-all-gmp
56588 configure-stage1-isl: maybe-all-stage1-gmp
56589 configure-stage2-isl: maybe-all-stage2-gmp
56590 configure-stage3-isl: maybe-all-stage3-gmp
56591 configure-stage4-isl: maybe-all-stage4-gmp
56592 configure-stageprofile-isl: maybe-all-stageprofile-gmp
56593 configure-stagetrain-isl: maybe-all-stagetrain-gmp
56594 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
56595 configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
56596 configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
56597 all-intl: maybe-all-libiconv
56598 all-stage1-intl: maybe-all-stage1-libiconv
56599 all-stage2-intl: maybe-all-stage2-libiconv
56600 all-stage3-intl: maybe-all-stage3-libiconv
56601 all-stage4-intl: maybe-all-stage4-libiconv
56602 all-stageprofile-intl: maybe-all-stageprofile-libiconv
56603 all-stagetrain-intl: maybe-all-stagetrain-libiconv
56604 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
56605 all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
56606 all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
56607 configure-gdb: maybe-configure-sim
56608 all-gdb: maybe-all-readline
56609 all-gdb: maybe-all-build-bison
56610 all-gdb: maybe-all-sim
56611 all-gdb: maybe-all-libtermcap
56612 configure-libgui: maybe-configure-tcl
56613 configure-libgui: maybe-configure-tk
56614 all-libgui: maybe-all-tcl
56615 all-libgui: maybe-all-tk
56616 all-libgui: maybe-all-itcl
56617 configure-bfd: configure-libiberty
56618 configure-stage1-bfd: configure-stage1-libiberty
56619 configure-stage2-bfd: configure-stage2-libiberty
56620 configure-stage3-bfd: configure-stage3-libiberty
56621 configure-stage4-bfd: configure-stage4-libiberty
56622 configure-stageprofile-bfd: configure-stageprofile-libiberty
56623 configure-stagetrain-bfd: configure-stagetrain-libiberty
56624 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
56625 configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
56626 configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
56627 configure-bfd: maybe-configure-intl
56628 configure-stage1-bfd: maybe-configure-stage1-intl
56629 configure-stage2-bfd: maybe-configure-stage2-intl
56630 configure-stage3-bfd: maybe-configure-stage3-intl
56631 configure-stage4-bfd: maybe-configure-stage4-intl
56632 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
56633 configure-stagetrain-bfd: maybe-configure-stagetrain-intl
56634 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
56635 configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl
56636 configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl
56637 all-bfd: maybe-all-libiberty
56638 all-stage1-bfd: maybe-all-stage1-libiberty
56639 all-stage2-bfd: maybe-all-stage2-libiberty
56640 all-stage3-bfd: maybe-all-stage3-libiberty
56641 all-stage4-bfd: maybe-all-stage4-libiberty
56642 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
56643 all-stagetrain-bfd: maybe-all-stagetrain-libiberty
56644 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
56645 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
56646 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
56647 all-bfd: maybe-all-intl
56648 all-stage1-bfd: maybe-all-stage1-intl
56649 all-stage2-bfd: maybe-all-stage2-intl
56650 all-stage3-bfd: maybe-all-stage3-intl
56651 all-stage4-bfd: maybe-all-stage4-intl
56652 all-stageprofile-bfd: maybe-all-stageprofile-intl
56653 all-stagetrain-bfd: maybe-all-stagetrain-intl
56654 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
56655 all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl
56656 all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl
56657 all-bfd: maybe-all-zlib
56658 all-stage1-bfd: maybe-all-stage1-zlib
56659 all-stage2-bfd: maybe-all-stage2-zlib
56660 all-stage3-bfd: maybe-all-stage3-zlib
56661 all-stage4-bfd: maybe-all-stage4-zlib
56662 all-stageprofile-bfd: maybe-all-stageprofile-zlib
56663 all-stagetrain-bfd: maybe-all-stagetrain-zlib
56664 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
56665 all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
56666 all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
56667 configure-opcodes: configure-libiberty
56668 configure-stage1-opcodes: configure-stage1-libiberty
56669 configure-stage2-opcodes: configure-stage2-libiberty
56670 configure-stage3-opcodes: configure-stage3-libiberty
56671 configure-stage4-opcodes: configure-stage4-libiberty
56672 configure-stageprofile-opcodes: configure-stageprofile-libiberty
56673 configure-stagetrain-opcodes: configure-stagetrain-libiberty
56674 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
56675 configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
56676 configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
56677 all-opcodes: maybe-all-libiberty
56678 all-stage1-opcodes: maybe-all-stage1-libiberty
56679 all-stage2-opcodes: maybe-all-stage2-libiberty
56680 all-stage3-opcodes: maybe-all-stage3-libiberty
56681 all-stage4-opcodes: maybe-all-stage4-libiberty
56682 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
56683 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
56684 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
56685 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
56686 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
56687 configure-binutils: maybe-configure-intl
56688 configure-stage1-binutils: maybe-configure-stage1-intl
56689 configure-stage2-binutils: maybe-configure-stage2-intl
56690 configure-stage3-binutils: maybe-configure-stage3-intl
56691 configure-stage4-binutils: maybe-configure-stage4-intl
56692 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
56693 configure-stagetrain-binutils: maybe-configure-stagetrain-intl
56694 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
56695 configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl
56696 configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl
56697 all-binutils: maybe-all-libiberty
56698 all-stage1-binutils: maybe-all-stage1-libiberty
56699 all-stage2-binutils: maybe-all-stage2-libiberty
56700 all-stage3-binutils: maybe-all-stage3-libiberty
56701 all-stage4-binutils: maybe-all-stage4-libiberty
56702 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
56703 all-stagetrain-binutils: maybe-all-stagetrain-libiberty
56704 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
56705 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
56706 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
56707 all-binutils: maybe-all-opcodes
56708 all-stage1-binutils: maybe-all-stage1-opcodes
56709 all-stage2-binutils: maybe-all-stage2-opcodes
56710 all-stage3-binutils: maybe-all-stage3-opcodes
56711 all-stage4-binutils: maybe-all-stage4-opcodes
56712 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
56713 all-stagetrain-binutils: maybe-all-stagetrain-opcodes
56714 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
56715 all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
56716 all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
56717 all-binutils: maybe-all-bfd
56718 all-stage1-binutils: maybe-all-stage1-bfd
56719 all-stage2-binutils: maybe-all-stage2-bfd
56720 all-stage3-binutils: maybe-all-stage3-bfd
56721 all-stage4-binutils: maybe-all-stage4-bfd
56722 all-stageprofile-binutils: maybe-all-stageprofile-bfd
56723 all-stagetrain-binutils: maybe-all-stagetrain-bfd
56724 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
56725 all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
56726 all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
56727 all-binutils: maybe-all-build-flex
56728 all-stage1-binutils: maybe-all-build-flex
56729 all-stage2-binutils: maybe-all-build-flex
56730 all-stage3-binutils: maybe-all-build-flex
56731 all-stage4-binutils: maybe-all-build-flex
56732 all-stageprofile-binutils: maybe-all-build-flex
56733 all-stagetrain-binutils: maybe-all-build-flex
56734 all-stagefeedback-binutils: maybe-all-build-flex
56735 all-stageautoprofile-binutils: maybe-all-build-flex
56736 all-stageautofeedback-binutils: maybe-all-build-flex
56737 all-binutils: maybe-all-build-bison
56738 all-stage1-binutils: maybe-all-build-bison
56739 all-stage2-binutils: maybe-all-build-bison
56740 all-stage3-binutils: maybe-all-build-bison
56741 all-stage4-binutils: maybe-all-build-bison
56742 all-stageprofile-binutils: maybe-all-build-bison
56743 all-stagetrain-binutils: maybe-all-build-bison
56744 all-stagefeedback-binutils: maybe-all-build-bison
56745 all-stageautoprofile-binutils: maybe-all-build-bison
56746 all-stageautofeedback-binutils: maybe-all-build-bison
56747 all-binutils: maybe-all-intl
56748 all-stage1-binutils: maybe-all-stage1-intl
56749 all-stage2-binutils: maybe-all-stage2-intl
56750 all-stage3-binutils: maybe-all-stage3-intl
56751 all-stage4-binutils: maybe-all-stage4-intl
56752 all-stageprofile-binutils: maybe-all-stageprofile-intl
56753 all-stagetrain-binutils: maybe-all-stagetrain-intl
56754 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
56755 all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl
56756 all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl
56757 all-binutils: maybe-all-gas
56758 all-stage1-binutils: maybe-all-stage1-gas
56759 all-stage2-binutils: maybe-all-stage2-gas
56760 all-stage3-binutils: maybe-all-stage3-gas
56761 all-stage4-binutils: maybe-all-stage4-gas
56762 all-stageprofile-binutils: maybe-all-stageprofile-gas
56763 all-stagetrain-binutils: maybe-all-stagetrain-gas
56764 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
56765 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gas
56766 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gas
56767 install-binutils: maybe-install-opcodes
56768 install-strip-binutils: maybe-install-strip-opcodes
56769 install-opcodes: maybe-install-bfd
56770 install-strip-opcodes: maybe-install-strip-bfd
56771 configure-gas: maybe-configure-intl
56772 configure-stage1-gas: maybe-configure-stage1-intl
56773 configure-stage2-gas: maybe-configure-stage2-intl
56774 configure-stage3-gas: maybe-configure-stage3-intl
56775 configure-stage4-gas: maybe-configure-stage4-intl
56776 configure-stageprofile-gas: maybe-configure-stageprofile-intl
56777 configure-stagetrain-gas: maybe-configure-stagetrain-intl
56778 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
56779 configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl
56780 configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl
56781 all-gas: maybe-all-libiberty
56782 all-stage1-gas: maybe-all-stage1-libiberty
56783 all-stage2-gas: maybe-all-stage2-libiberty
56784 all-stage3-gas: maybe-all-stage3-libiberty
56785 all-stage4-gas: maybe-all-stage4-libiberty
56786 all-stageprofile-gas: maybe-all-stageprofile-libiberty
56787 all-stagetrain-gas: maybe-all-stagetrain-libiberty
56788 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
56789 all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
56790 all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
56791 all-gas: maybe-all-opcodes
56792 all-stage1-gas: maybe-all-stage1-opcodes
56793 all-stage2-gas: maybe-all-stage2-opcodes
56794 all-stage3-gas: maybe-all-stage3-opcodes
56795 all-stage4-gas: maybe-all-stage4-opcodes
56796 all-stageprofile-gas: maybe-all-stageprofile-opcodes
56797 all-stagetrain-gas: maybe-all-stagetrain-opcodes
56798 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
56799 all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
56800 all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
56801 all-gas: maybe-all-bfd
56802 all-stage1-gas: maybe-all-stage1-bfd
56803 all-stage2-gas: maybe-all-stage2-bfd
56804 all-stage3-gas: maybe-all-stage3-bfd
56805 all-stage4-gas: maybe-all-stage4-bfd
56806 all-stageprofile-gas: maybe-all-stageprofile-bfd
56807 all-stagetrain-gas: maybe-all-stagetrain-bfd
56808 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
56809 all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
56810 all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
56811 all-gas: maybe-all-intl
56812 all-stage1-gas: maybe-all-stage1-intl
56813 all-stage2-gas: maybe-all-stage2-intl
56814 all-stage3-gas: maybe-all-stage3-intl
56815 all-stage4-gas: maybe-all-stage4-intl
56816 all-stageprofile-gas: maybe-all-stageprofile-intl
56817 all-stagetrain-gas: maybe-all-stagetrain-intl
56818 all-stagefeedback-gas: maybe-all-stagefeedback-intl
56819 all-stageautoprofile-gas: maybe-all-stageautoprofile-intl
56820 all-stageautofeedback-gas: maybe-all-stageautofeedback-intl
56821 configure-ld: maybe-configure-intl
56822 configure-stage1-ld: maybe-configure-stage1-intl
56823 configure-stage2-ld: maybe-configure-stage2-intl
56824 configure-stage3-ld: maybe-configure-stage3-intl
56825 configure-stage4-ld: maybe-configure-stage4-intl
56826 configure-stageprofile-ld: maybe-configure-stageprofile-intl
56827 configure-stagetrain-ld: maybe-configure-stagetrain-intl
56828 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
56829 configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl
56830 configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl
56831 all-ld: maybe-all-libiberty
56832 all-stage1-ld: maybe-all-stage1-libiberty
56833 all-stage2-ld: maybe-all-stage2-libiberty
56834 all-stage3-ld: maybe-all-stage3-libiberty
56835 all-stage4-ld: maybe-all-stage4-libiberty
56836 all-stageprofile-ld: maybe-all-stageprofile-libiberty
56837 all-stagetrain-ld: maybe-all-stagetrain-libiberty
56838 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
56839 all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
56840 all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
56841 all-ld: maybe-all-bfd
56842 all-stage1-ld: maybe-all-stage1-bfd
56843 all-stage2-ld: maybe-all-stage2-bfd
56844 all-stage3-ld: maybe-all-stage3-bfd
56845 all-stage4-ld: maybe-all-stage4-bfd
56846 all-stageprofile-ld: maybe-all-stageprofile-bfd
56847 all-stagetrain-ld: maybe-all-stagetrain-bfd
56848 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
56849 all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
56850 all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
56851 all-ld: maybe-all-opcodes
56852 all-stage1-ld: maybe-all-stage1-opcodes
56853 all-stage2-ld: maybe-all-stage2-opcodes
56854 all-stage3-ld: maybe-all-stage3-opcodes
56855 all-stage4-ld: maybe-all-stage4-opcodes
56856 all-stageprofile-ld: maybe-all-stageprofile-opcodes
56857 all-stagetrain-ld: maybe-all-stagetrain-opcodes
56858 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
56859 all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
56860 all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
56861 all-ld: maybe-all-build-bison
56862 all-stage1-ld: maybe-all-build-bison
56863 all-stage2-ld: maybe-all-build-bison
56864 all-stage3-ld: maybe-all-build-bison
56865 all-stage4-ld: maybe-all-build-bison
56866 all-stageprofile-ld: maybe-all-build-bison
56867 all-stagetrain-ld: maybe-all-build-bison
56868 all-stagefeedback-ld: maybe-all-build-bison
56869 all-stageautoprofile-ld: maybe-all-build-bison
56870 all-stageautofeedback-ld: maybe-all-build-bison
56871 all-ld: maybe-all-build-flex
56872 all-stage1-ld: maybe-all-build-flex
56873 all-stage2-ld: maybe-all-build-flex
56874 all-stage3-ld: maybe-all-build-flex
56875 all-stage4-ld: maybe-all-build-flex
56876 all-stageprofile-ld: maybe-all-build-flex
56877 all-stagetrain-ld: maybe-all-build-flex
56878 all-stagefeedback-ld: maybe-all-build-flex
56879 all-stageautoprofile-ld: maybe-all-build-flex
56880 all-stageautofeedback-ld: maybe-all-build-flex
56881 all-ld: maybe-all-intl
56882 all-stage1-ld: maybe-all-stage1-intl
56883 all-stage2-ld: maybe-all-stage2-intl
56884 all-stage3-ld: maybe-all-stage3-intl
56885 all-stage4-ld: maybe-all-stage4-intl
56886 all-stageprofile-ld: maybe-all-stageprofile-intl
56887 all-stagetrain-ld: maybe-all-stagetrain-intl
56888 all-stagefeedback-ld: maybe-all-stagefeedback-intl
56889 all-stageautoprofile-ld: maybe-all-stageautoprofile-intl
56890 all-stageautofeedback-ld: maybe-all-stageautofeedback-intl
56891 all-ld: maybe-all-gas
56892 all-stage1-ld: maybe-all-stage1-gas
56893 all-stage2-ld: maybe-all-stage2-gas
56894 all-stage3-ld: maybe-all-stage3-gas
56895 all-stage4-ld: maybe-all-stage4-gas
56896 all-stageprofile-ld: maybe-all-stageprofile-gas
56897 all-stagetrain-ld: maybe-all-stagetrain-gas
56898 all-stagefeedback-ld: maybe-all-stagefeedback-gas
56899 all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
56900 all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
56901 all-ld: maybe-all-binutils
56902 all-stage1-ld: maybe-all-stage1-binutils
56903 all-stage2-ld: maybe-all-stage2-binutils
56904 all-stage3-ld: maybe-all-stage3-binutils
56905 all-stage4-ld: maybe-all-stage4-binutils
56906 all-stageprofile-ld: maybe-all-stageprofile-binutils
56907 all-stagetrain-ld: maybe-all-stagetrain-binutils
56908 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
56909 all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils
56910 all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
56911 install-ld: maybe-install-gold
56912 install-strip-ld: maybe-install-strip-gold
56913 configure-gold: maybe-configure-intl
56914 configure-stage1-gold: maybe-configure-stage1-intl
56915 configure-stage2-gold: maybe-configure-stage2-intl
56916 configure-stage3-gold: maybe-configure-stage3-intl
56917 configure-stage4-gold: maybe-configure-stage4-intl
56918 configure-stageprofile-gold: maybe-configure-stageprofile-intl
56919 configure-stagetrain-gold: maybe-configure-stagetrain-intl
56920 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
56921 configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl
56922 configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl
56923 all-gold: maybe-all-libiberty
56924 all-stage1-gold: maybe-all-stage1-libiberty
56925 all-stage2-gold: maybe-all-stage2-libiberty
56926 all-stage3-gold: maybe-all-stage3-libiberty
56927 all-stage4-gold: maybe-all-stage4-libiberty
56928 all-stageprofile-gold: maybe-all-stageprofile-libiberty
56929 all-stagetrain-gold: maybe-all-stagetrain-libiberty
56930 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
56931 all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
56932 all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
56933 all-gold: maybe-all-intl
56934 all-stage1-gold: maybe-all-stage1-intl
56935 all-stage2-gold: maybe-all-stage2-intl
56936 all-stage3-gold: maybe-all-stage3-intl
56937 all-stage4-gold: maybe-all-stage4-intl
56938 all-stageprofile-gold: maybe-all-stageprofile-intl
56939 all-stagetrain-gold: maybe-all-stagetrain-intl
56940 all-stagefeedback-gold: maybe-all-stagefeedback-intl
56941 all-stageautoprofile-gold: maybe-all-stageautoprofile-intl
56942 all-stageautofeedback-gold: maybe-all-stageautofeedback-intl
56943 all-gold: maybe-all-bfd
56944 all-stage1-gold: maybe-all-stage1-bfd
56945 all-stage2-gold: maybe-all-stage2-bfd
56946 all-stage3-gold: maybe-all-stage3-bfd
56947 all-stage4-gold: maybe-all-stage4-bfd
56948 all-stageprofile-gold: maybe-all-stageprofile-bfd
56949 all-stagetrain-gold: maybe-all-stagetrain-bfd
56950 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
56951 all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
56952 all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
56953 all-gold: maybe-all-build-bison
56954 all-stage1-gold: maybe-all-build-bison
56955 all-stage2-gold: maybe-all-build-bison
56956 all-stage3-gold: maybe-all-build-bison
56957 all-stage4-gold: maybe-all-build-bison
56958 all-stageprofile-gold: maybe-all-build-bison
56959 all-stagetrain-gold: maybe-all-build-bison
56960 all-stagefeedback-gold: maybe-all-build-bison
56961 all-stageautoprofile-gold: maybe-all-build-bison
56962 all-stageautofeedback-gold: maybe-all-build-bison
56963 all-gold: maybe-all-gas
56964 all-stage1-gold: maybe-all-stage1-gas
56965 all-stage2-gold: maybe-all-stage2-gas
56966 all-stage3-gold: maybe-all-stage3-gas
56967 all-stage4-gold: maybe-all-stage4-gas
56968 all-stageprofile-gold: maybe-all-stageprofile-gas
56969 all-stagetrain-gold: maybe-all-stagetrain-gas
56970 all-stagefeedback-gold: maybe-all-stagefeedback-gas
56971 all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
56972 all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
56973 check-gold: maybe-all-binutils
56974 check-stage1-gold: maybe-all-stage1-binutils
56975 check-stage2-gold: maybe-all-stage2-binutils
56976 check-stage3-gold: maybe-all-stage3-binutils
56977 check-stage4-gold: maybe-all-stage4-binutils
56978 check-stageprofile-gold: maybe-all-stageprofile-binutils
56979 check-stagetrain-gold: maybe-all-stagetrain-binutils
56980 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
56981 check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
56982 check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
56983 check-gold: maybe-all-gas
56984 check-stage1-gold: maybe-all-stage1-gas
56985 check-stage2-gold: maybe-all-stage2-gas
56986 check-stage3-gold: maybe-all-stage3-gas
56987 check-stage4-gold: maybe-all-stage4-gas
56988 check-stageprofile-gold: maybe-all-stageprofile-gas
56989 check-stagetrain-gold: maybe-all-stagetrain-gas
56990 check-stagefeedback-gold: maybe-all-stagefeedback-gas
56991 check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
56992 check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
56993 configure-opcodes: maybe-configure-intl
56994 configure-stage1-opcodes: maybe-configure-stage1-intl
56995 configure-stage2-opcodes: maybe-configure-stage2-intl
56996 configure-stage3-opcodes: maybe-configure-stage3-intl
56997 configure-stage4-opcodes: maybe-configure-stage4-intl
56998 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
56999 configure-stagetrain-opcodes: maybe-configure-stagetrain-intl
57000 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
57001 configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl
57002 configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl
57003 all-opcodes: maybe-all-bfd
57004 all-stage1-opcodes: maybe-all-stage1-bfd
57005 all-stage2-opcodes: maybe-all-stage2-bfd
57006 all-stage3-opcodes: maybe-all-stage3-bfd
57007 all-stage4-opcodes: maybe-all-stage4-bfd
57008 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
57009 all-stagetrain-opcodes: maybe-all-stagetrain-bfd
57010 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
57011 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
57012 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
57013 all-opcodes: maybe-all-libiberty
57014 all-stage1-opcodes: maybe-all-stage1-libiberty
57015 all-stage2-opcodes: maybe-all-stage2-libiberty
57016 all-stage3-opcodes: maybe-all-stage3-libiberty
57017 all-stage4-opcodes: maybe-all-stage4-libiberty
57018 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
57019 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
57020 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
57021 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
57022 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
57023 all-opcodes: maybe-all-intl
57024 all-stage1-opcodes: maybe-all-stage1-intl
57025 all-stage2-opcodes: maybe-all-stage2-intl
57026 all-stage3-opcodes: maybe-all-stage3-intl
57027 all-stage4-opcodes: maybe-all-stage4-intl
57028 all-stageprofile-opcodes: maybe-all-stageprofile-intl
57029 all-stagetrain-opcodes: maybe-all-stagetrain-intl
57030 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
57031 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-intl
57032 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-intl
57033 all-dejagnu: maybe-all-tcl
57034 all-dejagnu: maybe-all-expect
57035 all-dejagnu: maybe-all-tk
57036 configure-expect: maybe-configure-tcl
57037 configure-expect: maybe-configure-tk
57038 all-expect: maybe-all-tcl
57039 all-expect: maybe-all-tk
57040 configure-itcl: maybe-configure-tcl
57041 configure-itcl: maybe-configure-tk
57042 all-itcl: maybe-all-tcl
57043 all-itcl: maybe-all-tk
57044 install-itcl: maybe-install-tcl
57045 install-strip-itcl: maybe-install-strip-tcl
57046 configure-tk: maybe-configure-tcl
57047 all-tk: maybe-all-tcl
57048 all-sid: maybe-all-tcl
57049 all-sid: maybe-all-tk
57050 install-sid: maybe-install-tcl
57051 install-strip-sid: maybe-install-strip-tcl
57052 install-sid: maybe-install-tk
57053 install-strip-sid: maybe-install-strip-tk
57054 all-sim: maybe-all-readline
57055 all-sim: maybe-configure-gdb
57056 all-fastjar: maybe-all-build-texinfo
57057 all-bison: maybe-all-build-texinfo
57058 all-flex: maybe-all-build-bison
57059 all-flex: maybe-all-m4
57060 all-flex: maybe-all-build-texinfo
57061 all-m4: maybe-all-build-texinfo
57062 configure-target-fastjar: maybe-configure-target-zlib
57063 all-target-fastjar: maybe-all-target-zlib
57064 configure-target-libgo: maybe-configure-target-libffi
57065 all-target-libgo: maybe-all-target-libbacktrace
57066 all-target-libgo: maybe-all-target-libffi
57067 all-target-libgo: maybe-all-target-libatomic
57068 configure-target-libphobos: maybe-configure-target-libbacktrace
57069 configure-target-libphobos: maybe-configure-target-zlib
57070 all-target-libphobos: maybe-all-target-libbacktrace
57071 all-target-libphobos: maybe-all-target-zlib
57072 all-target-libphobos: maybe-all-target-libatomic
57073 configure-target-libstdc++-v3: maybe-configure-target-libgomp
57074 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
57075 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
57076 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
57077 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
57078 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
57079 configure-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
57080 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
57081 configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
57082 configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
57083 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
57084 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
57085 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
57086 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
57087 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
57088 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
57089 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libstdc++-v3
57090 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
57091 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
57092 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
57093 configure-target-libvtv: maybe-all-target-libstdc++-v3
57094 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
57095 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
57096 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
57097 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
57098 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
57099 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libstdc++-v3
57100 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
57101 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
57102 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
57103 all-target-libstdc++-v3: maybe-configure-target-libgomp
57104 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
57105 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
57106 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
57107 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
57108 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
57109 all-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
57110 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
57111 all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
57112 all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
57113 install-target-libgo: maybe-install-target-libatomic
57114 install-target-libgfortran: maybe-install-target-libquadmath
57115 install-target-libgfortran: maybe-install-target-libgcc
57116 install-target-libphobos: maybe-install-target-libatomic
57117 install-target-libsanitizer: maybe-install-target-libstdc++-v3
57118 install-target-libsanitizer: maybe-install-target-libgcc
57119 install-target-libvtv: maybe-install-target-libstdc++-v3
57120 install-target-libvtv: maybe-install-target-libgcc
57121 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
57122 install-target-liboffloadmic: maybe-install-target-libgcc
57123 install-target-libitm: maybe-install-target-libgcc
57124 install-target-libobjc: maybe-install-target-libgcc
57125 install-target-libstdc++-v3: maybe-install-target-libgcc
57126 all-target-libgloss: maybe-all-target-newlib
57127 all-target-winsup: maybe-all-target-libtermcap
57128 configure-target-libgfortran: maybe-all-target-libquadmath
57129 configure-target-libgfortran: maybe-all-target-libbacktrace
57132 @if gcc-bootstrap
57133 configure-gnattools: stage_last
57134 configure-libcc1: stage_last
57135 configure-utils: stage_last
57136 configure-gdb: stage_last
57137 configure-gprof: stage_last
57138 configure-sid: stage_last
57139 configure-sim: stage_last
57140 configure-fastjar: stage_last
57141 configure-bison: stage_last
57142 configure-flex: stage_last
57143 configure-m4: stage_last
57144 @endif gcc-bootstrap
57146 @unless gcc-bootstrap
57147 all-gnattools: maybe-all-target-libstdc++-v3
57148 configure-libcc1: maybe-configure-gcc
57149 all-libcc1: maybe-all-gcc
57150 all-utils: maybe-all-libiberty
57151 configure-gdb: maybe-all-intl
57152 configure-gdb: maybe-all-bfd
57153 configure-gdb: maybe-all-libiconv
57154 all-gdb: maybe-all-libiberty
57155 all-gdb: maybe-all-libiconv
57156 all-gdb: maybe-all-opcodes
57157 all-gdb: maybe-all-libdecnumber
57158 configure-gprof: maybe-configure-intl
57159 all-gprof: maybe-all-libiberty
57160 all-gprof: maybe-all-bfd
57161 all-gprof: maybe-all-opcodes
57162 all-gprof: maybe-all-intl
57163 all-gprof: maybe-all-gas
57164 all-sid: maybe-all-libiberty
57165 all-sid: maybe-all-bfd
57166 all-sid: maybe-all-opcodes
57167 configure-sim: maybe-configure-intl
57168 all-sim: maybe-all-intl
57169 all-sim: maybe-all-libiberty
57170 all-sim: maybe-all-bfd
57171 all-sim: maybe-all-opcodes
57172 all-fastjar: maybe-all-zlib
57173 all-fastjar: maybe-all-libiberty
57174 all-bison: maybe-all-intl
57175 all-flex: maybe-all-intl
57176 all-m4: maybe-all-intl
57177 configure-target-libgo: maybe-all-target-libstdc++-v3
57178 configure-target-liboffloadmic: maybe-configure-target-libgomp
57179 all-target-liboffloadmic: maybe-all-target-libgomp
57180 configure-target-newlib: maybe-all-binutils
57181 configure-target-newlib: maybe-all-ld
57182 @endunless gcc-bootstrap
57184 # Dependencies for target modules on other target modules are
57185 # described by lang_env_dependencies; the defaults apply to anything
57186 # not mentioned there.
57189 @if gcc-bootstrap
57190 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
57191 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
57192 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
57193 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
57194 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
57195 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-target-libgcc
57196 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
57197 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-target-libgcc
57198 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-target-libgcc
57199 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
57200 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
57201 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
57202 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
57203 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
57204 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libgcc
57205 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
57206 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libgcc
57207 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libgcc
57208 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
57209 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
57210 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
57211 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
57212 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
57213 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libgcc
57214 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
57215 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
57216 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
57217 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
57218 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
57219 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
57220 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
57221 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
57222 configure-stagetrain-target-libgomp: maybe-all-stagetrain-target-libgcc
57223 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
57224 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
57225 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
57226 @endif gcc-bootstrap
57228 @if gcc-no-bootstrap
57229 configure-target-libstdc++-v3: maybe-all-target-libgcc
57230 configure-target-libsanitizer: maybe-all-target-libgcc
57231 configure-target-libvtv: maybe-all-target-libgcc
57232 configure-target-liboffloadmic: maybe-all-target-libgcc
57233 configure-target-libssp: maybe-all-target-libgcc
57234 configure-target-newlib: maybe-all-target-libgcc
57235 configure-target-libbacktrace: maybe-all-target-libgcc
57236 configure-target-libquadmath: maybe-all-target-libgcc
57237 configure-target-libgfortran: maybe-all-target-libgcc
57238 configure-target-libobjc: maybe-all-target-libgcc
57239 configure-target-libgo: maybe-all-target-libgcc
57240 configure-target-libhsail-rt: maybe-all-target-libgcc
57241 configure-target-libphobos: maybe-all-target-libgcc
57242 configure-target-libtermcap: maybe-all-target-libgcc
57243 configure-target-winsup: maybe-all-target-libgcc
57244 configure-target-libgloss: maybe-all-target-libgcc
57245 configure-target-libffi: maybe-all-target-libgcc
57246 configure-target-zlib: maybe-all-target-libgcc
57247 configure-target-rda: maybe-all-target-libgcc
57248 configure-target-libada: maybe-all-target-libgcc
57249 configure-target-libgomp: maybe-all-target-libgcc
57250 configure-target-libitm: maybe-all-target-libgcc
57251 configure-target-libatomic: maybe-all-target-libgcc
57252 @endif gcc-no-bootstrap
57255 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
57257 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
57259 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
57261 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
57262 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
57264 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
57268 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
57270 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
57272 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
57274 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
57276 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
57278 configure-target-libhsail-rt: maybe-all-target-newlib maybe-all-target-libgloss
57280 configure-target-libphobos: maybe-all-target-newlib maybe-all-target-libgloss
57282 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
57284 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
57287 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
57288 configure-target-libffi: maybe-all-target-libstdc++-v3
57290 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
57292 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
57294 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
57296 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
57298 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
57299 configure-target-libitm: maybe-all-target-libstdc++-v3
57301 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
57304 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
57305 GDB_TK = @GDB_TK@
57306 INSTALL_GDB_TK = @INSTALL_GDB_TK@
57307 configure-gdb: $(CONFIGURE_GDB_TK)
57308 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
57309 install-gdb: $(INSTALL_GDB_TK)
57311 # Serialization dependencies. Host configures don't work well in parallel to
57312 # each other, due to contention over config.cache. Target configures and
57313 # build configures are similar.
57314 @serialization_dependencies@
57316 # --------------------------------
57317 # Regenerating top level configury
57318 # --------------------------------
57320 # Rebuilding Makefile.in, using autogen.
57321 AUTOGEN = autogen
57322 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
57323 cd $(srcdir) && $(AUTOGEN) Makefile.def
57325 # Rebuilding Makefile.
57326 Makefile: $(srcdir)/Makefile.in config.status
57327 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
57329 config.status: configure
57330 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
57332 # Rebuilding configure.
57333 AUTOCONF = autoconf
57334 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
57335 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 \
57336 $(srcdir)/config/elf.m4 $(srcdir)/config/isl.m4 \
57337 $(srcdir)/libtool.m4 $(srcdir)/ltoptions.m4 $(srcdir)/ltsugar.m4 \
57338 $(srcdir)/ltversion.m4 $(srcdir)/lt~obsolete.m4
57339 cd $(srcdir) && $(AUTOCONF)
57341 # ------------------------------
57342 # Special directives to GNU Make
57343 # ------------------------------
57345 # Don't pass command-line variables to submakes.
57346 .NOEXPORT:
57347 MAKEOVERRIDES=
57349 # end of Makefile.in