]> git.ipfire.org Git - thirdparty/gcc.git/blob - Makefile.in
Avoid -Wformat-diag.
[thirdparty/gcc.git] / Makefile.in
1
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
3 #
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
8 #
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.
13 #
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.
18 #
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/>.
22 #
23
24 # First, test for a proper version of make, but only where one is required.
25
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
31
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
36
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@
49
50 program_transform_name = @program_transform_name@
51
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
54
55 srcdir = @srcdir@
56
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
82
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@
92
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
96
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
99
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
102
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
106
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@
111
112 # If the build should make suitable code for shared host resources.
113 host_shared = @host_shared@
114
115 # Build programs are put under this directory.
116 BUILD_SUBDIR = @build_subdir@
117 # This is set by the configure script to the arguments to use when configuring
118 # directories built for the build system.
119 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
120
121 # Linker flags to use on the host, for stage1 or when not
122 # bootstrapping.
123 STAGE1_LDFLAGS = @stage1_ldflags@
124
125 # Libraries to use on the host, for stage1 or when not bootstrapping.
126 STAGE1_LIBS = @stage1_libs@
127
128 # Linker flags to use for stage2 and later.
129 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
130
131 # Libraries to use for stage2 and later.
132 POSTSTAGE1_LIBS = @poststage1_libs@
133
134 # This is the list of variables to export in the environment when
135 # configuring any subdirectory. It must also be exported whenever
136 # recursing into a build directory in case that directory's Makefile
137 # re-runs configure.
138 BASE_EXPORTS = \
139 FLEX="$(FLEX)"; export FLEX; \
140 LEX="$(LEX)"; export LEX; \
141 BISON="$(BISON)"; export BISON; \
142 YACC="$(YACC)"; export YACC; \
143 M4="$(M4)"; export M4; \
144 SED="$(SED)"; export SED; \
145 AWK="$(AWK)"; export AWK; \
146 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
147
148 # This is the list of variables to export in the environment when
149 # configuring subdirectories for the build system.
150 BUILD_EXPORTS = \
151 $(BASE_EXPORTS) \
152 AR="$(AR_FOR_BUILD)"; export AR; \
153 AS="$(AS_FOR_BUILD)"; export AS; \
154 CC="$(CC_FOR_BUILD)"; export CC; \
155 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
156 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
157 CPP="$(CPP_FOR_BUILD)"; export CPP; \
158 CPPFLAGS="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS; \
159 CXX="$(CXX_FOR_BUILD)"; export CXX; \
160 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
161 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
162 GOC="$(GOC_FOR_BUILD)"; export GOC; \
163 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
164 GDC="$(GDC_FOR_BUILD)"; export GDC; \
165 GDCFLAGS="$(GDCFLAGS_FOR_BUILD)"; export GDCFLAGS; \
166 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
167 DSYMUTIL="$(DSYMUTIL_FOR_BUILD)"; export DSYMUTIL; \
168 LD="$(LD_FOR_BUILD)"; export LD; \
169 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
170 NM="$(NM_FOR_BUILD)"; export NM; \
171 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
172 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
173 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
174
175 # These variables must be set on the make command line for directories
176 # built for the build system to override those in BASE_FLAGS_TO_PASS.
177 EXTRA_BUILD_FLAGS = \
178 CFLAGS="$(CFLAGS_FOR_BUILD)" \
179 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
180
181 # This is the list of directories to built for the host system.
182 SUBDIRS = @configdirs@
183 TARGET_CONFIGDIRS = @target_configdirs@
184 # This is set by the configure script to the arguments to use when configuring
185 # directories built for the host system.
186 HOST_CONFIGARGS = @host_configargs@
187 # Host programs are put under this directory, which is . except if building
188 # with srcdir=..
189 HOST_SUBDIR = @host_subdir@
190 # This is the list of variables to export in the environment when
191 # configuring subdirectories for the host system. We need to pass
192 # some to the GCC configure because of its hybrid host/target nature.
193 HOST_EXPORTS = \
194 $(BASE_EXPORTS) \
195 CC="$(CC)"; export CC; \
196 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
197 CFLAGS="$(CFLAGS)"; export CFLAGS; \
198 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
199 CXX="$(CXX)"; export CXX; \
200 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
201 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
202 GOC="$(GOC)"; export GOC; \
203 GDC="$(GDC)"; export GDC; \
204 AR="$(AR)"; export AR; \
205 AS="$(AS)"; export AS; \
206 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
207 CPP_FOR_BUILD="$(CPP_FOR_BUILD)"; export CPP_FOR_BUILD; \
208 CPPFLAGS_FOR_BUILD="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS_FOR_BUILD; \
209 CXX_FOR_BUILD="$(CXX_FOR_BUILD)"; export CXX_FOR_BUILD; \
210 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
211 DSYMUTIL="$(DSYMUTIL)"; export DSYMUTIL; \
212 LD="$(LD)"; export LD; \
213 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
214 NM="$(NM)"; export NM; \
215 RANLIB="$(RANLIB)"; export RANLIB; \
216 WINDRES="$(WINDRES)"; export WINDRES; \
217 WINDMC="$(WINDMC)"; export WINDMC; \
218 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
219 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
220 OTOOL="$(OTOOL)"; export OTOOL; \
221 READELF="$(READELF)"; export READELF; \
222 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
223 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
224 DSYMUTIL_FOR_TARGET="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL_FOR_TARGET; \
225 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
226 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
227 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
228 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
229 OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
230 OTOOL_FOR_TARGET="$(OTOOL_FOR_TARGET)"; export OTOOL_FOR_TARGET; \
231 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
232 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
233 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
234 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
235 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
236 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
237 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
238 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
239 LIBELFLIBS="$(HOST_LIBELFLIBS)"; export LIBELFLIBS; \
240 LIBELFINC="$(HOST_LIBELFINC)"; export LIBELFINC; \
241 XGCC_FLAGS_FOR_TARGET="$(XGCC_FLAGS_FOR_TARGET)"; export XGCC_FLAGS_FOR_TARGET; \
242 @if gcc-bootstrap
243 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
244 @endif gcc-bootstrap
245 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
246
247 POSTSTAGE1_CXX_EXPORT = \
248 CXX='$(CXX)'; export CXX; \
249 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
250 @if target-libstdc++-v3-bootstrap
251 # Override the above if we're bootstrapping C++.
252 POSTSTAGE1_CXX_EXPORT = \
253 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
254 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
255 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
256 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
257 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
258 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
259 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
260 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
261 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
262 export CXX; \
263 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
264 @endif target-libstdc++-v3-bootstrap
265
266 # Similar, for later GCC stages.
267 POSTSTAGE1_HOST_EXPORTS = \
268 $(HOST_EXPORTS) \
269 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
270 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
271 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
272 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
273 $(POSTSTAGE1_CXX_EXPORT) \
274 $(LTO_EXPORTS) \
275 GDC="$$r/$(HOST_SUBDIR)/prev-gcc/gdc$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
276 -B$(build_tooldir)/bin/ $(GDCFLAGS_FOR_TARGET) \
277 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime/gcc \
278 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/src \
279 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/src/.libs \
280 -I$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime -I$$s/libphobos/libdruntime \
281 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/src/.libs \
282 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
283 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs"; \
284 export GDC; \
285 GDC_FOR_BUILD="$$GDC"; export GDC_FOR_BUILD; \
286 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
287 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
288 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
289
290 # Target libraries are put under this directory:
291 TARGET_SUBDIR = @target_subdir@
292 # This is set by the configure script to the arguments to use when configuring
293 # directories built for the target.
294 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
295 # This is the list of variables to export in the environment when
296 # configuring subdirectories for the target system.
297 BASE_TARGET_EXPORTS = \
298 $(BASE_EXPORTS) \
299 AR="$(AR_FOR_TARGET)"; export AR; \
300 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
301 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
302 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
303 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
304 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
305 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
306 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
307 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
308 GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
309 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
310 DSYMUTIL="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL; \
311 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
312 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
313 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
314 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
315 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
316 OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
317 OTOOL="$(OTOOL_FOR_TARGET)"; export OTOOL; \
318 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
319 READELF="$(READELF_FOR_TARGET)"; export READELF; \
320 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
321 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
322 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
323 @if gcc-bootstrap
324 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
325 @endif gcc-bootstrap
326 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
327 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
328
329 RAW_CXX_TARGET_EXPORTS = \
330 $(BASE_TARGET_EXPORTS) \
331 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
332 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
333
334 NORMAL_TARGET_EXPORTS = \
335 $(BASE_TARGET_EXPORTS) \
336 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
337
338 # Where to find GMP
339 HOST_GMPLIBS = @gmplibs@
340 HOST_GMPINC = @gmpinc@
341
342 # Where to find isl
343 HOST_ISLLIBS = @isllibs@
344 HOST_ISLINC = @islinc@
345
346 # Where to find libelf
347 HOST_LIBELFLIBS = @libelflibs@
348 HOST_LIBELFINC = @libelfinc@
349
350 # ----------------------------------------------
351 # Programs producing files for the BUILD machine
352 # ----------------------------------------------
353
354 SHELL = @SHELL@
355
356 # pwd command to use. Allow user to override default by setting PWDCMD in
357 # the environment to account for automounters. The make variable must not
358 # be called PWDCMD, otherwise the value set here is passed to make
359 # subprocesses and overrides the setting from the user's environment.
360 # Don't use PWD since it is a common shell environment variable and we
361 # don't want to corrupt it.
362 PWD_COMMAND = $${PWDCMD-pwd}
363
364 # compilers to use to create programs which must be run in the build
365 # environment.
366 AR_FOR_BUILD = @AR_FOR_BUILD@
367 AS_FOR_BUILD = @AS_FOR_BUILD@
368 CC_FOR_BUILD = @CC_FOR_BUILD@
369 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
370 CPP_FOR_BUILD = @CPP_FOR_BUILD@
371 CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
372 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
373 CXX_FOR_BUILD = @CXX_FOR_BUILD@
374 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
375 DSYMUTIL_FOR_BUILD = @DSYMUTIL_FOR_BUILD@
376 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
377 GOC_FOR_BUILD = @GOC_FOR_BUILD@
378 GDC_FOR_BUILD = @GDC_FOR_BUILD@
379 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
380 LD_FOR_BUILD = @LD_FOR_BUILD@
381 NM_FOR_BUILD = @NM_FOR_BUILD@
382 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
383 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
384 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
385
386 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
387 # here so that they can be overridden by Makefile fragments.
388 BUILD_PREFIX = @BUILD_PREFIX@
389 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
390
391 # Flags to pass to stage2 and later makes. They are defined
392 # here so that they can be overridden by Makefile fragments.
393 BOOT_CFLAGS= -g -O2
394 BOOT_LDFLAGS=
395 BOOT_ADAFLAGS= -gnatpg
396
397 AWK = @AWK@
398 SED = @SED@
399 BISON = @BISON@
400 YACC = @YACC@
401 FLEX = @FLEX@
402 LEX = @LEX@
403 M4 = @M4@
404 MAKEINFO = @MAKEINFO@
405 EXPECT = @EXPECT@
406 RUNTEST = @RUNTEST@
407
408 AUTO_PROFILE = gcc-auto-profile -c 10000000
409
410 # This just becomes part of the MAKEINFO definition passed down to
411 # sub-makes. It lets flags be given on the command line while still
412 # using the makeinfo from the object tree.
413 # (Default to avoid splitting info files by setting the threshold high.)
414 MAKEINFOFLAGS = --split-size=5000000
415
416 # ---------------------------------------------
417 # Programs producing files for the HOST machine
418 # ---------------------------------------------
419
420 AS = @AS@
421 AR = @AR@
422 AR_FLAGS = rc
423 CC = @CC@
424 CXX = @CXX@
425 DLLTOOL = @DLLTOOL@
426 DSYMUTIL = @DSYMUTIL@
427 LD = @LD@
428 LIPO = @LIPO@
429 NM = @NM@
430 OBJDUMP = @OBJDUMP@
431 OTOOL = @OTOOL@
432 RANLIB = @RANLIB@
433 READELF = @READELF@
434 STRIP = @STRIP@
435 WINDRES = @WINDRES@
436 WINDMC = @WINDMC@
437
438 GDC = @GDC@
439 GNATBIND = @GNATBIND@
440 GNATMAKE = @GNATMAKE@
441
442 CFLAGS = @CFLAGS@
443 LDFLAGS = @LDFLAGS@
444 LIBCFLAGS = $(CFLAGS)
445 CXXFLAGS = @CXXFLAGS@
446 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
447 GOCFLAGS = $(CFLAGS)
448 GDCFLAGS = $(CFLAGS)
449
450 # Pass additional PGO and LTO compiler options to the PGO build.
451 BUILD_CFLAGS = $(PGO_BUILD_CFLAGS) $(PGO_BUILD_LTO_CFLAGS)
452 override CFLAGS += $(BUILD_CFLAGS)
453 override CXXFLAGS += $(BUILD_CFLAGS)
454
455 # Additional PGO and LTO compiler options to generate profiling data
456 # for the PGO build.
457 PGO_BUILD_GEN_FLAGS_TO_PASS = \
458 PGO_BUILD_CFLAGS="@PGO_BUILD_GEN_CFLAGS@" \
459 PGO_BUILD_LTO_CFLAGS="@PGO_BUILD_LTO_CFLAGS@"
460
461 # NB: Filter out any compiler options which may fail PGO training runs.
462 PGO_BUILD_TRAINING_CFLAGS:= \
463 $(filter-out -Werror=%,$(CFLAGS))
464 PGO_BUILD_TRAINING_CXXFLAGS:=\
465 $(filter-out -Werror=%,$(CXXFLAGS))
466 PGO_BUILD_TRAINING_CFLAGS:= \
467 $(filter-out -Wall,$(PGO_BUILD_TRAINING_CFLAGS))
468 PGO_BUILD_TRAINING_CXXFLAGS:= \
469 $(filter-out -Wall,$(PGO_BUILD_TRAINING_CXXFLAGS))
470 PGO_BUILD_TRAINING_CFLAGS:= \
471 $(filter-out -specs=%,$(PGO_BUILD_TRAINING_CFLAGS))
472 PGO_BUILD_TRAINING_CXXFLAGS:= \
473 $(filter-out -specs=%,$(PGO_BUILD_TRAINING_CXXFLAGS))
474 PGO_BUILD_TRAINING_FLAGS_TO_PASS = \
475 PGO_BUILD_TRAINING=yes \
476 CFLAGS_FOR_TARGET="$(PGO_BUILD_TRAINING_CFLAGS)" \
477 CXXFLAGS_FOR_TARGET="$(PGO_BUILD_TRAINING_CXXFLAGS)"
478
479 # Ignore "make check" errors in PGO training runs.
480 PGO_BUILD_TRAINING_MFLAGS = -i
481
482 # Additional PGO and LTO compiler options to use profiling data for the
483 # PGO build.
484 PGO_BUILD_USE_FLAGS_TO_PASS = \
485 PGO_BUILD_CFLAGS="@PGO_BUILD_USE_CFLAGS@" \
486 PGO_BUILD_LTO_CFLAGS="@PGO_BUILD_LTO_CFLAGS@"
487
488 # PGO training targets for the PGO build. FIXME: Add gold tests to
489 # training.
490 PGO-TRAINING-TARGETS = binutils gas gdb ld sim
491 PGO_BUILD_TRAINING = $(addprefix maybe-check-,$(PGO-TRAINING-TARGETS))
492
493 CREATE_GCOV = create_gcov
494
495 TFLAGS =
496
497 # Defaults for all stages; some are overridden below.
498
499 STAGE_CFLAGS = $(BOOT_CFLAGS)
500 STAGE_TFLAGS = $(TFLAGS)
501 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
502
503
504 # Defaults for stage 1; some are overridden below.
505 STAGE1_CFLAGS = $(STAGE_CFLAGS)
506 STAGE1_CXXFLAGS = $(CXXFLAGS)
507 @if target-libstdc++-v3-bootstrap
508 # Override the above if we're bootstrapping C++.
509 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
510 @endif target-libstdc++-v3-bootstrap
511 STAGE1_TFLAGS = $(STAGE_TFLAGS)
512 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
513
514 # Defaults for stage 2; some are overridden below.
515 STAGE2_CFLAGS = $(STAGE_CFLAGS)
516 STAGE2_CXXFLAGS = $(CXXFLAGS)
517 @if target-libstdc++-v3-bootstrap
518 # Override the above if we're bootstrapping C++.
519 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
520 @endif target-libstdc++-v3-bootstrap
521 STAGE2_TFLAGS = $(STAGE_TFLAGS)
522 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
523
524 # Defaults for stage 3; some are overridden below.
525 STAGE3_CFLAGS = $(STAGE_CFLAGS)
526 STAGE3_CXXFLAGS = $(CXXFLAGS)
527 @if target-libstdc++-v3-bootstrap
528 # Override the above if we're bootstrapping C++.
529 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
530 @endif target-libstdc++-v3-bootstrap
531 STAGE3_TFLAGS = $(STAGE_TFLAGS)
532 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
533
534 # Defaults for stage 4; some are overridden below.
535 STAGE4_CFLAGS = $(STAGE_CFLAGS)
536 STAGE4_CXXFLAGS = $(CXXFLAGS)
537 @if target-libstdc++-v3-bootstrap
538 # Override the above if we're bootstrapping C++.
539 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
540 @endif target-libstdc++-v3-bootstrap
541 STAGE4_TFLAGS = $(STAGE_TFLAGS)
542 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
543
544 # Defaults for stage profile; some are overridden below.
545 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
546 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
547 @if target-libstdc++-v3-bootstrap
548 # Override the above if we're bootstrapping C++.
549 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
550 @endif target-libstdc++-v3-bootstrap
551 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
552 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
553
554 # Defaults for stage train; some are overridden below.
555 STAGEtrain_CFLAGS = $(STAGE_CFLAGS)
556 STAGEtrain_CXXFLAGS = $(CXXFLAGS)
557 @if target-libstdc++-v3-bootstrap
558 # Override the above if we're bootstrapping C++.
559 STAGEtrain_CXXFLAGS = $(STAGEtrain_CFLAGS)
560 @endif target-libstdc++-v3-bootstrap
561 STAGEtrain_TFLAGS = $(STAGE_TFLAGS)
562 STAGEtrain_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
563
564 # Defaults for stage feedback; some are overridden below.
565 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
566 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
567 @if target-libstdc++-v3-bootstrap
568 # Override the above if we're bootstrapping C++.
569 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
570 @endif target-libstdc++-v3-bootstrap
571 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
572 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
573
574 # Defaults for stage autoprofile; some are overridden below.
575 STAGEautoprofile_CFLAGS = $(STAGE_CFLAGS)
576 STAGEautoprofile_CXXFLAGS = $(CXXFLAGS)
577 @if target-libstdc++-v3-bootstrap
578 # Override the above if we're bootstrapping C++.
579 STAGEautoprofile_CXXFLAGS = $(STAGEautoprofile_CFLAGS)
580 @endif target-libstdc++-v3-bootstrap
581 STAGEautoprofile_TFLAGS = $(STAGE_TFLAGS)
582 STAGEautoprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
583
584 # Defaults for stage autofeedback; some are overridden below.
585 STAGEautofeedback_CFLAGS = $(STAGE_CFLAGS)
586 STAGEautofeedback_CXXFLAGS = $(CXXFLAGS)
587 @if target-libstdc++-v3-bootstrap
588 # Override the above if we're bootstrapping C++.
589 STAGEautofeedback_CXXFLAGS = $(STAGEautofeedback_CFLAGS)
590 @endif target-libstdc++-v3-bootstrap
591 STAGEautofeedback_TFLAGS = $(STAGE_TFLAGS)
592 STAGEautofeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
593
594
595 # By default, C and C++ are the only stage1 languages, because they are the
596 # only ones we require to build with the bootstrap compiler, and also the
597 # only ones useful for building stage2.
598
599 STAGE1_CFLAGS = @stage1_cflags@
600 STAGE1_CHECKING = @stage1_checking@
601 STAGE1_LANGUAGES = @stage1_languages@
602 # * We force-disable intermodule optimizations, even if
603 # --enable-intermodule was passed, since the installed compiler
604 # probably can't handle them. Luckily, autoconf always respects
605 # the last argument when conflicting --enable arguments are passed.
606 # * Likewise, we force-disable coverage flags, since the installed
607 # compiler probably has never heard of them.
608 # * We also disable -Wformat, since older GCCs don't understand newer %s.
609 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
610 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
611 --disable-build-format-warnings
612
613 @if target-libphobos-bootstrap
614 STAGE1_CONFIGURE_FLAGS += --with-libphobos-druntime-only
615 STAGE2_CONFIGURE_FLAGS += --with-libphobos-druntime-only
616 @endif target-libphobos-bootstrap
617
618 # When using the slow stage1 compiler disable IL verification and forcefully
619 # enable it when using the stage2 compiler instead. As we later compare
620 # stage2 and stage3 we are merely avoid doing redundant work, plus we apply
621 # checking when building all target libraries for release builds.
622 STAGE1_TFLAGS += -fno-checking
623 STAGE2_CFLAGS += -fno-checking
624 STAGE2_TFLAGS += -fno-checking
625 STAGE3_CFLAGS += -fchecking=1
626 STAGE3_TFLAGS += -fchecking=1
627
628 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
629 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
630
631 STAGEtrain_CFLAGS = $(filter-out -fchecking=1,$(STAGE3_CFLAGS))
632 STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS))
633
634 STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use -fprofile-reproducible=parallel-runs
635 STAGEfeedback_TFLAGS = $(STAGE4_TFLAGS)
636
637 STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g
638 STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
639
640 STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
641 STAGEautofeedback_TFLAGS = $(STAGE3_TFLAGS)
642
643 do-compare = @do_compare@
644 do-compare3 = $(do-compare)
645
646 # -----------------------------------------------
647 # Programs producing files for the TARGET machine
648 # -----------------------------------------------
649
650 AR_FOR_TARGET=@AR_FOR_TARGET@
651 AS_FOR_TARGET=@AS_FOR_TARGET@
652 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
653
654 # If GCC_FOR_TARGET is not overriden on the command line, then this
655 # variable is passed down to the gcc Makefile, where it is used to
656 # build libgcc2.a. We define it here so that it can itself be
657 # overridden on the command line.
658 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
659 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
660 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
661 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
662 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
663 GDC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GDC_FOR_TARGET@
664 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
665 DSYMUTIL_FOR_TARGET=@DSYMUTIL_FOR_TARGET@
666 LD_FOR_TARGET=@LD_FOR_TARGET@
667
668 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
669 NM_FOR_TARGET=@NM_FOR_TARGET@
670 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
671 OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
672 OTOOL_FOR_TARGET=@OTOOL_FOR_TARGET@
673 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
674 READELF_FOR_TARGET=@READELF_FOR_TARGET@
675 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
676 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
677 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
678
679 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
680 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
681 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
682
683 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
684 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
685
686 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
687 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
688 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
689 GOCFLAGS_FOR_TARGET = -O2 -g
690 GDCFLAGS_FOR_TARGET = -O2 -g
691
692 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
693 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
694 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
695
696 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
697
698 # ------------------------------------
699 # Miscellaneous targets and flag lists
700 # ------------------------------------
701
702 # The first rule in the file had better be this one. Don't put any above it.
703 # This lives here to allow makefile fragments to contain dependencies.
704 all:
705
706 #### host and target specific makefile fragments come in here.
707 @target_makefile_frag@
708 @alphaieee_frag@
709 @ospace_frag@
710 @host_makefile_frag@
711 ###
712
713 # This is the list of directories that may be needed in RPATH_ENVVAR
714 # so that programs built for the target machine work.
715 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)
716
717 @if target-libstdc++-v3
718 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
719 @endif target-libstdc++-v3
720
721 @if target-libsanitizer
722 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
723 @endif target-libsanitizer
724
725 @if target-libvtv
726 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
727 @endif target-libvtv
728
729 @if target-liboffloadmic
730 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
731 @endif target-liboffloadmic
732
733 @if target-libssp
734 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
735 @endif target-libssp
736
737 @if target-libphobos
738 TARGET_LIB_PATH_libphobos = $$r/$(TARGET_SUBDIR)/libphobos/src/.libs:
739 @endif target-libphobos
740
741 @if target-libgomp
742 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
743 @endif target-libgomp
744
745 @if target-libitm
746 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
747 @endif target-libitm
748
749 @if target-libatomic
750 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
751 @endif target-libatomic
752
753
754
755 # This is the list of directories that may be needed in RPATH_ENVVAR
756 # so that programs built for the host machine work.
757 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
758
759 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
760 @if gcc
761 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
762 @endif gcc
763
764
765 @if gmp
766 HOST_LIB_PATH_gmp = \
767 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
768 @endif gmp
769
770 @if mpfr
771 HOST_LIB_PATH_mpfr = \
772 $$r/$(HOST_SUBDIR)/mpfr/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
773 @endif mpfr
774
775 @if mpc
776 HOST_LIB_PATH_mpc = \
777 $$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
778 @endif mpc
779
780 @if isl
781 HOST_LIB_PATH_isl = \
782 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
783 @endif isl
784
785 @if libelf
786 HOST_LIB_PATH_libelf = \
787 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
788 @endif libelf
789
790
791 CXX_FOR_TARGET_FLAG_TO_PASS = \
792 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
793 @if target-libstdc++-v3
794 # CXX_FOR_TARGET is tricky to get right for target libs that require a
795 # functional C++ compiler. When we recurse, if we expand
796 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
797 # libstdc++ include flags from the script. Instead, we get an
798 # -funconfigured-* word, so that we'll get errors if this invalid C++
799 # command line is used for anything, but also so that we can use the
800 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
801 # don't pass it on, sub-make will use the default definition, that
802 # re-expands it at the time of use, so we'll get it right when we need
803 # it. One potential exception is the expansion of CXX_FOR_TARGET
804 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
805 # really work, for C++ host programs can't depend on the current-stage
806 # C++ target library.
807 CXX_FOR_TARGET_FLAG_TO_PASS = \
808 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
809 @endif target-libstdc++-v3
810
811 # Flags to pass down to all sub-makes. STAGE*FLAGS,
812 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
813 # overrideable (for a bootstrap build stage1 also builds gcc.info).
814 BASE_FLAGS_TO_PASS = \
815 "DESTDIR=$(DESTDIR)" \
816 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
817 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
818 "bindir=$(bindir)" \
819 "datadir=$(datadir)" \
820 "exec_prefix=$(exec_prefix)" \
821 "includedir=$(includedir)" \
822 "datarootdir=$(datarootdir)" \
823 "docdir=$(docdir)" \
824 "infodir=$(infodir)" \
825 "pdfdir=$(pdfdir)" \
826 "htmldir=$(htmldir)" \
827 "libdir=$(libdir)" \
828 "libexecdir=$(libexecdir)" \
829 "lispdir=$(lispdir)" \
830 "localstatedir=$(localstatedir)" \
831 "mandir=$(mandir)" \
832 "oldincludedir=$(oldincludedir)" \
833 "prefix=$(prefix)" \
834 "sbindir=$(sbindir)" \
835 "sharedstatedir=$(sharedstatedir)" \
836 "sysconfdir=$(sysconfdir)" \
837 "tooldir=$(tooldir)" \
838 "build_tooldir=$(build_tooldir)" \
839 "target_alias=$(target_alias)" \
840 "AWK=$(AWK)" \
841 "BISON=$(BISON)" \
842 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
843 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
844 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
845 "EXPECT=$(EXPECT)" \
846 "FLEX=$(FLEX)" \
847 "INSTALL=$(INSTALL)" \
848 "INSTALL_DATA=$(INSTALL_DATA)" \
849 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
850 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
851 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
852 "LEX=$(LEX)" \
853 "M4=$(M4)" \
854 "MAKE=$(MAKE)" \
855 "RUNTEST=$(RUNTEST)" \
856 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
857 "SED=$(SED)" \
858 "SHELL=$(SHELL)" \
859 "YACC=$(YACC)" \
860 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
861 "ADA_CFLAGS=$(ADA_CFLAGS)" \
862 "AR_FLAGS=$(AR_FLAGS)" \
863 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
864 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
865 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
866 "CFLAGS=$(CFLAGS)" \
867 "CXXFLAGS=$(CXXFLAGS)" \
868 "LDFLAGS=$(LDFLAGS)" \
869 "LIBCFLAGS=$(LIBCFLAGS)" \
870 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
871 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
872 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
873 "GNATBIND=$(GNATBIND)" \
874 "GNATMAKE=$(GNATMAKE)" \
875 "GDC=$(GDC)" \
876 "GDCFLAGS=$(GDCFLAGS)" \
877 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
878 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
879 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
880 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
881 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
882 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
883 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
884 "DSYMUTIL_FOR_TARGET=$(DSYMUTIL_FOR_TARGET)" \
885 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
886 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
887 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
888 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
889 "GDC_FOR_TARGET=$(GDC_FOR_TARGET)" \
890 "GDCFLAGS_FOR_TARGET=$(GDCFLAGS_FOR_TARGET)" \
891 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
892 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
893 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
894 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
895 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
896 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
897 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
898 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
899 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
900 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
901 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
902 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
903 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
904 "BUILD_CONFIG=$(BUILD_CONFIG)" \
905 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
906 "LEAN=$(LEAN)" \
907 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
908 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
909 "STAGE1_GENERATOR_CFLAGS=$(STAGE1_GENERATOR_CFLAGS)" \
910 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
911 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
912 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
913 "STAGE2_GENERATOR_CFLAGS=$(STAGE2_GENERATOR_CFLAGS)" \
914 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
915 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
916 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
917 "STAGE3_GENERATOR_CFLAGS=$(STAGE3_GENERATOR_CFLAGS)" \
918 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
919 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
920 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
921 "STAGE4_GENERATOR_CFLAGS=$(STAGE4_GENERATOR_CFLAGS)" \
922 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
923 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
924 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
925 "STAGEprofile_GENERATOR_CFLAGS=$(STAGEprofile_GENERATOR_CFLAGS)" \
926 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
927 "STAGEtrain_CFLAGS=$(STAGEtrain_CFLAGS)" \
928 "STAGEtrain_CXXFLAGS=$(STAGEtrain_CXXFLAGS)" \
929 "STAGEtrain_GENERATOR_CFLAGS=$(STAGEtrain_GENERATOR_CFLAGS)" \
930 "STAGEtrain_TFLAGS=$(STAGEtrain_TFLAGS)" \
931 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
932 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
933 "STAGEfeedback_GENERATOR_CFLAGS=$(STAGEfeedback_GENERATOR_CFLAGS)" \
934 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
935 "STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
936 "STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
937 "STAGEautoprofile_GENERATOR_CFLAGS=$(STAGEautoprofile_GENERATOR_CFLAGS)" \
938 "STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
939 "STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
940 "STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
941 "STAGEautofeedback_GENERATOR_CFLAGS=$(STAGEautofeedback_GENERATOR_CFLAGS)" \
942 "STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
943 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
944 "TFLAGS=$(TFLAGS)" \
945 "CONFIG_SHELL=$(SHELL)" \
946 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
947 $(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
948
949 # We leave this in just in case, but it is not needed anymore.
950 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
951
952 # Flags to pass down to most sub-makes, in which we're building with
953 # the host environment.
954 EXTRA_HOST_FLAGS = \
955 'AR=$(AR)' \
956 'AS=$(AS)' \
957 'CC=$(CC)' \
958 'CXX=$(CXX)' \
959 'DLLTOOL=$(DLLTOOL)' \
960 'DSYMUTIL=$(DSYMUTIL)' \
961 'GFORTRAN=$(GFORTRAN)' \
962 'GOC=$(GOC)' \
963 'GDC=$(GDC)' \
964 'LD=$(LD)' \
965 'LIPO=$(LIPO)' \
966 'NM=$(NM)' \
967 'OBJDUMP=$(OBJDUMP)' \
968 'OTOOL=$(OTOOL)' \
969 'RANLIB=$(RANLIB)' \
970 'READELF=$(READELF)' \
971 'STRIP=$(STRIP)' \
972 'WINDRES=$(WINDRES)' \
973 'WINDMC=$(WINDMC)' \
974 'CREATE_GCOV=$(CREATE_GCOV)'
975
976 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
977
978 # Flags to pass to stage1 or when not bootstrapping.
979
980 STAGE1_FLAGS_TO_PASS = \
981 LDFLAGS="$${LDFLAGS}" \
982 HOST_LIBS="$${HOST_LIBS}"
983
984 # Flags to pass to stage2 and later makes.
985
986 POSTSTAGE1_FLAGS_TO_PASS = \
987 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
988 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
989 GDC="$${GDC}" GDC_FOR_BUILD="$${GDC_FOR_BUILD}" \
990 GNATBIND="$${GNATBIND}" \
991 LDFLAGS="$${LDFLAGS}" \
992 HOST_LIBS="$${HOST_LIBS}" \
993 $(LTO_FLAGS_TO_PASS) \
994 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
995
996 @if gcc-bootstrap
997 EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
998 $(POSTSTAGE1_HOST_EXPORTS) \
999 fi;
1000
1001 EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
1002 @endif gcc-bootstrap
1003
1004 # Flags to pass down to makes which are built with the target environment.
1005 # The double $ decreases the length of the command line; those variables
1006 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
1007 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
1008 # so we expand them here.
1009 EXTRA_TARGET_FLAGS = \
1010 'AR=$$(AR_FOR_TARGET)' \
1011 'AS=$(COMPILER_AS_FOR_TARGET)' \
1012 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1013 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
1014 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
1015 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
1016 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1017 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
1018 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
1019 'DSYMUTIL=$$(DSYMUTIL_FOR_TARGET)' \
1020 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1021 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1022 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
1023 'GDC=$$(GDC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
1024 'GDCFLAGS=$$(GDCFLAGS_FOR_TARGET)' \
1025 'LD=$(COMPILER_LD_FOR_TARGET)' \
1026 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
1027 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
1028 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
1029 'NM=$(COMPILER_NM_FOR_TARGET)' \
1030 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
1031 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
1032 'RANLIB=$$(RANLIB_FOR_TARGET)' \
1033 'READELF=$$(READELF_FOR_TARGET)' \
1034 'WINDRES=$$(WINDRES_FOR_TARGET)' \
1035 'WINDMC=$$(WINDMC_FOR_TARGET)' \
1036 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
1037 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
1038 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
1039 "TFLAGS=$$TFLAGS"
1040
1041 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
1042
1043 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
1044 # unfortunately needs the native compiler and the target ar and
1045 # ranlib.
1046 # If any variables are added here, they must be added to do-*, below.
1047 # The BUILD_* variables are a special case, which are used for the gcc
1048 # cross-building scheme.
1049 EXTRA_GCC_FLAGS = \
1050 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
1051 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
1052 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
1053
1054 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
1055
1056 @if gcc
1057 BUILD_CONFIG = @BUILD_CONFIG@
1058 ifneq ($(BUILD_CONFIG),)
1059 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
1060 endif
1061 @endif gcc
1062
1063 .PHONY: configure-host
1064 configure-host: \
1065 maybe-configure-bfd \
1066 maybe-configure-opcodes \
1067 maybe-configure-binutils \
1068 maybe-configure-bison \
1069 maybe-configure-cgen \
1070 maybe-configure-dejagnu \
1071 maybe-configure-etc \
1072 maybe-configure-fastjar \
1073 maybe-configure-fixincludes \
1074 maybe-configure-flex \
1075 maybe-configure-gas \
1076 maybe-configure-gcc \
1077 maybe-configure-gmp \
1078 maybe-configure-mpfr \
1079 maybe-configure-mpc \
1080 maybe-configure-isl \
1081 maybe-configure-libelf \
1082 maybe-configure-gold \
1083 maybe-configure-gprof \
1084 maybe-configure-intl \
1085 maybe-configure-tcl \
1086 maybe-configure-itcl \
1087 maybe-configure-ld \
1088 maybe-configure-libbacktrace \
1089 maybe-configure-libcpp \
1090 maybe-configure-libcody \
1091 maybe-configure-libdecnumber \
1092 maybe-configure-libgui \
1093 maybe-configure-libiberty \
1094 maybe-configure-libiberty-linker-plugin \
1095 maybe-configure-libiconv \
1096 maybe-configure-m4 \
1097 maybe-configure-readline \
1098 maybe-configure-sid \
1099 maybe-configure-sim \
1100 maybe-configure-texinfo \
1101 maybe-configure-zlib \
1102 maybe-configure-gnulib \
1103 maybe-configure-gdbsupport \
1104 maybe-configure-gdbserver \
1105 maybe-configure-gdb \
1106 maybe-configure-expect \
1107 maybe-configure-guile \
1108 maybe-configure-tk \
1109 maybe-configure-libtermcap \
1110 maybe-configure-utils \
1111 maybe-configure-c++tools \
1112 maybe-configure-gnattools \
1113 maybe-configure-lto-plugin \
1114 maybe-configure-libcc1 \
1115 maybe-configure-gotools \
1116 maybe-configure-libctf
1117 .PHONY: configure-target
1118 configure-target: \
1119 maybe-configure-target-libstdc++-v3 \
1120 maybe-configure-target-libsanitizer \
1121 maybe-configure-target-libvtv \
1122 maybe-configure-target-liboffloadmic \
1123 maybe-configure-target-libssp \
1124 maybe-configure-target-newlib \
1125 maybe-configure-target-libgcc \
1126 maybe-configure-target-libbacktrace \
1127 maybe-configure-target-libquadmath \
1128 maybe-configure-target-libgfortran \
1129 maybe-configure-target-libobjc \
1130 maybe-configure-target-libgo \
1131 maybe-configure-target-libphobos \
1132 maybe-configure-target-libtermcap \
1133 maybe-configure-target-winsup \
1134 maybe-configure-target-libgloss \
1135 maybe-configure-target-libffi \
1136 maybe-configure-target-zlib \
1137 maybe-configure-target-rda \
1138 maybe-configure-target-libada \
1139 maybe-configure-target-libgomp \
1140 maybe-configure-target-libitm \
1141 maybe-configure-target-libatomic
1142
1143 # The target built for a native non-bootstrap build.
1144 .PHONY: all
1145
1146 # --enable-pgo-build enables the PGO build.
1147 # 1. First build with -fprofile-generate.
1148 # 2. Use "make maybe-check-*" to generate profiling data.
1149 # 3. Use "make clean" to remove the previous build.
1150 # 4. Rebuild with -fprofile-use.
1151 all:
1152 @if gcc-bootstrap
1153 [ -f stage_final ] || echo stage3 > stage_final
1154 @r=`${PWD_COMMAND}`; export r; \
1155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1156 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
1157 @endif gcc-bootstrap
1158 @: $(MAKE); $(unstage)
1159 +@r=`${PWD_COMMAND}`; export r; \
1160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1161 @if gcc-bootstrap
1162 if [ -f stage_last ]; then \
1163 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
1164 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
1165 else \
1166 @endif gcc-bootstrap
1167 $(MAKE) $(RECURSE_FLAGS_TO_PASS) \
1168 $(PGO_BUILD_GEN_FLAGS_TO_PASS) all-host all-target \
1169 @if pgo-build
1170 && $(MAKE) $(RECURSE_FLAGS_TO_PASS) \
1171 $(PGO_BUILD_TRAINING_MFLAGS) \
1172 $(PGO_BUILD_TRAINING_FLAGS_TO_PASS) \
1173 $(PGO_BUILD_TRAINING) \
1174 && $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean \
1175 && $(MAKE) $(RECURSE_FLAGS_TO_PASS) \
1176 $(PGO_BUILD_USE_FLAGS_TO_PASS) all-host all-target \
1177 @endif pgo-build
1178 @if gcc-bootstrap
1179 ; \
1180 fi \
1181 @endif gcc-bootstrap
1182 && :
1183
1184 .PHONY: all-build
1185
1186 all-build: maybe-all-build-libiberty
1187 all-build: maybe-all-build-bison
1188 all-build: maybe-all-build-flex
1189 all-build: maybe-all-build-m4
1190 all-build: maybe-all-build-texinfo
1191 all-build: maybe-all-build-fixincludes
1192 all-build: maybe-all-build-libcpp
1193
1194 .PHONY: all-host
1195
1196 @if bfd-no-bootstrap
1197 all-host: maybe-all-bfd
1198 @endif bfd-no-bootstrap
1199 @if opcodes-no-bootstrap
1200 all-host: maybe-all-opcodes
1201 @endif opcodes-no-bootstrap
1202 @if binutils-no-bootstrap
1203 all-host: maybe-all-binutils
1204 @endif binutils-no-bootstrap
1205 all-host: maybe-all-bison
1206 all-host: maybe-all-cgen
1207 all-host: maybe-all-dejagnu
1208 all-host: maybe-all-etc
1209 all-host: maybe-all-fastjar
1210 @if fixincludes-no-bootstrap
1211 all-host: maybe-all-fixincludes
1212 @endif fixincludes-no-bootstrap
1213 all-host: maybe-all-flex
1214 @if gas-no-bootstrap
1215 all-host: maybe-all-gas
1216 @endif gas-no-bootstrap
1217 @if gcc-no-bootstrap
1218 all-host: maybe-all-gcc
1219 @endif gcc-no-bootstrap
1220 @if gmp-no-bootstrap
1221 all-host: maybe-all-gmp
1222 @endif gmp-no-bootstrap
1223 @if mpfr-no-bootstrap
1224 all-host: maybe-all-mpfr
1225 @endif mpfr-no-bootstrap
1226 @if mpc-no-bootstrap
1227 all-host: maybe-all-mpc
1228 @endif mpc-no-bootstrap
1229 @if isl-no-bootstrap
1230 all-host: maybe-all-isl
1231 @endif isl-no-bootstrap
1232 @if libelf-no-bootstrap
1233 all-host: maybe-all-libelf
1234 @endif libelf-no-bootstrap
1235 @if gold-no-bootstrap
1236 all-host: maybe-all-gold
1237 @endif gold-no-bootstrap
1238 all-host: maybe-all-gprof
1239 @if intl-no-bootstrap
1240 all-host: maybe-all-intl
1241 @endif intl-no-bootstrap
1242 all-host: maybe-all-tcl
1243 all-host: maybe-all-itcl
1244 @if ld-no-bootstrap
1245 all-host: maybe-all-ld
1246 @endif ld-no-bootstrap
1247 @if libbacktrace-no-bootstrap
1248 all-host: maybe-all-libbacktrace
1249 @endif libbacktrace-no-bootstrap
1250 @if libcpp-no-bootstrap
1251 all-host: maybe-all-libcpp
1252 @endif libcpp-no-bootstrap
1253 @if libcody-no-bootstrap
1254 all-host: maybe-all-libcody
1255 @endif libcody-no-bootstrap
1256 @if libdecnumber-no-bootstrap
1257 all-host: maybe-all-libdecnumber
1258 @endif libdecnumber-no-bootstrap
1259 all-host: maybe-all-libgui
1260 @if libiberty-no-bootstrap
1261 all-host: maybe-all-libiberty
1262 @endif libiberty-no-bootstrap
1263 @if libiberty-linker-plugin-no-bootstrap
1264 all-host: maybe-all-libiberty-linker-plugin
1265 @endif libiberty-linker-plugin-no-bootstrap
1266 @if libiconv-no-bootstrap
1267 all-host: maybe-all-libiconv
1268 @endif libiconv-no-bootstrap
1269 all-host: maybe-all-m4
1270 all-host: maybe-all-readline
1271 all-host: maybe-all-sid
1272 all-host: maybe-all-sim
1273 all-host: maybe-all-texinfo
1274 @if zlib-no-bootstrap
1275 all-host: maybe-all-zlib
1276 @endif zlib-no-bootstrap
1277 all-host: maybe-all-gnulib
1278 all-host: maybe-all-gdbsupport
1279 all-host: maybe-all-gdbserver
1280 all-host: maybe-all-gdb
1281 all-host: maybe-all-expect
1282 all-host: maybe-all-guile
1283 all-host: maybe-all-tk
1284 all-host: maybe-all-libtermcap
1285 all-host: maybe-all-utils
1286 all-host: maybe-all-c++tools
1287 all-host: maybe-all-gnattools
1288 @if lto-plugin-no-bootstrap
1289 all-host: maybe-all-lto-plugin
1290 @endif lto-plugin-no-bootstrap
1291 all-host: maybe-all-libcc1
1292 all-host: maybe-all-gotools
1293 @if libctf-no-bootstrap
1294 all-host: maybe-all-libctf
1295 @endif libctf-no-bootstrap
1296
1297 .PHONY: all-target
1298
1299 @if target-libstdc++-v3-no-bootstrap
1300 all-target: maybe-all-target-libstdc++-v3
1301 @endif target-libstdc++-v3-no-bootstrap
1302 @if target-libsanitizer-no-bootstrap
1303 all-target: maybe-all-target-libsanitizer
1304 @endif target-libsanitizer-no-bootstrap
1305 @if target-libvtv-no-bootstrap
1306 all-target: maybe-all-target-libvtv
1307 @endif target-libvtv-no-bootstrap
1308 all-target: maybe-all-target-liboffloadmic
1309 all-target: maybe-all-target-libssp
1310 all-target: maybe-all-target-newlib
1311 @if target-libgcc-no-bootstrap
1312 all-target: maybe-all-target-libgcc
1313 @endif target-libgcc-no-bootstrap
1314 @if target-libbacktrace-no-bootstrap
1315 all-target: maybe-all-target-libbacktrace
1316 @endif target-libbacktrace-no-bootstrap
1317 all-target: maybe-all-target-libquadmath
1318 all-target: maybe-all-target-libgfortran
1319 all-target: maybe-all-target-libobjc
1320 all-target: maybe-all-target-libgo
1321 @if target-libphobos-no-bootstrap
1322 all-target: maybe-all-target-libphobos
1323 @endif target-libphobos-no-bootstrap
1324 all-target: maybe-all-target-libtermcap
1325 all-target: maybe-all-target-winsup
1326 all-target: maybe-all-target-libgloss
1327 all-target: maybe-all-target-libffi
1328 @if target-zlib-no-bootstrap
1329 all-target: maybe-all-target-zlib
1330 @endif target-zlib-no-bootstrap
1331 all-target: maybe-all-target-rda
1332 all-target: maybe-all-target-libada
1333 @if target-libgomp-no-bootstrap
1334 all-target: maybe-all-target-libgomp
1335 @endif target-libgomp-no-bootstrap
1336 all-target: maybe-all-target-libitm
1337 @if target-libatomic-no-bootstrap
1338 all-target: maybe-all-target-libatomic
1339 @endif target-libatomic-no-bootstrap
1340
1341 # Do a target for all the subdirectories. A ``make do-X'' will do a
1342 # ``make X'' in all subdirectories (because, in general, there is a
1343 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1344 # but it may do additional work as well).
1345
1346 .PHONY: do-info
1347 do-info:
1348 @: $(MAKE); $(unstage)
1349 @r=`${PWD_COMMAND}`; export r; \
1350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1351 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1352 info-target
1353
1354
1355 .PHONY: info-host
1356
1357 info-host: maybe-info-bfd
1358 info-host: maybe-info-opcodes
1359 info-host: maybe-info-binutils
1360 info-host: maybe-info-bison
1361 info-host: maybe-info-cgen
1362 info-host: maybe-info-dejagnu
1363 info-host: maybe-info-etc
1364 info-host: maybe-info-fastjar
1365 info-host: maybe-info-fixincludes
1366 info-host: maybe-info-flex
1367 info-host: maybe-info-gas
1368 info-host: maybe-info-gcc
1369 info-host: maybe-info-gmp
1370 info-host: maybe-info-mpfr
1371 info-host: maybe-info-mpc
1372 info-host: maybe-info-isl
1373 info-host: maybe-info-libelf
1374 info-host: maybe-info-gold
1375 info-host: maybe-info-gprof
1376 info-host: maybe-info-intl
1377 info-host: maybe-info-tcl
1378 info-host: maybe-info-itcl
1379 info-host: maybe-info-ld
1380 info-host: maybe-info-libbacktrace
1381 info-host: maybe-info-libcpp
1382 info-host: maybe-info-libcody
1383 info-host: maybe-info-libdecnumber
1384 info-host: maybe-info-libgui
1385 info-host: maybe-info-libiberty
1386 info-host: maybe-info-libiberty-linker-plugin
1387 info-host: maybe-info-libiconv
1388 info-host: maybe-info-m4
1389 info-host: maybe-info-readline
1390 info-host: maybe-info-sid
1391 info-host: maybe-info-sim
1392 info-host: maybe-info-texinfo
1393 info-host: maybe-info-zlib
1394 info-host: maybe-info-gnulib
1395 info-host: maybe-info-gdbsupport
1396 info-host: maybe-info-gdbserver
1397 info-host: maybe-info-gdb
1398 info-host: maybe-info-expect
1399 info-host: maybe-info-guile
1400 info-host: maybe-info-tk
1401 info-host: maybe-info-libtermcap
1402 info-host: maybe-info-utils
1403 info-host: maybe-info-c++tools
1404 info-host: maybe-info-gnattools
1405 info-host: maybe-info-lto-plugin
1406 info-host: maybe-info-libcc1
1407 info-host: maybe-info-gotools
1408 info-host: maybe-info-libctf
1409
1410 .PHONY: info-target
1411
1412 info-target: maybe-info-target-libstdc++-v3
1413 info-target: maybe-info-target-libsanitizer
1414 info-target: maybe-info-target-libvtv
1415 info-target: maybe-info-target-liboffloadmic
1416 info-target: maybe-info-target-libssp
1417 info-target: maybe-info-target-newlib
1418 info-target: maybe-info-target-libgcc
1419 info-target: maybe-info-target-libbacktrace
1420 info-target: maybe-info-target-libquadmath
1421 info-target: maybe-info-target-libgfortran
1422 info-target: maybe-info-target-libobjc
1423 info-target: maybe-info-target-libgo
1424 info-target: maybe-info-target-libphobos
1425 info-target: maybe-info-target-libtermcap
1426 info-target: maybe-info-target-winsup
1427 info-target: maybe-info-target-libgloss
1428 info-target: maybe-info-target-libffi
1429 info-target: maybe-info-target-zlib
1430 info-target: maybe-info-target-rda
1431 info-target: maybe-info-target-libada
1432 info-target: maybe-info-target-libgomp
1433 info-target: maybe-info-target-libitm
1434 info-target: maybe-info-target-libatomic
1435
1436 .PHONY: do-dvi
1437 do-dvi:
1438 @: $(MAKE); $(unstage)
1439 @r=`${PWD_COMMAND}`; export r; \
1440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1441 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1442 dvi-target
1443
1444
1445 .PHONY: dvi-host
1446
1447 dvi-host: maybe-dvi-bfd
1448 dvi-host: maybe-dvi-opcodes
1449 dvi-host: maybe-dvi-binutils
1450 dvi-host: maybe-dvi-bison
1451 dvi-host: maybe-dvi-cgen
1452 dvi-host: maybe-dvi-dejagnu
1453 dvi-host: maybe-dvi-etc
1454 dvi-host: maybe-dvi-fastjar
1455 dvi-host: maybe-dvi-fixincludes
1456 dvi-host: maybe-dvi-flex
1457 dvi-host: maybe-dvi-gas
1458 dvi-host: maybe-dvi-gcc
1459 dvi-host: maybe-dvi-gmp
1460 dvi-host: maybe-dvi-mpfr
1461 dvi-host: maybe-dvi-mpc
1462 dvi-host: maybe-dvi-isl
1463 dvi-host: maybe-dvi-libelf
1464 dvi-host: maybe-dvi-gold
1465 dvi-host: maybe-dvi-gprof
1466 dvi-host: maybe-dvi-intl
1467 dvi-host: maybe-dvi-tcl
1468 dvi-host: maybe-dvi-itcl
1469 dvi-host: maybe-dvi-ld
1470 dvi-host: maybe-dvi-libbacktrace
1471 dvi-host: maybe-dvi-libcpp
1472 dvi-host: maybe-dvi-libcody
1473 dvi-host: maybe-dvi-libdecnumber
1474 dvi-host: maybe-dvi-libgui
1475 dvi-host: maybe-dvi-libiberty
1476 dvi-host: maybe-dvi-libiberty-linker-plugin
1477 dvi-host: maybe-dvi-libiconv
1478 dvi-host: maybe-dvi-m4
1479 dvi-host: maybe-dvi-readline
1480 dvi-host: maybe-dvi-sid
1481 dvi-host: maybe-dvi-sim
1482 dvi-host: maybe-dvi-texinfo
1483 dvi-host: maybe-dvi-zlib
1484 dvi-host: maybe-dvi-gnulib
1485 dvi-host: maybe-dvi-gdbsupport
1486 dvi-host: maybe-dvi-gdbserver
1487 dvi-host: maybe-dvi-gdb
1488 dvi-host: maybe-dvi-expect
1489 dvi-host: maybe-dvi-guile
1490 dvi-host: maybe-dvi-tk
1491 dvi-host: maybe-dvi-libtermcap
1492 dvi-host: maybe-dvi-utils
1493 dvi-host: maybe-dvi-c++tools
1494 dvi-host: maybe-dvi-gnattools
1495 dvi-host: maybe-dvi-lto-plugin
1496 dvi-host: maybe-dvi-libcc1
1497 dvi-host: maybe-dvi-gotools
1498 dvi-host: maybe-dvi-libctf
1499
1500 .PHONY: dvi-target
1501
1502 dvi-target: maybe-dvi-target-libstdc++-v3
1503 dvi-target: maybe-dvi-target-libsanitizer
1504 dvi-target: maybe-dvi-target-libvtv
1505 dvi-target: maybe-dvi-target-liboffloadmic
1506 dvi-target: maybe-dvi-target-libssp
1507 dvi-target: maybe-dvi-target-newlib
1508 dvi-target: maybe-dvi-target-libgcc
1509 dvi-target: maybe-dvi-target-libbacktrace
1510 dvi-target: maybe-dvi-target-libquadmath
1511 dvi-target: maybe-dvi-target-libgfortran
1512 dvi-target: maybe-dvi-target-libobjc
1513 dvi-target: maybe-dvi-target-libgo
1514 dvi-target: maybe-dvi-target-libphobos
1515 dvi-target: maybe-dvi-target-libtermcap
1516 dvi-target: maybe-dvi-target-winsup
1517 dvi-target: maybe-dvi-target-libgloss
1518 dvi-target: maybe-dvi-target-libffi
1519 dvi-target: maybe-dvi-target-zlib
1520 dvi-target: maybe-dvi-target-rda
1521 dvi-target: maybe-dvi-target-libada
1522 dvi-target: maybe-dvi-target-libgomp
1523 dvi-target: maybe-dvi-target-libitm
1524 dvi-target: maybe-dvi-target-libatomic
1525
1526 .PHONY: do-pdf
1527 do-pdf:
1528 @: $(MAKE); $(unstage)
1529 @r=`${PWD_COMMAND}`; export r; \
1530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1531 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1532 pdf-target
1533
1534
1535 .PHONY: pdf-host
1536
1537 pdf-host: maybe-pdf-bfd
1538 pdf-host: maybe-pdf-opcodes
1539 pdf-host: maybe-pdf-binutils
1540 pdf-host: maybe-pdf-bison
1541 pdf-host: maybe-pdf-cgen
1542 pdf-host: maybe-pdf-dejagnu
1543 pdf-host: maybe-pdf-etc
1544 pdf-host: maybe-pdf-fastjar
1545 pdf-host: maybe-pdf-fixincludes
1546 pdf-host: maybe-pdf-flex
1547 pdf-host: maybe-pdf-gas
1548 pdf-host: maybe-pdf-gcc
1549 pdf-host: maybe-pdf-gmp
1550 pdf-host: maybe-pdf-mpfr
1551 pdf-host: maybe-pdf-mpc
1552 pdf-host: maybe-pdf-isl
1553 pdf-host: maybe-pdf-libelf
1554 pdf-host: maybe-pdf-gold
1555 pdf-host: maybe-pdf-gprof
1556 pdf-host: maybe-pdf-intl
1557 pdf-host: maybe-pdf-tcl
1558 pdf-host: maybe-pdf-itcl
1559 pdf-host: maybe-pdf-ld
1560 pdf-host: maybe-pdf-libbacktrace
1561 pdf-host: maybe-pdf-libcpp
1562 pdf-host: maybe-pdf-libcody
1563 pdf-host: maybe-pdf-libdecnumber
1564 pdf-host: maybe-pdf-libgui
1565 pdf-host: maybe-pdf-libiberty
1566 pdf-host: maybe-pdf-libiberty-linker-plugin
1567 pdf-host: maybe-pdf-libiconv
1568 pdf-host: maybe-pdf-m4
1569 pdf-host: maybe-pdf-readline
1570 pdf-host: maybe-pdf-sid
1571 pdf-host: maybe-pdf-sim
1572 pdf-host: maybe-pdf-texinfo
1573 pdf-host: maybe-pdf-zlib
1574 pdf-host: maybe-pdf-gnulib
1575 pdf-host: maybe-pdf-gdbsupport
1576 pdf-host: maybe-pdf-gdbserver
1577 pdf-host: maybe-pdf-gdb
1578 pdf-host: maybe-pdf-expect
1579 pdf-host: maybe-pdf-guile
1580 pdf-host: maybe-pdf-tk
1581 pdf-host: maybe-pdf-libtermcap
1582 pdf-host: maybe-pdf-utils
1583 pdf-host: maybe-pdf-c++tools
1584 pdf-host: maybe-pdf-gnattools
1585 pdf-host: maybe-pdf-lto-plugin
1586 pdf-host: maybe-pdf-libcc1
1587 pdf-host: maybe-pdf-gotools
1588 pdf-host: maybe-pdf-libctf
1589
1590 .PHONY: pdf-target
1591
1592 pdf-target: maybe-pdf-target-libstdc++-v3
1593 pdf-target: maybe-pdf-target-libsanitizer
1594 pdf-target: maybe-pdf-target-libvtv
1595 pdf-target: maybe-pdf-target-liboffloadmic
1596 pdf-target: maybe-pdf-target-libssp
1597 pdf-target: maybe-pdf-target-newlib
1598 pdf-target: maybe-pdf-target-libgcc
1599 pdf-target: maybe-pdf-target-libbacktrace
1600 pdf-target: maybe-pdf-target-libquadmath
1601 pdf-target: maybe-pdf-target-libgfortran
1602 pdf-target: maybe-pdf-target-libobjc
1603 pdf-target: maybe-pdf-target-libgo
1604 pdf-target: maybe-pdf-target-libphobos
1605 pdf-target: maybe-pdf-target-libtermcap
1606 pdf-target: maybe-pdf-target-winsup
1607 pdf-target: maybe-pdf-target-libgloss
1608 pdf-target: maybe-pdf-target-libffi
1609 pdf-target: maybe-pdf-target-zlib
1610 pdf-target: maybe-pdf-target-rda
1611 pdf-target: maybe-pdf-target-libada
1612 pdf-target: maybe-pdf-target-libgomp
1613 pdf-target: maybe-pdf-target-libitm
1614 pdf-target: maybe-pdf-target-libatomic
1615
1616 .PHONY: do-html
1617 do-html:
1618 @: $(MAKE); $(unstage)
1619 @r=`${PWD_COMMAND}`; export r; \
1620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1621 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1622 html-target
1623
1624
1625 .PHONY: html-host
1626
1627 html-host: maybe-html-bfd
1628 html-host: maybe-html-opcodes
1629 html-host: maybe-html-binutils
1630 html-host: maybe-html-bison
1631 html-host: maybe-html-cgen
1632 html-host: maybe-html-dejagnu
1633 html-host: maybe-html-etc
1634 html-host: maybe-html-fastjar
1635 html-host: maybe-html-fixincludes
1636 html-host: maybe-html-flex
1637 html-host: maybe-html-gas
1638 html-host: maybe-html-gcc
1639 html-host: maybe-html-gmp
1640 html-host: maybe-html-mpfr
1641 html-host: maybe-html-mpc
1642 html-host: maybe-html-isl
1643 html-host: maybe-html-libelf
1644 html-host: maybe-html-gold
1645 html-host: maybe-html-gprof
1646 html-host: maybe-html-intl
1647 html-host: maybe-html-tcl
1648 html-host: maybe-html-itcl
1649 html-host: maybe-html-ld
1650 html-host: maybe-html-libbacktrace
1651 html-host: maybe-html-libcpp
1652 html-host: maybe-html-libcody
1653 html-host: maybe-html-libdecnumber
1654 html-host: maybe-html-libgui
1655 html-host: maybe-html-libiberty
1656 html-host: maybe-html-libiberty-linker-plugin
1657 html-host: maybe-html-libiconv
1658 html-host: maybe-html-m4
1659 html-host: maybe-html-readline
1660 html-host: maybe-html-sid
1661 html-host: maybe-html-sim
1662 html-host: maybe-html-texinfo
1663 html-host: maybe-html-zlib
1664 html-host: maybe-html-gnulib
1665 html-host: maybe-html-gdbsupport
1666 html-host: maybe-html-gdbserver
1667 html-host: maybe-html-gdb
1668 html-host: maybe-html-expect
1669 html-host: maybe-html-guile
1670 html-host: maybe-html-tk
1671 html-host: maybe-html-libtermcap
1672 html-host: maybe-html-utils
1673 html-host: maybe-html-c++tools
1674 html-host: maybe-html-gnattools
1675 html-host: maybe-html-lto-plugin
1676 html-host: maybe-html-libcc1
1677 html-host: maybe-html-gotools
1678 html-host: maybe-html-libctf
1679
1680 .PHONY: html-target
1681
1682 html-target: maybe-html-target-libstdc++-v3
1683 html-target: maybe-html-target-libsanitizer
1684 html-target: maybe-html-target-libvtv
1685 html-target: maybe-html-target-liboffloadmic
1686 html-target: maybe-html-target-libssp
1687 html-target: maybe-html-target-newlib
1688 html-target: maybe-html-target-libgcc
1689 html-target: maybe-html-target-libbacktrace
1690 html-target: maybe-html-target-libquadmath
1691 html-target: maybe-html-target-libgfortran
1692 html-target: maybe-html-target-libobjc
1693 html-target: maybe-html-target-libgo
1694 html-target: maybe-html-target-libphobos
1695 html-target: maybe-html-target-libtermcap
1696 html-target: maybe-html-target-winsup
1697 html-target: maybe-html-target-libgloss
1698 html-target: maybe-html-target-libffi
1699 html-target: maybe-html-target-zlib
1700 html-target: maybe-html-target-rda
1701 html-target: maybe-html-target-libada
1702 html-target: maybe-html-target-libgomp
1703 html-target: maybe-html-target-libitm
1704 html-target: maybe-html-target-libatomic
1705
1706 .PHONY: do-TAGS
1707 do-TAGS:
1708 @: $(MAKE); $(unstage)
1709 @r=`${PWD_COMMAND}`; export r; \
1710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1711 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1712 TAGS-target
1713
1714
1715 .PHONY: TAGS-host
1716
1717 TAGS-host: maybe-TAGS-bfd
1718 TAGS-host: maybe-TAGS-opcodes
1719 TAGS-host: maybe-TAGS-binutils
1720 TAGS-host: maybe-TAGS-bison
1721 TAGS-host: maybe-TAGS-cgen
1722 TAGS-host: maybe-TAGS-dejagnu
1723 TAGS-host: maybe-TAGS-etc
1724 TAGS-host: maybe-TAGS-fastjar
1725 TAGS-host: maybe-TAGS-fixincludes
1726 TAGS-host: maybe-TAGS-flex
1727 TAGS-host: maybe-TAGS-gas
1728 TAGS-host: maybe-TAGS-gcc
1729 TAGS-host: maybe-TAGS-gmp
1730 TAGS-host: maybe-TAGS-mpfr
1731 TAGS-host: maybe-TAGS-mpc
1732 TAGS-host: maybe-TAGS-isl
1733 TAGS-host: maybe-TAGS-libelf
1734 TAGS-host: maybe-TAGS-gold
1735 TAGS-host: maybe-TAGS-gprof
1736 TAGS-host: maybe-TAGS-intl
1737 TAGS-host: maybe-TAGS-tcl
1738 TAGS-host: maybe-TAGS-itcl
1739 TAGS-host: maybe-TAGS-ld
1740 TAGS-host: maybe-TAGS-libbacktrace
1741 TAGS-host: maybe-TAGS-libcpp
1742 TAGS-host: maybe-TAGS-libcody
1743 TAGS-host: maybe-TAGS-libdecnumber
1744 TAGS-host: maybe-TAGS-libgui
1745 TAGS-host: maybe-TAGS-libiberty
1746 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1747 TAGS-host: maybe-TAGS-libiconv
1748 TAGS-host: maybe-TAGS-m4
1749 TAGS-host: maybe-TAGS-readline
1750 TAGS-host: maybe-TAGS-sid
1751 TAGS-host: maybe-TAGS-sim
1752 TAGS-host: maybe-TAGS-texinfo
1753 TAGS-host: maybe-TAGS-zlib
1754 TAGS-host: maybe-TAGS-gnulib
1755 TAGS-host: maybe-TAGS-gdbsupport
1756 TAGS-host: maybe-TAGS-gdbserver
1757 TAGS-host: maybe-TAGS-gdb
1758 TAGS-host: maybe-TAGS-expect
1759 TAGS-host: maybe-TAGS-guile
1760 TAGS-host: maybe-TAGS-tk
1761 TAGS-host: maybe-TAGS-libtermcap
1762 TAGS-host: maybe-TAGS-utils
1763 TAGS-host: maybe-TAGS-c++tools
1764 TAGS-host: maybe-TAGS-gnattools
1765 TAGS-host: maybe-TAGS-lto-plugin
1766 TAGS-host: maybe-TAGS-libcc1
1767 TAGS-host: maybe-TAGS-gotools
1768 TAGS-host: maybe-TAGS-libctf
1769
1770 .PHONY: TAGS-target
1771
1772 TAGS-target: maybe-TAGS-target-libstdc++-v3
1773 TAGS-target: maybe-TAGS-target-libsanitizer
1774 TAGS-target: maybe-TAGS-target-libvtv
1775 TAGS-target: maybe-TAGS-target-liboffloadmic
1776 TAGS-target: maybe-TAGS-target-libssp
1777 TAGS-target: maybe-TAGS-target-newlib
1778 TAGS-target: maybe-TAGS-target-libgcc
1779 TAGS-target: maybe-TAGS-target-libbacktrace
1780 TAGS-target: maybe-TAGS-target-libquadmath
1781 TAGS-target: maybe-TAGS-target-libgfortran
1782 TAGS-target: maybe-TAGS-target-libobjc
1783 TAGS-target: maybe-TAGS-target-libgo
1784 TAGS-target: maybe-TAGS-target-libphobos
1785 TAGS-target: maybe-TAGS-target-libtermcap
1786 TAGS-target: maybe-TAGS-target-winsup
1787 TAGS-target: maybe-TAGS-target-libgloss
1788 TAGS-target: maybe-TAGS-target-libffi
1789 TAGS-target: maybe-TAGS-target-zlib
1790 TAGS-target: maybe-TAGS-target-rda
1791 TAGS-target: maybe-TAGS-target-libada
1792 TAGS-target: maybe-TAGS-target-libgomp
1793 TAGS-target: maybe-TAGS-target-libitm
1794 TAGS-target: maybe-TAGS-target-libatomic
1795
1796 .PHONY: do-install-info
1797 do-install-info:
1798 @: $(MAKE); $(unstage)
1799 @r=`${PWD_COMMAND}`; export r; \
1800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1801 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1802 install-info-target
1803
1804
1805 .PHONY: install-info-host
1806
1807 install-info-host: maybe-install-info-bfd
1808 install-info-host: maybe-install-info-opcodes
1809 install-info-host: maybe-install-info-binutils
1810 install-info-host: maybe-install-info-bison
1811 install-info-host: maybe-install-info-cgen
1812 install-info-host: maybe-install-info-dejagnu
1813 install-info-host: maybe-install-info-etc
1814 install-info-host: maybe-install-info-fastjar
1815 install-info-host: maybe-install-info-fixincludes
1816 install-info-host: maybe-install-info-flex
1817 install-info-host: maybe-install-info-gas
1818 install-info-host: maybe-install-info-gcc
1819 install-info-host: maybe-install-info-gmp
1820 install-info-host: maybe-install-info-mpfr
1821 install-info-host: maybe-install-info-mpc
1822 install-info-host: maybe-install-info-isl
1823 install-info-host: maybe-install-info-libelf
1824 install-info-host: maybe-install-info-gold
1825 install-info-host: maybe-install-info-gprof
1826 install-info-host: maybe-install-info-intl
1827 install-info-host: maybe-install-info-tcl
1828 install-info-host: maybe-install-info-itcl
1829 install-info-host: maybe-install-info-ld
1830 install-info-host: maybe-install-info-libbacktrace
1831 install-info-host: maybe-install-info-libcpp
1832 install-info-host: maybe-install-info-libcody
1833 install-info-host: maybe-install-info-libdecnumber
1834 install-info-host: maybe-install-info-libgui
1835 install-info-host: maybe-install-info-libiberty
1836 install-info-host: maybe-install-info-libiberty-linker-plugin
1837 install-info-host: maybe-install-info-libiconv
1838 install-info-host: maybe-install-info-m4
1839 install-info-host: maybe-install-info-readline
1840 install-info-host: maybe-install-info-sid
1841 install-info-host: maybe-install-info-sim
1842 install-info-host: maybe-install-info-texinfo
1843 install-info-host: maybe-install-info-zlib
1844 install-info-host: maybe-install-info-gnulib
1845 install-info-host: maybe-install-info-gdbsupport
1846 install-info-host: maybe-install-info-gdbserver
1847 install-info-host: maybe-install-info-gdb
1848 install-info-host: maybe-install-info-expect
1849 install-info-host: maybe-install-info-guile
1850 install-info-host: maybe-install-info-tk
1851 install-info-host: maybe-install-info-libtermcap
1852 install-info-host: maybe-install-info-utils
1853 install-info-host: maybe-install-info-c++tools
1854 install-info-host: maybe-install-info-gnattools
1855 install-info-host: maybe-install-info-lto-plugin
1856 install-info-host: maybe-install-info-libcc1
1857 install-info-host: maybe-install-info-gotools
1858 install-info-host: maybe-install-info-libctf
1859
1860 .PHONY: install-info-target
1861
1862 install-info-target: maybe-install-info-target-libstdc++-v3
1863 install-info-target: maybe-install-info-target-libsanitizer
1864 install-info-target: maybe-install-info-target-libvtv
1865 install-info-target: maybe-install-info-target-liboffloadmic
1866 install-info-target: maybe-install-info-target-libssp
1867 install-info-target: maybe-install-info-target-newlib
1868 install-info-target: maybe-install-info-target-libgcc
1869 install-info-target: maybe-install-info-target-libbacktrace
1870 install-info-target: maybe-install-info-target-libquadmath
1871 install-info-target: maybe-install-info-target-libgfortran
1872 install-info-target: maybe-install-info-target-libobjc
1873 install-info-target: maybe-install-info-target-libgo
1874 install-info-target: maybe-install-info-target-libphobos
1875 install-info-target: maybe-install-info-target-libtermcap
1876 install-info-target: maybe-install-info-target-winsup
1877 install-info-target: maybe-install-info-target-libgloss
1878 install-info-target: maybe-install-info-target-libffi
1879 install-info-target: maybe-install-info-target-zlib
1880 install-info-target: maybe-install-info-target-rda
1881 install-info-target: maybe-install-info-target-libada
1882 install-info-target: maybe-install-info-target-libgomp
1883 install-info-target: maybe-install-info-target-libitm
1884 install-info-target: maybe-install-info-target-libatomic
1885
1886 .PHONY: do-install-dvi
1887 do-install-dvi:
1888 @: $(MAKE); $(unstage)
1889 @r=`${PWD_COMMAND}`; export r; \
1890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1891 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-dvi-host \
1892 install-dvi-target
1893
1894
1895 .PHONY: install-dvi-host
1896
1897 install-dvi-host: maybe-install-dvi-bfd
1898 install-dvi-host: maybe-install-dvi-opcodes
1899 install-dvi-host: maybe-install-dvi-binutils
1900 install-dvi-host: maybe-install-dvi-bison
1901 install-dvi-host: maybe-install-dvi-cgen
1902 install-dvi-host: maybe-install-dvi-dejagnu
1903 install-dvi-host: maybe-install-dvi-etc
1904 install-dvi-host: maybe-install-dvi-fastjar
1905 install-dvi-host: maybe-install-dvi-fixincludes
1906 install-dvi-host: maybe-install-dvi-flex
1907 install-dvi-host: maybe-install-dvi-gas
1908 install-dvi-host: maybe-install-dvi-gcc
1909 install-dvi-host: maybe-install-dvi-gmp
1910 install-dvi-host: maybe-install-dvi-mpfr
1911 install-dvi-host: maybe-install-dvi-mpc
1912 install-dvi-host: maybe-install-dvi-isl
1913 install-dvi-host: maybe-install-dvi-libelf
1914 install-dvi-host: maybe-install-dvi-gold
1915 install-dvi-host: maybe-install-dvi-gprof
1916 install-dvi-host: maybe-install-dvi-intl
1917 install-dvi-host: maybe-install-dvi-tcl
1918 install-dvi-host: maybe-install-dvi-itcl
1919 install-dvi-host: maybe-install-dvi-ld
1920 install-dvi-host: maybe-install-dvi-libbacktrace
1921 install-dvi-host: maybe-install-dvi-libcpp
1922 install-dvi-host: maybe-install-dvi-libcody
1923 install-dvi-host: maybe-install-dvi-libdecnumber
1924 install-dvi-host: maybe-install-dvi-libgui
1925 install-dvi-host: maybe-install-dvi-libiberty
1926 install-dvi-host: maybe-install-dvi-libiberty-linker-plugin
1927 install-dvi-host: maybe-install-dvi-libiconv
1928 install-dvi-host: maybe-install-dvi-m4
1929 install-dvi-host: maybe-install-dvi-readline
1930 install-dvi-host: maybe-install-dvi-sid
1931 install-dvi-host: maybe-install-dvi-sim
1932 install-dvi-host: maybe-install-dvi-texinfo
1933 install-dvi-host: maybe-install-dvi-zlib
1934 install-dvi-host: maybe-install-dvi-gnulib
1935 install-dvi-host: maybe-install-dvi-gdbsupport
1936 install-dvi-host: maybe-install-dvi-gdbserver
1937 install-dvi-host: maybe-install-dvi-gdb
1938 install-dvi-host: maybe-install-dvi-expect
1939 install-dvi-host: maybe-install-dvi-guile
1940 install-dvi-host: maybe-install-dvi-tk
1941 install-dvi-host: maybe-install-dvi-libtermcap
1942 install-dvi-host: maybe-install-dvi-utils
1943 install-dvi-host: maybe-install-dvi-c++tools
1944 install-dvi-host: maybe-install-dvi-gnattools
1945 install-dvi-host: maybe-install-dvi-lto-plugin
1946 install-dvi-host: maybe-install-dvi-libcc1
1947 install-dvi-host: maybe-install-dvi-gotools
1948 install-dvi-host: maybe-install-dvi-libctf
1949
1950 .PHONY: install-dvi-target
1951
1952 install-dvi-target: maybe-install-dvi-target-libstdc++-v3
1953 install-dvi-target: maybe-install-dvi-target-libsanitizer
1954 install-dvi-target: maybe-install-dvi-target-libvtv
1955 install-dvi-target: maybe-install-dvi-target-liboffloadmic
1956 install-dvi-target: maybe-install-dvi-target-libssp
1957 install-dvi-target: maybe-install-dvi-target-newlib
1958 install-dvi-target: maybe-install-dvi-target-libgcc
1959 install-dvi-target: maybe-install-dvi-target-libbacktrace
1960 install-dvi-target: maybe-install-dvi-target-libquadmath
1961 install-dvi-target: maybe-install-dvi-target-libgfortran
1962 install-dvi-target: maybe-install-dvi-target-libobjc
1963 install-dvi-target: maybe-install-dvi-target-libgo
1964 install-dvi-target: maybe-install-dvi-target-libphobos
1965 install-dvi-target: maybe-install-dvi-target-libtermcap
1966 install-dvi-target: maybe-install-dvi-target-winsup
1967 install-dvi-target: maybe-install-dvi-target-libgloss
1968 install-dvi-target: maybe-install-dvi-target-libffi
1969 install-dvi-target: maybe-install-dvi-target-zlib
1970 install-dvi-target: maybe-install-dvi-target-rda
1971 install-dvi-target: maybe-install-dvi-target-libada
1972 install-dvi-target: maybe-install-dvi-target-libgomp
1973 install-dvi-target: maybe-install-dvi-target-libitm
1974 install-dvi-target: maybe-install-dvi-target-libatomic
1975
1976 .PHONY: do-install-pdf
1977 do-install-pdf:
1978 @: $(MAKE); $(unstage)
1979 @r=`${PWD_COMMAND}`; export r; \
1980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1981 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1982 install-pdf-target
1983
1984
1985 .PHONY: install-pdf-host
1986
1987 install-pdf-host: maybe-install-pdf-bfd
1988 install-pdf-host: maybe-install-pdf-opcodes
1989 install-pdf-host: maybe-install-pdf-binutils
1990 install-pdf-host: maybe-install-pdf-bison
1991 install-pdf-host: maybe-install-pdf-cgen
1992 install-pdf-host: maybe-install-pdf-dejagnu
1993 install-pdf-host: maybe-install-pdf-etc
1994 install-pdf-host: maybe-install-pdf-fastjar
1995 install-pdf-host: maybe-install-pdf-fixincludes
1996 install-pdf-host: maybe-install-pdf-flex
1997 install-pdf-host: maybe-install-pdf-gas
1998 install-pdf-host: maybe-install-pdf-gcc
1999 install-pdf-host: maybe-install-pdf-gmp
2000 install-pdf-host: maybe-install-pdf-mpfr
2001 install-pdf-host: maybe-install-pdf-mpc
2002 install-pdf-host: maybe-install-pdf-isl
2003 install-pdf-host: maybe-install-pdf-libelf
2004 install-pdf-host: maybe-install-pdf-gold
2005 install-pdf-host: maybe-install-pdf-gprof
2006 install-pdf-host: maybe-install-pdf-intl
2007 install-pdf-host: maybe-install-pdf-tcl
2008 install-pdf-host: maybe-install-pdf-itcl
2009 install-pdf-host: maybe-install-pdf-ld
2010 install-pdf-host: maybe-install-pdf-libbacktrace
2011 install-pdf-host: maybe-install-pdf-libcpp
2012 install-pdf-host: maybe-install-pdf-libcody
2013 install-pdf-host: maybe-install-pdf-libdecnumber
2014 install-pdf-host: maybe-install-pdf-libgui
2015 install-pdf-host: maybe-install-pdf-libiberty
2016 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
2017 install-pdf-host: maybe-install-pdf-libiconv
2018 install-pdf-host: maybe-install-pdf-m4
2019 install-pdf-host: maybe-install-pdf-readline
2020 install-pdf-host: maybe-install-pdf-sid
2021 install-pdf-host: maybe-install-pdf-sim
2022 install-pdf-host: maybe-install-pdf-texinfo
2023 install-pdf-host: maybe-install-pdf-zlib
2024 install-pdf-host: maybe-install-pdf-gnulib
2025 install-pdf-host: maybe-install-pdf-gdbsupport
2026 install-pdf-host: maybe-install-pdf-gdbserver
2027 install-pdf-host: maybe-install-pdf-gdb
2028 install-pdf-host: maybe-install-pdf-expect
2029 install-pdf-host: maybe-install-pdf-guile
2030 install-pdf-host: maybe-install-pdf-tk
2031 install-pdf-host: maybe-install-pdf-libtermcap
2032 install-pdf-host: maybe-install-pdf-utils
2033 install-pdf-host: maybe-install-pdf-c++tools
2034 install-pdf-host: maybe-install-pdf-gnattools
2035 install-pdf-host: maybe-install-pdf-lto-plugin
2036 install-pdf-host: maybe-install-pdf-libcc1
2037 install-pdf-host: maybe-install-pdf-gotools
2038 install-pdf-host: maybe-install-pdf-libctf
2039
2040 .PHONY: install-pdf-target
2041
2042 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
2043 install-pdf-target: maybe-install-pdf-target-libsanitizer
2044 install-pdf-target: maybe-install-pdf-target-libvtv
2045 install-pdf-target: maybe-install-pdf-target-liboffloadmic
2046 install-pdf-target: maybe-install-pdf-target-libssp
2047 install-pdf-target: maybe-install-pdf-target-newlib
2048 install-pdf-target: maybe-install-pdf-target-libgcc
2049 install-pdf-target: maybe-install-pdf-target-libbacktrace
2050 install-pdf-target: maybe-install-pdf-target-libquadmath
2051 install-pdf-target: maybe-install-pdf-target-libgfortran
2052 install-pdf-target: maybe-install-pdf-target-libobjc
2053 install-pdf-target: maybe-install-pdf-target-libgo
2054 install-pdf-target: maybe-install-pdf-target-libphobos
2055 install-pdf-target: maybe-install-pdf-target-libtermcap
2056 install-pdf-target: maybe-install-pdf-target-winsup
2057 install-pdf-target: maybe-install-pdf-target-libgloss
2058 install-pdf-target: maybe-install-pdf-target-libffi
2059 install-pdf-target: maybe-install-pdf-target-zlib
2060 install-pdf-target: maybe-install-pdf-target-rda
2061 install-pdf-target: maybe-install-pdf-target-libada
2062 install-pdf-target: maybe-install-pdf-target-libgomp
2063 install-pdf-target: maybe-install-pdf-target-libitm
2064 install-pdf-target: maybe-install-pdf-target-libatomic
2065
2066 .PHONY: do-install-html
2067 do-install-html:
2068 @: $(MAKE); $(unstage)
2069 @r=`${PWD_COMMAND}`; export r; \
2070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2071 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
2072 install-html-target
2073
2074
2075 .PHONY: install-html-host
2076
2077 install-html-host: maybe-install-html-bfd
2078 install-html-host: maybe-install-html-opcodes
2079 install-html-host: maybe-install-html-binutils
2080 install-html-host: maybe-install-html-bison
2081 install-html-host: maybe-install-html-cgen
2082 install-html-host: maybe-install-html-dejagnu
2083 install-html-host: maybe-install-html-etc
2084 install-html-host: maybe-install-html-fastjar
2085 install-html-host: maybe-install-html-fixincludes
2086 install-html-host: maybe-install-html-flex
2087 install-html-host: maybe-install-html-gas
2088 install-html-host: maybe-install-html-gcc
2089 install-html-host: maybe-install-html-gmp
2090 install-html-host: maybe-install-html-mpfr
2091 install-html-host: maybe-install-html-mpc
2092 install-html-host: maybe-install-html-isl
2093 install-html-host: maybe-install-html-libelf
2094 install-html-host: maybe-install-html-gold
2095 install-html-host: maybe-install-html-gprof
2096 install-html-host: maybe-install-html-intl
2097 install-html-host: maybe-install-html-tcl
2098 install-html-host: maybe-install-html-itcl
2099 install-html-host: maybe-install-html-ld
2100 install-html-host: maybe-install-html-libbacktrace
2101 install-html-host: maybe-install-html-libcpp
2102 install-html-host: maybe-install-html-libcody
2103 install-html-host: maybe-install-html-libdecnumber
2104 install-html-host: maybe-install-html-libgui
2105 install-html-host: maybe-install-html-libiberty
2106 install-html-host: maybe-install-html-libiberty-linker-plugin
2107 install-html-host: maybe-install-html-libiconv
2108 install-html-host: maybe-install-html-m4
2109 install-html-host: maybe-install-html-readline
2110 install-html-host: maybe-install-html-sid
2111 install-html-host: maybe-install-html-sim
2112 install-html-host: maybe-install-html-texinfo
2113 install-html-host: maybe-install-html-zlib
2114 install-html-host: maybe-install-html-gnulib
2115 install-html-host: maybe-install-html-gdbsupport
2116 install-html-host: maybe-install-html-gdbserver
2117 install-html-host: maybe-install-html-gdb
2118 install-html-host: maybe-install-html-expect
2119 install-html-host: maybe-install-html-guile
2120 install-html-host: maybe-install-html-tk
2121 install-html-host: maybe-install-html-libtermcap
2122 install-html-host: maybe-install-html-utils
2123 install-html-host: maybe-install-html-c++tools
2124 install-html-host: maybe-install-html-gnattools
2125 install-html-host: maybe-install-html-lto-plugin
2126 install-html-host: maybe-install-html-libcc1
2127 install-html-host: maybe-install-html-gotools
2128 install-html-host: maybe-install-html-libctf
2129
2130 .PHONY: install-html-target
2131
2132 install-html-target: maybe-install-html-target-libstdc++-v3
2133 install-html-target: maybe-install-html-target-libsanitizer
2134 install-html-target: maybe-install-html-target-libvtv
2135 install-html-target: maybe-install-html-target-liboffloadmic
2136 install-html-target: maybe-install-html-target-libssp
2137 install-html-target: maybe-install-html-target-newlib
2138 install-html-target: maybe-install-html-target-libgcc
2139 install-html-target: maybe-install-html-target-libbacktrace
2140 install-html-target: maybe-install-html-target-libquadmath
2141 install-html-target: maybe-install-html-target-libgfortran
2142 install-html-target: maybe-install-html-target-libobjc
2143 install-html-target: maybe-install-html-target-libgo
2144 install-html-target: maybe-install-html-target-libphobos
2145 install-html-target: maybe-install-html-target-libtermcap
2146 install-html-target: maybe-install-html-target-winsup
2147 install-html-target: maybe-install-html-target-libgloss
2148 install-html-target: maybe-install-html-target-libffi
2149 install-html-target: maybe-install-html-target-zlib
2150 install-html-target: maybe-install-html-target-rda
2151 install-html-target: maybe-install-html-target-libada
2152 install-html-target: maybe-install-html-target-libgomp
2153 install-html-target: maybe-install-html-target-libitm
2154 install-html-target: maybe-install-html-target-libatomic
2155
2156 .PHONY: do-installcheck
2157 do-installcheck:
2158 @: $(MAKE); $(unstage)
2159 @r=`${PWD_COMMAND}`; export r; \
2160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2161 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
2162 installcheck-target
2163
2164
2165 .PHONY: installcheck-host
2166
2167 installcheck-host: maybe-installcheck-bfd
2168 installcheck-host: maybe-installcheck-opcodes
2169 installcheck-host: maybe-installcheck-binutils
2170 installcheck-host: maybe-installcheck-bison
2171 installcheck-host: maybe-installcheck-cgen
2172 installcheck-host: maybe-installcheck-dejagnu
2173 installcheck-host: maybe-installcheck-etc
2174 installcheck-host: maybe-installcheck-fastjar
2175 installcheck-host: maybe-installcheck-fixincludes
2176 installcheck-host: maybe-installcheck-flex
2177 installcheck-host: maybe-installcheck-gas
2178 installcheck-host: maybe-installcheck-gcc
2179 installcheck-host: maybe-installcheck-gmp
2180 installcheck-host: maybe-installcheck-mpfr
2181 installcheck-host: maybe-installcheck-mpc
2182 installcheck-host: maybe-installcheck-isl
2183 installcheck-host: maybe-installcheck-libelf
2184 installcheck-host: maybe-installcheck-gold
2185 installcheck-host: maybe-installcheck-gprof
2186 installcheck-host: maybe-installcheck-intl
2187 installcheck-host: maybe-installcheck-tcl
2188 installcheck-host: maybe-installcheck-itcl
2189 installcheck-host: maybe-installcheck-ld
2190 installcheck-host: maybe-installcheck-libbacktrace
2191 installcheck-host: maybe-installcheck-libcpp
2192 installcheck-host: maybe-installcheck-libcody
2193 installcheck-host: maybe-installcheck-libdecnumber
2194 installcheck-host: maybe-installcheck-libgui
2195 installcheck-host: maybe-installcheck-libiberty
2196 installcheck-host: maybe-installcheck-libiberty-linker-plugin
2197 installcheck-host: maybe-installcheck-libiconv
2198 installcheck-host: maybe-installcheck-m4
2199 installcheck-host: maybe-installcheck-readline
2200 installcheck-host: maybe-installcheck-sid
2201 installcheck-host: maybe-installcheck-sim
2202 installcheck-host: maybe-installcheck-texinfo
2203 installcheck-host: maybe-installcheck-zlib
2204 installcheck-host: maybe-installcheck-gnulib
2205 installcheck-host: maybe-installcheck-gdbsupport
2206 installcheck-host: maybe-installcheck-gdbserver
2207 installcheck-host: maybe-installcheck-gdb
2208 installcheck-host: maybe-installcheck-expect
2209 installcheck-host: maybe-installcheck-guile
2210 installcheck-host: maybe-installcheck-tk
2211 installcheck-host: maybe-installcheck-libtermcap
2212 installcheck-host: maybe-installcheck-utils
2213 installcheck-host: maybe-installcheck-c++tools
2214 installcheck-host: maybe-installcheck-gnattools
2215 installcheck-host: maybe-installcheck-lto-plugin
2216 installcheck-host: maybe-installcheck-libcc1
2217 installcheck-host: maybe-installcheck-gotools
2218 installcheck-host: maybe-installcheck-libctf
2219
2220 .PHONY: installcheck-target
2221
2222 installcheck-target: maybe-installcheck-target-libstdc++-v3
2223 installcheck-target: maybe-installcheck-target-libsanitizer
2224 installcheck-target: maybe-installcheck-target-libvtv
2225 installcheck-target: maybe-installcheck-target-liboffloadmic
2226 installcheck-target: maybe-installcheck-target-libssp
2227 installcheck-target: maybe-installcheck-target-newlib
2228 installcheck-target: maybe-installcheck-target-libgcc
2229 installcheck-target: maybe-installcheck-target-libbacktrace
2230 installcheck-target: maybe-installcheck-target-libquadmath
2231 installcheck-target: maybe-installcheck-target-libgfortran
2232 installcheck-target: maybe-installcheck-target-libobjc
2233 installcheck-target: maybe-installcheck-target-libgo
2234 installcheck-target: maybe-installcheck-target-libphobos
2235 installcheck-target: maybe-installcheck-target-libtermcap
2236 installcheck-target: maybe-installcheck-target-winsup
2237 installcheck-target: maybe-installcheck-target-libgloss
2238 installcheck-target: maybe-installcheck-target-libffi
2239 installcheck-target: maybe-installcheck-target-zlib
2240 installcheck-target: maybe-installcheck-target-rda
2241 installcheck-target: maybe-installcheck-target-libada
2242 installcheck-target: maybe-installcheck-target-libgomp
2243 installcheck-target: maybe-installcheck-target-libitm
2244 installcheck-target: maybe-installcheck-target-libatomic
2245
2246 .PHONY: do-mostlyclean
2247 do-mostlyclean:
2248 @: $(MAKE); $(unstage)
2249 @r=`${PWD_COMMAND}`; export r; \
2250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2251 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
2252 mostlyclean-target
2253
2254
2255 .PHONY: mostlyclean-host
2256
2257 mostlyclean-host: maybe-mostlyclean-bfd
2258 mostlyclean-host: maybe-mostlyclean-opcodes
2259 mostlyclean-host: maybe-mostlyclean-binutils
2260 mostlyclean-host: maybe-mostlyclean-bison
2261 mostlyclean-host: maybe-mostlyclean-cgen
2262 mostlyclean-host: maybe-mostlyclean-dejagnu
2263 mostlyclean-host: maybe-mostlyclean-etc
2264 mostlyclean-host: maybe-mostlyclean-fastjar
2265 mostlyclean-host: maybe-mostlyclean-fixincludes
2266 mostlyclean-host: maybe-mostlyclean-flex
2267 mostlyclean-host: maybe-mostlyclean-gas
2268 mostlyclean-host: maybe-mostlyclean-gcc
2269 mostlyclean-host: maybe-mostlyclean-gmp
2270 mostlyclean-host: maybe-mostlyclean-mpfr
2271 mostlyclean-host: maybe-mostlyclean-mpc
2272 mostlyclean-host: maybe-mostlyclean-isl
2273 mostlyclean-host: maybe-mostlyclean-libelf
2274 mostlyclean-host: maybe-mostlyclean-gold
2275 mostlyclean-host: maybe-mostlyclean-gprof
2276 mostlyclean-host: maybe-mostlyclean-intl
2277 mostlyclean-host: maybe-mostlyclean-tcl
2278 mostlyclean-host: maybe-mostlyclean-itcl
2279 mostlyclean-host: maybe-mostlyclean-ld
2280 mostlyclean-host: maybe-mostlyclean-libbacktrace
2281 mostlyclean-host: maybe-mostlyclean-libcpp
2282 mostlyclean-host: maybe-mostlyclean-libcody
2283 mostlyclean-host: maybe-mostlyclean-libdecnumber
2284 mostlyclean-host: maybe-mostlyclean-libgui
2285 mostlyclean-host: maybe-mostlyclean-libiberty
2286 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
2287 mostlyclean-host: maybe-mostlyclean-libiconv
2288 mostlyclean-host: maybe-mostlyclean-m4
2289 mostlyclean-host: maybe-mostlyclean-readline
2290 mostlyclean-host: maybe-mostlyclean-sid
2291 mostlyclean-host: maybe-mostlyclean-sim
2292 mostlyclean-host: maybe-mostlyclean-texinfo
2293 mostlyclean-host: maybe-mostlyclean-zlib
2294 mostlyclean-host: maybe-mostlyclean-gnulib
2295 mostlyclean-host: maybe-mostlyclean-gdbsupport
2296 mostlyclean-host: maybe-mostlyclean-gdbserver
2297 mostlyclean-host: maybe-mostlyclean-gdb
2298 mostlyclean-host: maybe-mostlyclean-expect
2299 mostlyclean-host: maybe-mostlyclean-guile
2300 mostlyclean-host: maybe-mostlyclean-tk
2301 mostlyclean-host: maybe-mostlyclean-libtermcap
2302 mostlyclean-host: maybe-mostlyclean-utils
2303 mostlyclean-host: maybe-mostlyclean-c++tools
2304 mostlyclean-host: maybe-mostlyclean-gnattools
2305 mostlyclean-host: maybe-mostlyclean-lto-plugin
2306 mostlyclean-host: maybe-mostlyclean-libcc1
2307 mostlyclean-host: maybe-mostlyclean-gotools
2308 mostlyclean-host: maybe-mostlyclean-libctf
2309
2310 .PHONY: mostlyclean-target
2311
2312 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
2313 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
2314 mostlyclean-target: maybe-mostlyclean-target-libvtv
2315 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
2316 mostlyclean-target: maybe-mostlyclean-target-libssp
2317 mostlyclean-target: maybe-mostlyclean-target-newlib
2318 mostlyclean-target: maybe-mostlyclean-target-libgcc
2319 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
2320 mostlyclean-target: maybe-mostlyclean-target-libquadmath
2321 mostlyclean-target: maybe-mostlyclean-target-libgfortran
2322 mostlyclean-target: maybe-mostlyclean-target-libobjc
2323 mostlyclean-target: maybe-mostlyclean-target-libgo
2324 mostlyclean-target: maybe-mostlyclean-target-libphobos
2325 mostlyclean-target: maybe-mostlyclean-target-libtermcap
2326 mostlyclean-target: maybe-mostlyclean-target-winsup
2327 mostlyclean-target: maybe-mostlyclean-target-libgloss
2328 mostlyclean-target: maybe-mostlyclean-target-libffi
2329 mostlyclean-target: maybe-mostlyclean-target-zlib
2330 mostlyclean-target: maybe-mostlyclean-target-rda
2331 mostlyclean-target: maybe-mostlyclean-target-libada
2332 mostlyclean-target: maybe-mostlyclean-target-libgomp
2333 mostlyclean-target: maybe-mostlyclean-target-libitm
2334 mostlyclean-target: maybe-mostlyclean-target-libatomic
2335
2336 .PHONY: do-clean
2337 do-clean:
2338 @: $(MAKE); $(unstage)
2339 @r=`${PWD_COMMAND}`; export r; \
2340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2341 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2342 clean-target
2343
2344
2345 .PHONY: clean-host
2346
2347 clean-host: maybe-clean-bfd
2348 clean-host: maybe-clean-opcodes
2349 clean-host: maybe-clean-binutils
2350 clean-host: maybe-clean-bison
2351 clean-host: maybe-clean-cgen
2352 clean-host: maybe-clean-dejagnu
2353 clean-host: maybe-clean-etc
2354 clean-host: maybe-clean-fastjar
2355 clean-host: maybe-clean-fixincludes
2356 clean-host: maybe-clean-flex
2357 clean-host: maybe-clean-gas
2358 clean-host: maybe-clean-gcc
2359 clean-host: maybe-clean-gmp
2360 clean-host: maybe-clean-mpfr
2361 clean-host: maybe-clean-mpc
2362 clean-host: maybe-clean-isl
2363 clean-host: maybe-clean-libelf
2364 clean-host: maybe-clean-gold
2365 clean-host: maybe-clean-gprof
2366 clean-host: maybe-clean-intl
2367 clean-host: maybe-clean-tcl
2368 clean-host: maybe-clean-itcl
2369 clean-host: maybe-clean-ld
2370 clean-host: maybe-clean-libbacktrace
2371 clean-host: maybe-clean-libcpp
2372 clean-host: maybe-clean-libcody
2373 clean-host: maybe-clean-libdecnumber
2374 clean-host: maybe-clean-libgui
2375 clean-host: maybe-clean-libiberty
2376 clean-host: maybe-clean-libiberty-linker-plugin
2377 clean-host: maybe-clean-libiconv
2378 clean-host: maybe-clean-m4
2379 clean-host: maybe-clean-readline
2380 clean-host: maybe-clean-sid
2381 clean-host: maybe-clean-sim
2382 clean-host: maybe-clean-texinfo
2383 clean-host: maybe-clean-zlib
2384 clean-host: maybe-clean-gnulib
2385 clean-host: maybe-clean-gdbsupport
2386 clean-host: maybe-clean-gdbserver
2387 clean-host: maybe-clean-gdb
2388 clean-host: maybe-clean-expect
2389 clean-host: maybe-clean-guile
2390 clean-host: maybe-clean-tk
2391 clean-host: maybe-clean-libtermcap
2392 clean-host: maybe-clean-utils
2393 clean-host: maybe-clean-c++tools
2394 clean-host: maybe-clean-gnattools
2395 clean-host: maybe-clean-lto-plugin
2396 clean-host: maybe-clean-libcc1
2397 clean-host: maybe-clean-gotools
2398 clean-host: maybe-clean-libctf
2399
2400 .PHONY: clean-target
2401
2402 clean-target: maybe-clean-target-libstdc++-v3
2403 clean-target: maybe-clean-target-libsanitizer
2404 clean-target: maybe-clean-target-libvtv
2405 clean-target: maybe-clean-target-liboffloadmic
2406 clean-target: maybe-clean-target-libssp
2407 clean-target: maybe-clean-target-newlib
2408 clean-target: maybe-clean-target-libgcc
2409 clean-target: maybe-clean-target-libbacktrace
2410 clean-target: maybe-clean-target-libquadmath
2411 clean-target: maybe-clean-target-libgfortran
2412 clean-target: maybe-clean-target-libobjc
2413 clean-target: maybe-clean-target-libgo
2414 clean-target: maybe-clean-target-libphobos
2415 clean-target: maybe-clean-target-libtermcap
2416 clean-target: maybe-clean-target-winsup
2417 clean-target: maybe-clean-target-libgloss
2418 clean-target: maybe-clean-target-libffi
2419 clean-target: maybe-clean-target-zlib
2420 clean-target: maybe-clean-target-rda
2421 clean-target: maybe-clean-target-libada
2422 clean-target: maybe-clean-target-libgomp
2423 clean-target: maybe-clean-target-libitm
2424 clean-target: maybe-clean-target-libatomic
2425
2426 .PHONY: do-distclean
2427 do-distclean:
2428 @: $(MAKE); $(unstage)
2429 @r=`${PWD_COMMAND}`; export r; \
2430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2431 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2432 distclean-target
2433
2434
2435 .PHONY: distclean-host
2436
2437 distclean-host: maybe-distclean-bfd
2438 distclean-host: maybe-distclean-opcodes
2439 distclean-host: maybe-distclean-binutils
2440 distclean-host: maybe-distclean-bison
2441 distclean-host: maybe-distclean-cgen
2442 distclean-host: maybe-distclean-dejagnu
2443 distclean-host: maybe-distclean-etc
2444 distclean-host: maybe-distclean-fastjar
2445 distclean-host: maybe-distclean-fixincludes
2446 distclean-host: maybe-distclean-flex
2447 distclean-host: maybe-distclean-gas
2448 distclean-host: maybe-distclean-gcc
2449 distclean-host: maybe-distclean-gmp
2450 distclean-host: maybe-distclean-mpfr
2451 distclean-host: maybe-distclean-mpc
2452 distclean-host: maybe-distclean-isl
2453 distclean-host: maybe-distclean-libelf
2454 distclean-host: maybe-distclean-gold
2455 distclean-host: maybe-distclean-gprof
2456 distclean-host: maybe-distclean-intl
2457 distclean-host: maybe-distclean-tcl
2458 distclean-host: maybe-distclean-itcl
2459 distclean-host: maybe-distclean-ld
2460 distclean-host: maybe-distclean-libbacktrace
2461 distclean-host: maybe-distclean-libcpp
2462 distclean-host: maybe-distclean-libcody
2463 distclean-host: maybe-distclean-libdecnumber
2464 distclean-host: maybe-distclean-libgui
2465 distclean-host: maybe-distclean-libiberty
2466 distclean-host: maybe-distclean-libiberty-linker-plugin
2467 distclean-host: maybe-distclean-libiconv
2468 distclean-host: maybe-distclean-m4
2469 distclean-host: maybe-distclean-readline
2470 distclean-host: maybe-distclean-sid
2471 distclean-host: maybe-distclean-sim
2472 distclean-host: maybe-distclean-texinfo
2473 distclean-host: maybe-distclean-zlib
2474 distclean-host: maybe-distclean-gnulib
2475 distclean-host: maybe-distclean-gdbsupport
2476 distclean-host: maybe-distclean-gdbserver
2477 distclean-host: maybe-distclean-gdb
2478 distclean-host: maybe-distclean-expect
2479 distclean-host: maybe-distclean-guile
2480 distclean-host: maybe-distclean-tk
2481 distclean-host: maybe-distclean-libtermcap
2482 distclean-host: maybe-distclean-utils
2483 distclean-host: maybe-distclean-c++tools
2484 distclean-host: maybe-distclean-gnattools
2485 distclean-host: maybe-distclean-lto-plugin
2486 distclean-host: maybe-distclean-libcc1
2487 distclean-host: maybe-distclean-gotools
2488 distclean-host: maybe-distclean-libctf
2489
2490 .PHONY: distclean-target
2491
2492 distclean-target: maybe-distclean-target-libstdc++-v3
2493 distclean-target: maybe-distclean-target-libsanitizer
2494 distclean-target: maybe-distclean-target-libvtv
2495 distclean-target: maybe-distclean-target-liboffloadmic
2496 distclean-target: maybe-distclean-target-libssp
2497 distclean-target: maybe-distclean-target-newlib
2498 distclean-target: maybe-distclean-target-libgcc
2499 distclean-target: maybe-distclean-target-libbacktrace
2500 distclean-target: maybe-distclean-target-libquadmath
2501 distclean-target: maybe-distclean-target-libgfortran
2502 distclean-target: maybe-distclean-target-libobjc
2503 distclean-target: maybe-distclean-target-libgo
2504 distclean-target: maybe-distclean-target-libphobos
2505 distclean-target: maybe-distclean-target-libtermcap
2506 distclean-target: maybe-distclean-target-winsup
2507 distclean-target: maybe-distclean-target-libgloss
2508 distclean-target: maybe-distclean-target-libffi
2509 distclean-target: maybe-distclean-target-zlib
2510 distclean-target: maybe-distclean-target-rda
2511 distclean-target: maybe-distclean-target-libada
2512 distclean-target: maybe-distclean-target-libgomp
2513 distclean-target: maybe-distclean-target-libitm
2514 distclean-target: maybe-distclean-target-libatomic
2515
2516 .PHONY: do-maintainer-clean
2517 do-maintainer-clean:
2518 @: $(MAKE); $(unstage)
2519 @r=`${PWD_COMMAND}`; export r; \
2520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2521 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2522 maintainer-clean-target
2523
2524
2525 .PHONY: maintainer-clean-host
2526
2527 maintainer-clean-host: maybe-maintainer-clean-bfd
2528 maintainer-clean-host: maybe-maintainer-clean-opcodes
2529 maintainer-clean-host: maybe-maintainer-clean-binutils
2530 maintainer-clean-host: maybe-maintainer-clean-bison
2531 maintainer-clean-host: maybe-maintainer-clean-cgen
2532 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2533 maintainer-clean-host: maybe-maintainer-clean-etc
2534 maintainer-clean-host: maybe-maintainer-clean-fastjar
2535 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2536 maintainer-clean-host: maybe-maintainer-clean-flex
2537 maintainer-clean-host: maybe-maintainer-clean-gas
2538 maintainer-clean-host: maybe-maintainer-clean-gcc
2539 maintainer-clean-host: maybe-maintainer-clean-gmp
2540 maintainer-clean-host: maybe-maintainer-clean-mpfr
2541 maintainer-clean-host: maybe-maintainer-clean-mpc
2542 maintainer-clean-host: maybe-maintainer-clean-isl
2543 maintainer-clean-host: maybe-maintainer-clean-libelf
2544 maintainer-clean-host: maybe-maintainer-clean-gold
2545 maintainer-clean-host: maybe-maintainer-clean-gprof
2546 maintainer-clean-host: maybe-maintainer-clean-intl
2547 maintainer-clean-host: maybe-maintainer-clean-tcl
2548 maintainer-clean-host: maybe-maintainer-clean-itcl
2549 maintainer-clean-host: maybe-maintainer-clean-ld
2550 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2551 maintainer-clean-host: maybe-maintainer-clean-libcpp
2552 maintainer-clean-host: maybe-maintainer-clean-libcody
2553 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2554 maintainer-clean-host: maybe-maintainer-clean-libgui
2555 maintainer-clean-host: maybe-maintainer-clean-libiberty
2556 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2557 maintainer-clean-host: maybe-maintainer-clean-libiconv
2558 maintainer-clean-host: maybe-maintainer-clean-m4
2559 maintainer-clean-host: maybe-maintainer-clean-readline
2560 maintainer-clean-host: maybe-maintainer-clean-sid
2561 maintainer-clean-host: maybe-maintainer-clean-sim
2562 maintainer-clean-host: maybe-maintainer-clean-texinfo
2563 maintainer-clean-host: maybe-maintainer-clean-zlib
2564 maintainer-clean-host: maybe-maintainer-clean-gnulib
2565 maintainer-clean-host: maybe-maintainer-clean-gdbsupport
2566 maintainer-clean-host: maybe-maintainer-clean-gdbserver
2567 maintainer-clean-host: maybe-maintainer-clean-gdb
2568 maintainer-clean-host: maybe-maintainer-clean-expect
2569 maintainer-clean-host: maybe-maintainer-clean-guile
2570 maintainer-clean-host: maybe-maintainer-clean-tk
2571 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2572 maintainer-clean-host: maybe-maintainer-clean-utils
2573 maintainer-clean-host: maybe-maintainer-clean-c++tools
2574 maintainer-clean-host: maybe-maintainer-clean-gnattools
2575 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2576 maintainer-clean-host: maybe-maintainer-clean-libcc1
2577 maintainer-clean-host: maybe-maintainer-clean-gotools
2578 maintainer-clean-host: maybe-maintainer-clean-libctf
2579
2580 .PHONY: maintainer-clean-target
2581
2582 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2583 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2584 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2585 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2586 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2587 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2588 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2589 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2590 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2591 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2592 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2593 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2594 maintainer-clean-target: maybe-maintainer-clean-target-libphobos
2595 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2596 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2597 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2598 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2599 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2600 maintainer-clean-target: maybe-maintainer-clean-target-rda
2601 maintainer-clean-target: maybe-maintainer-clean-target-libada
2602 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2603 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2604 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2605
2606
2607 # Here are the targets which correspond to the do-X targets.
2608
2609 .PHONY: info installcheck dvi pdf html
2610 .PHONY: install-info install-dvi install-pdf install-html
2611 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2612 .PHONY: local-clean local-distclean local-maintainer-clean
2613 info: do-info
2614 installcheck: do-installcheck
2615 dvi: do-dvi
2616 pdf: do-pdf
2617 html: do-html
2618
2619 # Make sure makeinfo is built before we do a `make info', if we're
2620 # in fact building texinfo.
2621 do-info: maybe-all-texinfo
2622
2623 install-info: do-install-info dir.info
2624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2625 if [ -f dir.info ]; then \
2626 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
2627 else true; fi
2628
2629 install-dvi: do-install-dvi
2630
2631 install-pdf: do-install-pdf
2632
2633 install-html: do-install-html
2634
2635 local-clean:
2636 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2637
2638 local-distclean:
2639 -rm -f Makefile config.status config.cache mh-frag mt-frag
2640 -rm -f maybedep.tmp serdep.tmp stage_final
2641 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2642 rm -rf $(TARGET_SUBDIR); \
2643 else true; fi
2644 -rm -rf $(BUILD_SUBDIR)
2645 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2646 rm -rf $(HOST_SUBDIR); \
2647 else true; fi
2648 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2649 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2650 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2651 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2652 -rmdir c++tools fastjar gcc gnattools gotools 2>/dev/null
2653 -rmdir libcc1 libiberty texinfo zlib 2>/dev/null
2654 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2655
2656 local-maintainer-clean:
2657 @echo "This command is intended for maintainers to use;"
2658 @echo "it deletes files that may require special tools to rebuild."
2659
2660 clean: do-clean local-clean
2661 mostlyclean: do-mostlyclean local-clean
2662 distclean: do-distclean local-clean local-distclean
2663 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2664 maintainer-clean: local-distclean
2665 realclean: maintainer-clean
2666
2667 # Check target.
2668
2669 .PHONY: check do-check
2670 check: do-check
2671
2672 # Only include modules actually being configured and built.
2673 .PHONY: check-host
2674 check-host: \
2675 maybe-check-bfd \
2676 maybe-check-opcodes \
2677 maybe-check-binutils \
2678 maybe-check-bison \
2679 maybe-check-cgen \
2680 maybe-check-dejagnu \
2681 maybe-check-etc \
2682 maybe-check-fastjar \
2683 maybe-check-fixincludes \
2684 maybe-check-flex \
2685 maybe-check-gas \
2686 maybe-check-gcc \
2687 maybe-check-gmp \
2688 maybe-check-mpfr \
2689 maybe-check-mpc \
2690 maybe-check-isl \
2691 maybe-check-libelf \
2692 maybe-check-gold \
2693 maybe-check-gprof \
2694 maybe-check-intl \
2695 maybe-check-tcl \
2696 maybe-check-itcl \
2697 maybe-check-ld \
2698 maybe-check-libbacktrace \
2699 maybe-check-libcpp \
2700 maybe-check-libcody \
2701 maybe-check-libdecnumber \
2702 maybe-check-libgui \
2703 maybe-check-libiberty \
2704 maybe-check-libiberty-linker-plugin \
2705 maybe-check-libiconv \
2706 maybe-check-m4 \
2707 maybe-check-readline \
2708 maybe-check-sid \
2709 maybe-check-sim \
2710 maybe-check-texinfo \
2711 maybe-check-zlib \
2712 maybe-check-gnulib \
2713 maybe-check-gdbsupport \
2714 maybe-check-gdbserver \
2715 maybe-check-gdb \
2716 maybe-check-expect \
2717 maybe-check-guile \
2718 maybe-check-tk \
2719 maybe-check-libtermcap \
2720 maybe-check-utils \
2721 maybe-check-c++tools \
2722 maybe-check-gnattools \
2723 maybe-check-lto-plugin \
2724 maybe-check-libcc1 \
2725 maybe-check-gotools \
2726 maybe-check-libctf
2727
2728 .PHONY: check-target
2729 check-target: \
2730 maybe-check-target-libstdc++-v3 \
2731 maybe-check-target-libsanitizer \
2732 maybe-check-target-libvtv \
2733 maybe-check-target-liboffloadmic \
2734 maybe-check-target-libssp \
2735 maybe-check-target-newlib \
2736 maybe-check-target-libgcc \
2737 maybe-check-target-libbacktrace \
2738 maybe-check-target-libquadmath \
2739 maybe-check-target-libgfortran \
2740 maybe-check-target-libobjc \
2741 maybe-check-target-libgo \
2742 maybe-check-target-libphobos \
2743 maybe-check-target-libtermcap \
2744 maybe-check-target-winsup \
2745 maybe-check-target-libgloss \
2746 maybe-check-target-libffi \
2747 maybe-check-target-zlib \
2748 maybe-check-target-rda \
2749 maybe-check-target-libada \
2750 maybe-check-target-libgomp \
2751 maybe-check-target-libitm \
2752 maybe-check-target-libatomic
2753
2754 do-check:
2755 @: $(MAKE); $(unstage)
2756 @r=`${PWD_COMMAND}`; export r; \
2757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2758 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2759
2760 # Automated reporting of test results.
2761
2762 warning.log: build.log
2763 $(srcdir)/contrib/warn_summary build.log > $@
2764
2765 mail-report.log:
2766 if test x'$(BOOT_CFLAGS)' != x''; then \
2767 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2768 fi; \
2769 $(srcdir)/contrib/test_summary -t >$@
2770 chmod +x $@
2771 echo If you really want to send e-mail, run ./$@ now
2772
2773 mail-report-with-warnings.log: warning.log
2774 if test x'$(BOOT_CFLAGS)' != x''; then \
2775 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2776 fi; \
2777 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2778 chmod +x $@
2779 echo If you really want to send e-mail, run ./$@ now
2780
2781 # Local Vim config
2782
2783 $(srcdir)/.local.vimrc:
2784 $(LN_S) contrib/vimrc $@
2785
2786 $(srcdir)/.lvimrc:
2787 $(LN_S) contrib/vimrc $@
2788
2789 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2790
2791 .PHONY: vimrc
2792
2793 # clang-format config
2794
2795 $(srcdir)/.clang-format:
2796 $(LN_S) contrib/clang-format $@
2797
2798 clang-format: $(srcdir)/.clang-format
2799
2800 .PHONY: clang-format
2801
2802 # Installation targets.
2803
2804 .PHONY: install uninstall
2805 install:
2806 @: $(MAKE); $(unstage)
2807 @r=`${PWD_COMMAND}`; export r; \
2808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2809 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2810
2811 .PHONY: install-host-nogcc
2812 install-host-nogcc: \
2813 maybe-install-bfd \
2814 maybe-install-opcodes \
2815 maybe-install-binutils \
2816 maybe-install-bison \
2817 maybe-install-cgen \
2818 maybe-install-dejagnu \
2819 maybe-install-etc \
2820 maybe-install-fastjar \
2821 maybe-install-fixincludes \
2822 maybe-install-flex \
2823 maybe-install-gas \
2824 maybe-install-gmp \
2825 maybe-install-mpfr \
2826 maybe-install-mpc \
2827 maybe-install-isl \
2828 maybe-install-libelf \
2829 maybe-install-gold \
2830 maybe-install-gprof \
2831 maybe-install-intl \
2832 maybe-install-tcl \
2833 maybe-install-itcl \
2834 maybe-install-ld \
2835 maybe-install-libbacktrace \
2836 maybe-install-libcpp \
2837 maybe-install-libcody \
2838 maybe-install-libdecnumber \
2839 maybe-install-libgui \
2840 maybe-install-libiberty \
2841 maybe-install-libiberty-linker-plugin \
2842 maybe-install-libiconv \
2843 maybe-install-m4 \
2844 maybe-install-readline \
2845 maybe-install-sid \
2846 maybe-install-sim \
2847 maybe-install-texinfo \
2848 maybe-install-zlib \
2849 maybe-install-gnulib \
2850 maybe-install-gdbsupport \
2851 maybe-install-gdbserver \
2852 maybe-install-gdb \
2853 maybe-install-expect \
2854 maybe-install-guile \
2855 maybe-install-tk \
2856 maybe-install-libtermcap \
2857 maybe-install-utils \
2858 maybe-install-c++tools \
2859 maybe-install-gnattools \
2860 maybe-install-lto-plugin \
2861 maybe-install-libcc1 \
2862 maybe-install-gotools \
2863 maybe-install-libctf
2864
2865 .PHONY: install-host
2866 install-host: \
2867 maybe-install-bfd \
2868 maybe-install-opcodes \
2869 maybe-install-binutils \
2870 maybe-install-bison \
2871 maybe-install-cgen \
2872 maybe-install-dejagnu \
2873 maybe-install-etc \
2874 maybe-install-fastjar \
2875 maybe-install-fixincludes \
2876 maybe-install-flex \
2877 maybe-install-gas \
2878 maybe-install-gcc \
2879 maybe-install-gmp \
2880 maybe-install-mpfr \
2881 maybe-install-mpc \
2882 maybe-install-isl \
2883 maybe-install-libelf \
2884 maybe-install-gold \
2885 maybe-install-gprof \
2886 maybe-install-intl \
2887 maybe-install-tcl \
2888 maybe-install-itcl \
2889 maybe-install-ld \
2890 maybe-install-libbacktrace \
2891 maybe-install-libcpp \
2892 maybe-install-libcody \
2893 maybe-install-libdecnumber \
2894 maybe-install-libgui \
2895 maybe-install-libiberty \
2896 maybe-install-libiberty-linker-plugin \
2897 maybe-install-libiconv \
2898 maybe-install-m4 \
2899 maybe-install-readline \
2900 maybe-install-sid \
2901 maybe-install-sim \
2902 maybe-install-texinfo \
2903 maybe-install-zlib \
2904 maybe-install-gnulib \
2905 maybe-install-gdbsupport \
2906 maybe-install-gdbserver \
2907 maybe-install-gdb \
2908 maybe-install-expect \
2909 maybe-install-guile \
2910 maybe-install-tk \
2911 maybe-install-libtermcap \
2912 maybe-install-utils \
2913 maybe-install-c++tools \
2914 maybe-install-gnattools \
2915 maybe-install-lto-plugin \
2916 maybe-install-libcc1 \
2917 maybe-install-gotools \
2918 maybe-install-libctf
2919
2920 .PHONY: install-target
2921 install-target: \
2922 maybe-install-target-libstdc++-v3 \
2923 maybe-install-target-libsanitizer \
2924 maybe-install-target-libvtv \
2925 maybe-install-target-liboffloadmic \
2926 maybe-install-target-libssp \
2927 maybe-install-target-newlib \
2928 maybe-install-target-libgcc \
2929 maybe-install-target-libbacktrace \
2930 maybe-install-target-libquadmath \
2931 maybe-install-target-libgfortran \
2932 maybe-install-target-libobjc \
2933 maybe-install-target-libgo \
2934 maybe-install-target-libphobos \
2935 maybe-install-target-libtermcap \
2936 maybe-install-target-winsup \
2937 maybe-install-target-libgloss \
2938 maybe-install-target-libffi \
2939 maybe-install-target-zlib \
2940 maybe-install-target-rda \
2941 maybe-install-target-libada \
2942 maybe-install-target-libgomp \
2943 maybe-install-target-libitm \
2944 maybe-install-target-libatomic
2945
2946 uninstall:
2947 @echo "the uninstall target is not supported in this tree"
2948
2949 .PHONY: install.all
2950 install.all: install-no-fixedincludes
2951 @if [ -f ./gcc/Makefile ]; then \
2952 r=`${PWD_COMMAND}`; export r; \
2953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2954 $(HOST_EXPORTS) \
2955 (cd ./gcc && \
2956 $(MAKE) $(FLAGS_TO_PASS) install-headers); \
2957 else \
2958 true; \
2959 fi
2960
2961 # install-no-fixedincludes is used to allow the elaboration of binary packages
2962 # suitable for distribution, where we cannot include the fixed system header
2963 # files.
2964 .PHONY: install-no-fixedincludes
2965 install-no-fixedincludes: installdirs install-host-nogcc \
2966 install-target gcc-install-no-fixedincludes
2967
2968 .PHONY: install-strip
2969 install-strip:
2970 @: $(MAKE); $(unstage)
2971 @r=`${PWD_COMMAND}`; export r; \
2972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2973 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2974
2975 .PHONY: install-strip-host
2976 install-strip-host: \
2977 maybe-install-strip-bfd \
2978 maybe-install-strip-opcodes \
2979 maybe-install-strip-binutils \
2980 maybe-install-strip-bison \
2981 maybe-install-strip-cgen \
2982 maybe-install-strip-dejagnu \
2983 maybe-install-strip-etc \
2984 maybe-install-strip-fastjar \
2985 maybe-install-strip-fixincludes \
2986 maybe-install-strip-flex \
2987 maybe-install-strip-gas \
2988 maybe-install-strip-gcc \
2989 maybe-install-strip-gmp \
2990 maybe-install-strip-mpfr \
2991 maybe-install-strip-mpc \
2992 maybe-install-strip-isl \
2993 maybe-install-strip-libelf \
2994 maybe-install-strip-gold \
2995 maybe-install-strip-gprof \
2996 maybe-install-strip-intl \
2997 maybe-install-strip-tcl \
2998 maybe-install-strip-itcl \
2999 maybe-install-strip-ld \
3000 maybe-install-strip-libbacktrace \
3001 maybe-install-strip-libcpp \
3002 maybe-install-strip-libcody \
3003 maybe-install-strip-libdecnumber \
3004 maybe-install-strip-libgui \
3005 maybe-install-strip-libiberty \
3006 maybe-install-strip-libiberty-linker-plugin \
3007 maybe-install-strip-libiconv \
3008 maybe-install-strip-m4 \
3009 maybe-install-strip-readline \
3010 maybe-install-strip-sid \
3011 maybe-install-strip-sim \
3012 maybe-install-strip-texinfo \
3013 maybe-install-strip-zlib \
3014 maybe-install-strip-gnulib \
3015 maybe-install-strip-gdbsupport \
3016 maybe-install-strip-gdbserver \
3017 maybe-install-strip-gdb \
3018 maybe-install-strip-expect \
3019 maybe-install-strip-guile \
3020 maybe-install-strip-tk \
3021 maybe-install-strip-libtermcap \
3022 maybe-install-strip-utils \
3023 maybe-install-strip-c++tools \
3024 maybe-install-strip-gnattools \
3025 maybe-install-strip-lto-plugin \
3026 maybe-install-strip-libcc1 \
3027 maybe-install-strip-gotools \
3028 maybe-install-strip-libctf
3029
3030 .PHONY: install-strip-target
3031 install-strip-target: \
3032 maybe-install-strip-target-libstdc++-v3 \
3033 maybe-install-strip-target-libsanitizer \
3034 maybe-install-strip-target-libvtv \
3035 maybe-install-strip-target-liboffloadmic \
3036 maybe-install-strip-target-libssp \
3037 maybe-install-strip-target-newlib \
3038 maybe-install-strip-target-libgcc \
3039 maybe-install-strip-target-libbacktrace \
3040 maybe-install-strip-target-libquadmath \
3041 maybe-install-strip-target-libgfortran \
3042 maybe-install-strip-target-libobjc \
3043 maybe-install-strip-target-libgo \
3044 maybe-install-strip-target-libphobos \
3045 maybe-install-strip-target-libtermcap \
3046 maybe-install-strip-target-winsup \
3047 maybe-install-strip-target-libgloss \
3048 maybe-install-strip-target-libffi \
3049 maybe-install-strip-target-zlib \
3050 maybe-install-strip-target-rda \
3051 maybe-install-strip-target-libada \
3052 maybe-install-strip-target-libgomp \
3053 maybe-install-strip-target-libitm \
3054 maybe-install-strip-target-libatomic
3055
3056
3057 ### other supporting targets
3058
3059 MAKEDIRS= \
3060 $(DESTDIR)$(prefix) \
3061 $(DESTDIR)$(exec_prefix)
3062 .PHONY: installdirs
3063 installdirs: mkinstalldirs
3064 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
3065
3066 dir.info: do-install-info
3067 if [ -f $(srcdir)/texinfo/gen-info-dir ]; then \
3068 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new; \
3069 mv -f dir.info.new dir.info; \
3070 else true; \
3071 fi
3072
3073 dist:
3074 @echo "Building a full distribution of this tree isn't done"
3075 @echo "via 'make dist'. Check out the etc/ subdirectory"
3076
3077 etags tags: TAGS
3078
3079 # Right now this just builds TAGS in each subdirectory. emacs19 has the
3080 # ability to use several tags files at once, so there is probably no need
3081 # to combine them into one big TAGS file (like CVS 1.3 does). We could
3082 # (if we felt like it) have this Makefile write a piece of elisp which
3083 # the user could load to tell emacs19 where all the TAGS files we just
3084 # built are.
3085 TAGS: do-TAGS
3086
3087 # ------------------------------------
3088 # Macros for configure and all targets
3089 # ------------------------------------
3090
3091
3092
3093
3094
3095 # --------------------------------------
3096 # Modules which run on the build machine
3097 # --------------------------------------
3098
3099
3100 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
3101 maybe-configure-build-libiberty:
3102 @if gcc-bootstrap
3103 configure-build-libiberty: stage_current
3104 @endif gcc-bootstrap
3105 @if build-libiberty
3106 maybe-configure-build-libiberty: configure-build-libiberty
3107 configure-build-libiberty:
3108 @: $(MAKE); $(unstage)
3109 @r=`${PWD_COMMAND}`; export r; \
3110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3111 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
3112 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty; \
3113 $(BUILD_EXPORTS) \
3114 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
3115 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
3116 case $(srcdir) in \
3117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3118 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
3119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3120 esac; \
3121 module_srcdir=libiberty; \
3122 rm -f no-such-file || : ; \
3123 CONFIG_SITE=no-such-file $(SHELL) \
3124 $$s/$$module_srcdir/configure \
3125 --srcdir=$${topdir}/$$module_srcdir \
3126 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3127 --target=${target_alias} \
3128 || exit 1
3129 @endif build-libiberty
3130
3131
3132
3133
3134
3135 .PHONY: all-build-libiberty maybe-all-build-libiberty
3136 maybe-all-build-libiberty:
3137 @if gcc-bootstrap
3138 all-build-libiberty: stage_current
3139 @endif gcc-bootstrap
3140 @if build-libiberty
3141 TARGET-build-libiberty=all
3142 maybe-all-build-libiberty: all-build-libiberty
3143 all-build-libiberty: configure-build-libiberty
3144 @: $(MAKE); $(unstage)
3145 @r=`${PWD_COMMAND}`; export r; \
3146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3147 $(BUILD_EXPORTS) \
3148 (cd $(BUILD_SUBDIR)/libiberty && \
3149 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3150 $(TARGET-build-libiberty))
3151 @endif build-libiberty
3152
3153
3154
3155
3156
3157 .PHONY: configure-build-bison maybe-configure-build-bison
3158 maybe-configure-build-bison:
3159 @if gcc-bootstrap
3160 configure-build-bison: stage_current
3161 @endif gcc-bootstrap
3162 @if build-bison
3163 maybe-configure-build-bison: configure-build-bison
3164 configure-build-bison:
3165 @: $(MAKE); $(unstage)
3166 @r=`${PWD_COMMAND}`; export r; \
3167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3168 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
3169 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison; \
3170 $(BUILD_EXPORTS) \
3171 echo Configuring in $(BUILD_SUBDIR)/bison; \
3172 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
3173 case $(srcdir) in \
3174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3175 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
3176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3177 esac; \
3178 module_srcdir=bison; \
3179 rm -f no-such-file || : ; \
3180 CONFIG_SITE=no-such-file $(SHELL) \
3181 $$s/$$module_srcdir/configure \
3182 --srcdir=$${topdir}/$$module_srcdir \
3183 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3184 --target=${target_alias} \
3185 || exit 1
3186 @endif build-bison
3187
3188
3189
3190
3191
3192 .PHONY: all-build-bison maybe-all-build-bison
3193 maybe-all-build-bison:
3194 @if gcc-bootstrap
3195 all-build-bison: stage_current
3196 @endif gcc-bootstrap
3197 @if build-bison
3198 TARGET-build-bison=all
3199 maybe-all-build-bison: all-build-bison
3200 all-build-bison: configure-build-bison
3201 @: $(MAKE); $(unstage)
3202 @r=`${PWD_COMMAND}`; export r; \
3203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3204 $(BUILD_EXPORTS) \
3205 (cd $(BUILD_SUBDIR)/bison && \
3206 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3207 $(TARGET-build-bison))
3208 @endif build-bison
3209
3210
3211
3212
3213
3214 .PHONY: configure-build-flex maybe-configure-build-flex
3215 maybe-configure-build-flex:
3216 @if gcc-bootstrap
3217 configure-build-flex: stage_current
3218 @endif gcc-bootstrap
3219 @if build-flex
3220 maybe-configure-build-flex: configure-build-flex
3221 configure-build-flex:
3222 @: $(MAKE); $(unstage)
3223 @r=`${PWD_COMMAND}`; export r; \
3224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3225 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
3226 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex; \
3227 $(BUILD_EXPORTS) \
3228 echo Configuring in $(BUILD_SUBDIR)/flex; \
3229 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
3230 case $(srcdir) in \
3231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3232 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
3233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3234 esac; \
3235 module_srcdir=flex; \
3236 rm -f no-such-file || : ; \
3237 CONFIG_SITE=no-such-file $(SHELL) \
3238 $$s/$$module_srcdir/configure \
3239 --srcdir=$${topdir}/$$module_srcdir \
3240 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3241 --target=${target_alias} \
3242 || exit 1
3243 @endif build-flex
3244
3245
3246
3247
3248
3249 .PHONY: all-build-flex maybe-all-build-flex
3250 maybe-all-build-flex:
3251 @if gcc-bootstrap
3252 all-build-flex: stage_current
3253 @endif gcc-bootstrap
3254 @if build-flex
3255 TARGET-build-flex=all
3256 maybe-all-build-flex: all-build-flex
3257 all-build-flex: configure-build-flex
3258 @: $(MAKE); $(unstage)
3259 @r=`${PWD_COMMAND}`; export r; \
3260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3261 $(BUILD_EXPORTS) \
3262 (cd $(BUILD_SUBDIR)/flex && \
3263 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3264 $(TARGET-build-flex))
3265 @endif build-flex
3266
3267
3268
3269
3270
3271 .PHONY: configure-build-m4 maybe-configure-build-m4
3272 maybe-configure-build-m4:
3273 @if gcc-bootstrap
3274 configure-build-m4: stage_current
3275 @endif gcc-bootstrap
3276 @if build-m4
3277 maybe-configure-build-m4: configure-build-m4
3278 configure-build-m4:
3279 @: $(MAKE); $(unstage)
3280 @r=`${PWD_COMMAND}`; export r; \
3281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3282 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
3283 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4; \
3284 $(BUILD_EXPORTS) \
3285 echo Configuring in $(BUILD_SUBDIR)/m4; \
3286 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
3287 case $(srcdir) in \
3288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3289 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
3290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3291 esac; \
3292 module_srcdir=m4; \
3293 rm -f no-such-file || : ; \
3294 CONFIG_SITE=no-such-file $(SHELL) \
3295 $$s/$$module_srcdir/configure \
3296 --srcdir=$${topdir}/$$module_srcdir \
3297 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3298 --target=${target_alias} \
3299 || exit 1
3300 @endif build-m4
3301
3302
3303
3304
3305
3306 .PHONY: all-build-m4 maybe-all-build-m4
3307 maybe-all-build-m4:
3308 @if gcc-bootstrap
3309 all-build-m4: stage_current
3310 @endif gcc-bootstrap
3311 @if build-m4
3312 TARGET-build-m4=all
3313 maybe-all-build-m4: all-build-m4
3314 all-build-m4: configure-build-m4
3315 @: $(MAKE); $(unstage)
3316 @r=`${PWD_COMMAND}`; export r; \
3317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3318 $(BUILD_EXPORTS) \
3319 (cd $(BUILD_SUBDIR)/m4 && \
3320 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3321 $(TARGET-build-m4))
3322 @endif build-m4
3323
3324
3325
3326
3327
3328 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
3329 maybe-configure-build-texinfo:
3330 @if gcc-bootstrap
3331 configure-build-texinfo: stage_current
3332 @endif gcc-bootstrap
3333 @if build-texinfo
3334 maybe-configure-build-texinfo: configure-build-texinfo
3335 configure-build-texinfo:
3336 @: $(MAKE); $(unstage)
3337 @r=`${PWD_COMMAND}`; export r; \
3338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3339 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3340 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo; \
3341 $(BUILD_EXPORTS) \
3342 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3343 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3344 case $(srcdir) in \
3345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3346 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3348 esac; \
3349 module_srcdir=texinfo; \
3350 rm -f no-such-file || : ; \
3351 CONFIG_SITE=no-such-file $(SHELL) \
3352 $$s/$$module_srcdir/configure \
3353 --srcdir=$${topdir}/$$module_srcdir \
3354 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3355 --target=${target_alias} \
3356 || exit 1
3357 @endif build-texinfo
3358
3359
3360
3361
3362
3363 .PHONY: all-build-texinfo maybe-all-build-texinfo
3364 maybe-all-build-texinfo:
3365 @if gcc-bootstrap
3366 all-build-texinfo: stage_current
3367 @endif gcc-bootstrap
3368 @if build-texinfo
3369 TARGET-build-texinfo=all
3370 maybe-all-build-texinfo: all-build-texinfo
3371 all-build-texinfo: configure-build-texinfo
3372 @: $(MAKE); $(unstage)
3373 @r=`${PWD_COMMAND}`; export r; \
3374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3375 $(BUILD_EXPORTS) \
3376 (cd $(BUILD_SUBDIR)/texinfo && \
3377 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3378 $(TARGET-build-texinfo))
3379 @endif build-texinfo
3380
3381
3382
3383
3384
3385 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3386 maybe-configure-build-fixincludes:
3387 @if gcc-bootstrap
3388 configure-build-fixincludes: stage_current
3389 @endif gcc-bootstrap
3390 @if build-fixincludes
3391 maybe-configure-build-fixincludes: configure-build-fixincludes
3392 configure-build-fixincludes:
3393 @: $(MAKE); $(unstage)
3394 @r=`${PWD_COMMAND}`; export r; \
3395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3396 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3397 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes; \
3398 $(BUILD_EXPORTS) \
3399 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3400 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3401 case $(srcdir) in \
3402 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3403 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3404 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3405 esac; \
3406 module_srcdir=fixincludes; \
3407 rm -f no-such-file || : ; \
3408 CONFIG_SITE=no-such-file $(SHELL) \
3409 $$s/$$module_srcdir/configure \
3410 --srcdir=$${topdir}/$$module_srcdir \
3411 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3412 --target=${target_alias} \
3413 || exit 1
3414 @endif build-fixincludes
3415
3416
3417
3418
3419
3420 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3421 maybe-all-build-fixincludes:
3422 @if gcc-bootstrap
3423 all-build-fixincludes: stage_current
3424 @endif gcc-bootstrap
3425 @if build-fixincludes
3426 TARGET-build-fixincludes=all
3427 maybe-all-build-fixincludes: all-build-fixincludes
3428 all-build-fixincludes: configure-build-fixincludes
3429 @: $(MAKE); $(unstage)
3430 @r=`${PWD_COMMAND}`; export r; \
3431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3432 $(BUILD_EXPORTS) \
3433 (cd $(BUILD_SUBDIR)/fixincludes && \
3434 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3435 $(TARGET-build-fixincludes))
3436 @endif build-fixincludes
3437
3438
3439
3440
3441
3442 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3443 maybe-configure-build-libcpp:
3444 @if gcc-bootstrap
3445 configure-build-libcpp: stage_current
3446 @endif gcc-bootstrap
3447 @if build-libcpp
3448 maybe-configure-build-libcpp: configure-build-libcpp
3449 configure-build-libcpp:
3450 @: $(MAKE); $(unstage)
3451 @r=`${PWD_COMMAND}`; export r; \
3452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3453 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3454 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
3455 $(BUILD_EXPORTS) \
3456 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3457 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3458 case $(srcdir) in \
3459 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3460 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3461 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3462 esac; \
3463 module_srcdir=libcpp; \
3464 rm -f no-such-file || : ; \
3465 CONFIG_SITE=no-such-file $(SHELL) \
3466 $$s/$$module_srcdir/configure \
3467 --srcdir=$${topdir}/$$module_srcdir \
3468 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3469 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3470 || exit 1
3471 @endif build-libcpp
3472
3473
3474
3475
3476
3477 .PHONY: all-build-libcpp maybe-all-build-libcpp
3478 maybe-all-build-libcpp:
3479 @if gcc-bootstrap
3480 all-build-libcpp: stage_current
3481 @endif gcc-bootstrap
3482 @if build-libcpp
3483 TARGET-build-libcpp=all
3484 maybe-all-build-libcpp: all-build-libcpp
3485 all-build-libcpp: configure-build-libcpp
3486 @: $(MAKE); $(unstage)
3487 @r=`${PWD_COMMAND}`; export r; \
3488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3489 $(BUILD_EXPORTS) \
3490 (cd $(BUILD_SUBDIR)/libcpp && \
3491 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3492 $(TARGET-build-libcpp))
3493 @endif build-libcpp
3494
3495
3496
3497
3498
3499 # --------------------------------------
3500 # Modules which run on the host machine
3501 # --------------------------------------
3502
3503
3504 .PHONY: configure-bfd maybe-configure-bfd
3505 maybe-configure-bfd:
3506 @if gcc-bootstrap
3507 configure-bfd: stage_current
3508 @endif gcc-bootstrap
3509 @if bfd
3510 maybe-configure-bfd: configure-bfd
3511 configure-bfd:
3512 @r=`${PWD_COMMAND}`; export r; \
3513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3514 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3515 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3516 $(HOST_EXPORTS) \
3517 echo Configuring in $(HOST_SUBDIR)/bfd; \
3518 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3519 case $(srcdir) in \
3520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3521 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3523 esac; \
3524 module_srcdir=bfd; \
3525 $(SHELL) \
3526 $$s/$$module_srcdir/configure \
3527 --srcdir=$${topdir}/$$module_srcdir \
3528 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3529 --target=${target_alias} \
3530 || exit 1
3531 @endif bfd
3532
3533
3534
3535 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3536 maybe-configure-stage1-bfd:
3537 @if bfd-bootstrap
3538 maybe-configure-stage1-bfd: configure-stage1-bfd
3539 configure-stage1-bfd:
3540 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3541 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3542 @r=`${PWD_COMMAND}`; export r; \
3543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3544 TFLAGS="$(STAGE1_TFLAGS)"; \
3545 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3546 $(HOST_EXPORTS) \
3547 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3548 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3549 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3550 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd; \
3551 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3552 cd $(HOST_SUBDIR)/bfd || exit 1; \
3553 case $(srcdir) in \
3554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3555 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3557 esac; \
3558 module_srcdir=bfd; \
3559 $(SHELL) $$s/$$module_srcdir/configure \
3560 --srcdir=$${topdir}/$$module_srcdir \
3561 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3562 --target=${target_alias} \
3563 \
3564 $(STAGE1_CONFIGURE_FLAGS)
3565 @endif bfd-bootstrap
3566
3567 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3568 maybe-configure-stage2-bfd:
3569 @if bfd-bootstrap
3570 maybe-configure-stage2-bfd: configure-stage2-bfd
3571 configure-stage2-bfd:
3572 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3573 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3574 @r=`${PWD_COMMAND}`; export r; \
3575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3576 TFLAGS="$(STAGE2_TFLAGS)"; \
3577 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3578 $(HOST_EXPORTS) \
3579 $(POSTSTAGE1_HOST_EXPORTS) \
3580 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3581 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3582 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3583 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd; \
3584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3585 cd $(HOST_SUBDIR)/bfd || exit 1; \
3586 case $(srcdir) in \
3587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3588 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3590 esac; \
3591 module_srcdir=bfd; \
3592 $(SHELL) $$s/$$module_srcdir/configure \
3593 --srcdir=$${topdir}/$$module_srcdir \
3594 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3595 --target=${target_alias} \
3596 --with-build-libsubdir=$(HOST_SUBDIR) \
3597 $(STAGE2_CONFIGURE_FLAGS)
3598 @endif bfd-bootstrap
3599
3600 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3601 maybe-configure-stage3-bfd:
3602 @if bfd-bootstrap
3603 maybe-configure-stage3-bfd: configure-stage3-bfd
3604 configure-stage3-bfd:
3605 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3606 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3607 @r=`${PWD_COMMAND}`; export r; \
3608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3609 TFLAGS="$(STAGE3_TFLAGS)"; \
3610 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3611 $(HOST_EXPORTS) \
3612 $(POSTSTAGE1_HOST_EXPORTS) \
3613 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3614 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3615 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3616 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd; \
3617 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3618 cd $(HOST_SUBDIR)/bfd || exit 1; \
3619 case $(srcdir) in \
3620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3621 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3623 esac; \
3624 module_srcdir=bfd; \
3625 $(SHELL) $$s/$$module_srcdir/configure \
3626 --srcdir=$${topdir}/$$module_srcdir \
3627 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3628 --target=${target_alias} \
3629 --with-build-libsubdir=$(HOST_SUBDIR) \
3630 $(STAGE3_CONFIGURE_FLAGS)
3631 @endif bfd-bootstrap
3632
3633 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3634 maybe-configure-stage4-bfd:
3635 @if bfd-bootstrap
3636 maybe-configure-stage4-bfd: configure-stage4-bfd
3637 configure-stage4-bfd:
3638 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3639 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3640 @r=`${PWD_COMMAND}`; export r; \
3641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3642 TFLAGS="$(STAGE4_TFLAGS)"; \
3643 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3644 $(HOST_EXPORTS) \
3645 $(POSTSTAGE1_HOST_EXPORTS) \
3646 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3647 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3648 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3649 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd; \
3650 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3651 cd $(HOST_SUBDIR)/bfd || exit 1; \
3652 case $(srcdir) in \
3653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3654 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3656 esac; \
3657 module_srcdir=bfd; \
3658 $(SHELL) $$s/$$module_srcdir/configure \
3659 --srcdir=$${topdir}/$$module_srcdir \
3660 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3661 --target=${target_alias} \
3662 --with-build-libsubdir=$(HOST_SUBDIR) \
3663 $(STAGE4_CONFIGURE_FLAGS)
3664 @endif bfd-bootstrap
3665
3666 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3667 maybe-configure-stageprofile-bfd:
3668 @if bfd-bootstrap
3669 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3670 configure-stageprofile-bfd:
3671 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3672 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3673 @r=`${PWD_COMMAND}`; export r; \
3674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3675 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3676 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3677 $(HOST_EXPORTS) \
3678 $(POSTSTAGE1_HOST_EXPORTS) \
3679 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3680 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3681 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3682 echo Configuring stage profile in $(HOST_SUBDIR)/bfd; \
3683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3684 cd $(HOST_SUBDIR)/bfd || exit 1; \
3685 case $(srcdir) in \
3686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3687 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3689 esac; \
3690 module_srcdir=bfd; \
3691 $(SHELL) $$s/$$module_srcdir/configure \
3692 --srcdir=$${topdir}/$$module_srcdir \
3693 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3694 --target=${target_alias} \
3695 --with-build-libsubdir=$(HOST_SUBDIR) \
3696 $(STAGEprofile_CONFIGURE_FLAGS)
3697 @endif bfd-bootstrap
3698
3699 .PHONY: configure-stagetrain-bfd maybe-configure-stagetrain-bfd
3700 maybe-configure-stagetrain-bfd:
3701 @if bfd-bootstrap
3702 maybe-configure-stagetrain-bfd: configure-stagetrain-bfd
3703 configure-stagetrain-bfd:
3704 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
3705 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3706 @r=`${PWD_COMMAND}`; export r; \
3707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3708 TFLAGS="$(STAGEtrain_TFLAGS)"; \
3709 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3710 $(HOST_EXPORTS) \
3711 $(POSTSTAGE1_HOST_EXPORTS) \
3712 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
3713 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
3714 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
3715 echo Configuring stage train in $(HOST_SUBDIR)/bfd; \
3716 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3717 cd $(HOST_SUBDIR)/bfd || exit 1; \
3718 case $(srcdir) in \
3719 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3720 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3721 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3722 esac; \
3723 module_srcdir=bfd; \
3724 $(SHELL) $$s/$$module_srcdir/configure \
3725 --srcdir=$${topdir}/$$module_srcdir \
3726 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3727 --target=${target_alias} \
3728 --with-build-libsubdir=$(HOST_SUBDIR) \
3729 $(STAGEtrain_CONFIGURE_FLAGS)
3730 @endif bfd-bootstrap
3731
3732 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3733 maybe-configure-stagefeedback-bfd:
3734 @if bfd-bootstrap
3735 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3736 configure-stagefeedback-bfd:
3737 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3738 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3739 @r=`${PWD_COMMAND}`; export r; \
3740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3741 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3742 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3743 $(HOST_EXPORTS) \
3744 $(POSTSTAGE1_HOST_EXPORTS) \
3745 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3746 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3747 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3748 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd; \
3749 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3750 cd $(HOST_SUBDIR)/bfd || exit 1; \
3751 case $(srcdir) in \
3752 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3753 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3754 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3755 esac; \
3756 module_srcdir=bfd; \
3757 $(SHELL) $$s/$$module_srcdir/configure \
3758 --srcdir=$${topdir}/$$module_srcdir \
3759 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3760 --target=${target_alias} \
3761 --with-build-libsubdir=$(HOST_SUBDIR) \
3762 $(STAGEfeedback_CONFIGURE_FLAGS)
3763 @endif bfd-bootstrap
3764
3765 .PHONY: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
3766 maybe-configure-stageautoprofile-bfd:
3767 @if bfd-bootstrap
3768 maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
3769 configure-stageautoprofile-bfd:
3770 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
3771 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3772 @r=`${PWD_COMMAND}`; export r; \
3773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3774 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
3775 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3776 $(HOST_EXPORTS) \
3777 $(POSTSTAGE1_HOST_EXPORTS) \
3778 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
3779 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
3780 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
3781 echo Configuring stage autoprofile in $(HOST_SUBDIR)/bfd; \
3782 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3783 cd $(HOST_SUBDIR)/bfd || exit 1; \
3784 case $(srcdir) in \
3785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3786 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3788 esac; \
3789 module_srcdir=bfd; \
3790 $(SHELL) $$s/$$module_srcdir/configure \
3791 --srcdir=$${topdir}/$$module_srcdir \
3792 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3793 --target=${target_alias} \
3794 --with-build-libsubdir=$(HOST_SUBDIR) \
3795 $(STAGEautoprofile_CONFIGURE_FLAGS)
3796 @endif bfd-bootstrap
3797
3798 .PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
3799 maybe-configure-stageautofeedback-bfd:
3800 @if bfd-bootstrap
3801 maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
3802 configure-stageautofeedback-bfd:
3803 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
3804 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3805 @r=`${PWD_COMMAND}`; export r; \
3806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3807 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
3808 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3809 $(HOST_EXPORTS) \
3810 $(POSTSTAGE1_HOST_EXPORTS) \
3811 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
3812 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
3813 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
3814 echo Configuring stage autofeedback in $(HOST_SUBDIR)/bfd; \
3815 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd; \
3816 cd $(HOST_SUBDIR)/bfd || exit 1; \
3817 case $(srcdir) in \
3818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3819 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3821 esac; \
3822 module_srcdir=bfd; \
3823 $(SHELL) $$s/$$module_srcdir/configure \
3824 --srcdir=$${topdir}/$$module_srcdir \
3825 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3826 --target=${target_alias} \
3827 --with-build-libsubdir=$(HOST_SUBDIR) \
3828 $(STAGEautofeedback_CONFIGURE_FLAGS)
3829 @endif bfd-bootstrap
3830
3831
3832
3833
3834
3835 .PHONY: all-bfd maybe-all-bfd
3836 maybe-all-bfd:
3837 @if gcc-bootstrap
3838 all-bfd: stage_current
3839 @endif gcc-bootstrap
3840 @if bfd
3841 TARGET-bfd=all
3842 maybe-all-bfd: all-bfd
3843 all-bfd: configure-bfd
3844 @r=`${PWD_COMMAND}`; export r; \
3845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3846 $(HOST_EXPORTS) \
3847 (cd $(HOST_SUBDIR)/bfd && \
3848 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3849 $(TARGET-bfd))
3850 @endif bfd
3851
3852
3853
3854 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3855 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3856 maybe-all-stage1-bfd:
3857 maybe-clean-stage1-bfd:
3858 @if bfd-bootstrap
3859 maybe-all-stage1-bfd: all-stage1-bfd
3860 all-stage1: all-stage1-bfd
3861 TARGET-stage1-bfd = $(TARGET-bfd)
3862 all-stage1-bfd: configure-stage1-bfd
3863 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3864 @r=`${PWD_COMMAND}`; export r; \
3865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3866 TFLAGS="$(STAGE1_TFLAGS)"; \
3867 $(HOST_EXPORTS) \
3868 cd $(HOST_SUBDIR)/bfd && \
3869 \
3870 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3871 CFLAGS="$(STAGE1_CFLAGS)" \
3872 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
3873 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3874 LIBCFLAGS="$(LIBCFLAGS)" \
3875 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3876 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3877 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3878 $(EXTRA_HOST_FLAGS) \
3879 $(STAGE1_FLAGS_TO_PASS) \
3880 TFLAGS="$(STAGE1_TFLAGS)" \
3881 $(TARGET-stage1-bfd)
3882
3883 maybe-clean-stage1-bfd: clean-stage1-bfd
3884 clean-stage1: clean-stage1-bfd
3885 clean-stage1-bfd:
3886 @if [ $(current_stage) = stage1 ]; then \
3887 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3888 else \
3889 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3890 $(MAKE) stage1-start; \
3891 fi; \
3892 cd $(HOST_SUBDIR)/bfd && \
3893 $(MAKE) $(EXTRA_HOST_FLAGS) \
3894 $(STAGE1_FLAGS_TO_PASS) clean
3895 @endif bfd-bootstrap
3896
3897
3898 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3899 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3900 maybe-all-stage2-bfd:
3901 maybe-clean-stage2-bfd:
3902 @if bfd-bootstrap
3903 maybe-all-stage2-bfd: all-stage2-bfd
3904 all-stage2: all-stage2-bfd
3905 TARGET-stage2-bfd = $(TARGET-bfd)
3906 all-stage2-bfd: configure-stage2-bfd
3907 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3908 @r=`${PWD_COMMAND}`; export r; \
3909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3910 TFLAGS="$(STAGE2_TFLAGS)"; \
3911 $(HOST_EXPORTS) \
3912 $(POSTSTAGE1_HOST_EXPORTS) \
3913 cd $(HOST_SUBDIR)/bfd && \
3914 \
3915 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3916 CFLAGS="$(STAGE2_CFLAGS)" \
3917 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
3918 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3919 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3920 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3921 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3922 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3923 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3924 TFLAGS="$(STAGE2_TFLAGS)" \
3925 $(TARGET-stage2-bfd)
3926
3927 maybe-clean-stage2-bfd: clean-stage2-bfd
3928 clean-stage2: clean-stage2-bfd
3929 clean-stage2-bfd:
3930 @if [ $(current_stage) = stage2 ]; then \
3931 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3932 else \
3933 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3934 $(MAKE) stage2-start; \
3935 fi; \
3936 cd $(HOST_SUBDIR)/bfd && \
3937 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3938 @endif bfd-bootstrap
3939
3940
3941 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3942 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3943 maybe-all-stage3-bfd:
3944 maybe-clean-stage3-bfd:
3945 @if bfd-bootstrap
3946 maybe-all-stage3-bfd: all-stage3-bfd
3947 all-stage3: all-stage3-bfd
3948 TARGET-stage3-bfd = $(TARGET-bfd)
3949 all-stage3-bfd: configure-stage3-bfd
3950 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3951 @r=`${PWD_COMMAND}`; export r; \
3952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3953 TFLAGS="$(STAGE3_TFLAGS)"; \
3954 $(HOST_EXPORTS) \
3955 $(POSTSTAGE1_HOST_EXPORTS) \
3956 cd $(HOST_SUBDIR)/bfd && \
3957 \
3958 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3959 CFLAGS="$(STAGE3_CFLAGS)" \
3960 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
3961 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3962 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3963 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3964 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3965 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3966 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3967 TFLAGS="$(STAGE3_TFLAGS)" \
3968 $(TARGET-stage3-bfd)
3969
3970 maybe-clean-stage3-bfd: clean-stage3-bfd
3971 clean-stage3: clean-stage3-bfd
3972 clean-stage3-bfd:
3973 @if [ $(current_stage) = stage3 ]; then \
3974 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3975 else \
3976 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3977 $(MAKE) stage3-start; \
3978 fi; \
3979 cd $(HOST_SUBDIR)/bfd && \
3980 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3981 @endif bfd-bootstrap
3982
3983
3984 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3985 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3986 maybe-all-stage4-bfd:
3987 maybe-clean-stage4-bfd:
3988 @if bfd-bootstrap
3989 maybe-all-stage4-bfd: all-stage4-bfd
3990 all-stage4: all-stage4-bfd
3991 TARGET-stage4-bfd = $(TARGET-bfd)
3992 all-stage4-bfd: configure-stage4-bfd
3993 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3994 @r=`${PWD_COMMAND}`; export r; \
3995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3996 TFLAGS="$(STAGE4_TFLAGS)"; \
3997 $(HOST_EXPORTS) \
3998 $(POSTSTAGE1_HOST_EXPORTS) \
3999 cd $(HOST_SUBDIR)/bfd && \
4000 \
4001 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4002 CFLAGS="$(STAGE4_CFLAGS)" \
4003 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
4004 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4005 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4006 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4007 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4008 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4009 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4010 TFLAGS="$(STAGE4_TFLAGS)" \
4011 $(TARGET-stage4-bfd)
4012
4013 maybe-clean-stage4-bfd: clean-stage4-bfd
4014 clean-stage4: clean-stage4-bfd
4015 clean-stage4-bfd:
4016 @if [ $(current_stage) = stage4 ]; then \
4017 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4018 else \
4019 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
4020 $(MAKE) stage4-start; \
4021 fi; \
4022 cd $(HOST_SUBDIR)/bfd && \
4023 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4024 @endif bfd-bootstrap
4025
4026
4027 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4028 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4029 maybe-all-stageprofile-bfd:
4030 maybe-clean-stageprofile-bfd:
4031 @if bfd-bootstrap
4032 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4033 all-stageprofile: all-stageprofile-bfd
4034 TARGET-stageprofile-bfd = $(TARGET-bfd)
4035 all-stageprofile-bfd: configure-stageprofile-bfd
4036 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4037 @r=`${PWD_COMMAND}`; export r; \
4038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4039 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4040 $(HOST_EXPORTS) \
4041 $(POSTSTAGE1_HOST_EXPORTS) \
4042 cd $(HOST_SUBDIR)/bfd && \
4043 \
4044 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4045 CFLAGS="$(STAGEprofile_CFLAGS)" \
4046 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
4047 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4048 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4049 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4050 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4051 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4052 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4053 TFLAGS="$(STAGEprofile_TFLAGS)" \
4054 $(TARGET-stageprofile-bfd)
4055
4056 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4057 clean-stageprofile: clean-stageprofile-bfd
4058 clean-stageprofile-bfd:
4059 @if [ $(current_stage) = stageprofile ]; then \
4060 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4061 else \
4062 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
4063 $(MAKE) stageprofile-start; \
4064 fi; \
4065 cd $(HOST_SUBDIR)/bfd && \
4066 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4067 @endif bfd-bootstrap
4068
4069
4070 .PHONY: all-stagetrain-bfd maybe-all-stagetrain-bfd
4071 .PHONY: clean-stagetrain-bfd maybe-clean-stagetrain-bfd
4072 maybe-all-stagetrain-bfd:
4073 maybe-clean-stagetrain-bfd:
4074 @if bfd-bootstrap
4075 maybe-all-stagetrain-bfd: all-stagetrain-bfd
4076 all-stagetrain: all-stagetrain-bfd
4077 TARGET-stagetrain-bfd = $(TARGET-bfd)
4078 all-stagetrain-bfd: configure-stagetrain-bfd
4079 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4080 @r=`${PWD_COMMAND}`; export r; \
4081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4082 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4083 $(HOST_EXPORTS) \
4084 $(POSTSTAGE1_HOST_EXPORTS) \
4085 cd $(HOST_SUBDIR)/bfd && \
4086 \
4087 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4088 CFLAGS="$(STAGEtrain_CFLAGS)" \
4089 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
4090 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
4091 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
4092 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4093 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4094 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4095 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4096 TFLAGS="$(STAGEtrain_TFLAGS)" \
4097 $(TARGET-stagetrain-bfd)
4098
4099 maybe-clean-stagetrain-bfd: clean-stagetrain-bfd
4100 clean-stagetrain: clean-stagetrain-bfd
4101 clean-stagetrain-bfd:
4102 @if [ $(current_stage) = stagetrain ]; then \
4103 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4104 else \
4105 [ -f $(HOST_SUBDIR)/stagetrain-bfd/Makefile ] || exit 0; \
4106 $(MAKE) stagetrain-start; \
4107 fi; \
4108 cd $(HOST_SUBDIR)/bfd && \
4109 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4110 @endif bfd-bootstrap
4111
4112
4113 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4114 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4115 maybe-all-stagefeedback-bfd:
4116 maybe-clean-stagefeedback-bfd:
4117 @if bfd-bootstrap
4118 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4119 all-stagefeedback: all-stagefeedback-bfd
4120 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4121 all-stagefeedback-bfd: configure-stagefeedback-bfd
4122 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4123 @r=`${PWD_COMMAND}`; export r; \
4124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4125 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4126 $(HOST_EXPORTS) \
4127 $(POSTSTAGE1_HOST_EXPORTS) \
4128 cd $(HOST_SUBDIR)/bfd && \
4129 \
4130 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4131 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4132 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
4133 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4134 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4135 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4136 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4137 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4138 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4139 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4140 $(TARGET-stagefeedback-bfd)
4141
4142 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4143 clean-stagefeedback: clean-stagefeedback-bfd
4144 clean-stagefeedback-bfd:
4145 @if [ $(current_stage) = stagefeedback ]; then \
4146 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4147 else \
4148 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
4149 $(MAKE) stagefeedback-start; \
4150 fi; \
4151 cd $(HOST_SUBDIR)/bfd && \
4152 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4153 @endif bfd-bootstrap
4154
4155
4156 .PHONY: all-stageautoprofile-bfd maybe-all-stageautoprofile-bfd
4157 .PHONY: clean-stageautoprofile-bfd maybe-clean-stageautoprofile-bfd
4158 maybe-all-stageautoprofile-bfd:
4159 maybe-clean-stageautoprofile-bfd:
4160 @if bfd-bootstrap
4161 maybe-all-stageautoprofile-bfd: all-stageautoprofile-bfd
4162 all-stageautoprofile: all-stageautoprofile-bfd
4163 TARGET-stageautoprofile-bfd = $(TARGET-bfd)
4164 all-stageautoprofile-bfd: configure-stageautoprofile-bfd
4165 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4166 @r=`${PWD_COMMAND}`; export r; \
4167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4168 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4169 $(HOST_EXPORTS) \
4170 $(POSTSTAGE1_HOST_EXPORTS) \
4171 cd $(HOST_SUBDIR)/bfd && \
4172 $$s/gcc/config/i386/$(AUTO_PROFILE) \
4173 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4174 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
4175 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
4176 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
4177 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
4178 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4179 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4180 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4181 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4182 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
4183 $(TARGET-stageautoprofile-bfd)
4184
4185 maybe-clean-stageautoprofile-bfd: clean-stageautoprofile-bfd
4186 clean-stageautoprofile: clean-stageautoprofile-bfd
4187 clean-stageautoprofile-bfd:
4188 @if [ $(current_stage) = stageautoprofile ]; then \
4189 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4190 else \
4191 [ -f $(HOST_SUBDIR)/stageautoprofile-bfd/Makefile ] || exit 0; \
4192 $(MAKE) stageautoprofile-start; \
4193 fi; \
4194 cd $(HOST_SUBDIR)/bfd && \
4195 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4196 @endif bfd-bootstrap
4197
4198
4199 .PHONY: all-stageautofeedback-bfd maybe-all-stageautofeedback-bfd
4200 .PHONY: clean-stageautofeedback-bfd maybe-clean-stageautofeedback-bfd
4201 maybe-all-stageautofeedback-bfd:
4202 maybe-clean-stageautofeedback-bfd:
4203 @if bfd-bootstrap
4204 maybe-all-stageautofeedback-bfd: all-stageautofeedback-bfd
4205 all-stageautofeedback: all-stageautofeedback-bfd
4206 TARGET-stageautofeedback-bfd = $(TARGET-bfd)
4207 all-stageautofeedback-bfd: configure-stageautofeedback-bfd
4208 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4209 @r=`${PWD_COMMAND}`; export r; \
4210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4211 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4212 $(HOST_EXPORTS) \
4213 $(POSTSTAGE1_HOST_EXPORTS) \
4214 cd $(HOST_SUBDIR)/bfd && \
4215 \
4216 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4217 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
4218 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
4219 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
4220 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
4221 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4222 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4223 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4224 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4225 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
4226 $(TARGET-stageautofeedback-bfd)
4227
4228 maybe-clean-stageautofeedback-bfd: clean-stageautofeedback-bfd
4229 clean-stageautofeedback: clean-stageautofeedback-bfd
4230 clean-stageautofeedback-bfd:
4231 @if [ $(current_stage) = stageautofeedback ]; then \
4232 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4233 else \
4234 [ -f $(HOST_SUBDIR)/stageautofeedback-bfd/Makefile ] || exit 0; \
4235 $(MAKE) stageautofeedback-start; \
4236 fi; \
4237 cd $(HOST_SUBDIR)/bfd && \
4238 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4239 @endif bfd-bootstrap
4240
4241
4242
4243
4244
4245 .PHONY: check-bfd maybe-check-bfd
4246 maybe-check-bfd:
4247 @if bfd
4248 maybe-check-bfd: check-bfd
4249
4250 check-bfd:
4251 @: $(MAKE); $(unstage)
4252 @r=`${PWD_COMMAND}`; export r; \
4253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4254 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
4255 (cd $(HOST_SUBDIR)/bfd && \
4256 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
4257
4258 @endif bfd
4259
4260 .PHONY: install-bfd maybe-install-bfd
4261 maybe-install-bfd:
4262 @if bfd
4263 maybe-install-bfd: install-bfd
4264
4265 install-bfd: installdirs
4266 @: $(MAKE); $(unstage)
4267 @r=`${PWD_COMMAND}`; export r; \
4268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4269 $(HOST_EXPORTS) \
4270 (cd $(HOST_SUBDIR)/bfd && \
4271 $(MAKE) $(FLAGS_TO_PASS) install)
4272
4273 @endif bfd
4274
4275 .PHONY: install-strip-bfd maybe-install-strip-bfd
4276 maybe-install-strip-bfd:
4277 @if bfd
4278 maybe-install-strip-bfd: install-strip-bfd
4279
4280 install-strip-bfd: installdirs
4281 @: $(MAKE); $(unstage)
4282 @r=`${PWD_COMMAND}`; export r; \
4283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4284 $(HOST_EXPORTS) \
4285 (cd $(HOST_SUBDIR)/bfd && \
4286 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4287
4288 @endif bfd
4289
4290 # Other targets (info, dvi, pdf, etc.)
4291
4292 .PHONY: maybe-info-bfd info-bfd
4293 maybe-info-bfd:
4294 @if bfd
4295 maybe-info-bfd: info-bfd
4296
4297 info-bfd: \
4298 configure-bfd
4299 @[ -f ./bfd/Makefile ] || exit 0; \
4300 r=`${PWD_COMMAND}`; export r; \
4301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4302 $(HOST_EXPORTS) \
4303 for flag in $(EXTRA_HOST_FLAGS) ; do \
4304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4305 done; \
4306 echo "Doing info in bfd"; \
4307 (cd $(HOST_SUBDIR)/bfd && \
4308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4310 "RANLIB=$${RANLIB}" \
4311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4312 info) \
4313 || exit 1
4314
4315 @endif bfd
4316
4317 .PHONY: maybe-dvi-bfd dvi-bfd
4318 maybe-dvi-bfd:
4319 @if bfd
4320 maybe-dvi-bfd: dvi-bfd
4321
4322 dvi-bfd: \
4323 configure-bfd
4324 @[ -f ./bfd/Makefile ] || exit 0; \
4325 r=`${PWD_COMMAND}`; export r; \
4326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4327 $(HOST_EXPORTS) \
4328 for flag in $(EXTRA_HOST_FLAGS) ; do \
4329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4330 done; \
4331 echo "Doing dvi in bfd"; \
4332 (cd $(HOST_SUBDIR)/bfd && \
4333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4335 "RANLIB=$${RANLIB}" \
4336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4337 dvi) \
4338 || exit 1
4339
4340 @endif bfd
4341
4342 .PHONY: maybe-pdf-bfd pdf-bfd
4343 maybe-pdf-bfd:
4344 @if bfd
4345 maybe-pdf-bfd: pdf-bfd
4346
4347 pdf-bfd: \
4348 configure-bfd
4349 @[ -f ./bfd/Makefile ] || exit 0; \
4350 r=`${PWD_COMMAND}`; export r; \
4351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4352 $(HOST_EXPORTS) \
4353 for flag in $(EXTRA_HOST_FLAGS) ; do \
4354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4355 done; \
4356 echo "Doing pdf in bfd"; \
4357 (cd $(HOST_SUBDIR)/bfd && \
4358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4360 "RANLIB=$${RANLIB}" \
4361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4362 pdf) \
4363 || exit 1
4364
4365 @endif bfd
4366
4367 .PHONY: maybe-html-bfd html-bfd
4368 maybe-html-bfd:
4369 @if bfd
4370 maybe-html-bfd: html-bfd
4371
4372 html-bfd: \
4373 configure-bfd
4374 @[ -f ./bfd/Makefile ] || exit 0; \
4375 r=`${PWD_COMMAND}`; export r; \
4376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4377 $(HOST_EXPORTS) \
4378 for flag in $(EXTRA_HOST_FLAGS) ; do \
4379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4380 done; \
4381 echo "Doing html in bfd"; \
4382 (cd $(HOST_SUBDIR)/bfd && \
4383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4385 "RANLIB=$${RANLIB}" \
4386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4387 html) \
4388 || exit 1
4389
4390 @endif bfd
4391
4392 .PHONY: maybe-TAGS-bfd TAGS-bfd
4393 maybe-TAGS-bfd:
4394 @if bfd
4395 maybe-TAGS-bfd: TAGS-bfd
4396
4397 TAGS-bfd: \
4398 configure-bfd
4399 @[ -f ./bfd/Makefile ] || exit 0; \
4400 r=`${PWD_COMMAND}`; export r; \
4401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4402 $(HOST_EXPORTS) \
4403 for flag in $(EXTRA_HOST_FLAGS) ; do \
4404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4405 done; \
4406 echo "Doing TAGS in bfd"; \
4407 (cd $(HOST_SUBDIR)/bfd && \
4408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4410 "RANLIB=$${RANLIB}" \
4411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4412 TAGS) \
4413 || exit 1
4414
4415 @endif bfd
4416
4417 .PHONY: maybe-install-info-bfd install-info-bfd
4418 maybe-install-info-bfd:
4419 @if bfd
4420 maybe-install-info-bfd: install-info-bfd
4421
4422 install-info-bfd: \
4423 configure-bfd \
4424 info-bfd
4425 @[ -f ./bfd/Makefile ] || exit 0; \
4426 r=`${PWD_COMMAND}`; export r; \
4427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4428 $(HOST_EXPORTS) \
4429 for flag in $(EXTRA_HOST_FLAGS) ; do \
4430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4431 done; \
4432 echo "Doing install-info in bfd"; \
4433 (cd $(HOST_SUBDIR)/bfd && \
4434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4436 "RANLIB=$${RANLIB}" \
4437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4438 install-info) \
4439 || exit 1
4440
4441 @endif bfd
4442
4443 .PHONY: maybe-install-dvi-bfd install-dvi-bfd
4444 maybe-install-dvi-bfd:
4445 @if bfd
4446 maybe-install-dvi-bfd: install-dvi-bfd
4447
4448 install-dvi-bfd: \
4449 configure-bfd \
4450 dvi-bfd
4451 @[ -f ./bfd/Makefile ] || exit 0; \
4452 r=`${PWD_COMMAND}`; export r; \
4453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4454 $(HOST_EXPORTS) \
4455 for flag in $(EXTRA_HOST_FLAGS) ; do \
4456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4457 done; \
4458 echo "Doing install-dvi in bfd"; \
4459 (cd $(HOST_SUBDIR)/bfd && \
4460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4462 "RANLIB=$${RANLIB}" \
4463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4464 install-dvi) \
4465 || exit 1
4466
4467 @endif bfd
4468
4469 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
4470 maybe-install-pdf-bfd:
4471 @if bfd
4472 maybe-install-pdf-bfd: install-pdf-bfd
4473
4474 install-pdf-bfd: \
4475 configure-bfd \
4476 pdf-bfd
4477 @[ -f ./bfd/Makefile ] || exit 0; \
4478 r=`${PWD_COMMAND}`; export r; \
4479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4480 $(HOST_EXPORTS) \
4481 for flag in $(EXTRA_HOST_FLAGS) ; do \
4482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4483 done; \
4484 echo "Doing install-pdf in bfd"; \
4485 (cd $(HOST_SUBDIR)/bfd && \
4486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4488 "RANLIB=$${RANLIB}" \
4489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4490 install-pdf) \
4491 || exit 1
4492
4493 @endif bfd
4494
4495 .PHONY: maybe-install-html-bfd install-html-bfd
4496 maybe-install-html-bfd:
4497 @if bfd
4498 maybe-install-html-bfd: install-html-bfd
4499
4500 install-html-bfd: \
4501 configure-bfd \
4502 html-bfd
4503 @[ -f ./bfd/Makefile ] || exit 0; \
4504 r=`${PWD_COMMAND}`; export r; \
4505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4506 $(HOST_EXPORTS) \
4507 for flag in $(EXTRA_HOST_FLAGS) ; do \
4508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4509 done; \
4510 echo "Doing install-html in bfd"; \
4511 (cd $(HOST_SUBDIR)/bfd && \
4512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4514 "RANLIB=$${RANLIB}" \
4515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4516 install-html) \
4517 || exit 1
4518
4519 @endif bfd
4520
4521 .PHONY: maybe-installcheck-bfd installcheck-bfd
4522 maybe-installcheck-bfd:
4523 @if bfd
4524 maybe-installcheck-bfd: installcheck-bfd
4525
4526 installcheck-bfd: \
4527 configure-bfd
4528 @[ -f ./bfd/Makefile ] || exit 0; \
4529 r=`${PWD_COMMAND}`; export r; \
4530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4531 $(HOST_EXPORTS) \
4532 for flag in $(EXTRA_HOST_FLAGS) ; do \
4533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4534 done; \
4535 echo "Doing installcheck in bfd"; \
4536 (cd $(HOST_SUBDIR)/bfd && \
4537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4539 "RANLIB=$${RANLIB}" \
4540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4541 installcheck) \
4542 || exit 1
4543
4544 @endif bfd
4545
4546 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4547 maybe-mostlyclean-bfd:
4548 @if bfd
4549 maybe-mostlyclean-bfd: mostlyclean-bfd
4550
4551 mostlyclean-bfd:
4552 @[ -f ./bfd/Makefile ] || exit 0; \
4553 r=`${PWD_COMMAND}`; export r; \
4554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4555 $(HOST_EXPORTS) \
4556 for flag in $(EXTRA_HOST_FLAGS) ; do \
4557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4558 done; \
4559 echo "Doing mostlyclean in bfd"; \
4560 (cd $(HOST_SUBDIR)/bfd && \
4561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4563 "RANLIB=$${RANLIB}" \
4564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4565 mostlyclean) \
4566 || exit 1
4567
4568 @endif bfd
4569
4570 .PHONY: maybe-clean-bfd clean-bfd
4571 maybe-clean-bfd:
4572 @if bfd
4573 maybe-clean-bfd: clean-bfd
4574
4575 clean-bfd:
4576 @[ -f ./bfd/Makefile ] || exit 0; \
4577 r=`${PWD_COMMAND}`; export r; \
4578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4579 $(HOST_EXPORTS) \
4580 for flag in $(EXTRA_HOST_FLAGS) ; do \
4581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4582 done; \
4583 echo "Doing clean in bfd"; \
4584 (cd $(HOST_SUBDIR)/bfd && \
4585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4587 "RANLIB=$${RANLIB}" \
4588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4589 clean) \
4590 || exit 1
4591
4592 @endif bfd
4593
4594 .PHONY: maybe-distclean-bfd distclean-bfd
4595 maybe-distclean-bfd:
4596 @if bfd
4597 maybe-distclean-bfd: distclean-bfd
4598
4599 distclean-bfd:
4600 @[ -f ./bfd/Makefile ] || exit 0; \
4601 r=`${PWD_COMMAND}`; export r; \
4602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4603 $(HOST_EXPORTS) \
4604 for flag in $(EXTRA_HOST_FLAGS) ; do \
4605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4606 done; \
4607 echo "Doing distclean in bfd"; \
4608 (cd $(HOST_SUBDIR)/bfd && \
4609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4611 "RANLIB=$${RANLIB}" \
4612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4613 distclean) \
4614 || exit 1
4615
4616 @endif bfd
4617
4618 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4619 maybe-maintainer-clean-bfd:
4620 @if bfd
4621 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4622
4623 maintainer-clean-bfd:
4624 @[ -f ./bfd/Makefile ] || exit 0; \
4625 r=`${PWD_COMMAND}`; export r; \
4626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4627 $(HOST_EXPORTS) \
4628 for flag in $(EXTRA_HOST_FLAGS) ; do \
4629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4630 done; \
4631 echo "Doing maintainer-clean in bfd"; \
4632 (cd $(HOST_SUBDIR)/bfd && \
4633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4635 "RANLIB=$${RANLIB}" \
4636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4637 maintainer-clean) \
4638 || exit 1
4639
4640 @endif bfd
4641
4642
4643
4644 .PHONY: configure-opcodes maybe-configure-opcodes
4645 maybe-configure-opcodes:
4646 @if gcc-bootstrap
4647 configure-opcodes: stage_current
4648 @endif gcc-bootstrap
4649 @if opcodes
4650 maybe-configure-opcodes: configure-opcodes
4651 configure-opcodes:
4652 @r=`${PWD_COMMAND}`; export r; \
4653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4654 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4656 $(HOST_EXPORTS) \
4657 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4658 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4659 case $(srcdir) in \
4660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4661 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4663 esac; \
4664 module_srcdir=opcodes; \
4665 $(SHELL) \
4666 $$s/$$module_srcdir/configure \
4667 --srcdir=$${topdir}/$$module_srcdir \
4668 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4669 --target=${target_alias} \
4670 || exit 1
4671 @endif opcodes
4672
4673
4674
4675 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4676 maybe-configure-stage1-opcodes:
4677 @if opcodes-bootstrap
4678 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4679 configure-stage1-opcodes:
4680 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4681 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4682 @r=`${PWD_COMMAND}`; export r; \
4683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4684 TFLAGS="$(STAGE1_TFLAGS)"; \
4685 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4686 $(HOST_EXPORTS) \
4687 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4688 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4689 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4690 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes; \
4691 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4692 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4693 case $(srcdir) in \
4694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4695 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4697 esac; \
4698 module_srcdir=opcodes; \
4699 $(SHELL) $$s/$$module_srcdir/configure \
4700 --srcdir=$${topdir}/$$module_srcdir \
4701 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4702 --target=${target_alias} \
4703 \
4704 $(STAGE1_CONFIGURE_FLAGS)
4705 @endif opcodes-bootstrap
4706
4707 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4708 maybe-configure-stage2-opcodes:
4709 @if opcodes-bootstrap
4710 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4711 configure-stage2-opcodes:
4712 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4713 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4714 @r=`${PWD_COMMAND}`; export r; \
4715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4716 TFLAGS="$(STAGE2_TFLAGS)"; \
4717 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4718 $(HOST_EXPORTS) \
4719 $(POSTSTAGE1_HOST_EXPORTS) \
4720 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4721 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4722 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4723 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes; \
4724 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4725 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4726 case $(srcdir) in \
4727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4728 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4730 esac; \
4731 module_srcdir=opcodes; \
4732 $(SHELL) $$s/$$module_srcdir/configure \
4733 --srcdir=$${topdir}/$$module_srcdir \
4734 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4735 --target=${target_alias} \
4736 --with-build-libsubdir=$(HOST_SUBDIR) \
4737 $(STAGE2_CONFIGURE_FLAGS)
4738 @endif opcodes-bootstrap
4739
4740 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4741 maybe-configure-stage3-opcodes:
4742 @if opcodes-bootstrap
4743 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4744 configure-stage3-opcodes:
4745 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4746 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4747 @r=`${PWD_COMMAND}`; export r; \
4748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4749 TFLAGS="$(STAGE3_TFLAGS)"; \
4750 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4751 $(HOST_EXPORTS) \
4752 $(POSTSTAGE1_HOST_EXPORTS) \
4753 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4754 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4755 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4756 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes; \
4757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4758 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4759 case $(srcdir) in \
4760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4761 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4763 esac; \
4764 module_srcdir=opcodes; \
4765 $(SHELL) $$s/$$module_srcdir/configure \
4766 --srcdir=$${topdir}/$$module_srcdir \
4767 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4768 --target=${target_alias} \
4769 --with-build-libsubdir=$(HOST_SUBDIR) \
4770 $(STAGE3_CONFIGURE_FLAGS)
4771 @endif opcodes-bootstrap
4772
4773 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4774 maybe-configure-stage4-opcodes:
4775 @if opcodes-bootstrap
4776 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4777 configure-stage4-opcodes:
4778 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4779 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4780 @r=`${PWD_COMMAND}`; export r; \
4781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4782 TFLAGS="$(STAGE4_TFLAGS)"; \
4783 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4784 $(HOST_EXPORTS) \
4785 $(POSTSTAGE1_HOST_EXPORTS) \
4786 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4787 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4788 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4789 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes; \
4790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4791 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4792 case $(srcdir) in \
4793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4794 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4796 esac; \
4797 module_srcdir=opcodes; \
4798 $(SHELL) $$s/$$module_srcdir/configure \
4799 --srcdir=$${topdir}/$$module_srcdir \
4800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4801 --target=${target_alias} \
4802 --with-build-libsubdir=$(HOST_SUBDIR) \
4803 $(STAGE4_CONFIGURE_FLAGS)
4804 @endif opcodes-bootstrap
4805
4806 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4807 maybe-configure-stageprofile-opcodes:
4808 @if opcodes-bootstrap
4809 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4810 configure-stageprofile-opcodes:
4811 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4812 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4813 @r=`${PWD_COMMAND}`; export r; \
4814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4815 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4816 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4817 $(HOST_EXPORTS) \
4818 $(POSTSTAGE1_HOST_EXPORTS) \
4819 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4820 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4821 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4822 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes; \
4823 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4824 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4825 case $(srcdir) in \
4826 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4827 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4828 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4829 esac; \
4830 module_srcdir=opcodes; \
4831 $(SHELL) $$s/$$module_srcdir/configure \
4832 --srcdir=$${topdir}/$$module_srcdir \
4833 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4834 --target=${target_alias} \
4835 --with-build-libsubdir=$(HOST_SUBDIR) \
4836 $(STAGEprofile_CONFIGURE_FLAGS)
4837 @endif opcodes-bootstrap
4838
4839 .PHONY: configure-stagetrain-opcodes maybe-configure-stagetrain-opcodes
4840 maybe-configure-stagetrain-opcodes:
4841 @if opcodes-bootstrap
4842 maybe-configure-stagetrain-opcodes: configure-stagetrain-opcodes
4843 configure-stagetrain-opcodes:
4844 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
4845 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4846 @r=`${PWD_COMMAND}`; export r; \
4847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4848 TFLAGS="$(STAGEtrain_TFLAGS)"; \
4849 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4850 $(HOST_EXPORTS) \
4851 $(POSTSTAGE1_HOST_EXPORTS) \
4852 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
4853 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
4854 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
4855 echo Configuring stage train in $(HOST_SUBDIR)/opcodes; \
4856 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4857 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4858 case $(srcdir) in \
4859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4860 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4862 esac; \
4863 module_srcdir=opcodes; \
4864 $(SHELL) $$s/$$module_srcdir/configure \
4865 --srcdir=$${topdir}/$$module_srcdir \
4866 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4867 --target=${target_alias} \
4868 --with-build-libsubdir=$(HOST_SUBDIR) \
4869 $(STAGEtrain_CONFIGURE_FLAGS)
4870 @endif opcodes-bootstrap
4871
4872 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4873 maybe-configure-stagefeedback-opcodes:
4874 @if opcodes-bootstrap
4875 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4876 configure-stagefeedback-opcodes:
4877 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4878 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4879 @r=`${PWD_COMMAND}`; export r; \
4880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4881 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4882 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4883 $(HOST_EXPORTS) \
4884 $(POSTSTAGE1_HOST_EXPORTS) \
4885 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4886 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4887 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4888 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes; \
4889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4890 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4891 case $(srcdir) in \
4892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4893 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4895 esac; \
4896 module_srcdir=opcodes; \
4897 $(SHELL) $$s/$$module_srcdir/configure \
4898 --srcdir=$${topdir}/$$module_srcdir \
4899 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4900 --target=${target_alias} \
4901 --with-build-libsubdir=$(HOST_SUBDIR) \
4902 $(STAGEfeedback_CONFIGURE_FLAGS)
4903 @endif opcodes-bootstrap
4904
4905 .PHONY: configure-stageautoprofile-opcodes maybe-configure-stageautoprofile-opcodes
4906 maybe-configure-stageautoprofile-opcodes:
4907 @if opcodes-bootstrap
4908 maybe-configure-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
4909 configure-stageautoprofile-opcodes:
4910 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
4911 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4912 @r=`${PWD_COMMAND}`; export r; \
4913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4914 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
4915 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4916 $(HOST_EXPORTS) \
4917 $(POSTSTAGE1_HOST_EXPORTS) \
4918 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
4919 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
4920 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
4921 echo Configuring stage autoprofile in $(HOST_SUBDIR)/opcodes; \
4922 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4923 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4924 case $(srcdir) in \
4925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4926 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4928 esac; \
4929 module_srcdir=opcodes; \
4930 $(SHELL) $$s/$$module_srcdir/configure \
4931 --srcdir=$${topdir}/$$module_srcdir \
4932 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4933 --target=${target_alias} \
4934 --with-build-libsubdir=$(HOST_SUBDIR) \
4935 $(STAGEautoprofile_CONFIGURE_FLAGS)
4936 @endif opcodes-bootstrap
4937
4938 .PHONY: configure-stageautofeedback-opcodes maybe-configure-stageautofeedback-opcodes
4939 maybe-configure-stageautofeedback-opcodes:
4940 @if opcodes-bootstrap
4941 maybe-configure-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
4942 configure-stageautofeedback-opcodes:
4943 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
4944 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4945 @r=`${PWD_COMMAND}`; export r; \
4946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4947 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
4948 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4949 $(HOST_EXPORTS) \
4950 $(POSTSTAGE1_HOST_EXPORTS) \
4951 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
4952 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
4953 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
4954 echo Configuring stage autofeedback in $(HOST_SUBDIR)/opcodes; \
4955 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes; \
4956 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4957 case $(srcdir) in \
4958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4959 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4961 esac; \
4962 module_srcdir=opcodes; \
4963 $(SHELL) $$s/$$module_srcdir/configure \
4964 --srcdir=$${topdir}/$$module_srcdir \
4965 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4966 --target=${target_alias} \
4967 --with-build-libsubdir=$(HOST_SUBDIR) \
4968 $(STAGEautofeedback_CONFIGURE_FLAGS)
4969 @endif opcodes-bootstrap
4970
4971
4972
4973
4974
4975 .PHONY: all-opcodes maybe-all-opcodes
4976 maybe-all-opcodes:
4977 @if gcc-bootstrap
4978 all-opcodes: stage_current
4979 @endif gcc-bootstrap
4980 @if opcodes
4981 TARGET-opcodes=all
4982 maybe-all-opcodes: all-opcodes
4983 all-opcodes: configure-opcodes
4984 @r=`${PWD_COMMAND}`; export r; \
4985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4986 $(HOST_EXPORTS) \
4987 (cd $(HOST_SUBDIR)/opcodes && \
4988 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4989 $(TARGET-opcodes))
4990 @endif opcodes
4991
4992
4993
4994 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4995 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4996 maybe-all-stage1-opcodes:
4997 maybe-clean-stage1-opcodes:
4998 @if opcodes-bootstrap
4999 maybe-all-stage1-opcodes: all-stage1-opcodes
5000 all-stage1: all-stage1-opcodes
5001 TARGET-stage1-opcodes = $(TARGET-opcodes)
5002 all-stage1-opcodes: configure-stage1-opcodes
5003 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5004 @r=`${PWD_COMMAND}`; export r; \
5005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5006 TFLAGS="$(STAGE1_TFLAGS)"; \
5007 $(HOST_EXPORTS) \
5008 cd $(HOST_SUBDIR)/opcodes && \
5009 \
5010 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5011 CFLAGS="$(STAGE1_CFLAGS)" \
5012 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
5013 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5014 LIBCFLAGS="$(LIBCFLAGS)" \
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) \
5019 $(STAGE1_FLAGS_TO_PASS) \
5020 TFLAGS="$(STAGE1_TFLAGS)" \
5021 $(TARGET-stage1-opcodes)
5022
5023 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5024 clean-stage1: clean-stage1-opcodes
5025 clean-stage1-opcodes:
5026 @if [ $(current_stage) = stage1 ]; then \
5027 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5028 else \
5029 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
5030 $(MAKE) stage1-start; \
5031 fi; \
5032 cd $(HOST_SUBDIR)/opcodes && \
5033 $(MAKE) $(EXTRA_HOST_FLAGS) \
5034 $(STAGE1_FLAGS_TO_PASS) clean
5035 @endif opcodes-bootstrap
5036
5037
5038 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5039 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5040 maybe-all-stage2-opcodes:
5041 maybe-clean-stage2-opcodes:
5042 @if opcodes-bootstrap
5043 maybe-all-stage2-opcodes: all-stage2-opcodes
5044 all-stage2: all-stage2-opcodes
5045 TARGET-stage2-opcodes = $(TARGET-opcodes)
5046 all-stage2-opcodes: configure-stage2-opcodes
5047 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5048 @r=`${PWD_COMMAND}`; export r; \
5049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5050 TFLAGS="$(STAGE2_TFLAGS)"; \
5051 $(HOST_EXPORTS) \
5052 $(POSTSTAGE1_HOST_EXPORTS) \
5053 cd $(HOST_SUBDIR)/opcodes && \
5054 \
5055 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5056 CFLAGS="$(STAGE2_CFLAGS)" \
5057 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
5058 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5059 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5060 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5061 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5062 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5063 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5064 TFLAGS="$(STAGE2_TFLAGS)" \
5065 $(TARGET-stage2-opcodes)
5066
5067 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5068 clean-stage2: clean-stage2-opcodes
5069 clean-stage2-opcodes:
5070 @if [ $(current_stage) = stage2 ]; then \
5071 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5072 else \
5073 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
5074 $(MAKE) stage2-start; \
5075 fi; \
5076 cd $(HOST_SUBDIR)/opcodes && \
5077 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5078 @endif opcodes-bootstrap
5079
5080
5081 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5082 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5083 maybe-all-stage3-opcodes:
5084 maybe-clean-stage3-opcodes:
5085 @if opcodes-bootstrap
5086 maybe-all-stage3-opcodes: all-stage3-opcodes
5087 all-stage3: all-stage3-opcodes
5088 TARGET-stage3-opcodes = $(TARGET-opcodes)
5089 all-stage3-opcodes: configure-stage3-opcodes
5090 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5091 @r=`${PWD_COMMAND}`; export r; \
5092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5093 TFLAGS="$(STAGE3_TFLAGS)"; \
5094 $(HOST_EXPORTS) \
5095 $(POSTSTAGE1_HOST_EXPORTS) \
5096 cd $(HOST_SUBDIR)/opcodes && \
5097 \
5098 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5099 CFLAGS="$(STAGE3_CFLAGS)" \
5100 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
5101 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5102 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5103 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5104 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5105 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5106 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5107 TFLAGS="$(STAGE3_TFLAGS)" \
5108 $(TARGET-stage3-opcodes)
5109
5110 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5111 clean-stage3: clean-stage3-opcodes
5112 clean-stage3-opcodes:
5113 @if [ $(current_stage) = stage3 ]; then \
5114 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5115 else \
5116 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
5117 $(MAKE) stage3-start; \
5118 fi; \
5119 cd $(HOST_SUBDIR)/opcodes && \
5120 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5121 @endif opcodes-bootstrap
5122
5123
5124 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5125 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5126 maybe-all-stage4-opcodes:
5127 maybe-clean-stage4-opcodes:
5128 @if opcodes-bootstrap
5129 maybe-all-stage4-opcodes: all-stage4-opcodes
5130 all-stage4: all-stage4-opcodes
5131 TARGET-stage4-opcodes = $(TARGET-opcodes)
5132 all-stage4-opcodes: configure-stage4-opcodes
5133 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5134 @r=`${PWD_COMMAND}`; export r; \
5135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5136 TFLAGS="$(STAGE4_TFLAGS)"; \
5137 $(HOST_EXPORTS) \
5138 $(POSTSTAGE1_HOST_EXPORTS) \
5139 cd $(HOST_SUBDIR)/opcodes && \
5140 \
5141 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5142 CFLAGS="$(STAGE4_CFLAGS)" \
5143 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
5144 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5145 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5146 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5147 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5148 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5149 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5150 TFLAGS="$(STAGE4_TFLAGS)" \
5151 $(TARGET-stage4-opcodes)
5152
5153 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5154 clean-stage4: clean-stage4-opcodes
5155 clean-stage4-opcodes:
5156 @if [ $(current_stage) = stage4 ]; then \
5157 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5158 else \
5159 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
5160 $(MAKE) stage4-start; \
5161 fi; \
5162 cd $(HOST_SUBDIR)/opcodes && \
5163 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5164 @endif opcodes-bootstrap
5165
5166
5167 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5168 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5169 maybe-all-stageprofile-opcodes:
5170 maybe-clean-stageprofile-opcodes:
5171 @if opcodes-bootstrap
5172 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5173 all-stageprofile: all-stageprofile-opcodes
5174 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5175 all-stageprofile-opcodes: configure-stageprofile-opcodes
5176 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5177 @r=`${PWD_COMMAND}`; export r; \
5178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5179 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5180 $(HOST_EXPORTS) \
5181 $(POSTSTAGE1_HOST_EXPORTS) \
5182 cd $(HOST_SUBDIR)/opcodes && \
5183 \
5184 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5185 CFLAGS="$(STAGEprofile_CFLAGS)" \
5186 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
5187 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5188 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5192 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5193 TFLAGS="$(STAGEprofile_TFLAGS)" \
5194 $(TARGET-stageprofile-opcodes)
5195
5196 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5197 clean-stageprofile: clean-stageprofile-opcodes
5198 clean-stageprofile-opcodes:
5199 @if [ $(current_stage) = stageprofile ]; then \
5200 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5201 else \
5202 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
5203 $(MAKE) stageprofile-start; \
5204 fi; \
5205 cd $(HOST_SUBDIR)/opcodes && \
5206 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5207 @endif opcodes-bootstrap
5208
5209
5210 .PHONY: all-stagetrain-opcodes maybe-all-stagetrain-opcodes
5211 .PHONY: clean-stagetrain-opcodes maybe-clean-stagetrain-opcodes
5212 maybe-all-stagetrain-opcodes:
5213 maybe-clean-stagetrain-opcodes:
5214 @if opcodes-bootstrap
5215 maybe-all-stagetrain-opcodes: all-stagetrain-opcodes
5216 all-stagetrain: all-stagetrain-opcodes
5217 TARGET-stagetrain-opcodes = $(TARGET-opcodes)
5218 all-stagetrain-opcodes: configure-stagetrain-opcodes
5219 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5220 @r=`${PWD_COMMAND}`; export r; \
5221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5222 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5223 $(HOST_EXPORTS) \
5224 $(POSTSTAGE1_HOST_EXPORTS) \
5225 cd $(HOST_SUBDIR)/opcodes && \
5226 \
5227 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5228 CFLAGS="$(STAGEtrain_CFLAGS)" \
5229 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
5230 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
5231 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
5232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5235 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5236 TFLAGS="$(STAGEtrain_TFLAGS)" \
5237 $(TARGET-stagetrain-opcodes)
5238
5239 maybe-clean-stagetrain-opcodes: clean-stagetrain-opcodes
5240 clean-stagetrain: clean-stagetrain-opcodes
5241 clean-stagetrain-opcodes:
5242 @if [ $(current_stage) = stagetrain ]; then \
5243 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5244 else \
5245 [ -f $(HOST_SUBDIR)/stagetrain-opcodes/Makefile ] || exit 0; \
5246 $(MAKE) stagetrain-start; \
5247 fi; \
5248 cd $(HOST_SUBDIR)/opcodes && \
5249 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5250 @endif opcodes-bootstrap
5251
5252
5253 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5254 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5255 maybe-all-stagefeedback-opcodes:
5256 maybe-clean-stagefeedback-opcodes:
5257 @if opcodes-bootstrap
5258 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5259 all-stagefeedback: all-stagefeedback-opcodes
5260 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5261 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5262 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5263 @r=`${PWD_COMMAND}`; export r; \
5264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5265 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5266 $(HOST_EXPORTS) \
5267 $(POSTSTAGE1_HOST_EXPORTS) \
5268 cd $(HOST_SUBDIR)/opcodes && \
5269 \
5270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5271 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5272 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
5273 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5274 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5275 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5276 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5277 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5278 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5279 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5280 $(TARGET-stagefeedback-opcodes)
5281
5282 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5283 clean-stagefeedback: clean-stagefeedback-opcodes
5284 clean-stagefeedback-opcodes:
5285 @if [ $(current_stage) = stagefeedback ]; then \
5286 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5287 else \
5288 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
5289 $(MAKE) stagefeedback-start; \
5290 fi; \
5291 cd $(HOST_SUBDIR)/opcodes && \
5292 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5293 @endif opcodes-bootstrap
5294
5295
5296 .PHONY: all-stageautoprofile-opcodes maybe-all-stageautoprofile-opcodes
5297 .PHONY: clean-stageautoprofile-opcodes maybe-clean-stageautoprofile-opcodes
5298 maybe-all-stageautoprofile-opcodes:
5299 maybe-clean-stageautoprofile-opcodes:
5300 @if opcodes-bootstrap
5301 maybe-all-stageautoprofile-opcodes: all-stageautoprofile-opcodes
5302 all-stageautoprofile: all-stageautoprofile-opcodes
5303 TARGET-stageautoprofile-opcodes = $(TARGET-opcodes)
5304 all-stageautoprofile-opcodes: configure-stageautoprofile-opcodes
5305 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
5306 @r=`${PWD_COMMAND}`; export r; \
5307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5308 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
5309 $(HOST_EXPORTS) \
5310 $(POSTSTAGE1_HOST_EXPORTS) \
5311 cd $(HOST_SUBDIR)/opcodes && \
5312 $$s/gcc/config/i386/$(AUTO_PROFILE) \
5313 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5314 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
5315 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
5316 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
5317 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
5318 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5319 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5320 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5321 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5322 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
5323 $(TARGET-stageautoprofile-opcodes)
5324
5325 maybe-clean-stageautoprofile-opcodes: clean-stageautoprofile-opcodes
5326 clean-stageautoprofile: clean-stageautoprofile-opcodes
5327 clean-stageautoprofile-opcodes:
5328 @if [ $(current_stage) = stageautoprofile ]; then \
5329 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5330 else \
5331 [ -f $(HOST_SUBDIR)/stageautoprofile-opcodes/Makefile ] || exit 0; \
5332 $(MAKE) stageautoprofile-start; \
5333 fi; \
5334 cd $(HOST_SUBDIR)/opcodes && \
5335 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5336 @endif opcodes-bootstrap
5337
5338
5339 .PHONY: all-stageautofeedback-opcodes maybe-all-stageautofeedback-opcodes
5340 .PHONY: clean-stageautofeedback-opcodes maybe-clean-stageautofeedback-opcodes
5341 maybe-all-stageautofeedback-opcodes:
5342 maybe-clean-stageautofeedback-opcodes:
5343 @if opcodes-bootstrap
5344 maybe-all-stageautofeedback-opcodes: all-stageautofeedback-opcodes
5345 all-stageautofeedback: all-stageautofeedback-opcodes
5346 TARGET-stageautofeedback-opcodes = $(TARGET-opcodes)
5347 all-stageautofeedback-opcodes: configure-stageautofeedback-opcodes
5348 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
5349 @r=`${PWD_COMMAND}`; export r; \
5350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5351 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
5352 $(HOST_EXPORTS) \
5353 $(POSTSTAGE1_HOST_EXPORTS) \
5354 cd $(HOST_SUBDIR)/opcodes && \
5355 \
5356 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5357 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
5358 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
5359 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
5360 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
5361 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5362 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5363 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5364 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5365 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
5366 $(TARGET-stageautofeedback-opcodes)
5367
5368 maybe-clean-stageautofeedback-opcodes: clean-stageautofeedback-opcodes
5369 clean-stageautofeedback: clean-stageautofeedback-opcodes
5370 clean-stageautofeedback-opcodes:
5371 @if [ $(current_stage) = stageautofeedback ]; then \
5372 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5373 else \
5374 [ -f $(HOST_SUBDIR)/stageautofeedback-opcodes/Makefile ] || exit 0; \
5375 $(MAKE) stageautofeedback-start; \
5376 fi; \
5377 cd $(HOST_SUBDIR)/opcodes && \
5378 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5379 @endif opcodes-bootstrap
5380
5381
5382
5383
5384
5385 .PHONY: check-opcodes maybe-check-opcodes
5386 maybe-check-opcodes:
5387 @if opcodes
5388 maybe-check-opcodes: check-opcodes
5389
5390 check-opcodes:
5391 @: $(MAKE); $(unstage)
5392 @r=`${PWD_COMMAND}`; export r; \
5393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5394 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
5395 (cd $(HOST_SUBDIR)/opcodes && \
5396 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
5397
5398 @endif opcodes
5399
5400 .PHONY: install-opcodes maybe-install-opcodes
5401 maybe-install-opcodes:
5402 @if opcodes
5403 maybe-install-opcodes: install-opcodes
5404
5405 install-opcodes: installdirs
5406 @: $(MAKE); $(unstage)
5407 @r=`${PWD_COMMAND}`; export r; \
5408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5409 $(HOST_EXPORTS) \
5410 (cd $(HOST_SUBDIR)/opcodes && \
5411 $(MAKE) $(FLAGS_TO_PASS) install)
5412
5413 @endif opcodes
5414
5415 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
5416 maybe-install-strip-opcodes:
5417 @if opcodes
5418 maybe-install-strip-opcodes: install-strip-opcodes
5419
5420 install-strip-opcodes: installdirs
5421 @: $(MAKE); $(unstage)
5422 @r=`${PWD_COMMAND}`; export r; \
5423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5424 $(HOST_EXPORTS) \
5425 (cd $(HOST_SUBDIR)/opcodes && \
5426 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5427
5428 @endif opcodes
5429
5430 # Other targets (info, dvi, pdf, etc.)
5431
5432 .PHONY: maybe-info-opcodes info-opcodes
5433 maybe-info-opcodes:
5434 @if opcodes
5435 maybe-info-opcodes: info-opcodes
5436
5437 info-opcodes: \
5438 configure-opcodes
5439 @[ -f ./opcodes/Makefile ] || exit 0; \
5440 r=`${PWD_COMMAND}`; export r; \
5441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5442 $(HOST_EXPORTS) \
5443 for flag in $(EXTRA_HOST_FLAGS) ; do \
5444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5445 done; \
5446 echo "Doing info in opcodes"; \
5447 (cd $(HOST_SUBDIR)/opcodes && \
5448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5450 "RANLIB=$${RANLIB}" \
5451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5452 info) \
5453 || exit 1
5454
5455 @endif opcodes
5456
5457 .PHONY: maybe-dvi-opcodes dvi-opcodes
5458 maybe-dvi-opcodes:
5459 @if opcodes
5460 maybe-dvi-opcodes: dvi-opcodes
5461
5462 dvi-opcodes: \
5463 configure-opcodes
5464 @[ -f ./opcodes/Makefile ] || exit 0; \
5465 r=`${PWD_COMMAND}`; export r; \
5466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5467 $(HOST_EXPORTS) \
5468 for flag in $(EXTRA_HOST_FLAGS) ; do \
5469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5470 done; \
5471 echo "Doing dvi in opcodes"; \
5472 (cd $(HOST_SUBDIR)/opcodes && \
5473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5475 "RANLIB=$${RANLIB}" \
5476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5477 dvi) \
5478 || exit 1
5479
5480 @endif opcodes
5481
5482 .PHONY: maybe-pdf-opcodes pdf-opcodes
5483 maybe-pdf-opcodes:
5484 @if opcodes
5485 maybe-pdf-opcodes: pdf-opcodes
5486
5487 pdf-opcodes: \
5488 configure-opcodes
5489 @[ -f ./opcodes/Makefile ] || exit 0; \
5490 r=`${PWD_COMMAND}`; export r; \
5491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5492 $(HOST_EXPORTS) \
5493 for flag in $(EXTRA_HOST_FLAGS) ; do \
5494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5495 done; \
5496 echo "Doing pdf in opcodes"; \
5497 (cd $(HOST_SUBDIR)/opcodes && \
5498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5500 "RANLIB=$${RANLIB}" \
5501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5502 pdf) \
5503 || exit 1
5504
5505 @endif opcodes
5506
5507 .PHONY: maybe-html-opcodes html-opcodes
5508 maybe-html-opcodes:
5509 @if opcodes
5510 maybe-html-opcodes: html-opcodes
5511
5512 html-opcodes: \
5513 configure-opcodes
5514 @[ -f ./opcodes/Makefile ] || exit 0; \
5515 r=`${PWD_COMMAND}`; export r; \
5516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5517 $(HOST_EXPORTS) \
5518 for flag in $(EXTRA_HOST_FLAGS) ; do \
5519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5520 done; \
5521 echo "Doing html in opcodes"; \
5522 (cd $(HOST_SUBDIR)/opcodes && \
5523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5525 "RANLIB=$${RANLIB}" \
5526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5527 html) \
5528 || exit 1
5529
5530 @endif opcodes
5531
5532 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5533 maybe-TAGS-opcodes:
5534 @if opcodes
5535 maybe-TAGS-opcodes: TAGS-opcodes
5536
5537 TAGS-opcodes: \
5538 configure-opcodes
5539 @[ -f ./opcodes/Makefile ] || exit 0; \
5540 r=`${PWD_COMMAND}`; export r; \
5541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5542 $(HOST_EXPORTS) \
5543 for flag in $(EXTRA_HOST_FLAGS) ; do \
5544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5545 done; \
5546 echo "Doing TAGS in opcodes"; \
5547 (cd $(HOST_SUBDIR)/opcodes && \
5548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5550 "RANLIB=$${RANLIB}" \
5551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5552 TAGS) \
5553 || exit 1
5554
5555 @endif opcodes
5556
5557 .PHONY: maybe-install-info-opcodes install-info-opcodes
5558 maybe-install-info-opcodes:
5559 @if opcodes
5560 maybe-install-info-opcodes: install-info-opcodes
5561
5562 install-info-opcodes: \
5563 configure-opcodes \
5564 info-opcodes
5565 @[ -f ./opcodes/Makefile ] || exit 0; \
5566 r=`${PWD_COMMAND}`; export r; \
5567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5568 $(HOST_EXPORTS) \
5569 for flag in $(EXTRA_HOST_FLAGS) ; do \
5570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5571 done; \
5572 echo "Doing install-info in opcodes"; \
5573 (cd $(HOST_SUBDIR)/opcodes && \
5574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5576 "RANLIB=$${RANLIB}" \
5577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5578 install-info) \
5579 || exit 1
5580
5581 @endif opcodes
5582
5583 .PHONY: maybe-install-dvi-opcodes install-dvi-opcodes
5584 maybe-install-dvi-opcodes:
5585 @if opcodes
5586 maybe-install-dvi-opcodes: install-dvi-opcodes
5587
5588 install-dvi-opcodes: \
5589 configure-opcodes \
5590 dvi-opcodes
5591 @[ -f ./opcodes/Makefile ] || exit 0; \
5592 r=`${PWD_COMMAND}`; export r; \
5593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5594 $(HOST_EXPORTS) \
5595 for flag in $(EXTRA_HOST_FLAGS) ; do \
5596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5597 done; \
5598 echo "Doing install-dvi in opcodes"; \
5599 (cd $(HOST_SUBDIR)/opcodes && \
5600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5602 "RANLIB=$${RANLIB}" \
5603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5604 install-dvi) \
5605 || exit 1
5606
5607 @endif opcodes
5608
5609 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
5610 maybe-install-pdf-opcodes:
5611 @if opcodes
5612 maybe-install-pdf-opcodes: install-pdf-opcodes
5613
5614 install-pdf-opcodes: \
5615 configure-opcodes \
5616 pdf-opcodes
5617 @[ -f ./opcodes/Makefile ] || exit 0; \
5618 r=`${PWD_COMMAND}`; export r; \
5619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5620 $(HOST_EXPORTS) \
5621 for flag in $(EXTRA_HOST_FLAGS) ; do \
5622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5623 done; \
5624 echo "Doing install-pdf in opcodes"; \
5625 (cd $(HOST_SUBDIR)/opcodes && \
5626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5628 "RANLIB=$${RANLIB}" \
5629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5630 install-pdf) \
5631 || exit 1
5632
5633 @endif opcodes
5634
5635 .PHONY: maybe-install-html-opcodes install-html-opcodes
5636 maybe-install-html-opcodes:
5637 @if opcodes
5638 maybe-install-html-opcodes: install-html-opcodes
5639
5640 install-html-opcodes: \
5641 configure-opcodes \
5642 html-opcodes
5643 @[ -f ./opcodes/Makefile ] || exit 0; \
5644 r=`${PWD_COMMAND}`; export r; \
5645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5646 $(HOST_EXPORTS) \
5647 for flag in $(EXTRA_HOST_FLAGS) ; do \
5648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5649 done; \
5650 echo "Doing install-html in opcodes"; \
5651 (cd $(HOST_SUBDIR)/opcodes && \
5652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5654 "RANLIB=$${RANLIB}" \
5655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5656 install-html) \
5657 || exit 1
5658
5659 @endif opcodes
5660
5661 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5662 maybe-installcheck-opcodes:
5663 @if opcodes
5664 maybe-installcheck-opcodes: installcheck-opcodes
5665
5666 installcheck-opcodes: \
5667 configure-opcodes
5668 @[ -f ./opcodes/Makefile ] || exit 0; \
5669 r=`${PWD_COMMAND}`; export r; \
5670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5671 $(HOST_EXPORTS) \
5672 for flag in $(EXTRA_HOST_FLAGS) ; do \
5673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5674 done; \
5675 echo "Doing installcheck in opcodes"; \
5676 (cd $(HOST_SUBDIR)/opcodes && \
5677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5679 "RANLIB=$${RANLIB}" \
5680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5681 installcheck) \
5682 || exit 1
5683
5684 @endif opcodes
5685
5686 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5687 maybe-mostlyclean-opcodes:
5688 @if opcodes
5689 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5690
5691 mostlyclean-opcodes:
5692 @[ -f ./opcodes/Makefile ] || exit 0; \
5693 r=`${PWD_COMMAND}`; export r; \
5694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5695 $(HOST_EXPORTS) \
5696 for flag in $(EXTRA_HOST_FLAGS) ; do \
5697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5698 done; \
5699 echo "Doing mostlyclean in opcodes"; \
5700 (cd $(HOST_SUBDIR)/opcodes && \
5701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5703 "RANLIB=$${RANLIB}" \
5704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5705 mostlyclean) \
5706 || exit 1
5707
5708 @endif opcodes
5709
5710 .PHONY: maybe-clean-opcodes clean-opcodes
5711 maybe-clean-opcodes:
5712 @if opcodes
5713 maybe-clean-opcodes: clean-opcodes
5714
5715 clean-opcodes:
5716 @[ -f ./opcodes/Makefile ] || exit 0; \
5717 r=`${PWD_COMMAND}`; export r; \
5718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5719 $(HOST_EXPORTS) \
5720 for flag in $(EXTRA_HOST_FLAGS) ; do \
5721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5722 done; \
5723 echo "Doing clean in opcodes"; \
5724 (cd $(HOST_SUBDIR)/opcodes && \
5725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5727 "RANLIB=$${RANLIB}" \
5728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5729 clean) \
5730 || exit 1
5731
5732 @endif opcodes
5733
5734 .PHONY: maybe-distclean-opcodes distclean-opcodes
5735 maybe-distclean-opcodes:
5736 @if opcodes
5737 maybe-distclean-opcodes: distclean-opcodes
5738
5739 distclean-opcodes:
5740 @[ -f ./opcodes/Makefile ] || exit 0; \
5741 r=`${PWD_COMMAND}`; export r; \
5742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5743 $(HOST_EXPORTS) \
5744 for flag in $(EXTRA_HOST_FLAGS) ; do \
5745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5746 done; \
5747 echo "Doing distclean in opcodes"; \
5748 (cd $(HOST_SUBDIR)/opcodes && \
5749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5751 "RANLIB=$${RANLIB}" \
5752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5753 distclean) \
5754 || exit 1
5755
5756 @endif opcodes
5757
5758 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5759 maybe-maintainer-clean-opcodes:
5760 @if opcodes
5761 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5762
5763 maintainer-clean-opcodes:
5764 @[ -f ./opcodes/Makefile ] || exit 0; \
5765 r=`${PWD_COMMAND}`; export r; \
5766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5767 $(HOST_EXPORTS) \
5768 for flag in $(EXTRA_HOST_FLAGS) ; do \
5769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5770 done; \
5771 echo "Doing maintainer-clean in opcodes"; \
5772 (cd $(HOST_SUBDIR)/opcodes && \
5773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5775 "RANLIB=$${RANLIB}" \
5776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5777 maintainer-clean) \
5778 || exit 1
5779
5780 @endif opcodes
5781
5782
5783
5784 .PHONY: configure-binutils maybe-configure-binutils
5785 maybe-configure-binutils:
5786 @if gcc-bootstrap
5787 configure-binutils: stage_current
5788 @endif gcc-bootstrap
5789 @if binutils
5790 maybe-configure-binutils: configure-binutils
5791 configure-binutils:
5792 @r=`${PWD_COMMAND}`; export r; \
5793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5794 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5796 $(HOST_EXPORTS) \
5797 echo Configuring in $(HOST_SUBDIR)/binutils; \
5798 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5799 case $(srcdir) in \
5800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5801 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5803 esac; \
5804 module_srcdir=binutils; \
5805 $(SHELL) \
5806 $$s/$$module_srcdir/configure \
5807 --srcdir=$${topdir}/$$module_srcdir \
5808 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5809 --target=${target_alias} \
5810 || exit 1
5811 @endif binutils
5812
5813
5814
5815 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5816 maybe-configure-stage1-binutils:
5817 @if binutils-bootstrap
5818 maybe-configure-stage1-binutils: configure-stage1-binutils
5819 configure-stage1-binutils:
5820 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5821 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5822 @r=`${PWD_COMMAND}`; export r; \
5823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5824 TFLAGS="$(STAGE1_TFLAGS)"; \
5825 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5826 $(HOST_EXPORTS) \
5827 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5828 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
5829 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
5830 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils; \
5831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5832 cd $(HOST_SUBDIR)/binutils || exit 1; \
5833 case $(srcdir) in \
5834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5835 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5837 esac; \
5838 module_srcdir=binutils; \
5839 $(SHELL) $$s/$$module_srcdir/configure \
5840 --srcdir=$${topdir}/$$module_srcdir \
5841 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5842 --target=${target_alias} \
5843 \
5844 $(STAGE1_CONFIGURE_FLAGS)
5845 @endif binutils-bootstrap
5846
5847 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5848 maybe-configure-stage2-binutils:
5849 @if binutils-bootstrap
5850 maybe-configure-stage2-binutils: configure-stage2-binutils
5851 configure-stage2-binutils:
5852 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5853 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5854 @r=`${PWD_COMMAND}`; export r; \
5855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5856 TFLAGS="$(STAGE2_TFLAGS)"; \
5857 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5858 $(HOST_EXPORTS) \
5859 $(POSTSTAGE1_HOST_EXPORTS) \
5860 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5861 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
5862 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
5863 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils; \
5864 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5865 cd $(HOST_SUBDIR)/binutils || exit 1; \
5866 case $(srcdir) in \
5867 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5868 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5869 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5870 esac; \
5871 module_srcdir=binutils; \
5872 $(SHELL) $$s/$$module_srcdir/configure \
5873 --srcdir=$${topdir}/$$module_srcdir \
5874 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5875 --target=${target_alias} \
5876 --with-build-libsubdir=$(HOST_SUBDIR) \
5877 $(STAGE2_CONFIGURE_FLAGS)
5878 @endif binutils-bootstrap
5879
5880 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5881 maybe-configure-stage3-binutils:
5882 @if binutils-bootstrap
5883 maybe-configure-stage3-binutils: configure-stage3-binutils
5884 configure-stage3-binutils:
5885 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5886 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5887 @r=`${PWD_COMMAND}`; export r; \
5888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5889 TFLAGS="$(STAGE3_TFLAGS)"; \
5890 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5891 $(HOST_EXPORTS) \
5892 $(POSTSTAGE1_HOST_EXPORTS) \
5893 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5894 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
5895 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
5896 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils; \
5897 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5898 cd $(HOST_SUBDIR)/binutils || exit 1; \
5899 case $(srcdir) in \
5900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5901 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5903 esac; \
5904 module_srcdir=binutils; \
5905 $(SHELL) $$s/$$module_srcdir/configure \
5906 --srcdir=$${topdir}/$$module_srcdir \
5907 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5908 --target=${target_alias} \
5909 --with-build-libsubdir=$(HOST_SUBDIR) \
5910 $(STAGE3_CONFIGURE_FLAGS)
5911 @endif binutils-bootstrap
5912
5913 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5914 maybe-configure-stage4-binutils:
5915 @if binutils-bootstrap
5916 maybe-configure-stage4-binutils: configure-stage4-binutils
5917 configure-stage4-binutils:
5918 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5919 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5920 @r=`${PWD_COMMAND}`; export r; \
5921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5922 TFLAGS="$(STAGE4_TFLAGS)"; \
5923 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5924 $(HOST_EXPORTS) \
5925 $(POSTSTAGE1_HOST_EXPORTS) \
5926 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5927 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5928 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5929 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils; \
5930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5931 cd $(HOST_SUBDIR)/binutils || exit 1; \
5932 case $(srcdir) in \
5933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5934 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5936 esac; \
5937 module_srcdir=binutils; \
5938 $(SHELL) $$s/$$module_srcdir/configure \
5939 --srcdir=$${topdir}/$$module_srcdir \
5940 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5941 --target=${target_alias} \
5942 --with-build-libsubdir=$(HOST_SUBDIR) \
5943 $(STAGE4_CONFIGURE_FLAGS)
5944 @endif binutils-bootstrap
5945
5946 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5947 maybe-configure-stageprofile-binutils:
5948 @if binutils-bootstrap
5949 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5950 configure-stageprofile-binutils:
5951 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5952 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5953 @r=`${PWD_COMMAND}`; export r; \
5954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5955 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5956 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5957 $(HOST_EXPORTS) \
5958 $(POSTSTAGE1_HOST_EXPORTS) \
5959 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5960 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5961 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5962 echo Configuring stage profile in $(HOST_SUBDIR)/binutils; \
5963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5964 cd $(HOST_SUBDIR)/binutils || exit 1; \
5965 case $(srcdir) in \
5966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5967 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5969 esac; \
5970 module_srcdir=binutils; \
5971 $(SHELL) $$s/$$module_srcdir/configure \
5972 --srcdir=$${topdir}/$$module_srcdir \
5973 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5974 --target=${target_alias} \
5975 --with-build-libsubdir=$(HOST_SUBDIR) \
5976 $(STAGEprofile_CONFIGURE_FLAGS)
5977 @endif binutils-bootstrap
5978
5979 .PHONY: configure-stagetrain-binutils maybe-configure-stagetrain-binutils
5980 maybe-configure-stagetrain-binutils:
5981 @if binutils-bootstrap
5982 maybe-configure-stagetrain-binutils: configure-stagetrain-binutils
5983 configure-stagetrain-binutils:
5984 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
5985 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5986 @r=`${PWD_COMMAND}`; export r; \
5987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5988 TFLAGS="$(STAGEtrain_TFLAGS)"; \
5989 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5990 $(HOST_EXPORTS) \
5991 $(POSTSTAGE1_HOST_EXPORTS) \
5992 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
5993 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
5994 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
5995 echo Configuring stage train in $(HOST_SUBDIR)/binutils; \
5996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
5997 cd $(HOST_SUBDIR)/binutils || exit 1; \
5998 case $(srcdir) in \
5999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6000 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6002 esac; \
6003 module_srcdir=binutils; \
6004 $(SHELL) $$s/$$module_srcdir/configure \
6005 --srcdir=$${topdir}/$$module_srcdir \
6006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6007 --target=${target_alias} \
6008 --with-build-libsubdir=$(HOST_SUBDIR) \
6009 $(STAGEtrain_CONFIGURE_FLAGS)
6010 @endif binutils-bootstrap
6011
6012 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
6013 maybe-configure-stagefeedback-binutils:
6014 @if binutils-bootstrap
6015 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
6016 configure-stagefeedback-binutils:
6017 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6019 @r=`${PWD_COMMAND}`; export r; \
6020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6021 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6022 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6023 $(HOST_EXPORTS) \
6024 $(POSTSTAGE1_HOST_EXPORTS) \
6025 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
6026 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
6027 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
6028 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils; \
6029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
6030 cd $(HOST_SUBDIR)/binutils || exit 1; \
6031 case $(srcdir) in \
6032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6033 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6035 esac; \
6036 module_srcdir=binutils; \
6037 $(SHELL) $$s/$$module_srcdir/configure \
6038 --srcdir=$${topdir}/$$module_srcdir \
6039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6040 --target=${target_alias} \
6041 --with-build-libsubdir=$(HOST_SUBDIR) \
6042 $(STAGEfeedback_CONFIGURE_FLAGS)
6043 @endif binutils-bootstrap
6044
6045 .PHONY: configure-stageautoprofile-binutils maybe-configure-stageautoprofile-binutils
6046 maybe-configure-stageautoprofile-binutils:
6047 @if binutils-bootstrap
6048 maybe-configure-stageautoprofile-binutils: configure-stageautoprofile-binutils
6049 configure-stageautoprofile-binutils:
6050 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
6051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6052 @r=`${PWD_COMMAND}`; export r; \
6053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6054 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
6055 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6056 $(HOST_EXPORTS) \
6057 $(POSTSTAGE1_HOST_EXPORTS) \
6058 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
6059 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
6060 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
6061 echo Configuring stage autoprofile in $(HOST_SUBDIR)/binutils; \
6062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
6063 cd $(HOST_SUBDIR)/binutils || exit 1; \
6064 case $(srcdir) in \
6065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6066 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6068 esac; \
6069 module_srcdir=binutils; \
6070 $(SHELL) $$s/$$module_srcdir/configure \
6071 --srcdir=$${topdir}/$$module_srcdir \
6072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6073 --target=${target_alias} \
6074 --with-build-libsubdir=$(HOST_SUBDIR) \
6075 $(STAGEautoprofile_CONFIGURE_FLAGS)
6076 @endif binutils-bootstrap
6077
6078 .PHONY: configure-stageautofeedback-binutils maybe-configure-stageautofeedback-binutils
6079 maybe-configure-stageautofeedback-binutils:
6080 @if binutils-bootstrap
6081 maybe-configure-stageautofeedback-binutils: configure-stageautofeedback-binutils
6082 configure-stageautofeedback-binutils:
6083 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
6084 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6085 @r=`${PWD_COMMAND}`; export r; \
6086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6087 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
6088 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6089 $(HOST_EXPORTS) \
6090 $(POSTSTAGE1_HOST_EXPORTS) \
6091 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
6092 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
6093 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
6094 echo Configuring stage autofeedback in $(HOST_SUBDIR)/binutils; \
6095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils; \
6096 cd $(HOST_SUBDIR)/binutils || exit 1; \
6097 case $(srcdir) in \
6098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6099 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6101 esac; \
6102 module_srcdir=binutils; \
6103 $(SHELL) $$s/$$module_srcdir/configure \
6104 --srcdir=$${topdir}/$$module_srcdir \
6105 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6106 --target=${target_alias} \
6107 --with-build-libsubdir=$(HOST_SUBDIR) \
6108 $(STAGEautofeedback_CONFIGURE_FLAGS)
6109 @endif binutils-bootstrap
6110
6111
6112
6113
6114
6115 .PHONY: all-binutils maybe-all-binutils
6116 maybe-all-binutils:
6117 @if gcc-bootstrap
6118 all-binutils: stage_current
6119 @endif gcc-bootstrap
6120 @if binutils
6121 TARGET-binutils=all
6122 maybe-all-binutils: all-binutils
6123 all-binutils: configure-binutils
6124 @r=`${PWD_COMMAND}`; export r; \
6125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6126 $(HOST_EXPORTS) \
6127 (cd $(HOST_SUBDIR)/binutils && \
6128 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6129 $(TARGET-binutils))
6130 @endif binutils
6131
6132
6133
6134 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
6135 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
6136 maybe-all-stage1-binutils:
6137 maybe-clean-stage1-binutils:
6138 @if binutils-bootstrap
6139 maybe-all-stage1-binutils: all-stage1-binutils
6140 all-stage1: all-stage1-binutils
6141 TARGET-stage1-binutils = $(TARGET-binutils)
6142 all-stage1-binutils: configure-stage1-binutils
6143 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6144 @r=`${PWD_COMMAND}`; export r; \
6145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6146 TFLAGS="$(STAGE1_TFLAGS)"; \
6147 $(HOST_EXPORTS) \
6148 cd $(HOST_SUBDIR)/binutils && \
6149 \
6150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6151 CFLAGS="$(STAGE1_CFLAGS)" \
6152 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
6153 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
6154 LIBCFLAGS="$(LIBCFLAGS)" \
6155 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6156 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6157 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6158 $(EXTRA_HOST_FLAGS) \
6159 $(STAGE1_FLAGS_TO_PASS) \
6160 TFLAGS="$(STAGE1_TFLAGS)" \
6161 $(TARGET-stage1-binutils)
6162
6163 maybe-clean-stage1-binutils: clean-stage1-binutils
6164 clean-stage1: clean-stage1-binutils
6165 clean-stage1-binutils:
6166 @if [ $(current_stage) = stage1 ]; then \
6167 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6168 else \
6169 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
6170 $(MAKE) stage1-start; \
6171 fi; \
6172 cd $(HOST_SUBDIR)/binutils && \
6173 $(MAKE) $(EXTRA_HOST_FLAGS) \
6174 $(STAGE1_FLAGS_TO_PASS) clean
6175 @endif binutils-bootstrap
6176
6177
6178 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
6179 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
6180 maybe-all-stage2-binutils:
6181 maybe-clean-stage2-binutils:
6182 @if binutils-bootstrap
6183 maybe-all-stage2-binutils: all-stage2-binutils
6184 all-stage2: all-stage2-binutils
6185 TARGET-stage2-binutils = $(TARGET-binutils)
6186 all-stage2-binutils: configure-stage2-binutils
6187 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6188 @r=`${PWD_COMMAND}`; export r; \
6189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6190 TFLAGS="$(STAGE2_TFLAGS)"; \
6191 $(HOST_EXPORTS) \
6192 $(POSTSTAGE1_HOST_EXPORTS) \
6193 cd $(HOST_SUBDIR)/binutils && \
6194 \
6195 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6196 CFLAGS="$(STAGE2_CFLAGS)" \
6197 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
6198 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
6199 LIBCFLAGS="$(STAGE2_CFLAGS)" \
6200 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6201 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6202 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6203 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6204 TFLAGS="$(STAGE2_TFLAGS)" \
6205 $(TARGET-stage2-binutils)
6206
6207 maybe-clean-stage2-binutils: clean-stage2-binutils
6208 clean-stage2: clean-stage2-binutils
6209 clean-stage2-binutils:
6210 @if [ $(current_stage) = stage2 ]; then \
6211 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6212 else \
6213 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
6214 $(MAKE) stage2-start; \
6215 fi; \
6216 cd $(HOST_SUBDIR)/binutils && \
6217 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6218 @endif binutils-bootstrap
6219
6220
6221 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
6222 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
6223 maybe-all-stage3-binutils:
6224 maybe-clean-stage3-binutils:
6225 @if binutils-bootstrap
6226 maybe-all-stage3-binutils: all-stage3-binutils
6227 all-stage3: all-stage3-binutils
6228 TARGET-stage3-binutils = $(TARGET-binutils)
6229 all-stage3-binutils: configure-stage3-binutils
6230 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6231 @r=`${PWD_COMMAND}`; export r; \
6232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6233 TFLAGS="$(STAGE3_TFLAGS)"; \
6234 $(HOST_EXPORTS) \
6235 $(POSTSTAGE1_HOST_EXPORTS) \
6236 cd $(HOST_SUBDIR)/binutils && \
6237 \
6238 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6239 CFLAGS="$(STAGE3_CFLAGS)" \
6240 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
6241 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
6242 LIBCFLAGS="$(STAGE3_CFLAGS)" \
6243 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6244 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6245 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6246 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6247 TFLAGS="$(STAGE3_TFLAGS)" \
6248 $(TARGET-stage3-binutils)
6249
6250 maybe-clean-stage3-binutils: clean-stage3-binutils
6251 clean-stage3: clean-stage3-binutils
6252 clean-stage3-binutils:
6253 @if [ $(current_stage) = stage3 ]; then \
6254 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6255 else \
6256 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
6257 $(MAKE) stage3-start; \
6258 fi; \
6259 cd $(HOST_SUBDIR)/binutils && \
6260 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6261 @endif binutils-bootstrap
6262
6263
6264 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
6265 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
6266 maybe-all-stage4-binutils:
6267 maybe-clean-stage4-binutils:
6268 @if binutils-bootstrap
6269 maybe-all-stage4-binutils: all-stage4-binutils
6270 all-stage4: all-stage4-binutils
6271 TARGET-stage4-binutils = $(TARGET-binutils)
6272 all-stage4-binutils: configure-stage4-binutils
6273 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6274 @r=`${PWD_COMMAND}`; export r; \
6275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6276 TFLAGS="$(STAGE4_TFLAGS)"; \
6277 $(HOST_EXPORTS) \
6278 $(POSTSTAGE1_HOST_EXPORTS) \
6279 cd $(HOST_SUBDIR)/binutils && \
6280 \
6281 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6282 CFLAGS="$(STAGE4_CFLAGS)" \
6283 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
6284 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
6285 LIBCFLAGS="$(STAGE4_CFLAGS)" \
6286 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6287 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6288 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6289 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6290 TFLAGS="$(STAGE4_TFLAGS)" \
6291 $(TARGET-stage4-binutils)
6292
6293 maybe-clean-stage4-binutils: clean-stage4-binutils
6294 clean-stage4: clean-stage4-binutils
6295 clean-stage4-binutils:
6296 @if [ $(current_stage) = stage4 ]; then \
6297 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6298 else \
6299 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
6300 $(MAKE) stage4-start; \
6301 fi; \
6302 cd $(HOST_SUBDIR)/binutils && \
6303 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6304 @endif binutils-bootstrap
6305
6306
6307 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6308 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6309 maybe-all-stageprofile-binutils:
6310 maybe-clean-stageprofile-binutils:
6311 @if binutils-bootstrap
6312 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6313 all-stageprofile: all-stageprofile-binutils
6314 TARGET-stageprofile-binutils = $(TARGET-binutils)
6315 all-stageprofile-binutils: configure-stageprofile-binutils
6316 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6317 @r=`${PWD_COMMAND}`; export r; \
6318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6319 TFLAGS="$(STAGEprofile_TFLAGS)"; \
6320 $(HOST_EXPORTS) \
6321 $(POSTSTAGE1_HOST_EXPORTS) \
6322 cd $(HOST_SUBDIR)/binutils && \
6323 \
6324 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6325 CFLAGS="$(STAGEprofile_CFLAGS)" \
6326 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
6327 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
6328 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
6329 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6330 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6331 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6332 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6333 TFLAGS="$(STAGEprofile_TFLAGS)" \
6334 $(TARGET-stageprofile-binutils)
6335
6336 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6337 clean-stageprofile: clean-stageprofile-binutils
6338 clean-stageprofile-binutils:
6339 @if [ $(current_stage) = stageprofile ]; then \
6340 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6341 else \
6342 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6343 $(MAKE) stageprofile-start; \
6344 fi; \
6345 cd $(HOST_SUBDIR)/binutils && \
6346 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6347 @endif binutils-bootstrap
6348
6349
6350 .PHONY: all-stagetrain-binutils maybe-all-stagetrain-binutils
6351 .PHONY: clean-stagetrain-binutils maybe-clean-stagetrain-binutils
6352 maybe-all-stagetrain-binutils:
6353 maybe-clean-stagetrain-binutils:
6354 @if binutils-bootstrap
6355 maybe-all-stagetrain-binutils: all-stagetrain-binutils
6356 all-stagetrain: all-stagetrain-binutils
6357 TARGET-stagetrain-binutils = $(TARGET-binutils)
6358 all-stagetrain-binutils: configure-stagetrain-binutils
6359 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
6360 @r=`${PWD_COMMAND}`; export r; \
6361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6362 TFLAGS="$(STAGEtrain_TFLAGS)"; \
6363 $(HOST_EXPORTS) \
6364 $(POSTSTAGE1_HOST_EXPORTS) \
6365 cd $(HOST_SUBDIR)/binutils && \
6366 \
6367 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6368 CFLAGS="$(STAGEtrain_CFLAGS)" \
6369 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
6370 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
6371 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
6372 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6373 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6374 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6375 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6376 TFLAGS="$(STAGEtrain_TFLAGS)" \
6377 $(TARGET-stagetrain-binutils)
6378
6379 maybe-clean-stagetrain-binutils: clean-stagetrain-binutils
6380 clean-stagetrain: clean-stagetrain-binutils
6381 clean-stagetrain-binutils:
6382 @if [ $(current_stage) = stagetrain ]; then \
6383 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6384 else \
6385 [ -f $(HOST_SUBDIR)/stagetrain-binutils/Makefile ] || exit 0; \
6386 $(MAKE) stagetrain-start; \
6387 fi; \
6388 cd $(HOST_SUBDIR)/binutils && \
6389 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6390 @endif binutils-bootstrap
6391
6392
6393 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6394 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6395 maybe-all-stagefeedback-binutils:
6396 maybe-clean-stagefeedback-binutils:
6397 @if binutils-bootstrap
6398 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6399 all-stagefeedback: all-stagefeedback-binutils
6400 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6401 all-stagefeedback-binutils: configure-stagefeedback-binutils
6402 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6403 @r=`${PWD_COMMAND}`; export r; \
6404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6405 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
6406 $(HOST_EXPORTS) \
6407 $(POSTSTAGE1_HOST_EXPORTS) \
6408 cd $(HOST_SUBDIR)/binutils && \
6409 \
6410 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6411 CFLAGS="$(STAGEfeedback_CFLAGS)" \
6412 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
6413 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
6414 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
6415 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6416 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6417 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6418 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6419 TFLAGS="$(STAGEfeedback_TFLAGS)" \
6420 $(TARGET-stagefeedback-binutils)
6421
6422 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6423 clean-stagefeedback: clean-stagefeedback-binutils
6424 clean-stagefeedback-binutils:
6425 @if [ $(current_stage) = stagefeedback ]; then \
6426 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6427 else \
6428 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6429 $(MAKE) stagefeedback-start; \
6430 fi; \
6431 cd $(HOST_SUBDIR)/binutils && \
6432 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6433 @endif binutils-bootstrap
6434
6435
6436 .PHONY: all-stageautoprofile-binutils maybe-all-stageautoprofile-binutils
6437 .PHONY: clean-stageautoprofile-binutils maybe-clean-stageautoprofile-binutils
6438 maybe-all-stageautoprofile-binutils:
6439 maybe-clean-stageautoprofile-binutils:
6440 @if binutils-bootstrap
6441 maybe-all-stageautoprofile-binutils: all-stageautoprofile-binutils
6442 all-stageautoprofile: all-stageautoprofile-binutils
6443 TARGET-stageautoprofile-binutils = $(TARGET-binutils)
6444 all-stageautoprofile-binutils: configure-stageautoprofile-binutils
6445 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
6446 @r=`${PWD_COMMAND}`; export r; \
6447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6448 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
6449 $(HOST_EXPORTS) \
6450 $(POSTSTAGE1_HOST_EXPORTS) \
6451 cd $(HOST_SUBDIR)/binutils && \
6452 $$s/gcc/config/i386/$(AUTO_PROFILE) \
6453 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6454 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
6455 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
6456 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
6457 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
6458 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6459 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6460 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6461 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6462 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
6463 $(TARGET-stageautoprofile-binutils)
6464
6465 maybe-clean-stageautoprofile-binutils: clean-stageautoprofile-binutils
6466 clean-stageautoprofile: clean-stageautoprofile-binutils
6467 clean-stageautoprofile-binutils:
6468 @if [ $(current_stage) = stageautoprofile ]; then \
6469 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6470 else \
6471 [ -f $(HOST_SUBDIR)/stageautoprofile-binutils/Makefile ] || exit 0; \
6472 $(MAKE) stageautoprofile-start; \
6473 fi; \
6474 cd $(HOST_SUBDIR)/binutils && \
6475 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6476 @endif binutils-bootstrap
6477
6478
6479 .PHONY: all-stageautofeedback-binutils maybe-all-stageautofeedback-binutils
6480 .PHONY: clean-stageautofeedback-binutils maybe-clean-stageautofeedback-binutils
6481 maybe-all-stageautofeedback-binutils:
6482 maybe-clean-stageautofeedback-binutils:
6483 @if binutils-bootstrap
6484 maybe-all-stageautofeedback-binutils: all-stageautofeedback-binutils
6485 all-stageautofeedback: all-stageautofeedback-binutils
6486 TARGET-stageautofeedback-binutils = $(TARGET-binutils)
6487 all-stageautofeedback-binutils: configure-stageautofeedback-binutils
6488 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
6489 @r=`${PWD_COMMAND}`; export r; \
6490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6491 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
6492 $(HOST_EXPORTS) \
6493 $(POSTSTAGE1_HOST_EXPORTS) \
6494 cd $(HOST_SUBDIR)/binutils && \
6495 \
6496 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6497 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
6498 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
6499 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
6500 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
6501 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
6502 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
6503 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
6504 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6505 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
6506 $(TARGET-stageautofeedback-binutils)
6507
6508 maybe-clean-stageautofeedback-binutils: clean-stageautofeedback-binutils
6509 clean-stageautofeedback: clean-stageautofeedback-binutils
6510 clean-stageautofeedback-binutils:
6511 @if [ $(current_stage) = stageautofeedback ]; then \
6512 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6513 else \
6514 [ -f $(HOST_SUBDIR)/stageautofeedback-binutils/Makefile ] || exit 0; \
6515 $(MAKE) stageautofeedback-start; \
6516 fi; \
6517 cd $(HOST_SUBDIR)/binutils && \
6518 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
6519 @endif binutils-bootstrap
6520
6521
6522
6523
6524
6525 .PHONY: check-binutils maybe-check-binutils
6526 maybe-check-binutils:
6527 @if binutils
6528 maybe-check-binutils: check-binutils
6529
6530 check-binutils:
6531 @: $(MAKE); $(unstage)
6532 @r=`${PWD_COMMAND}`; export r; \
6533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6534 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
6535 (cd $(HOST_SUBDIR)/binutils && \
6536 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
6537
6538 @endif binutils
6539
6540 .PHONY: install-binutils maybe-install-binutils
6541 maybe-install-binutils:
6542 @if binutils
6543 maybe-install-binutils: install-binutils
6544
6545 install-binutils: installdirs
6546 @: $(MAKE); $(unstage)
6547 @r=`${PWD_COMMAND}`; export r; \
6548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6549 $(HOST_EXPORTS) \
6550 (cd $(HOST_SUBDIR)/binutils && \
6551 $(MAKE) $(FLAGS_TO_PASS) install)
6552
6553 @endif binutils
6554
6555 .PHONY: install-strip-binutils maybe-install-strip-binutils
6556 maybe-install-strip-binutils:
6557 @if binutils
6558 maybe-install-strip-binutils: install-strip-binutils
6559
6560 install-strip-binutils: installdirs
6561 @: $(MAKE); $(unstage)
6562 @r=`${PWD_COMMAND}`; export r; \
6563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6564 $(HOST_EXPORTS) \
6565 (cd $(HOST_SUBDIR)/binutils && \
6566 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6567
6568 @endif binutils
6569
6570 # Other targets (info, dvi, pdf, etc.)
6571
6572 .PHONY: maybe-info-binutils info-binutils
6573 maybe-info-binutils:
6574 @if binutils
6575 maybe-info-binutils: info-binutils
6576
6577 info-binutils: \
6578 configure-binutils
6579 @[ -f ./binutils/Makefile ] || exit 0; \
6580 r=`${PWD_COMMAND}`; export r; \
6581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6582 $(HOST_EXPORTS) \
6583 for flag in $(EXTRA_HOST_FLAGS) ; do \
6584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6585 done; \
6586 echo "Doing info in binutils"; \
6587 (cd $(HOST_SUBDIR)/binutils && \
6588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6590 "RANLIB=$${RANLIB}" \
6591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6592 info) \
6593 || exit 1
6594
6595 @endif binutils
6596
6597 .PHONY: maybe-dvi-binutils dvi-binutils
6598 maybe-dvi-binutils:
6599 @if binutils
6600 maybe-dvi-binutils: dvi-binutils
6601
6602 dvi-binutils: \
6603 configure-binutils
6604 @[ -f ./binutils/Makefile ] || exit 0; \
6605 r=`${PWD_COMMAND}`; export r; \
6606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6607 $(HOST_EXPORTS) \
6608 for flag in $(EXTRA_HOST_FLAGS) ; do \
6609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6610 done; \
6611 echo "Doing dvi in binutils"; \
6612 (cd $(HOST_SUBDIR)/binutils && \
6613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6615 "RANLIB=$${RANLIB}" \
6616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6617 dvi) \
6618 || exit 1
6619
6620 @endif binutils
6621
6622 .PHONY: maybe-pdf-binutils pdf-binutils
6623 maybe-pdf-binutils:
6624 @if binutils
6625 maybe-pdf-binutils: pdf-binutils
6626
6627 pdf-binutils: \
6628 configure-binutils
6629 @[ -f ./binutils/Makefile ] || exit 0; \
6630 r=`${PWD_COMMAND}`; export r; \
6631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6632 $(HOST_EXPORTS) \
6633 for flag in $(EXTRA_HOST_FLAGS) ; do \
6634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6635 done; \
6636 echo "Doing pdf in binutils"; \
6637 (cd $(HOST_SUBDIR)/binutils && \
6638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6640 "RANLIB=$${RANLIB}" \
6641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6642 pdf) \
6643 || exit 1
6644
6645 @endif binutils
6646
6647 .PHONY: maybe-html-binutils html-binutils
6648 maybe-html-binutils:
6649 @if binutils
6650 maybe-html-binutils: html-binutils
6651
6652 html-binutils: \
6653 configure-binutils
6654 @[ -f ./binutils/Makefile ] || exit 0; \
6655 r=`${PWD_COMMAND}`; export r; \
6656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6657 $(HOST_EXPORTS) \
6658 for flag in $(EXTRA_HOST_FLAGS) ; do \
6659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6660 done; \
6661 echo "Doing html in binutils"; \
6662 (cd $(HOST_SUBDIR)/binutils && \
6663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6665 "RANLIB=$${RANLIB}" \
6666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6667 html) \
6668 || exit 1
6669
6670 @endif binutils
6671
6672 .PHONY: maybe-TAGS-binutils TAGS-binutils
6673 maybe-TAGS-binutils:
6674 @if binutils
6675 maybe-TAGS-binutils: TAGS-binutils
6676
6677 TAGS-binutils: \
6678 configure-binutils
6679 @[ -f ./binutils/Makefile ] || exit 0; \
6680 r=`${PWD_COMMAND}`; export r; \
6681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6682 $(HOST_EXPORTS) \
6683 for flag in $(EXTRA_HOST_FLAGS) ; do \
6684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6685 done; \
6686 echo "Doing TAGS in binutils"; \
6687 (cd $(HOST_SUBDIR)/binutils && \
6688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6690 "RANLIB=$${RANLIB}" \
6691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6692 TAGS) \
6693 || exit 1
6694
6695 @endif binutils
6696
6697 .PHONY: maybe-install-info-binutils install-info-binutils
6698 maybe-install-info-binutils:
6699 @if binutils
6700 maybe-install-info-binutils: install-info-binutils
6701
6702 install-info-binutils: \
6703 configure-binutils \
6704 info-binutils
6705 @[ -f ./binutils/Makefile ] || exit 0; \
6706 r=`${PWD_COMMAND}`; export r; \
6707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6708 $(HOST_EXPORTS) \
6709 for flag in $(EXTRA_HOST_FLAGS) ; do \
6710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6711 done; \
6712 echo "Doing install-info in binutils"; \
6713 (cd $(HOST_SUBDIR)/binutils && \
6714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6716 "RANLIB=$${RANLIB}" \
6717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6718 install-info) \
6719 || exit 1
6720
6721 @endif binutils
6722
6723 .PHONY: maybe-install-dvi-binutils install-dvi-binutils
6724 maybe-install-dvi-binutils:
6725 @if binutils
6726 maybe-install-dvi-binutils: install-dvi-binutils
6727
6728 install-dvi-binutils: \
6729 configure-binutils \
6730 dvi-binutils
6731 @[ -f ./binutils/Makefile ] || exit 0; \
6732 r=`${PWD_COMMAND}`; export r; \
6733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6734 $(HOST_EXPORTS) \
6735 for flag in $(EXTRA_HOST_FLAGS) ; do \
6736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6737 done; \
6738 echo "Doing install-dvi in binutils"; \
6739 (cd $(HOST_SUBDIR)/binutils && \
6740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6742 "RANLIB=$${RANLIB}" \
6743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6744 install-dvi) \
6745 || exit 1
6746
6747 @endif binutils
6748
6749 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6750 maybe-install-pdf-binutils:
6751 @if binutils
6752 maybe-install-pdf-binutils: install-pdf-binutils
6753
6754 install-pdf-binutils: \
6755 configure-binutils \
6756 pdf-binutils
6757 @[ -f ./binutils/Makefile ] || exit 0; \
6758 r=`${PWD_COMMAND}`; export r; \
6759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6760 $(HOST_EXPORTS) \
6761 for flag in $(EXTRA_HOST_FLAGS) ; do \
6762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6763 done; \
6764 echo "Doing install-pdf in binutils"; \
6765 (cd $(HOST_SUBDIR)/binutils && \
6766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6768 "RANLIB=$${RANLIB}" \
6769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6770 install-pdf) \
6771 || exit 1
6772
6773 @endif binutils
6774
6775 .PHONY: maybe-install-html-binutils install-html-binutils
6776 maybe-install-html-binutils:
6777 @if binutils
6778 maybe-install-html-binutils: install-html-binutils
6779
6780 install-html-binutils: \
6781 configure-binutils \
6782 html-binutils
6783 @[ -f ./binutils/Makefile ] || exit 0; \
6784 r=`${PWD_COMMAND}`; export r; \
6785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6786 $(HOST_EXPORTS) \
6787 for flag in $(EXTRA_HOST_FLAGS) ; do \
6788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6789 done; \
6790 echo "Doing install-html in binutils"; \
6791 (cd $(HOST_SUBDIR)/binutils && \
6792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6794 "RANLIB=$${RANLIB}" \
6795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6796 install-html) \
6797 || exit 1
6798
6799 @endif binutils
6800
6801 .PHONY: maybe-installcheck-binutils installcheck-binutils
6802 maybe-installcheck-binutils:
6803 @if binutils
6804 maybe-installcheck-binutils: installcheck-binutils
6805
6806 installcheck-binutils: \
6807 configure-binutils
6808 @[ -f ./binutils/Makefile ] || exit 0; \
6809 r=`${PWD_COMMAND}`; export r; \
6810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6811 $(HOST_EXPORTS) \
6812 for flag in $(EXTRA_HOST_FLAGS) ; do \
6813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6814 done; \
6815 echo "Doing installcheck in binutils"; \
6816 (cd $(HOST_SUBDIR)/binutils && \
6817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6819 "RANLIB=$${RANLIB}" \
6820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6821 installcheck) \
6822 || exit 1
6823
6824 @endif binutils
6825
6826 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6827 maybe-mostlyclean-binutils:
6828 @if binutils
6829 maybe-mostlyclean-binutils: mostlyclean-binutils
6830
6831 mostlyclean-binutils:
6832 @[ -f ./binutils/Makefile ] || exit 0; \
6833 r=`${PWD_COMMAND}`; export r; \
6834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6835 $(HOST_EXPORTS) \
6836 for flag in $(EXTRA_HOST_FLAGS) ; do \
6837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6838 done; \
6839 echo "Doing mostlyclean in binutils"; \
6840 (cd $(HOST_SUBDIR)/binutils && \
6841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6843 "RANLIB=$${RANLIB}" \
6844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6845 mostlyclean) \
6846 || exit 1
6847
6848 @endif binutils
6849
6850 .PHONY: maybe-clean-binutils clean-binutils
6851 maybe-clean-binutils:
6852 @if binutils
6853 maybe-clean-binutils: clean-binutils
6854
6855 clean-binutils:
6856 @[ -f ./binutils/Makefile ] || exit 0; \
6857 r=`${PWD_COMMAND}`; export r; \
6858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6859 $(HOST_EXPORTS) \
6860 for flag in $(EXTRA_HOST_FLAGS) ; do \
6861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6862 done; \
6863 echo "Doing clean in binutils"; \
6864 (cd $(HOST_SUBDIR)/binutils && \
6865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6867 "RANLIB=$${RANLIB}" \
6868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6869 clean) \
6870 || exit 1
6871
6872 @endif binutils
6873
6874 .PHONY: maybe-distclean-binutils distclean-binutils
6875 maybe-distclean-binutils:
6876 @if binutils
6877 maybe-distclean-binutils: distclean-binutils
6878
6879 distclean-binutils:
6880 @[ -f ./binutils/Makefile ] || exit 0; \
6881 r=`${PWD_COMMAND}`; export r; \
6882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6883 $(HOST_EXPORTS) \
6884 for flag in $(EXTRA_HOST_FLAGS) ; do \
6885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6886 done; \
6887 echo "Doing distclean in binutils"; \
6888 (cd $(HOST_SUBDIR)/binutils && \
6889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6891 "RANLIB=$${RANLIB}" \
6892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6893 distclean) \
6894 || exit 1
6895
6896 @endif binutils
6897
6898 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6899 maybe-maintainer-clean-binutils:
6900 @if binutils
6901 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6902
6903 maintainer-clean-binutils:
6904 @[ -f ./binutils/Makefile ] || exit 0; \
6905 r=`${PWD_COMMAND}`; export r; \
6906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6907 $(HOST_EXPORTS) \
6908 for flag in $(EXTRA_HOST_FLAGS) ; do \
6909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6910 done; \
6911 echo "Doing maintainer-clean in binutils"; \
6912 (cd $(HOST_SUBDIR)/binutils && \
6913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6915 "RANLIB=$${RANLIB}" \
6916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6917 maintainer-clean) \
6918 || exit 1
6919
6920 @endif binutils
6921
6922
6923
6924 .PHONY: configure-bison maybe-configure-bison
6925 maybe-configure-bison:
6926 @if gcc-bootstrap
6927 configure-bison: stage_current
6928 @endif gcc-bootstrap
6929 @if bison
6930 maybe-configure-bison: configure-bison
6931 configure-bison:
6932 @: $(MAKE); $(unstage)
6933 @r=`${PWD_COMMAND}`; export r; \
6934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6935 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6936 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison; \
6937 $(HOST_EXPORTS) \
6938 echo Configuring in $(HOST_SUBDIR)/bison; \
6939 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6940 case $(srcdir) in \
6941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6942 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6944 esac; \
6945 module_srcdir=bison; \
6946 $(SHELL) \
6947 $$s/$$module_srcdir/configure \
6948 --srcdir=$${topdir}/$$module_srcdir \
6949 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6950 --target=${target_alias} \
6951 || exit 1
6952 @endif bison
6953
6954
6955
6956
6957
6958 .PHONY: all-bison maybe-all-bison
6959 maybe-all-bison:
6960 @if gcc-bootstrap
6961 all-bison: stage_current
6962 @endif gcc-bootstrap
6963 @if bison
6964 TARGET-bison=all
6965 maybe-all-bison: all-bison
6966 all-bison: configure-bison
6967 @: $(MAKE); $(unstage)
6968 @r=`${PWD_COMMAND}`; export r; \
6969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6970 $(HOST_EXPORTS) \
6971 (cd $(HOST_SUBDIR)/bison && \
6972 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6973 $(TARGET-bison))
6974 @endif bison
6975
6976
6977
6978
6979 .PHONY: check-bison maybe-check-bison
6980 maybe-check-bison:
6981 @if bison
6982 maybe-check-bison: check-bison
6983
6984 # This module is only tested in a native toolchain.
6985 check-bison:
6986 @: $(MAKE); $(unstage)
6987 @if [ '$(host)' = '$(target)' ]; then \
6988 r=`${PWD_COMMAND}`; export r; \
6989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6990 $(HOST_EXPORTS) \
6991 (cd $(HOST_SUBDIR)/bison && \
6992 $(MAKE) $(FLAGS_TO_PASS) check)
6993 fi
6994
6995 @endif bison
6996
6997 .PHONY: install-bison maybe-install-bison
6998 maybe-install-bison:
6999 @if bison
7000 maybe-install-bison: install-bison
7001
7002 install-bison: installdirs
7003 @: $(MAKE); $(unstage)
7004 @r=`${PWD_COMMAND}`; export r; \
7005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7006 $(HOST_EXPORTS) \
7007 (cd $(HOST_SUBDIR)/bison && \
7008 $(MAKE) $(FLAGS_TO_PASS) install)
7009
7010 @endif bison
7011
7012 .PHONY: install-strip-bison maybe-install-strip-bison
7013 maybe-install-strip-bison:
7014 @if bison
7015 maybe-install-strip-bison: install-strip-bison
7016
7017 install-strip-bison: installdirs
7018 @: $(MAKE); $(unstage)
7019 @r=`${PWD_COMMAND}`; export r; \
7020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7021 $(HOST_EXPORTS) \
7022 (cd $(HOST_SUBDIR)/bison && \
7023 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7024
7025 @endif bison
7026
7027 # Other targets (info, dvi, pdf, etc.)
7028
7029 .PHONY: maybe-info-bison info-bison
7030 maybe-info-bison:
7031 @if bison
7032 maybe-info-bison: info-bison
7033
7034 info-bison: \
7035 configure-bison
7036 @: $(MAKE); $(unstage)
7037 @[ -f ./bison/Makefile ] || exit 0; \
7038 r=`${PWD_COMMAND}`; export r; \
7039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7040 $(HOST_EXPORTS) \
7041 for flag in $(EXTRA_HOST_FLAGS) ; do \
7042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7043 done; \
7044 echo "Doing info in bison"; \
7045 (cd $(HOST_SUBDIR)/bison && \
7046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7048 "RANLIB=$${RANLIB}" \
7049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7050 info) \
7051 || exit 1
7052
7053 @endif bison
7054
7055 .PHONY: maybe-dvi-bison dvi-bison
7056 maybe-dvi-bison:
7057 @if bison
7058 maybe-dvi-bison: dvi-bison
7059
7060 dvi-bison: \
7061 configure-bison
7062 @: $(MAKE); $(unstage)
7063 @[ -f ./bison/Makefile ] || exit 0; \
7064 r=`${PWD_COMMAND}`; export r; \
7065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7066 $(HOST_EXPORTS) \
7067 for flag in $(EXTRA_HOST_FLAGS) ; do \
7068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7069 done; \
7070 echo "Doing dvi in bison"; \
7071 (cd $(HOST_SUBDIR)/bison && \
7072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7074 "RANLIB=$${RANLIB}" \
7075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7076 dvi) \
7077 || exit 1
7078
7079 @endif bison
7080
7081 .PHONY: maybe-pdf-bison pdf-bison
7082 maybe-pdf-bison:
7083 @if bison
7084 maybe-pdf-bison: pdf-bison
7085
7086 pdf-bison: \
7087 configure-bison
7088 @: $(MAKE); $(unstage)
7089 @[ -f ./bison/Makefile ] || exit 0; \
7090 r=`${PWD_COMMAND}`; export r; \
7091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7092 $(HOST_EXPORTS) \
7093 for flag in $(EXTRA_HOST_FLAGS) ; do \
7094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7095 done; \
7096 echo "Doing pdf in bison"; \
7097 (cd $(HOST_SUBDIR)/bison && \
7098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7100 "RANLIB=$${RANLIB}" \
7101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7102 pdf) \
7103 || exit 1
7104
7105 @endif bison
7106
7107 .PHONY: maybe-html-bison html-bison
7108 maybe-html-bison:
7109 @if bison
7110 maybe-html-bison: html-bison
7111
7112 html-bison: \
7113 configure-bison
7114 @: $(MAKE); $(unstage)
7115 @[ -f ./bison/Makefile ] || exit 0; \
7116 r=`${PWD_COMMAND}`; export r; \
7117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7118 $(HOST_EXPORTS) \
7119 for flag in $(EXTRA_HOST_FLAGS) ; do \
7120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7121 done; \
7122 echo "Doing html in bison"; \
7123 (cd $(HOST_SUBDIR)/bison && \
7124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7126 "RANLIB=$${RANLIB}" \
7127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7128 html) \
7129 || exit 1
7130
7131 @endif bison
7132
7133 .PHONY: maybe-TAGS-bison TAGS-bison
7134 maybe-TAGS-bison:
7135 @if bison
7136 maybe-TAGS-bison: TAGS-bison
7137
7138 TAGS-bison: \
7139 configure-bison
7140 @: $(MAKE); $(unstage)
7141 @[ -f ./bison/Makefile ] || exit 0; \
7142 r=`${PWD_COMMAND}`; export r; \
7143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7144 $(HOST_EXPORTS) \
7145 for flag in $(EXTRA_HOST_FLAGS) ; do \
7146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7147 done; \
7148 echo "Doing TAGS in bison"; \
7149 (cd $(HOST_SUBDIR)/bison && \
7150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7152 "RANLIB=$${RANLIB}" \
7153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7154 TAGS) \
7155 || exit 1
7156
7157 @endif bison
7158
7159 .PHONY: maybe-install-info-bison install-info-bison
7160 maybe-install-info-bison:
7161 @if bison
7162 maybe-install-info-bison: install-info-bison
7163
7164 install-info-bison: \
7165 configure-bison \
7166 info-bison
7167 @: $(MAKE); $(unstage)
7168 @[ -f ./bison/Makefile ] || exit 0; \
7169 r=`${PWD_COMMAND}`; export r; \
7170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7171 $(HOST_EXPORTS) \
7172 for flag in $(EXTRA_HOST_FLAGS) ; do \
7173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7174 done; \
7175 echo "Doing install-info in bison"; \
7176 (cd $(HOST_SUBDIR)/bison && \
7177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7179 "RANLIB=$${RANLIB}" \
7180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7181 install-info) \
7182 || exit 1
7183
7184 @endif bison
7185
7186 .PHONY: maybe-install-dvi-bison install-dvi-bison
7187 maybe-install-dvi-bison:
7188 @if bison
7189 maybe-install-dvi-bison: install-dvi-bison
7190
7191 install-dvi-bison: \
7192 configure-bison \
7193 dvi-bison
7194 @: $(MAKE); $(unstage)
7195 @[ -f ./bison/Makefile ] || exit 0; \
7196 r=`${PWD_COMMAND}`; export r; \
7197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7198 $(HOST_EXPORTS) \
7199 for flag in $(EXTRA_HOST_FLAGS) ; do \
7200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7201 done; \
7202 echo "Doing install-dvi in bison"; \
7203 (cd $(HOST_SUBDIR)/bison && \
7204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7206 "RANLIB=$${RANLIB}" \
7207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7208 install-dvi) \
7209 || exit 1
7210
7211 @endif bison
7212
7213 .PHONY: maybe-install-pdf-bison install-pdf-bison
7214 maybe-install-pdf-bison:
7215 @if bison
7216 maybe-install-pdf-bison: install-pdf-bison
7217
7218 install-pdf-bison: \
7219 configure-bison \
7220 pdf-bison
7221 @: $(MAKE); $(unstage)
7222 @[ -f ./bison/Makefile ] || exit 0; \
7223 r=`${PWD_COMMAND}`; export r; \
7224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7225 $(HOST_EXPORTS) \
7226 for flag in $(EXTRA_HOST_FLAGS) ; do \
7227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7228 done; \
7229 echo "Doing install-pdf in bison"; \
7230 (cd $(HOST_SUBDIR)/bison && \
7231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7233 "RANLIB=$${RANLIB}" \
7234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7235 install-pdf) \
7236 || exit 1
7237
7238 @endif bison
7239
7240 .PHONY: maybe-install-html-bison install-html-bison
7241 maybe-install-html-bison:
7242 @if bison
7243 maybe-install-html-bison: install-html-bison
7244
7245 install-html-bison: \
7246 configure-bison \
7247 html-bison
7248 @: $(MAKE); $(unstage)
7249 @[ -f ./bison/Makefile ] || exit 0; \
7250 r=`${PWD_COMMAND}`; export r; \
7251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7252 $(HOST_EXPORTS) \
7253 for flag in $(EXTRA_HOST_FLAGS) ; do \
7254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7255 done; \
7256 echo "Doing install-html in bison"; \
7257 (cd $(HOST_SUBDIR)/bison && \
7258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7260 "RANLIB=$${RANLIB}" \
7261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7262 install-html) \
7263 || exit 1
7264
7265 @endif bison
7266
7267 .PHONY: maybe-installcheck-bison installcheck-bison
7268 maybe-installcheck-bison:
7269 @if bison
7270 maybe-installcheck-bison: installcheck-bison
7271
7272 installcheck-bison: \
7273 configure-bison
7274 @: $(MAKE); $(unstage)
7275 @[ -f ./bison/Makefile ] || exit 0; \
7276 r=`${PWD_COMMAND}`; export r; \
7277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7278 $(HOST_EXPORTS) \
7279 for flag in $(EXTRA_HOST_FLAGS) ; do \
7280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7281 done; \
7282 echo "Doing installcheck in bison"; \
7283 (cd $(HOST_SUBDIR)/bison && \
7284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7286 "RANLIB=$${RANLIB}" \
7287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7288 installcheck) \
7289 || exit 1
7290
7291 @endif bison
7292
7293 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
7294 maybe-mostlyclean-bison:
7295 @if bison
7296 maybe-mostlyclean-bison: mostlyclean-bison
7297
7298 mostlyclean-bison:
7299 @: $(MAKE); $(unstage)
7300 @[ -f ./bison/Makefile ] || exit 0; \
7301 r=`${PWD_COMMAND}`; export r; \
7302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7303 $(HOST_EXPORTS) \
7304 for flag in $(EXTRA_HOST_FLAGS) ; do \
7305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7306 done; \
7307 echo "Doing mostlyclean in bison"; \
7308 (cd $(HOST_SUBDIR)/bison && \
7309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7311 "RANLIB=$${RANLIB}" \
7312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7313 mostlyclean) \
7314 || exit 1
7315
7316 @endif bison
7317
7318 .PHONY: maybe-clean-bison clean-bison
7319 maybe-clean-bison:
7320 @if bison
7321 maybe-clean-bison: clean-bison
7322
7323 clean-bison:
7324 @: $(MAKE); $(unstage)
7325 @[ -f ./bison/Makefile ] || exit 0; \
7326 r=`${PWD_COMMAND}`; export r; \
7327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7328 $(HOST_EXPORTS) \
7329 for flag in $(EXTRA_HOST_FLAGS) ; do \
7330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7331 done; \
7332 echo "Doing clean in bison"; \
7333 (cd $(HOST_SUBDIR)/bison && \
7334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7336 "RANLIB=$${RANLIB}" \
7337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7338 clean) \
7339 || exit 1
7340
7341 @endif bison
7342
7343 .PHONY: maybe-distclean-bison distclean-bison
7344 maybe-distclean-bison:
7345 @if bison
7346 maybe-distclean-bison: distclean-bison
7347
7348 distclean-bison:
7349 @: $(MAKE); $(unstage)
7350 @[ -f ./bison/Makefile ] || exit 0; \
7351 r=`${PWD_COMMAND}`; export r; \
7352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7353 $(HOST_EXPORTS) \
7354 for flag in $(EXTRA_HOST_FLAGS) ; do \
7355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7356 done; \
7357 echo "Doing distclean in bison"; \
7358 (cd $(HOST_SUBDIR)/bison && \
7359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7361 "RANLIB=$${RANLIB}" \
7362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7363 distclean) \
7364 || exit 1
7365
7366 @endif bison
7367
7368 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7369 maybe-maintainer-clean-bison:
7370 @if bison
7371 maybe-maintainer-clean-bison: maintainer-clean-bison
7372
7373 maintainer-clean-bison:
7374 @: $(MAKE); $(unstage)
7375 @[ -f ./bison/Makefile ] || exit 0; \
7376 r=`${PWD_COMMAND}`; export r; \
7377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7378 $(HOST_EXPORTS) \
7379 for flag in $(EXTRA_HOST_FLAGS) ; do \
7380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7381 done; \
7382 echo "Doing maintainer-clean in bison"; \
7383 (cd $(HOST_SUBDIR)/bison && \
7384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7386 "RANLIB=$${RANLIB}" \
7387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7388 maintainer-clean) \
7389 || exit 1
7390
7391 @endif bison
7392
7393
7394
7395 .PHONY: configure-cgen maybe-configure-cgen
7396 maybe-configure-cgen:
7397 @if gcc-bootstrap
7398 configure-cgen: stage_current
7399 @endif gcc-bootstrap
7400 @if cgen
7401 maybe-configure-cgen: configure-cgen
7402 configure-cgen:
7403 @: $(MAKE); $(unstage)
7404 @r=`${PWD_COMMAND}`; export r; \
7405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7406 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
7407 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen; \
7408 $(HOST_EXPORTS) \
7409 echo Configuring in $(HOST_SUBDIR)/cgen; \
7410 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
7411 case $(srcdir) in \
7412 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7413 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
7414 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7415 esac; \
7416 module_srcdir=cgen; \
7417 $(SHELL) \
7418 $$s/$$module_srcdir/configure \
7419 --srcdir=$${topdir}/$$module_srcdir \
7420 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7421 --target=${target_alias} \
7422 || exit 1
7423 @endif cgen
7424
7425
7426
7427
7428
7429 .PHONY: all-cgen maybe-all-cgen
7430 maybe-all-cgen:
7431 @if gcc-bootstrap
7432 all-cgen: stage_current
7433 @endif gcc-bootstrap
7434 @if cgen
7435 TARGET-cgen=all
7436 maybe-all-cgen: all-cgen
7437 all-cgen: configure-cgen
7438 @: $(MAKE); $(unstage)
7439 @r=`${PWD_COMMAND}`; export r; \
7440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7441 $(HOST_EXPORTS) \
7442 (cd $(HOST_SUBDIR)/cgen && \
7443 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7444 $(TARGET-cgen))
7445 @endif cgen
7446
7447
7448
7449
7450 .PHONY: check-cgen maybe-check-cgen
7451 maybe-check-cgen:
7452 @if cgen
7453 maybe-check-cgen: check-cgen
7454
7455 check-cgen:
7456 @: $(MAKE); $(unstage)
7457 @r=`${PWD_COMMAND}`; export r; \
7458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7459 $(HOST_EXPORTS) \
7460 (cd $(HOST_SUBDIR)/cgen && \
7461 $(MAKE) $(FLAGS_TO_PASS) check)
7462
7463 @endif cgen
7464
7465 .PHONY: install-cgen maybe-install-cgen
7466 maybe-install-cgen:
7467 @if cgen
7468 maybe-install-cgen: install-cgen
7469
7470 install-cgen: installdirs
7471 @: $(MAKE); $(unstage)
7472 @r=`${PWD_COMMAND}`; export r; \
7473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7474 $(HOST_EXPORTS) \
7475 (cd $(HOST_SUBDIR)/cgen && \
7476 $(MAKE) $(FLAGS_TO_PASS) install)
7477
7478 @endif cgen
7479
7480 .PHONY: install-strip-cgen maybe-install-strip-cgen
7481 maybe-install-strip-cgen:
7482 @if cgen
7483 maybe-install-strip-cgen: install-strip-cgen
7484
7485 install-strip-cgen: installdirs
7486 @: $(MAKE); $(unstage)
7487 @r=`${PWD_COMMAND}`; export r; \
7488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7489 $(HOST_EXPORTS) \
7490 (cd $(HOST_SUBDIR)/cgen && \
7491 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7492
7493 @endif cgen
7494
7495 # Other targets (info, dvi, pdf, etc.)
7496
7497 .PHONY: maybe-info-cgen info-cgen
7498 maybe-info-cgen:
7499 @if cgen
7500 maybe-info-cgen: info-cgen
7501
7502 info-cgen: \
7503 configure-cgen
7504 @: $(MAKE); $(unstage)
7505 @[ -f ./cgen/Makefile ] || exit 0; \
7506 r=`${PWD_COMMAND}`; export r; \
7507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7508 $(HOST_EXPORTS) \
7509 for flag in $(EXTRA_HOST_FLAGS) ; do \
7510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7511 done; \
7512 echo "Doing info in cgen"; \
7513 (cd $(HOST_SUBDIR)/cgen && \
7514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7516 "RANLIB=$${RANLIB}" \
7517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7518 info) \
7519 || exit 1
7520
7521 @endif cgen
7522
7523 .PHONY: maybe-dvi-cgen dvi-cgen
7524 maybe-dvi-cgen:
7525 @if cgen
7526 maybe-dvi-cgen: dvi-cgen
7527
7528 dvi-cgen: \
7529 configure-cgen
7530 @: $(MAKE); $(unstage)
7531 @[ -f ./cgen/Makefile ] || exit 0; \
7532 r=`${PWD_COMMAND}`; export r; \
7533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7534 $(HOST_EXPORTS) \
7535 for flag in $(EXTRA_HOST_FLAGS) ; do \
7536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7537 done; \
7538 echo "Doing dvi in cgen"; \
7539 (cd $(HOST_SUBDIR)/cgen && \
7540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7542 "RANLIB=$${RANLIB}" \
7543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7544 dvi) \
7545 || exit 1
7546
7547 @endif cgen
7548
7549 .PHONY: maybe-pdf-cgen pdf-cgen
7550 maybe-pdf-cgen:
7551 @if cgen
7552 maybe-pdf-cgen: pdf-cgen
7553
7554 pdf-cgen: \
7555 configure-cgen
7556 @: $(MAKE); $(unstage)
7557 @[ -f ./cgen/Makefile ] || exit 0; \
7558 r=`${PWD_COMMAND}`; export r; \
7559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7560 $(HOST_EXPORTS) \
7561 for flag in $(EXTRA_HOST_FLAGS) ; do \
7562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7563 done; \
7564 echo "Doing pdf in cgen"; \
7565 (cd $(HOST_SUBDIR)/cgen && \
7566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7568 "RANLIB=$${RANLIB}" \
7569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7570 pdf) \
7571 || exit 1
7572
7573 @endif cgen
7574
7575 .PHONY: maybe-html-cgen html-cgen
7576 maybe-html-cgen:
7577 @if cgen
7578 maybe-html-cgen: html-cgen
7579
7580 html-cgen: \
7581 configure-cgen
7582 @: $(MAKE); $(unstage)
7583 @[ -f ./cgen/Makefile ] || exit 0; \
7584 r=`${PWD_COMMAND}`; export r; \
7585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7586 $(HOST_EXPORTS) \
7587 for flag in $(EXTRA_HOST_FLAGS) ; do \
7588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7589 done; \
7590 echo "Doing html in cgen"; \
7591 (cd $(HOST_SUBDIR)/cgen && \
7592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7594 "RANLIB=$${RANLIB}" \
7595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7596 html) \
7597 || exit 1
7598
7599 @endif cgen
7600
7601 .PHONY: maybe-TAGS-cgen TAGS-cgen
7602 maybe-TAGS-cgen:
7603 @if cgen
7604 maybe-TAGS-cgen: TAGS-cgen
7605
7606 TAGS-cgen: \
7607 configure-cgen
7608 @: $(MAKE); $(unstage)
7609 @[ -f ./cgen/Makefile ] || exit 0; \
7610 r=`${PWD_COMMAND}`; export r; \
7611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7612 $(HOST_EXPORTS) \
7613 for flag in $(EXTRA_HOST_FLAGS) ; do \
7614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7615 done; \
7616 echo "Doing TAGS in cgen"; \
7617 (cd $(HOST_SUBDIR)/cgen && \
7618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7620 "RANLIB=$${RANLIB}" \
7621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7622 TAGS) \
7623 || exit 1
7624
7625 @endif cgen
7626
7627 .PHONY: maybe-install-info-cgen install-info-cgen
7628 maybe-install-info-cgen:
7629 @if cgen
7630 maybe-install-info-cgen: install-info-cgen
7631
7632 install-info-cgen: \
7633 configure-cgen \
7634 info-cgen
7635 @: $(MAKE); $(unstage)
7636 @[ -f ./cgen/Makefile ] || exit 0; \
7637 r=`${PWD_COMMAND}`; export r; \
7638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7639 $(HOST_EXPORTS) \
7640 for flag in $(EXTRA_HOST_FLAGS) ; do \
7641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7642 done; \
7643 echo "Doing install-info in cgen"; \
7644 (cd $(HOST_SUBDIR)/cgen && \
7645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7647 "RANLIB=$${RANLIB}" \
7648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7649 install-info) \
7650 || exit 1
7651
7652 @endif cgen
7653
7654 .PHONY: maybe-install-dvi-cgen install-dvi-cgen
7655 maybe-install-dvi-cgen:
7656 @if cgen
7657 maybe-install-dvi-cgen: install-dvi-cgen
7658
7659 install-dvi-cgen: \
7660 configure-cgen \
7661 dvi-cgen
7662 @: $(MAKE); $(unstage)
7663 @[ -f ./cgen/Makefile ] || exit 0; \
7664 r=`${PWD_COMMAND}`; export r; \
7665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7666 $(HOST_EXPORTS) \
7667 for flag in $(EXTRA_HOST_FLAGS) ; do \
7668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7669 done; \
7670 echo "Doing install-dvi in cgen"; \
7671 (cd $(HOST_SUBDIR)/cgen && \
7672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7674 "RANLIB=$${RANLIB}" \
7675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7676 install-dvi) \
7677 || exit 1
7678
7679 @endif cgen
7680
7681 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
7682 maybe-install-pdf-cgen:
7683 @if cgen
7684 maybe-install-pdf-cgen: install-pdf-cgen
7685
7686 install-pdf-cgen: \
7687 configure-cgen \
7688 pdf-cgen
7689 @: $(MAKE); $(unstage)
7690 @[ -f ./cgen/Makefile ] || exit 0; \
7691 r=`${PWD_COMMAND}`; export r; \
7692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7693 $(HOST_EXPORTS) \
7694 for flag in $(EXTRA_HOST_FLAGS) ; do \
7695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7696 done; \
7697 echo "Doing install-pdf in cgen"; \
7698 (cd $(HOST_SUBDIR)/cgen && \
7699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7701 "RANLIB=$${RANLIB}" \
7702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7703 install-pdf) \
7704 || exit 1
7705
7706 @endif cgen
7707
7708 .PHONY: maybe-install-html-cgen install-html-cgen
7709 maybe-install-html-cgen:
7710 @if cgen
7711 maybe-install-html-cgen: install-html-cgen
7712
7713 install-html-cgen: \
7714 configure-cgen \
7715 html-cgen
7716 @: $(MAKE); $(unstage)
7717 @[ -f ./cgen/Makefile ] || exit 0; \
7718 r=`${PWD_COMMAND}`; export r; \
7719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7720 $(HOST_EXPORTS) \
7721 for flag in $(EXTRA_HOST_FLAGS) ; do \
7722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7723 done; \
7724 echo "Doing install-html in cgen"; \
7725 (cd $(HOST_SUBDIR)/cgen && \
7726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7728 "RANLIB=$${RANLIB}" \
7729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7730 install-html) \
7731 || exit 1
7732
7733 @endif cgen
7734
7735 .PHONY: maybe-installcheck-cgen installcheck-cgen
7736 maybe-installcheck-cgen:
7737 @if cgen
7738 maybe-installcheck-cgen: installcheck-cgen
7739
7740 installcheck-cgen: \
7741 configure-cgen
7742 @: $(MAKE); $(unstage)
7743 @[ -f ./cgen/Makefile ] || exit 0; \
7744 r=`${PWD_COMMAND}`; export r; \
7745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7746 $(HOST_EXPORTS) \
7747 for flag in $(EXTRA_HOST_FLAGS) ; do \
7748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7749 done; \
7750 echo "Doing installcheck in cgen"; \
7751 (cd $(HOST_SUBDIR)/cgen && \
7752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7754 "RANLIB=$${RANLIB}" \
7755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7756 installcheck) \
7757 || exit 1
7758
7759 @endif cgen
7760
7761 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
7762 maybe-mostlyclean-cgen:
7763 @if cgen
7764 maybe-mostlyclean-cgen: mostlyclean-cgen
7765
7766 mostlyclean-cgen:
7767 @: $(MAKE); $(unstage)
7768 @[ -f ./cgen/Makefile ] || exit 0; \
7769 r=`${PWD_COMMAND}`; export r; \
7770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7771 $(HOST_EXPORTS) \
7772 for flag in $(EXTRA_HOST_FLAGS) ; do \
7773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7774 done; \
7775 echo "Doing mostlyclean in cgen"; \
7776 (cd $(HOST_SUBDIR)/cgen && \
7777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7779 "RANLIB=$${RANLIB}" \
7780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7781 mostlyclean) \
7782 || exit 1
7783
7784 @endif cgen
7785
7786 .PHONY: maybe-clean-cgen clean-cgen
7787 maybe-clean-cgen:
7788 @if cgen
7789 maybe-clean-cgen: clean-cgen
7790
7791 clean-cgen:
7792 @: $(MAKE); $(unstage)
7793 @[ -f ./cgen/Makefile ] || exit 0; \
7794 r=`${PWD_COMMAND}`; export r; \
7795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7796 $(HOST_EXPORTS) \
7797 for flag in $(EXTRA_HOST_FLAGS) ; do \
7798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7799 done; \
7800 echo "Doing clean in cgen"; \
7801 (cd $(HOST_SUBDIR)/cgen && \
7802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7804 "RANLIB=$${RANLIB}" \
7805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7806 clean) \
7807 || exit 1
7808
7809 @endif cgen
7810
7811 .PHONY: maybe-distclean-cgen distclean-cgen
7812 maybe-distclean-cgen:
7813 @if cgen
7814 maybe-distclean-cgen: distclean-cgen
7815
7816 distclean-cgen:
7817 @: $(MAKE); $(unstage)
7818 @[ -f ./cgen/Makefile ] || exit 0; \
7819 r=`${PWD_COMMAND}`; export r; \
7820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7821 $(HOST_EXPORTS) \
7822 for flag in $(EXTRA_HOST_FLAGS) ; do \
7823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7824 done; \
7825 echo "Doing distclean in cgen"; \
7826 (cd $(HOST_SUBDIR)/cgen && \
7827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7829 "RANLIB=$${RANLIB}" \
7830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7831 distclean) \
7832 || exit 1
7833
7834 @endif cgen
7835
7836 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
7837 maybe-maintainer-clean-cgen:
7838 @if cgen
7839 maybe-maintainer-clean-cgen: maintainer-clean-cgen
7840
7841 maintainer-clean-cgen:
7842 @: $(MAKE); $(unstage)
7843 @[ -f ./cgen/Makefile ] || exit 0; \
7844 r=`${PWD_COMMAND}`; export r; \
7845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7846 $(HOST_EXPORTS) \
7847 for flag in $(EXTRA_HOST_FLAGS) ; do \
7848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7849 done; \
7850 echo "Doing maintainer-clean in cgen"; \
7851 (cd $(HOST_SUBDIR)/cgen && \
7852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7854 "RANLIB=$${RANLIB}" \
7855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7856 maintainer-clean) \
7857 || exit 1
7858
7859 @endif cgen
7860
7861
7862
7863 .PHONY: configure-dejagnu maybe-configure-dejagnu
7864 maybe-configure-dejagnu:
7865 @if gcc-bootstrap
7866 configure-dejagnu: stage_current
7867 @endif gcc-bootstrap
7868 @if dejagnu
7869 maybe-configure-dejagnu: configure-dejagnu
7870 configure-dejagnu:
7871 @: $(MAKE); $(unstage)
7872 @r=`${PWD_COMMAND}`; export r; \
7873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7874 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7875 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu; \
7876 $(HOST_EXPORTS) \
7877 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7878 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7879 case $(srcdir) in \
7880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7881 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7883 esac; \
7884 module_srcdir=dejagnu; \
7885 $(SHELL) \
7886 $$s/$$module_srcdir/configure \
7887 --srcdir=$${topdir}/$$module_srcdir \
7888 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7889 --target=${target_alias} \
7890 || exit 1
7891 @endif dejagnu
7892
7893
7894
7895
7896
7897 .PHONY: all-dejagnu maybe-all-dejagnu
7898 maybe-all-dejagnu:
7899 @if gcc-bootstrap
7900 all-dejagnu: stage_current
7901 @endif gcc-bootstrap
7902 @if dejagnu
7903 TARGET-dejagnu=all
7904 maybe-all-dejagnu: all-dejagnu
7905 all-dejagnu: configure-dejagnu
7906 @: $(MAKE); $(unstage)
7907 @r=`${PWD_COMMAND}`; export r; \
7908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7909 $(HOST_EXPORTS) \
7910 (cd $(HOST_SUBDIR)/dejagnu && \
7911 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7912 $(TARGET-dejagnu))
7913 @endif dejagnu
7914
7915
7916
7917
7918 .PHONY: check-dejagnu maybe-check-dejagnu
7919 maybe-check-dejagnu:
7920 @if dejagnu
7921 maybe-check-dejagnu: check-dejagnu
7922
7923 check-dejagnu:
7924 @: $(MAKE); $(unstage)
7925 @r=`${PWD_COMMAND}`; export r; \
7926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7927 $(HOST_EXPORTS) \
7928 (cd $(HOST_SUBDIR)/dejagnu && \
7929 $(MAKE) $(FLAGS_TO_PASS) check)
7930
7931 @endif dejagnu
7932
7933 .PHONY: install-dejagnu maybe-install-dejagnu
7934 maybe-install-dejagnu:
7935 @if dejagnu
7936 maybe-install-dejagnu: install-dejagnu
7937
7938 install-dejagnu: installdirs
7939 @: $(MAKE); $(unstage)
7940 @r=`${PWD_COMMAND}`; export r; \
7941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7942 $(HOST_EXPORTS) \
7943 (cd $(HOST_SUBDIR)/dejagnu && \
7944 $(MAKE) $(FLAGS_TO_PASS) install)
7945
7946 @endif dejagnu
7947
7948 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
7949 maybe-install-strip-dejagnu:
7950 @if dejagnu
7951 maybe-install-strip-dejagnu: install-strip-dejagnu
7952
7953 install-strip-dejagnu: installdirs
7954 @: $(MAKE); $(unstage)
7955 @r=`${PWD_COMMAND}`; export r; \
7956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7957 $(HOST_EXPORTS) \
7958 (cd $(HOST_SUBDIR)/dejagnu && \
7959 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7960
7961 @endif dejagnu
7962
7963 # Other targets (info, dvi, pdf, etc.)
7964
7965 .PHONY: maybe-info-dejagnu info-dejagnu
7966 maybe-info-dejagnu:
7967 @if dejagnu
7968 maybe-info-dejagnu: info-dejagnu
7969
7970 info-dejagnu: \
7971 configure-dejagnu
7972 @: $(MAKE); $(unstage)
7973 @[ -f ./dejagnu/Makefile ] || exit 0; \
7974 r=`${PWD_COMMAND}`; export r; \
7975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7976 $(HOST_EXPORTS) \
7977 for flag in $(EXTRA_HOST_FLAGS) ; do \
7978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7979 done; \
7980 echo "Doing info in dejagnu"; \
7981 (cd $(HOST_SUBDIR)/dejagnu && \
7982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7984 "RANLIB=$${RANLIB}" \
7985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7986 info) \
7987 || exit 1
7988
7989 @endif dejagnu
7990
7991 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7992 maybe-dvi-dejagnu:
7993 @if dejagnu
7994 maybe-dvi-dejagnu: dvi-dejagnu
7995
7996 dvi-dejagnu: \
7997 configure-dejagnu
7998 @: $(MAKE); $(unstage)
7999 @[ -f ./dejagnu/Makefile ] || exit 0; \
8000 r=`${PWD_COMMAND}`; export r; \
8001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8002 $(HOST_EXPORTS) \
8003 for flag in $(EXTRA_HOST_FLAGS) ; do \
8004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8005 done; \
8006 echo "Doing dvi in dejagnu"; \
8007 (cd $(HOST_SUBDIR)/dejagnu && \
8008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8010 "RANLIB=$${RANLIB}" \
8011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8012 dvi) \
8013 || exit 1
8014
8015 @endif dejagnu
8016
8017 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
8018 maybe-pdf-dejagnu:
8019 @if dejagnu
8020 maybe-pdf-dejagnu: pdf-dejagnu
8021
8022 pdf-dejagnu: \
8023 configure-dejagnu
8024 @: $(MAKE); $(unstage)
8025 @[ -f ./dejagnu/Makefile ] || exit 0; \
8026 r=`${PWD_COMMAND}`; export r; \
8027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8028 $(HOST_EXPORTS) \
8029 for flag in $(EXTRA_HOST_FLAGS) ; do \
8030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8031 done; \
8032 echo "Doing pdf in dejagnu"; \
8033 (cd $(HOST_SUBDIR)/dejagnu && \
8034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8036 "RANLIB=$${RANLIB}" \
8037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8038 pdf) \
8039 || exit 1
8040
8041 @endif dejagnu
8042
8043 .PHONY: maybe-html-dejagnu html-dejagnu
8044 maybe-html-dejagnu:
8045 @if dejagnu
8046 maybe-html-dejagnu: html-dejagnu
8047
8048 html-dejagnu: \
8049 configure-dejagnu
8050 @: $(MAKE); $(unstage)
8051 @[ -f ./dejagnu/Makefile ] || exit 0; \
8052 r=`${PWD_COMMAND}`; export r; \
8053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8054 $(HOST_EXPORTS) \
8055 for flag in $(EXTRA_HOST_FLAGS) ; do \
8056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8057 done; \
8058 echo "Doing html in dejagnu"; \
8059 (cd $(HOST_SUBDIR)/dejagnu && \
8060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8062 "RANLIB=$${RANLIB}" \
8063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8064 html) \
8065 || exit 1
8066
8067 @endif dejagnu
8068
8069 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
8070 maybe-TAGS-dejagnu:
8071 @if dejagnu
8072 maybe-TAGS-dejagnu: TAGS-dejagnu
8073
8074 TAGS-dejagnu: \
8075 configure-dejagnu
8076 @: $(MAKE); $(unstage)
8077 @[ -f ./dejagnu/Makefile ] || exit 0; \
8078 r=`${PWD_COMMAND}`; export r; \
8079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8080 $(HOST_EXPORTS) \
8081 for flag in $(EXTRA_HOST_FLAGS) ; do \
8082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8083 done; \
8084 echo "Doing TAGS in dejagnu"; \
8085 (cd $(HOST_SUBDIR)/dejagnu && \
8086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8088 "RANLIB=$${RANLIB}" \
8089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8090 TAGS) \
8091 || exit 1
8092
8093 @endif dejagnu
8094
8095 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
8096 maybe-install-info-dejagnu:
8097 @if dejagnu
8098 maybe-install-info-dejagnu: install-info-dejagnu
8099
8100 install-info-dejagnu: \
8101 configure-dejagnu \
8102 info-dejagnu
8103 @: $(MAKE); $(unstage)
8104 @[ -f ./dejagnu/Makefile ] || exit 0; \
8105 r=`${PWD_COMMAND}`; export r; \
8106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8107 $(HOST_EXPORTS) \
8108 for flag in $(EXTRA_HOST_FLAGS) ; do \
8109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8110 done; \
8111 echo "Doing install-info in dejagnu"; \
8112 (cd $(HOST_SUBDIR)/dejagnu && \
8113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8115 "RANLIB=$${RANLIB}" \
8116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8117 install-info) \
8118 || exit 1
8119
8120 @endif dejagnu
8121
8122 .PHONY: maybe-install-dvi-dejagnu install-dvi-dejagnu
8123 maybe-install-dvi-dejagnu:
8124 @if dejagnu
8125 maybe-install-dvi-dejagnu: install-dvi-dejagnu
8126
8127 install-dvi-dejagnu: \
8128 configure-dejagnu \
8129 dvi-dejagnu
8130 @: $(MAKE); $(unstage)
8131 @[ -f ./dejagnu/Makefile ] || exit 0; \
8132 r=`${PWD_COMMAND}`; export r; \
8133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8134 $(HOST_EXPORTS) \
8135 for flag in $(EXTRA_HOST_FLAGS) ; do \
8136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8137 done; \
8138 echo "Doing install-dvi in dejagnu"; \
8139 (cd $(HOST_SUBDIR)/dejagnu && \
8140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8142 "RANLIB=$${RANLIB}" \
8143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8144 install-dvi) \
8145 || exit 1
8146
8147 @endif dejagnu
8148
8149 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
8150 maybe-install-pdf-dejagnu:
8151 @if dejagnu
8152 maybe-install-pdf-dejagnu: install-pdf-dejagnu
8153
8154 install-pdf-dejagnu: \
8155 configure-dejagnu \
8156 pdf-dejagnu
8157 @: $(MAKE); $(unstage)
8158 @[ -f ./dejagnu/Makefile ] || exit 0; \
8159 r=`${PWD_COMMAND}`; export r; \
8160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8161 $(HOST_EXPORTS) \
8162 for flag in $(EXTRA_HOST_FLAGS) ; do \
8163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8164 done; \
8165 echo "Doing install-pdf in dejagnu"; \
8166 (cd $(HOST_SUBDIR)/dejagnu && \
8167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8169 "RANLIB=$${RANLIB}" \
8170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8171 install-pdf) \
8172 || exit 1
8173
8174 @endif dejagnu
8175
8176 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
8177 maybe-install-html-dejagnu:
8178 @if dejagnu
8179 maybe-install-html-dejagnu: install-html-dejagnu
8180
8181 install-html-dejagnu: \
8182 configure-dejagnu \
8183 html-dejagnu
8184 @: $(MAKE); $(unstage)
8185 @[ -f ./dejagnu/Makefile ] || exit 0; \
8186 r=`${PWD_COMMAND}`; export r; \
8187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8188 $(HOST_EXPORTS) \
8189 for flag in $(EXTRA_HOST_FLAGS) ; do \
8190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8191 done; \
8192 echo "Doing install-html in dejagnu"; \
8193 (cd $(HOST_SUBDIR)/dejagnu && \
8194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8196 "RANLIB=$${RANLIB}" \
8197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8198 install-html) \
8199 || exit 1
8200
8201 @endif dejagnu
8202
8203 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8204 maybe-installcheck-dejagnu:
8205 @if dejagnu
8206 maybe-installcheck-dejagnu: installcheck-dejagnu
8207
8208 installcheck-dejagnu: \
8209 configure-dejagnu
8210 @: $(MAKE); $(unstage)
8211 @[ -f ./dejagnu/Makefile ] || exit 0; \
8212 r=`${PWD_COMMAND}`; export r; \
8213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8214 $(HOST_EXPORTS) \
8215 for flag in $(EXTRA_HOST_FLAGS) ; do \
8216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8217 done; \
8218 echo "Doing installcheck in dejagnu"; \
8219 (cd $(HOST_SUBDIR)/dejagnu && \
8220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8222 "RANLIB=$${RANLIB}" \
8223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8224 installcheck) \
8225 || exit 1
8226
8227 @endif dejagnu
8228
8229 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
8230 maybe-mostlyclean-dejagnu:
8231 @if dejagnu
8232 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
8233
8234 mostlyclean-dejagnu:
8235 @: $(MAKE); $(unstage)
8236 @[ -f ./dejagnu/Makefile ] || exit 0; \
8237 r=`${PWD_COMMAND}`; export r; \
8238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8239 $(HOST_EXPORTS) \
8240 for flag in $(EXTRA_HOST_FLAGS) ; do \
8241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8242 done; \
8243 echo "Doing mostlyclean in dejagnu"; \
8244 (cd $(HOST_SUBDIR)/dejagnu && \
8245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8247 "RANLIB=$${RANLIB}" \
8248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8249 mostlyclean) \
8250 || exit 1
8251
8252 @endif dejagnu
8253
8254 .PHONY: maybe-clean-dejagnu clean-dejagnu
8255 maybe-clean-dejagnu:
8256 @if dejagnu
8257 maybe-clean-dejagnu: clean-dejagnu
8258
8259 clean-dejagnu:
8260 @: $(MAKE); $(unstage)
8261 @[ -f ./dejagnu/Makefile ] || exit 0; \
8262 r=`${PWD_COMMAND}`; export r; \
8263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8264 $(HOST_EXPORTS) \
8265 for flag in $(EXTRA_HOST_FLAGS) ; do \
8266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8267 done; \
8268 echo "Doing clean in dejagnu"; \
8269 (cd $(HOST_SUBDIR)/dejagnu && \
8270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8272 "RANLIB=$${RANLIB}" \
8273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8274 clean) \
8275 || exit 1
8276
8277 @endif dejagnu
8278
8279 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
8280 maybe-distclean-dejagnu:
8281 @if dejagnu
8282 maybe-distclean-dejagnu: distclean-dejagnu
8283
8284 distclean-dejagnu:
8285 @: $(MAKE); $(unstage)
8286 @[ -f ./dejagnu/Makefile ] || exit 0; \
8287 r=`${PWD_COMMAND}`; export r; \
8288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8289 $(HOST_EXPORTS) \
8290 for flag in $(EXTRA_HOST_FLAGS) ; do \
8291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8292 done; \
8293 echo "Doing distclean in dejagnu"; \
8294 (cd $(HOST_SUBDIR)/dejagnu && \
8295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8297 "RANLIB=$${RANLIB}" \
8298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8299 distclean) \
8300 || exit 1
8301
8302 @endif dejagnu
8303
8304 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
8305 maybe-maintainer-clean-dejagnu:
8306 @if dejagnu
8307 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
8308
8309 maintainer-clean-dejagnu:
8310 @: $(MAKE); $(unstage)
8311 @[ -f ./dejagnu/Makefile ] || exit 0; \
8312 r=`${PWD_COMMAND}`; export r; \
8313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8314 $(HOST_EXPORTS) \
8315 for flag in $(EXTRA_HOST_FLAGS) ; do \
8316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8317 done; \
8318 echo "Doing maintainer-clean in dejagnu"; \
8319 (cd $(HOST_SUBDIR)/dejagnu && \
8320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8322 "RANLIB=$${RANLIB}" \
8323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8324 maintainer-clean) \
8325 || exit 1
8326
8327 @endif dejagnu
8328
8329
8330
8331 .PHONY: configure-etc maybe-configure-etc
8332 maybe-configure-etc:
8333 @if gcc-bootstrap
8334 configure-etc: stage_current
8335 @endif gcc-bootstrap
8336 @if etc
8337 maybe-configure-etc: configure-etc
8338 configure-etc:
8339 @: $(MAKE); $(unstage)
8340 @r=`${PWD_COMMAND}`; export r; \
8341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8342 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
8343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc; \
8344 $(HOST_EXPORTS) \
8345 echo Configuring in $(HOST_SUBDIR)/etc; \
8346 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8347 case $(srcdir) in \
8348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8349 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8351 esac; \
8352 module_srcdir=etc; \
8353 $(SHELL) \
8354 $$s/$$module_srcdir/configure \
8355 --srcdir=$${topdir}/$$module_srcdir \
8356 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8357 --target=${target_alias} \
8358 || exit 1
8359 @endif etc
8360
8361
8362
8363
8364
8365 .PHONY: all-etc maybe-all-etc
8366 maybe-all-etc:
8367 @if gcc-bootstrap
8368 all-etc: stage_current
8369 @endif gcc-bootstrap
8370 @if etc
8371 TARGET-etc=all
8372 maybe-all-etc: all-etc
8373 all-etc: configure-etc
8374 @: $(MAKE); $(unstage)
8375 @r=`${PWD_COMMAND}`; export r; \
8376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8377 $(HOST_EXPORTS) \
8378 (cd $(HOST_SUBDIR)/etc && \
8379 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8380 $(TARGET-etc))
8381 @endif etc
8382
8383
8384
8385
8386 .PHONY: check-etc maybe-check-etc
8387 maybe-check-etc:
8388 @if etc
8389 maybe-check-etc: check-etc
8390
8391 check-etc:
8392 @: $(MAKE); $(unstage)
8393 @r=`${PWD_COMMAND}`; export r; \
8394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8395 $(HOST_EXPORTS) \
8396 (cd $(HOST_SUBDIR)/etc && \
8397 $(MAKE) $(FLAGS_TO_PASS) check)
8398
8399 @endif etc
8400
8401 .PHONY: install-etc maybe-install-etc
8402 maybe-install-etc:
8403 @if etc
8404 maybe-install-etc: install-etc
8405
8406 install-etc: installdirs
8407 @: $(MAKE); $(unstage)
8408 @r=`${PWD_COMMAND}`; export r; \
8409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8410 $(HOST_EXPORTS) \
8411 (cd $(HOST_SUBDIR)/etc && \
8412 $(MAKE) $(FLAGS_TO_PASS) install)
8413
8414 @endif etc
8415
8416 .PHONY: install-strip-etc maybe-install-strip-etc
8417 maybe-install-strip-etc:
8418 @if etc
8419 maybe-install-strip-etc: install-strip-etc
8420
8421 install-strip-etc: installdirs
8422 @: $(MAKE); $(unstage)
8423 @r=`${PWD_COMMAND}`; export r; \
8424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8425 $(HOST_EXPORTS) \
8426 (cd $(HOST_SUBDIR)/etc && \
8427 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8428
8429 @endif etc
8430
8431 # Other targets (info, dvi, pdf, etc.)
8432
8433 .PHONY: maybe-info-etc info-etc
8434 maybe-info-etc:
8435 @if etc
8436 maybe-info-etc: info-etc
8437
8438 info-etc: \
8439 configure-etc
8440 @: $(MAKE); $(unstage)
8441 @[ -f ./etc/Makefile ] || exit 0; \
8442 r=`${PWD_COMMAND}`; export r; \
8443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8444 $(HOST_EXPORTS) \
8445 for flag in $(EXTRA_HOST_FLAGS) ; do \
8446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8447 done; \
8448 echo "Doing info in etc"; \
8449 (cd $(HOST_SUBDIR)/etc && \
8450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8452 "RANLIB=$${RANLIB}" \
8453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8454 info) \
8455 || exit 1
8456
8457 @endif etc
8458
8459 .PHONY: maybe-dvi-etc dvi-etc
8460 maybe-dvi-etc:
8461 @if etc
8462 maybe-dvi-etc: dvi-etc
8463
8464 dvi-etc: \
8465 configure-etc
8466 @: $(MAKE); $(unstage)
8467 @[ -f ./etc/Makefile ] || exit 0; \
8468 r=`${PWD_COMMAND}`; export r; \
8469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8470 $(HOST_EXPORTS) \
8471 for flag in $(EXTRA_HOST_FLAGS) ; do \
8472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8473 done; \
8474 echo "Doing dvi in etc"; \
8475 (cd $(HOST_SUBDIR)/etc && \
8476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8478 "RANLIB=$${RANLIB}" \
8479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8480 dvi) \
8481 || exit 1
8482
8483 @endif etc
8484
8485 .PHONY: maybe-pdf-etc pdf-etc
8486 maybe-pdf-etc:
8487 @if etc
8488 maybe-pdf-etc: pdf-etc
8489
8490 pdf-etc: \
8491 configure-etc
8492 @: $(MAKE); $(unstage)
8493 @[ -f ./etc/Makefile ] || exit 0; \
8494 r=`${PWD_COMMAND}`; export r; \
8495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8496 $(HOST_EXPORTS) \
8497 for flag in $(EXTRA_HOST_FLAGS) ; do \
8498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8499 done; \
8500 echo "Doing pdf in etc"; \
8501 (cd $(HOST_SUBDIR)/etc && \
8502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8504 "RANLIB=$${RANLIB}" \
8505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8506 pdf) \
8507 || exit 1
8508
8509 @endif etc
8510
8511 .PHONY: maybe-html-etc html-etc
8512 maybe-html-etc:
8513 @if etc
8514 maybe-html-etc: html-etc
8515
8516 html-etc: \
8517 configure-etc
8518 @: $(MAKE); $(unstage)
8519 @[ -f ./etc/Makefile ] || exit 0; \
8520 r=`${PWD_COMMAND}`; export r; \
8521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8522 $(HOST_EXPORTS) \
8523 for flag in $(EXTRA_HOST_FLAGS) ; do \
8524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8525 done; \
8526 echo "Doing html in etc"; \
8527 (cd $(HOST_SUBDIR)/etc && \
8528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8530 "RANLIB=$${RANLIB}" \
8531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8532 html) \
8533 || exit 1
8534
8535 @endif etc
8536
8537 .PHONY: maybe-TAGS-etc TAGS-etc
8538 maybe-TAGS-etc:
8539 @if etc
8540 maybe-TAGS-etc: TAGS-etc
8541
8542 TAGS-etc: \
8543 configure-etc
8544 @: $(MAKE); $(unstage)
8545 @[ -f ./etc/Makefile ] || exit 0; \
8546 r=`${PWD_COMMAND}`; export r; \
8547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8548 $(HOST_EXPORTS) \
8549 for flag in $(EXTRA_HOST_FLAGS) ; do \
8550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8551 done; \
8552 echo "Doing TAGS in etc"; \
8553 (cd $(HOST_SUBDIR)/etc && \
8554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8556 "RANLIB=$${RANLIB}" \
8557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8558 TAGS) \
8559 || exit 1
8560
8561 @endif etc
8562
8563 .PHONY: maybe-install-info-etc install-info-etc
8564 maybe-install-info-etc:
8565 @if etc
8566 maybe-install-info-etc: install-info-etc
8567
8568 install-info-etc: \
8569 configure-etc \
8570 info-etc
8571 @: $(MAKE); $(unstage)
8572 @[ -f ./etc/Makefile ] || exit 0; \
8573 r=`${PWD_COMMAND}`; export r; \
8574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8575 $(HOST_EXPORTS) \
8576 for flag in $(EXTRA_HOST_FLAGS) ; do \
8577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8578 done; \
8579 echo "Doing install-info in etc"; \
8580 (cd $(HOST_SUBDIR)/etc && \
8581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8583 "RANLIB=$${RANLIB}" \
8584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8585 install-info) \
8586 || exit 1
8587
8588 @endif etc
8589
8590 .PHONY: maybe-install-dvi-etc install-dvi-etc
8591 maybe-install-dvi-etc:
8592 @if etc
8593 maybe-install-dvi-etc: install-dvi-etc
8594
8595 install-dvi-etc: \
8596 configure-etc \
8597 dvi-etc
8598 @: $(MAKE); $(unstage)
8599 @[ -f ./etc/Makefile ] || exit 0; \
8600 r=`${PWD_COMMAND}`; export r; \
8601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8602 $(HOST_EXPORTS) \
8603 for flag in $(EXTRA_HOST_FLAGS) ; do \
8604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8605 done; \
8606 echo "Doing install-dvi in etc"; \
8607 (cd $(HOST_SUBDIR)/etc && \
8608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8610 "RANLIB=$${RANLIB}" \
8611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8612 install-dvi) \
8613 || exit 1
8614
8615 @endif etc
8616
8617 .PHONY: maybe-install-pdf-etc install-pdf-etc
8618 maybe-install-pdf-etc:
8619 @if etc
8620 maybe-install-pdf-etc: install-pdf-etc
8621
8622 install-pdf-etc: \
8623 configure-etc \
8624 pdf-etc
8625 @: $(MAKE); $(unstage)
8626 @[ -f ./etc/Makefile ] || exit 0; \
8627 r=`${PWD_COMMAND}`; export r; \
8628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8629 $(HOST_EXPORTS) \
8630 for flag in $(EXTRA_HOST_FLAGS) ; do \
8631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8632 done; \
8633 echo "Doing install-pdf in etc"; \
8634 (cd $(HOST_SUBDIR)/etc && \
8635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8637 "RANLIB=$${RANLIB}" \
8638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8639 install-pdf) \
8640 || exit 1
8641
8642 @endif etc
8643
8644 .PHONY: maybe-install-html-etc install-html-etc
8645 maybe-install-html-etc:
8646 @if etc
8647 maybe-install-html-etc: install-html-etc
8648
8649 install-html-etc: \
8650 configure-etc \
8651 html-etc
8652 @: $(MAKE); $(unstage)
8653 @[ -f ./etc/Makefile ] || exit 0; \
8654 r=`${PWD_COMMAND}`; export r; \
8655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8656 $(HOST_EXPORTS) \
8657 for flag in $(EXTRA_HOST_FLAGS) ; do \
8658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8659 done; \
8660 echo "Doing install-html in etc"; \
8661 (cd $(HOST_SUBDIR)/etc && \
8662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8664 "RANLIB=$${RANLIB}" \
8665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8666 install-html) \
8667 || exit 1
8668
8669 @endif etc
8670
8671 .PHONY: maybe-installcheck-etc installcheck-etc
8672 maybe-installcheck-etc:
8673 @if etc
8674 maybe-installcheck-etc: installcheck-etc
8675
8676 installcheck-etc: \
8677 configure-etc
8678 @: $(MAKE); $(unstage)
8679 @[ -f ./etc/Makefile ] || exit 0; \
8680 r=`${PWD_COMMAND}`; export r; \
8681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8682 $(HOST_EXPORTS) \
8683 for flag in $(EXTRA_HOST_FLAGS) ; do \
8684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8685 done; \
8686 echo "Doing installcheck in etc"; \
8687 (cd $(HOST_SUBDIR)/etc && \
8688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8690 "RANLIB=$${RANLIB}" \
8691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8692 installcheck) \
8693 || exit 1
8694
8695 @endif etc
8696
8697 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8698 maybe-mostlyclean-etc:
8699 @if etc
8700 maybe-mostlyclean-etc: mostlyclean-etc
8701
8702 mostlyclean-etc:
8703 @: $(MAKE); $(unstage)
8704 @[ -f ./etc/Makefile ] || exit 0; \
8705 r=`${PWD_COMMAND}`; export r; \
8706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8707 $(HOST_EXPORTS) \
8708 for flag in $(EXTRA_HOST_FLAGS) ; do \
8709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8710 done; \
8711 echo "Doing mostlyclean in etc"; \
8712 (cd $(HOST_SUBDIR)/etc && \
8713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8715 "RANLIB=$${RANLIB}" \
8716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8717 mostlyclean) \
8718 || exit 1
8719
8720 @endif etc
8721
8722 .PHONY: maybe-clean-etc clean-etc
8723 maybe-clean-etc:
8724 @if etc
8725 maybe-clean-etc: clean-etc
8726
8727 clean-etc:
8728 @: $(MAKE); $(unstage)
8729 @[ -f ./etc/Makefile ] || exit 0; \
8730 r=`${PWD_COMMAND}`; export r; \
8731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8732 $(HOST_EXPORTS) \
8733 for flag in $(EXTRA_HOST_FLAGS) ; do \
8734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8735 done; \
8736 echo "Doing clean in etc"; \
8737 (cd $(HOST_SUBDIR)/etc && \
8738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8740 "RANLIB=$${RANLIB}" \
8741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8742 clean) \
8743 || exit 1
8744
8745 @endif etc
8746
8747 .PHONY: maybe-distclean-etc distclean-etc
8748 maybe-distclean-etc:
8749 @if etc
8750 maybe-distclean-etc: distclean-etc
8751
8752 distclean-etc:
8753 @: $(MAKE); $(unstage)
8754 @[ -f ./etc/Makefile ] || exit 0; \
8755 r=`${PWD_COMMAND}`; export r; \
8756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8757 $(HOST_EXPORTS) \
8758 for flag in $(EXTRA_HOST_FLAGS) ; do \
8759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8760 done; \
8761 echo "Doing distclean in etc"; \
8762 (cd $(HOST_SUBDIR)/etc && \
8763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8765 "RANLIB=$${RANLIB}" \
8766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8767 distclean) \
8768 || exit 1
8769
8770 @endif etc
8771
8772 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8773 maybe-maintainer-clean-etc:
8774 @if etc
8775 maybe-maintainer-clean-etc: maintainer-clean-etc
8776
8777 maintainer-clean-etc:
8778 @: $(MAKE); $(unstage)
8779 @[ -f ./etc/Makefile ] || exit 0; \
8780 r=`${PWD_COMMAND}`; export r; \
8781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8782 $(HOST_EXPORTS) \
8783 for flag in $(EXTRA_HOST_FLAGS) ; do \
8784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8785 done; \
8786 echo "Doing maintainer-clean in etc"; \
8787 (cd $(HOST_SUBDIR)/etc && \
8788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8790 "RANLIB=$${RANLIB}" \
8791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8792 maintainer-clean) \
8793 || exit 1
8794
8795 @endif etc
8796
8797
8798
8799 .PHONY: configure-fastjar maybe-configure-fastjar
8800 maybe-configure-fastjar:
8801 @if gcc-bootstrap
8802 configure-fastjar: stage_current
8803 @endif gcc-bootstrap
8804 @if fastjar
8805 maybe-configure-fastjar: configure-fastjar
8806 configure-fastjar:
8807 @: $(MAKE); $(unstage)
8808 @r=`${PWD_COMMAND}`; export r; \
8809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8810 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar; \
8812 $(HOST_EXPORTS) \
8813 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8814 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8815 case $(srcdir) in \
8816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8817 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8819 esac; \
8820 module_srcdir=fastjar; \
8821 $(SHELL) \
8822 $$s/$$module_srcdir/configure \
8823 --srcdir=$${topdir}/$$module_srcdir \
8824 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8825 --target=${target_alias} \
8826 || exit 1
8827 @endif fastjar
8828
8829
8830
8831
8832
8833 .PHONY: all-fastjar maybe-all-fastjar
8834 maybe-all-fastjar:
8835 @if gcc-bootstrap
8836 all-fastjar: stage_current
8837 @endif gcc-bootstrap
8838 @if fastjar
8839 TARGET-fastjar=all
8840 maybe-all-fastjar: all-fastjar
8841 all-fastjar: configure-fastjar
8842 @: $(MAKE); $(unstage)
8843 @r=`${PWD_COMMAND}`; export r; \
8844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8845 $(HOST_EXPORTS) \
8846 (cd $(HOST_SUBDIR)/fastjar && \
8847 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8848 $(TARGET-fastjar))
8849 @endif fastjar
8850
8851
8852
8853
8854 .PHONY: check-fastjar maybe-check-fastjar
8855 maybe-check-fastjar:
8856 @if fastjar
8857 maybe-check-fastjar: check-fastjar
8858
8859 # This module is only tested in a native toolchain.
8860 check-fastjar:
8861 @: $(MAKE); $(unstage)
8862 @if [ '$(host)' = '$(target)' ]; then \
8863 r=`${PWD_COMMAND}`; export r; \
8864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8865 $(HOST_EXPORTS) \
8866 (cd $(HOST_SUBDIR)/fastjar && \
8867 $(MAKE) $(FLAGS_TO_PASS) check)
8868 fi
8869
8870 @endif fastjar
8871
8872 .PHONY: install-fastjar maybe-install-fastjar
8873 maybe-install-fastjar:
8874 @if fastjar
8875 maybe-install-fastjar: install-fastjar
8876
8877 install-fastjar: installdirs
8878 @: $(MAKE); $(unstage)
8879 @r=`${PWD_COMMAND}`; export r; \
8880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8881 $(HOST_EXPORTS) \
8882 (cd $(HOST_SUBDIR)/fastjar && \
8883 $(MAKE) $(FLAGS_TO_PASS) install)
8884
8885 @endif fastjar
8886
8887 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
8888 maybe-install-strip-fastjar:
8889 @if fastjar
8890 maybe-install-strip-fastjar: install-strip-fastjar
8891
8892 install-strip-fastjar: installdirs
8893 @: $(MAKE); $(unstage)
8894 @r=`${PWD_COMMAND}`; export r; \
8895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8896 $(HOST_EXPORTS) \
8897 (cd $(HOST_SUBDIR)/fastjar && \
8898 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8899
8900 @endif fastjar
8901
8902 # Other targets (info, dvi, pdf, etc.)
8903
8904 .PHONY: maybe-info-fastjar info-fastjar
8905 maybe-info-fastjar:
8906 @if fastjar
8907 maybe-info-fastjar: info-fastjar
8908
8909 info-fastjar: \
8910 configure-fastjar
8911 @: $(MAKE); $(unstage)
8912 @[ -f ./fastjar/Makefile ] || exit 0; \
8913 r=`${PWD_COMMAND}`; export r; \
8914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8915 $(HOST_EXPORTS) \
8916 for flag in $(EXTRA_HOST_FLAGS) ; do \
8917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8918 done; \
8919 echo "Doing info in fastjar"; \
8920 (cd $(HOST_SUBDIR)/fastjar && \
8921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8923 "RANLIB=$${RANLIB}" \
8924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8925 info) \
8926 || exit 1
8927
8928 @endif fastjar
8929
8930 .PHONY: maybe-dvi-fastjar dvi-fastjar
8931 maybe-dvi-fastjar:
8932 @if fastjar
8933 maybe-dvi-fastjar: dvi-fastjar
8934
8935 dvi-fastjar: \
8936 configure-fastjar
8937 @: $(MAKE); $(unstage)
8938 @[ -f ./fastjar/Makefile ] || exit 0; \
8939 r=`${PWD_COMMAND}`; export r; \
8940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8941 $(HOST_EXPORTS) \
8942 for flag in $(EXTRA_HOST_FLAGS) ; do \
8943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8944 done; \
8945 echo "Doing dvi in fastjar"; \
8946 (cd $(HOST_SUBDIR)/fastjar && \
8947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8949 "RANLIB=$${RANLIB}" \
8950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8951 dvi) \
8952 || exit 1
8953
8954 @endif fastjar
8955
8956 .PHONY: maybe-pdf-fastjar pdf-fastjar
8957 maybe-pdf-fastjar:
8958 @if fastjar
8959 maybe-pdf-fastjar: pdf-fastjar
8960
8961 pdf-fastjar: \
8962 configure-fastjar
8963 @: $(MAKE); $(unstage)
8964 @[ -f ./fastjar/Makefile ] || exit 0; \
8965 r=`${PWD_COMMAND}`; export r; \
8966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8967 $(HOST_EXPORTS) \
8968 for flag in $(EXTRA_HOST_FLAGS) ; do \
8969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8970 done; \
8971 echo "Doing pdf in fastjar"; \
8972 (cd $(HOST_SUBDIR)/fastjar && \
8973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8975 "RANLIB=$${RANLIB}" \
8976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8977 pdf) \
8978 || exit 1
8979
8980 @endif fastjar
8981
8982 .PHONY: maybe-html-fastjar html-fastjar
8983 maybe-html-fastjar:
8984 @if fastjar
8985 maybe-html-fastjar: html-fastjar
8986
8987 html-fastjar: \
8988 configure-fastjar
8989 @: $(MAKE); $(unstage)
8990 @[ -f ./fastjar/Makefile ] || exit 0; \
8991 r=`${PWD_COMMAND}`; export r; \
8992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8993 $(HOST_EXPORTS) \
8994 for flag in $(EXTRA_HOST_FLAGS) ; do \
8995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8996 done; \
8997 echo "Doing html in fastjar"; \
8998 (cd $(HOST_SUBDIR)/fastjar && \
8999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9001 "RANLIB=$${RANLIB}" \
9002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9003 html) \
9004 || exit 1
9005
9006 @endif fastjar
9007
9008 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9009 maybe-TAGS-fastjar:
9010 @if fastjar
9011 maybe-TAGS-fastjar: TAGS-fastjar
9012
9013 TAGS-fastjar: \
9014 configure-fastjar
9015 @: $(MAKE); $(unstage)
9016 @[ -f ./fastjar/Makefile ] || exit 0; \
9017 r=`${PWD_COMMAND}`; export r; \
9018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9019 $(HOST_EXPORTS) \
9020 for flag in $(EXTRA_HOST_FLAGS) ; do \
9021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9022 done; \
9023 echo "Doing TAGS in fastjar"; \
9024 (cd $(HOST_SUBDIR)/fastjar && \
9025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9027 "RANLIB=$${RANLIB}" \
9028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9029 TAGS) \
9030 || exit 1
9031
9032 @endif fastjar
9033
9034 .PHONY: maybe-install-info-fastjar install-info-fastjar
9035 maybe-install-info-fastjar:
9036 @if fastjar
9037 maybe-install-info-fastjar: install-info-fastjar
9038
9039 install-info-fastjar: \
9040 configure-fastjar \
9041 info-fastjar
9042 @: $(MAKE); $(unstage)
9043 @[ -f ./fastjar/Makefile ] || exit 0; \
9044 r=`${PWD_COMMAND}`; export r; \
9045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9046 $(HOST_EXPORTS) \
9047 for flag in $(EXTRA_HOST_FLAGS) ; do \
9048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9049 done; \
9050 echo "Doing install-info in fastjar"; \
9051 (cd $(HOST_SUBDIR)/fastjar && \
9052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9054 "RANLIB=$${RANLIB}" \
9055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9056 install-info) \
9057 || exit 1
9058
9059 @endif fastjar
9060
9061 .PHONY: maybe-install-dvi-fastjar install-dvi-fastjar
9062 maybe-install-dvi-fastjar:
9063 @if fastjar
9064 maybe-install-dvi-fastjar: install-dvi-fastjar
9065
9066 install-dvi-fastjar: \
9067 configure-fastjar \
9068 dvi-fastjar
9069 @: $(MAKE); $(unstage)
9070 @[ -f ./fastjar/Makefile ] || exit 0; \
9071 r=`${PWD_COMMAND}`; export r; \
9072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9073 $(HOST_EXPORTS) \
9074 for flag in $(EXTRA_HOST_FLAGS) ; do \
9075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9076 done; \
9077 echo "Doing install-dvi in fastjar"; \
9078 (cd $(HOST_SUBDIR)/fastjar && \
9079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9081 "RANLIB=$${RANLIB}" \
9082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9083 install-dvi) \
9084 || exit 1
9085
9086 @endif fastjar
9087
9088 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
9089 maybe-install-pdf-fastjar:
9090 @if fastjar
9091 maybe-install-pdf-fastjar: install-pdf-fastjar
9092
9093 install-pdf-fastjar: \
9094 configure-fastjar \
9095 pdf-fastjar
9096 @: $(MAKE); $(unstage)
9097 @[ -f ./fastjar/Makefile ] || exit 0; \
9098 r=`${PWD_COMMAND}`; export r; \
9099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9100 $(HOST_EXPORTS) \
9101 for flag in $(EXTRA_HOST_FLAGS) ; do \
9102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9103 done; \
9104 echo "Doing install-pdf in fastjar"; \
9105 (cd $(HOST_SUBDIR)/fastjar && \
9106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9108 "RANLIB=$${RANLIB}" \
9109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9110 install-pdf) \
9111 || exit 1
9112
9113 @endif fastjar
9114
9115 .PHONY: maybe-install-html-fastjar install-html-fastjar
9116 maybe-install-html-fastjar:
9117 @if fastjar
9118 maybe-install-html-fastjar: install-html-fastjar
9119
9120 install-html-fastjar: \
9121 configure-fastjar \
9122 html-fastjar
9123 @: $(MAKE); $(unstage)
9124 @[ -f ./fastjar/Makefile ] || exit 0; \
9125 r=`${PWD_COMMAND}`; export r; \
9126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9127 $(HOST_EXPORTS) \
9128 for flag in $(EXTRA_HOST_FLAGS) ; do \
9129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9130 done; \
9131 echo "Doing install-html in fastjar"; \
9132 (cd $(HOST_SUBDIR)/fastjar && \
9133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9135 "RANLIB=$${RANLIB}" \
9136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9137 install-html) \
9138 || exit 1
9139
9140 @endif fastjar
9141
9142 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9143 maybe-installcheck-fastjar:
9144 @if fastjar
9145 maybe-installcheck-fastjar: installcheck-fastjar
9146
9147 installcheck-fastjar: \
9148 configure-fastjar
9149 @: $(MAKE); $(unstage)
9150 @[ -f ./fastjar/Makefile ] || exit 0; \
9151 r=`${PWD_COMMAND}`; export r; \
9152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9153 $(HOST_EXPORTS) \
9154 for flag in $(EXTRA_HOST_FLAGS) ; do \
9155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9156 done; \
9157 echo "Doing installcheck in fastjar"; \
9158 (cd $(HOST_SUBDIR)/fastjar && \
9159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9161 "RANLIB=$${RANLIB}" \
9162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9163 installcheck) \
9164 || exit 1
9165
9166 @endif fastjar
9167
9168 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9169 maybe-mostlyclean-fastjar:
9170 @if fastjar
9171 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9172
9173 mostlyclean-fastjar:
9174 @: $(MAKE); $(unstage)
9175 @[ -f ./fastjar/Makefile ] || exit 0; \
9176 r=`${PWD_COMMAND}`; export r; \
9177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9178 $(HOST_EXPORTS) \
9179 for flag in $(EXTRA_HOST_FLAGS) ; do \
9180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9181 done; \
9182 echo "Doing mostlyclean in fastjar"; \
9183 (cd $(HOST_SUBDIR)/fastjar && \
9184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9186 "RANLIB=$${RANLIB}" \
9187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9188 mostlyclean) \
9189 || exit 1
9190
9191 @endif fastjar
9192
9193 .PHONY: maybe-clean-fastjar clean-fastjar
9194 maybe-clean-fastjar:
9195 @if fastjar
9196 maybe-clean-fastjar: clean-fastjar
9197
9198 clean-fastjar:
9199 @: $(MAKE); $(unstage)
9200 @[ -f ./fastjar/Makefile ] || exit 0; \
9201 r=`${PWD_COMMAND}`; export r; \
9202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9203 $(HOST_EXPORTS) \
9204 for flag in $(EXTRA_HOST_FLAGS) ; do \
9205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9206 done; \
9207 echo "Doing clean in fastjar"; \
9208 (cd $(HOST_SUBDIR)/fastjar && \
9209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9211 "RANLIB=$${RANLIB}" \
9212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9213 clean) \
9214 || exit 1
9215
9216 @endif fastjar
9217
9218 .PHONY: maybe-distclean-fastjar distclean-fastjar
9219 maybe-distclean-fastjar:
9220 @if fastjar
9221 maybe-distclean-fastjar: distclean-fastjar
9222
9223 distclean-fastjar:
9224 @: $(MAKE); $(unstage)
9225 @[ -f ./fastjar/Makefile ] || exit 0; \
9226 r=`${PWD_COMMAND}`; export r; \
9227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9228 $(HOST_EXPORTS) \
9229 for flag in $(EXTRA_HOST_FLAGS) ; do \
9230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9231 done; \
9232 echo "Doing distclean in fastjar"; \
9233 (cd $(HOST_SUBDIR)/fastjar && \
9234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9236 "RANLIB=$${RANLIB}" \
9237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9238 distclean) \
9239 || exit 1
9240
9241 @endif fastjar
9242
9243 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9244 maybe-maintainer-clean-fastjar:
9245 @if fastjar
9246 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9247
9248 maintainer-clean-fastjar:
9249 @: $(MAKE); $(unstage)
9250 @[ -f ./fastjar/Makefile ] || exit 0; \
9251 r=`${PWD_COMMAND}`; export r; \
9252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9253 $(HOST_EXPORTS) \
9254 for flag in $(EXTRA_HOST_FLAGS) ; do \
9255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9256 done; \
9257 echo "Doing maintainer-clean in fastjar"; \
9258 (cd $(HOST_SUBDIR)/fastjar && \
9259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9261 "RANLIB=$${RANLIB}" \
9262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9263 maintainer-clean) \
9264 || exit 1
9265
9266 @endif fastjar
9267
9268
9269
9270 .PHONY: configure-fixincludes maybe-configure-fixincludes
9271 maybe-configure-fixincludes:
9272 @if gcc-bootstrap
9273 configure-fixincludes: stage_current
9274 @endif gcc-bootstrap
9275 @if fixincludes
9276 maybe-configure-fixincludes: configure-fixincludes
9277 configure-fixincludes:
9278 @r=`${PWD_COMMAND}`; export r; \
9279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9280 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9282 $(HOST_EXPORTS) \
9283 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9284 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9285 case $(srcdir) in \
9286 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9287 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9288 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9289 esac; \
9290 module_srcdir=fixincludes; \
9291 $(SHELL) \
9292 $$s/$$module_srcdir/configure \
9293 --srcdir=$${topdir}/$$module_srcdir \
9294 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9295 --target=${target_alias} \
9296 || exit 1
9297 @endif fixincludes
9298
9299
9300
9301 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
9302 maybe-configure-stage1-fixincludes:
9303 @if fixincludes-bootstrap
9304 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
9305 configure-stage1-fixincludes:
9306 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9307 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9308 @r=`${PWD_COMMAND}`; export r; \
9309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9310 TFLAGS="$(STAGE1_TFLAGS)"; \
9311 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9312 $(HOST_EXPORTS) \
9313 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9314 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9315 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9316 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes; \
9317 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9318 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9319 case $(srcdir) in \
9320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9321 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9323 esac; \
9324 module_srcdir=fixincludes; \
9325 $(SHELL) $$s/$$module_srcdir/configure \
9326 --srcdir=$${topdir}/$$module_srcdir \
9327 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9328 --target=${target_alias} \
9329 \
9330 $(STAGE1_CONFIGURE_FLAGS)
9331 @endif fixincludes-bootstrap
9332
9333 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
9334 maybe-configure-stage2-fixincludes:
9335 @if fixincludes-bootstrap
9336 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
9337 configure-stage2-fixincludes:
9338 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9339 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9340 @r=`${PWD_COMMAND}`; export r; \
9341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9342 TFLAGS="$(STAGE2_TFLAGS)"; \
9343 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9344 $(HOST_EXPORTS) \
9345 $(POSTSTAGE1_HOST_EXPORTS) \
9346 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9347 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9348 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9349 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes; \
9350 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9351 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9352 case $(srcdir) in \
9353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9354 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9356 esac; \
9357 module_srcdir=fixincludes; \
9358 $(SHELL) $$s/$$module_srcdir/configure \
9359 --srcdir=$${topdir}/$$module_srcdir \
9360 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9361 --target=${target_alias} \
9362 --with-build-libsubdir=$(HOST_SUBDIR) \
9363 $(STAGE2_CONFIGURE_FLAGS)
9364 @endif fixincludes-bootstrap
9365
9366 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
9367 maybe-configure-stage3-fixincludes:
9368 @if fixincludes-bootstrap
9369 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
9370 configure-stage3-fixincludes:
9371 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9372 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9373 @r=`${PWD_COMMAND}`; export r; \
9374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9375 TFLAGS="$(STAGE3_TFLAGS)"; \
9376 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9377 $(HOST_EXPORTS) \
9378 $(POSTSTAGE1_HOST_EXPORTS) \
9379 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9380 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9381 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9382 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes; \
9383 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9384 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9385 case $(srcdir) in \
9386 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9387 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9388 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9389 esac; \
9390 module_srcdir=fixincludes; \
9391 $(SHELL) $$s/$$module_srcdir/configure \
9392 --srcdir=$${topdir}/$$module_srcdir \
9393 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9394 --target=${target_alias} \
9395 --with-build-libsubdir=$(HOST_SUBDIR) \
9396 $(STAGE3_CONFIGURE_FLAGS)
9397 @endif fixincludes-bootstrap
9398
9399 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
9400 maybe-configure-stage4-fixincludes:
9401 @if fixincludes-bootstrap
9402 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
9403 configure-stage4-fixincludes:
9404 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9405 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9406 @r=`${PWD_COMMAND}`; export r; \
9407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9408 TFLAGS="$(STAGE4_TFLAGS)"; \
9409 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9410 $(HOST_EXPORTS) \
9411 $(POSTSTAGE1_HOST_EXPORTS) \
9412 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9413 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9414 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9415 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes; \
9416 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9417 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9418 case $(srcdir) in \
9419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9420 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9422 esac; \
9423 module_srcdir=fixincludes; \
9424 $(SHELL) $$s/$$module_srcdir/configure \
9425 --srcdir=$${topdir}/$$module_srcdir \
9426 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9427 --target=${target_alias} \
9428 --with-build-libsubdir=$(HOST_SUBDIR) \
9429 $(STAGE4_CONFIGURE_FLAGS)
9430 @endif fixincludes-bootstrap
9431
9432 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
9433 maybe-configure-stageprofile-fixincludes:
9434 @if fixincludes-bootstrap
9435 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
9436 configure-stageprofile-fixincludes:
9437 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9438 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9439 @r=`${PWD_COMMAND}`; export r; \
9440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9441 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9442 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9443 $(HOST_EXPORTS) \
9444 $(POSTSTAGE1_HOST_EXPORTS) \
9445 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9446 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9447 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9448 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes; \
9449 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9450 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9451 case $(srcdir) in \
9452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9453 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9455 esac; \
9456 module_srcdir=fixincludes; \
9457 $(SHELL) $$s/$$module_srcdir/configure \
9458 --srcdir=$${topdir}/$$module_srcdir \
9459 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9460 --target=${target_alias} \
9461 --with-build-libsubdir=$(HOST_SUBDIR) \
9462 $(STAGEprofile_CONFIGURE_FLAGS)
9463 @endif fixincludes-bootstrap
9464
9465 .PHONY: configure-stagetrain-fixincludes maybe-configure-stagetrain-fixincludes
9466 maybe-configure-stagetrain-fixincludes:
9467 @if fixincludes-bootstrap
9468 maybe-configure-stagetrain-fixincludes: configure-stagetrain-fixincludes
9469 configure-stagetrain-fixincludes:
9470 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9471 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9472 @r=`${PWD_COMMAND}`; export r; \
9473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9474 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9475 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9476 $(HOST_EXPORTS) \
9477 $(POSTSTAGE1_HOST_EXPORTS) \
9478 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
9479 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
9480 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
9481 echo Configuring stage train in $(HOST_SUBDIR)/fixincludes; \
9482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9483 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9484 case $(srcdir) in \
9485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9486 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9488 esac; \
9489 module_srcdir=fixincludes; \
9490 $(SHELL) $$s/$$module_srcdir/configure \
9491 --srcdir=$${topdir}/$$module_srcdir \
9492 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9493 --target=${target_alias} \
9494 --with-build-libsubdir=$(HOST_SUBDIR) \
9495 $(STAGEtrain_CONFIGURE_FLAGS)
9496 @endif fixincludes-bootstrap
9497
9498 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
9499 maybe-configure-stagefeedback-fixincludes:
9500 @if fixincludes-bootstrap
9501 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9502 configure-stagefeedback-fixincludes:
9503 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9504 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9505 @r=`${PWD_COMMAND}`; export r; \
9506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9507 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9508 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9509 $(HOST_EXPORTS) \
9510 $(POSTSTAGE1_HOST_EXPORTS) \
9511 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9512 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9513 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9514 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes; \
9515 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9516 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9517 case $(srcdir) in \
9518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9519 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9521 esac; \
9522 module_srcdir=fixincludes; \
9523 $(SHELL) $$s/$$module_srcdir/configure \
9524 --srcdir=$${topdir}/$$module_srcdir \
9525 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9526 --target=${target_alias} \
9527 --with-build-libsubdir=$(HOST_SUBDIR) \
9528 $(STAGEfeedback_CONFIGURE_FLAGS)
9529 @endif fixincludes-bootstrap
9530
9531 .PHONY: configure-stageautoprofile-fixincludes maybe-configure-stageautoprofile-fixincludes
9532 maybe-configure-stageautoprofile-fixincludes:
9533 @if fixincludes-bootstrap
9534 maybe-configure-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9535 configure-stageautoprofile-fixincludes:
9536 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9537 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9538 @r=`${PWD_COMMAND}`; export r; \
9539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9540 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9541 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9542 $(HOST_EXPORTS) \
9543 $(POSTSTAGE1_HOST_EXPORTS) \
9544 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
9545 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
9546 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
9547 echo Configuring stage autoprofile in $(HOST_SUBDIR)/fixincludes; \
9548 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9549 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9550 case $(srcdir) in \
9551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9552 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9554 esac; \
9555 module_srcdir=fixincludes; \
9556 $(SHELL) $$s/$$module_srcdir/configure \
9557 --srcdir=$${topdir}/$$module_srcdir \
9558 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9559 --target=${target_alias} \
9560 --with-build-libsubdir=$(HOST_SUBDIR) \
9561 $(STAGEautoprofile_CONFIGURE_FLAGS)
9562 @endif fixincludes-bootstrap
9563
9564 .PHONY: configure-stageautofeedback-fixincludes maybe-configure-stageautofeedback-fixincludes
9565 maybe-configure-stageautofeedback-fixincludes:
9566 @if fixincludes-bootstrap
9567 maybe-configure-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9568 configure-stageautofeedback-fixincludes:
9569 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9570 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
9571 @r=`${PWD_COMMAND}`; export r; \
9572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9573 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9574 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9575 $(HOST_EXPORTS) \
9576 $(POSTSTAGE1_HOST_EXPORTS) \
9577 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
9578 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
9579 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
9580 echo Configuring stage autofeedback in $(HOST_SUBDIR)/fixincludes; \
9581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes; \
9582 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
9583 case $(srcdir) in \
9584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9585 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9587 esac; \
9588 module_srcdir=fixincludes; \
9589 $(SHELL) $$s/$$module_srcdir/configure \
9590 --srcdir=$${topdir}/$$module_srcdir \
9591 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9592 --target=${target_alias} \
9593 --with-build-libsubdir=$(HOST_SUBDIR) \
9594 $(STAGEautofeedback_CONFIGURE_FLAGS)
9595 @endif fixincludes-bootstrap
9596
9597
9598
9599
9600
9601 .PHONY: all-fixincludes maybe-all-fixincludes
9602 maybe-all-fixincludes:
9603 @if gcc-bootstrap
9604 all-fixincludes: stage_current
9605 @endif gcc-bootstrap
9606 @if fixincludes
9607 TARGET-fixincludes=all
9608 maybe-all-fixincludes: all-fixincludes
9609 all-fixincludes: configure-fixincludes
9610 @r=`${PWD_COMMAND}`; export r; \
9611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9612 $(HOST_EXPORTS) \
9613 (cd $(HOST_SUBDIR)/fixincludes && \
9614 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9615 $(TARGET-fixincludes))
9616 @endif fixincludes
9617
9618
9619
9620 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
9621 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
9622 maybe-all-stage1-fixincludes:
9623 maybe-clean-stage1-fixincludes:
9624 @if fixincludes-bootstrap
9625 maybe-all-stage1-fixincludes: all-stage1-fixincludes
9626 all-stage1: all-stage1-fixincludes
9627 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
9628 all-stage1-fixincludes: configure-stage1-fixincludes
9629 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9630 @r=`${PWD_COMMAND}`; export r; \
9631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9632 TFLAGS="$(STAGE1_TFLAGS)"; \
9633 $(HOST_EXPORTS) \
9634 cd $(HOST_SUBDIR)/fixincludes && \
9635 \
9636 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9637 CFLAGS="$(STAGE1_CFLAGS)" \
9638 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
9639 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9640 LIBCFLAGS="$(LIBCFLAGS)" \
9641 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9642 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9643 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9644 $(EXTRA_HOST_FLAGS) \
9645 $(STAGE1_FLAGS_TO_PASS) \
9646 TFLAGS="$(STAGE1_TFLAGS)" \
9647 $(TARGET-stage1-fixincludes)
9648
9649 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
9650 clean-stage1: clean-stage1-fixincludes
9651 clean-stage1-fixincludes:
9652 @if [ $(current_stage) = stage1 ]; then \
9653 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9654 else \
9655 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
9656 $(MAKE) stage1-start; \
9657 fi; \
9658 cd $(HOST_SUBDIR)/fixincludes && \
9659 $(MAKE) $(EXTRA_HOST_FLAGS) \
9660 $(STAGE1_FLAGS_TO_PASS) clean
9661 @endif fixincludes-bootstrap
9662
9663
9664 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
9665 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
9666 maybe-all-stage2-fixincludes:
9667 maybe-clean-stage2-fixincludes:
9668 @if fixincludes-bootstrap
9669 maybe-all-stage2-fixincludes: all-stage2-fixincludes
9670 all-stage2: all-stage2-fixincludes
9671 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
9672 all-stage2-fixincludes: configure-stage2-fixincludes
9673 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9674 @r=`${PWD_COMMAND}`; export r; \
9675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9676 TFLAGS="$(STAGE2_TFLAGS)"; \
9677 $(HOST_EXPORTS) \
9678 $(POSTSTAGE1_HOST_EXPORTS) \
9679 cd $(HOST_SUBDIR)/fixincludes && \
9680 \
9681 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9682 CFLAGS="$(STAGE2_CFLAGS)" \
9683 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
9684 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9685 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9686 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9687 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9688 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9689 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9690 TFLAGS="$(STAGE2_TFLAGS)" \
9691 $(TARGET-stage2-fixincludes)
9692
9693 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
9694 clean-stage2: clean-stage2-fixincludes
9695 clean-stage2-fixincludes:
9696 @if [ $(current_stage) = stage2 ]; then \
9697 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9698 else \
9699 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
9700 $(MAKE) stage2-start; \
9701 fi; \
9702 cd $(HOST_SUBDIR)/fixincludes && \
9703 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9704 @endif fixincludes-bootstrap
9705
9706
9707 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
9708 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
9709 maybe-all-stage3-fixincludes:
9710 maybe-clean-stage3-fixincludes:
9711 @if fixincludes-bootstrap
9712 maybe-all-stage3-fixincludes: all-stage3-fixincludes
9713 all-stage3: all-stage3-fixincludes
9714 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
9715 all-stage3-fixincludes: configure-stage3-fixincludes
9716 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9717 @r=`${PWD_COMMAND}`; export r; \
9718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9719 TFLAGS="$(STAGE3_TFLAGS)"; \
9720 $(HOST_EXPORTS) \
9721 $(POSTSTAGE1_HOST_EXPORTS) \
9722 cd $(HOST_SUBDIR)/fixincludes && \
9723 \
9724 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9725 CFLAGS="$(STAGE3_CFLAGS)" \
9726 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
9727 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9728 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9729 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9730 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9731 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9732 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9733 TFLAGS="$(STAGE3_TFLAGS)" \
9734 $(TARGET-stage3-fixincludes)
9735
9736 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
9737 clean-stage3: clean-stage3-fixincludes
9738 clean-stage3-fixincludes:
9739 @if [ $(current_stage) = stage3 ]; then \
9740 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9741 else \
9742 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
9743 $(MAKE) stage3-start; \
9744 fi; \
9745 cd $(HOST_SUBDIR)/fixincludes && \
9746 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9747 @endif fixincludes-bootstrap
9748
9749
9750 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
9751 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
9752 maybe-all-stage4-fixincludes:
9753 maybe-clean-stage4-fixincludes:
9754 @if fixincludes-bootstrap
9755 maybe-all-stage4-fixincludes: all-stage4-fixincludes
9756 all-stage4: all-stage4-fixincludes
9757 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
9758 all-stage4-fixincludes: configure-stage4-fixincludes
9759 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9760 @r=`${PWD_COMMAND}`; export r; \
9761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9762 TFLAGS="$(STAGE4_TFLAGS)"; \
9763 $(HOST_EXPORTS) \
9764 $(POSTSTAGE1_HOST_EXPORTS) \
9765 cd $(HOST_SUBDIR)/fixincludes && \
9766 \
9767 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9768 CFLAGS="$(STAGE4_CFLAGS)" \
9769 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
9770 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9771 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9772 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9773 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9774 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9775 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9776 TFLAGS="$(STAGE4_TFLAGS)" \
9777 $(TARGET-stage4-fixincludes)
9778
9779 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
9780 clean-stage4: clean-stage4-fixincludes
9781 clean-stage4-fixincludes:
9782 @if [ $(current_stage) = stage4 ]; then \
9783 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9784 else \
9785 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
9786 $(MAKE) stage4-start; \
9787 fi; \
9788 cd $(HOST_SUBDIR)/fixincludes && \
9789 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9790 @endif fixincludes-bootstrap
9791
9792
9793 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
9794 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
9795 maybe-all-stageprofile-fixincludes:
9796 maybe-clean-stageprofile-fixincludes:
9797 @if fixincludes-bootstrap
9798 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
9799 all-stageprofile: all-stageprofile-fixincludes
9800 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
9801 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
9802 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9803 @r=`${PWD_COMMAND}`; export r; \
9804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9805 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9806 $(HOST_EXPORTS) \
9807 $(POSTSTAGE1_HOST_EXPORTS) \
9808 cd $(HOST_SUBDIR)/fixincludes && \
9809 \
9810 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9811 CFLAGS="$(STAGEprofile_CFLAGS)" \
9812 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
9813 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9814 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9815 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9816 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9817 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9818 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9819 TFLAGS="$(STAGEprofile_TFLAGS)" \
9820 $(TARGET-stageprofile-fixincludes)
9821
9822 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
9823 clean-stageprofile: clean-stageprofile-fixincludes
9824 clean-stageprofile-fixincludes:
9825 @if [ $(current_stage) = stageprofile ]; then \
9826 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9827 else \
9828 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
9829 $(MAKE) stageprofile-start; \
9830 fi; \
9831 cd $(HOST_SUBDIR)/fixincludes && \
9832 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9833 @endif fixincludes-bootstrap
9834
9835
9836 .PHONY: all-stagetrain-fixincludes maybe-all-stagetrain-fixincludes
9837 .PHONY: clean-stagetrain-fixincludes maybe-clean-stagetrain-fixincludes
9838 maybe-all-stagetrain-fixincludes:
9839 maybe-clean-stagetrain-fixincludes:
9840 @if fixincludes-bootstrap
9841 maybe-all-stagetrain-fixincludes: all-stagetrain-fixincludes
9842 all-stagetrain: all-stagetrain-fixincludes
9843 TARGET-stagetrain-fixincludes = $(TARGET-fixincludes)
9844 all-stagetrain-fixincludes: configure-stagetrain-fixincludes
9845 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
9846 @r=`${PWD_COMMAND}`; export r; \
9847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9848 TFLAGS="$(STAGEtrain_TFLAGS)"; \
9849 $(HOST_EXPORTS) \
9850 $(POSTSTAGE1_HOST_EXPORTS) \
9851 cd $(HOST_SUBDIR)/fixincludes && \
9852 \
9853 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9854 CFLAGS="$(STAGEtrain_CFLAGS)" \
9855 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
9856 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
9857 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
9858 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9859 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9860 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9861 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9862 TFLAGS="$(STAGEtrain_TFLAGS)" \
9863 $(TARGET-stagetrain-fixincludes)
9864
9865 maybe-clean-stagetrain-fixincludes: clean-stagetrain-fixincludes
9866 clean-stagetrain: clean-stagetrain-fixincludes
9867 clean-stagetrain-fixincludes:
9868 @if [ $(current_stage) = stagetrain ]; then \
9869 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9870 else \
9871 [ -f $(HOST_SUBDIR)/stagetrain-fixincludes/Makefile ] || exit 0; \
9872 $(MAKE) stagetrain-start; \
9873 fi; \
9874 cd $(HOST_SUBDIR)/fixincludes && \
9875 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9876 @endif fixincludes-bootstrap
9877
9878
9879 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
9880 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
9881 maybe-all-stagefeedback-fixincludes:
9882 maybe-clean-stagefeedback-fixincludes:
9883 @if fixincludes-bootstrap
9884 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
9885 all-stagefeedback: all-stagefeedback-fixincludes
9886 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
9887 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
9888 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9889 @r=`${PWD_COMMAND}`; export r; \
9890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9891 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9892 $(HOST_EXPORTS) \
9893 $(POSTSTAGE1_HOST_EXPORTS) \
9894 cd $(HOST_SUBDIR)/fixincludes && \
9895 \
9896 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9897 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9898 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
9899 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9900 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9901 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9902 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9903 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9904 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9905 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9906 $(TARGET-stagefeedback-fixincludes)
9907
9908 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
9909 clean-stagefeedback: clean-stagefeedback-fixincludes
9910 clean-stagefeedback-fixincludes:
9911 @if [ $(current_stage) = stagefeedback ]; then \
9912 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9913 else \
9914 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
9915 $(MAKE) stagefeedback-start; \
9916 fi; \
9917 cd $(HOST_SUBDIR)/fixincludes && \
9918 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9919 @endif fixincludes-bootstrap
9920
9921
9922 .PHONY: all-stageautoprofile-fixincludes maybe-all-stageautoprofile-fixincludes
9923 .PHONY: clean-stageautoprofile-fixincludes maybe-clean-stageautoprofile-fixincludes
9924 maybe-all-stageautoprofile-fixincludes:
9925 maybe-clean-stageautoprofile-fixincludes:
9926 @if fixincludes-bootstrap
9927 maybe-all-stageautoprofile-fixincludes: all-stageautoprofile-fixincludes
9928 all-stageautoprofile: all-stageautoprofile-fixincludes
9929 TARGET-stageautoprofile-fixincludes = $(TARGET-fixincludes)
9930 all-stageautoprofile-fixincludes: configure-stageautoprofile-fixincludes
9931 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
9932 @r=`${PWD_COMMAND}`; export r; \
9933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9934 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
9935 $(HOST_EXPORTS) \
9936 $(POSTSTAGE1_HOST_EXPORTS) \
9937 cd $(HOST_SUBDIR)/fixincludes && \
9938 $$s/gcc/config/i386/$(AUTO_PROFILE) \
9939 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9940 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
9941 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
9942 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
9943 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
9944 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9945 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9946 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9947 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9948 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
9949 $(TARGET-stageautoprofile-fixincludes)
9950
9951 maybe-clean-stageautoprofile-fixincludes: clean-stageautoprofile-fixincludes
9952 clean-stageautoprofile: clean-stageautoprofile-fixincludes
9953 clean-stageautoprofile-fixincludes:
9954 @if [ $(current_stage) = stageautoprofile ]; then \
9955 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9956 else \
9957 [ -f $(HOST_SUBDIR)/stageautoprofile-fixincludes/Makefile ] || exit 0; \
9958 $(MAKE) stageautoprofile-start; \
9959 fi; \
9960 cd $(HOST_SUBDIR)/fixincludes && \
9961 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9962 @endif fixincludes-bootstrap
9963
9964
9965 .PHONY: all-stageautofeedback-fixincludes maybe-all-stageautofeedback-fixincludes
9966 .PHONY: clean-stageautofeedback-fixincludes maybe-clean-stageautofeedback-fixincludes
9967 maybe-all-stageautofeedback-fixincludes:
9968 maybe-clean-stageautofeedback-fixincludes:
9969 @if fixincludes-bootstrap
9970 maybe-all-stageautofeedback-fixincludes: all-stageautofeedback-fixincludes
9971 all-stageautofeedback: all-stageautofeedback-fixincludes
9972 TARGET-stageautofeedback-fixincludes = $(TARGET-fixincludes)
9973 all-stageautofeedback-fixincludes: configure-stageautofeedback-fixincludes
9974 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
9975 @r=`${PWD_COMMAND}`; export r; \
9976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9977 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
9978 $(HOST_EXPORTS) \
9979 $(POSTSTAGE1_HOST_EXPORTS) \
9980 cd $(HOST_SUBDIR)/fixincludes && \
9981 \
9982 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9983 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
9984 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
9985 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
9986 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
9987 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9988 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9989 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9990 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9991 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
9992 $(TARGET-stageautofeedback-fixincludes)
9993
9994 maybe-clean-stageautofeedback-fixincludes: clean-stageautofeedback-fixincludes
9995 clean-stageautofeedback: clean-stageautofeedback-fixincludes
9996 clean-stageautofeedback-fixincludes:
9997 @if [ $(current_stage) = stageautofeedback ]; then \
9998 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
9999 else \
10000 [ -f $(HOST_SUBDIR)/stageautofeedback-fixincludes/Makefile ] || exit 0; \
10001 $(MAKE) stageautofeedback-start; \
10002 fi; \
10003 cd $(HOST_SUBDIR)/fixincludes && \
10004 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
10005 @endif fixincludes-bootstrap
10006
10007
10008
10009
10010
10011 .PHONY: check-fixincludes maybe-check-fixincludes
10012 maybe-check-fixincludes:
10013 @if fixincludes
10014 maybe-check-fixincludes: check-fixincludes
10015
10016 check-fixincludes:
10017 @: $(MAKE); $(unstage)
10018 @r=`${PWD_COMMAND}`; export r; \
10019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10020 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
10021 (cd $(HOST_SUBDIR)/fixincludes && \
10022 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
10023
10024 @endif fixincludes
10025
10026 .PHONY: install-fixincludes maybe-install-fixincludes
10027 maybe-install-fixincludes:
10028 @if fixincludes
10029 maybe-install-fixincludes: install-fixincludes
10030
10031 install-fixincludes: installdirs
10032 @: $(MAKE); $(unstage)
10033 @r=`${PWD_COMMAND}`; export r; \
10034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10035 $(HOST_EXPORTS) \
10036 (cd $(HOST_SUBDIR)/fixincludes && \
10037 $(MAKE) $(FLAGS_TO_PASS) install)
10038
10039 @endif fixincludes
10040
10041 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
10042 maybe-install-strip-fixincludes:
10043 @if fixincludes
10044 maybe-install-strip-fixincludes: install-strip-fixincludes
10045
10046 install-strip-fixincludes: installdirs
10047 @: $(MAKE); $(unstage)
10048 @r=`${PWD_COMMAND}`; export r; \
10049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10050 $(HOST_EXPORTS) \
10051 (cd $(HOST_SUBDIR)/fixincludes && \
10052 $(MAKE) $(FLAGS_TO_PASS) install-strip)
10053
10054 @endif fixincludes
10055
10056 # Other targets (info, dvi, pdf, etc.)
10057
10058 .PHONY: maybe-info-fixincludes info-fixincludes
10059 maybe-info-fixincludes:
10060 @if fixincludes
10061 maybe-info-fixincludes: info-fixincludes
10062
10063 info-fixincludes: \
10064 configure-fixincludes
10065 @[ -f ./fixincludes/Makefile ] || exit 0; \
10066 r=`${PWD_COMMAND}`; export r; \
10067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10068 $(HOST_EXPORTS) \
10069 for flag in $(EXTRA_HOST_FLAGS) ; do \
10070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10071 done; \
10072 echo "Doing info in fixincludes"; \
10073 (cd $(HOST_SUBDIR)/fixincludes && \
10074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10076 "RANLIB=$${RANLIB}" \
10077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10078 info) \
10079 || exit 1
10080
10081 @endif fixincludes
10082
10083 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
10084 maybe-dvi-fixincludes:
10085 @if fixincludes
10086 maybe-dvi-fixincludes: dvi-fixincludes
10087
10088 dvi-fixincludes: \
10089 configure-fixincludes
10090 @[ -f ./fixincludes/Makefile ] || exit 0; \
10091 r=`${PWD_COMMAND}`; export r; \
10092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10093 $(HOST_EXPORTS) \
10094 for flag in $(EXTRA_HOST_FLAGS) ; do \
10095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10096 done; \
10097 echo "Doing dvi in fixincludes"; \
10098 (cd $(HOST_SUBDIR)/fixincludes && \
10099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10101 "RANLIB=$${RANLIB}" \
10102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10103 dvi) \
10104 || exit 1
10105
10106 @endif fixincludes
10107
10108 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
10109 maybe-pdf-fixincludes:
10110 @if fixincludes
10111 maybe-pdf-fixincludes: pdf-fixincludes
10112
10113 pdf-fixincludes: \
10114 configure-fixincludes
10115 @[ -f ./fixincludes/Makefile ] || exit 0; \
10116 r=`${PWD_COMMAND}`; export r; \
10117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10118 $(HOST_EXPORTS) \
10119 for flag in $(EXTRA_HOST_FLAGS) ; do \
10120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10121 done; \
10122 echo "Doing pdf in fixincludes"; \
10123 (cd $(HOST_SUBDIR)/fixincludes && \
10124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10126 "RANLIB=$${RANLIB}" \
10127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10128 pdf) \
10129 || exit 1
10130
10131 @endif fixincludes
10132
10133 .PHONY: maybe-html-fixincludes html-fixincludes
10134 maybe-html-fixincludes:
10135 @if fixincludes
10136 maybe-html-fixincludes: html-fixincludes
10137
10138 html-fixincludes: \
10139 configure-fixincludes
10140 @[ -f ./fixincludes/Makefile ] || exit 0; \
10141 r=`${PWD_COMMAND}`; export r; \
10142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10143 $(HOST_EXPORTS) \
10144 for flag in $(EXTRA_HOST_FLAGS) ; do \
10145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10146 done; \
10147 echo "Doing html in fixincludes"; \
10148 (cd $(HOST_SUBDIR)/fixincludes && \
10149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10151 "RANLIB=$${RANLIB}" \
10152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10153 html) \
10154 || exit 1
10155
10156 @endif fixincludes
10157
10158 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
10159 maybe-TAGS-fixincludes:
10160 @if fixincludes
10161 maybe-TAGS-fixincludes: TAGS-fixincludes
10162
10163 # fixincludes doesn't support TAGS.
10164 TAGS-fixincludes:
10165
10166 @endif fixincludes
10167
10168 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
10169 maybe-install-info-fixincludes:
10170 @if fixincludes
10171 maybe-install-info-fixincludes: install-info-fixincludes
10172
10173 install-info-fixincludes: \
10174 configure-fixincludes \
10175 info-fixincludes
10176 @[ -f ./fixincludes/Makefile ] || exit 0; \
10177 r=`${PWD_COMMAND}`; export r; \
10178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10179 $(HOST_EXPORTS) \
10180 for flag in $(EXTRA_HOST_FLAGS) ; do \
10181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10182 done; \
10183 echo "Doing install-info in fixincludes"; \
10184 (cd $(HOST_SUBDIR)/fixincludes && \
10185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10187 "RANLIB=$${RANLIB}" \
10188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10189 install-info) \
10190 || exit 1
10191
10192 @endif fixincludes
10193
10194 .PHONY: maybe-install-dvi-fixincludes install-dvi-fixincludes
10195 maybe-install-dvi-fixincludes:
10196 @if fixincludes
10197 maybe-install-dvi-fixincludes: install-dvi-fixincludes
10198
10199 # fixincludes doesn't support install-dvi.
10200 install-dvi-fixincludes:
10201
10202 @endif fixincludes
10203
10204 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
10205 maybe-install-pdf-fixincludes:
10206 @if fixincludes
10207 maybe-install-pdf-fixincludes: install-pdf-fixincludes
10208
10209 install-pdf-fixincludes: \
10210 configure-fixincludes \
10211 pdf-fixincludes
10212 @[ -f ./fixincludes/Makefile ] || exit 0; \
10213 r=`${PWD_COMMAND}`; export r; \
10214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10215 $(HOST_EXPORTS) \
10216 for flag in $(EXTRA_HOST_FLAGS) ; do \
10217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10218 done; \
10219 echo "Doing install-pdf in fixincludes"; \
10220 (cd $(HOST_SUBDIR)/fixincludes && \
10221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10223 "RANLIB=$${RANLIB}" \
10224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10225 install-pdf) \
10226 || exit 1
10227
10228 @endif fixincludes
10229
10230 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
10231 maybe-install-html-fixincludes:
10232 @if fixincludes
10233 maybe-install-html-fixincludes: install-html-fixincludes
10234
10235 install-html-fixincludes: \
10236 configure-fixincludes \
10237 html-fixincludes
10238 @[ -f ./fixincludes/Makefile ] || exit 0; \
10239 r=`${PWD_COMMAND}`; export r; \
10240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10241 $(HOST_EXPORTS) \
10242 for flag in $(EXTRA_HOST_FLAGS) ; do \
10243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10244 done; \
10245 echo "Doing install-html in fixincludes"; \
10246 (cd $(HOST_SUBDIR)/fixincludes && \
10247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10249 "RANLIB=$${RANLIB}" \
10250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10251 install-html) \
10252 || exit 1
10253
10254 @endif fixincludes
10255
10256 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
10257 maybe-installcheck-fixincludes:
10258 @if fixincludes
10259 maybe-installcheck-fixincludes: installcheck-fixincludes
10260
10261 installcheck-fixincludes: \
10262 configure-fixincludes
10263 @[ -f ./fixincludes/Makefile ] || exit 0; \
10264 r=`${PWD_COMMAND}`; export r; \
10265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10266 $(HOST_EXPORTS) \
10267 for flag in $(EXTRA_HOST_FLAGS) ; do \
10268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10269 done; \
10270 echo "Doing installcheck in fixincludes"; \
10271 (cd $(HOST_SUBDIR)/fixincludes && \
10272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10274 "RANLIB=$${RANLIB}" \
10275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10276 installcheck) \
10277 || exit 1
10278
10279 @endif fixincludes
10280
10281 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
10282 maybe-mostlyclean-fixincludes:
10283 @if fixincludes
10284 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
10285
10286 mostlyclean-fixincludes:
10287 @[ -f ./fixincludes/Makefile ] || exit 0; \
10288 r=`${PWD_COMMAND}`; export r; \
10289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10290 $(HOST_EXPORTS) \
10291 for flag in $(EXTRA_HOST_FLAGS) ; do \
10292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10293 done; \
10294 echo "Doing mostlyclean in fixincludes"; \
10295 (cd $(HOST_SUBDIR)/fixincludes && \
10296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10298 "RANLIB=$${RANLIB}" \
10299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10300 mostlyclean) \
10301 || exit 1
10302
10303 @endif fixincludes
10304
10305 .PHONY: maybe-clean-fixincludes clean-fixincludes
10306 maybe-clean-fixincludes:
10307 @if fixincludes
10308 maybe-clean-fixincludes: clean-fixincludes
10309
10310 clean-fixincludes:
10311 @[ -f ./fixincludes/Makefile ] || exit 0; \
10312 r=`${PWD_COMMAND}`; export r; \
10313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10314 $(HOST_EXPORTS) \
10315 for flag in $(EXTRA_HOST_FLAGS) ; do \
10316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10317 done; \
10318 echo "Doing clean in fixincludes"; \
10319 (cd $(HOST_SUBDIR)/fixincludes && \
10320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10322 "RANLIB=$${RANLIB}" \
10323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10324 clean) \
10325 || exit 1
10326
10327 @endif fixincludes
10328
10329 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
10330 maybe-distclean-fixincludes:
10331 @if fixincludes
10332 maybe-distclean-fixincludes: distclean-fixincludes
10333
10334 distclean-fixincludes:
10335 @[ -f ./fixincludes/Makefile ] || exit 0; \
10336 r=`${PWD_COMMAND}`; export r; \
10337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10338 $(HOST_EXPORTS) \
10339 for flag in $(EXTRA_HOST_FLAGS) ; do \
10340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10341 done; \
10342 echo "Doing distclean in fixincludes"; \
10343 (cd $(HOST_SUBDIR)/fixincludes && \
10344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10346 "RANLIB=$${RANLIB}" \
10347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10348 distclean) \
10349 || exit 1
10350
10351 @endif fixincludes
10352
10353 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
10354 maybe-maintainer-clean-fixincludes:
10355 @if fixincludes
10356 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
10357
10358 maintainer-clean-fixincludes:
10359 @[ -f ./fixincludes/Makefile ] || exit 0; \
10360 r=`${PWD_COMMAND}`; export r; \
10361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10362 $(HOST_EXPORTS) \
10363 for flag in $(EXTRA_HOST_FLAGS) ; do \
10364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10365 done; \
10366 echo "Doing maintainer-clean in fixincludes"; \
10367 (cd $(HOST_SUBDIR)/fixincludes && \
10368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10370 "RANLIB=$${RANLIB}" \
10371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10372 maintainer-clean) \
10373 || exit 1
10374
10375 @endif fixincludes
10376
10377
10378
10379 .PHONY: configure-flex maybe-configure-flex
10380 maybe-configure-flex:
10381 @if gcc-bootstrap
10382 configure-flex: stage_current
10383 @endif gcc-bootstrap
10384 @if flex
10385 maybe-configure-flex: configure-flex
10386 configure-flex:
10387 @: $(MAKE); $(unstage)
10388 @r=`${PWD_COMMAND}`; export r; \
10389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10390 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
10391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex; \
10392 $(HOST_EXPORTS) \
10393 echo Configuring in $(HOST_SUBDIR)/flex; \
10394 cd "$(HOST_SUBDIR)/flex" || exit 1; \
10395 case $(srcdir) in \
10396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10397 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
10398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10399 esac; \
10400 module_srcdir=flex; \
10401 $(SHELL) \
10402 $$s/$$module_srcdir/configure \
10403 --srcdir=$${topdir}/$$module_srcdir \
10404 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10405 --target=${target_alias} \
10406 || exit 1
10407 @endif flex
10408
10409
10410
10411
10412
10413 .PHONY: all-flex maybe-all-flex
10414 maybe-all-flex:
10415 @if gcc-bootstrap
10416 all-flex: stage_current
10417 @endif gcc-bootstrap
10418 @if flex
10419 TARGET-flex=all
10420 maybe-all-flex: all-flex
10421 all-flex: configure-flex
10422 @: $(MAKE); $(unstage)
10423 @r=`${PWD_COMMAND}`; export r; \
10424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10425 $(HOST_EXPORTS) \
10426 (cd $(HOST_SUBDIR)/flex && \
10427 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
10428 $(TARGET-flex))
10429 @endif flex
10430
10431
10432
10433
10434 .PHONY: check-flex maybe-check-flex
10435 maybe-check-flex:
10436 @if flex
10437 maybe-check-flex: check-flex
10438
10439 # This module is only tested in a native toolchain.
10440 check-flex:
10441 @: $(MAKE); $(unstage)
10442 @if [ '$(host)' = '$(target)' ]; then \
10443 r=`${PWD_COMMAND}`; export r; \
10444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10445 $(HOST_EXPORTS) \
10446 (cd $(HOST_SUBDIR)/flex && \
10447 $(MAKE) $(FLAGS_TO_PASS) check)
10448 fi
10449
10450 @endif flex
10451
10452 .PHONY: install-flex maybe-install-flex
10453 maybe-install-flex:
10454 @if flex
10455 maybe-install-flex: install-flex
10456
10457 install-flex: installdirs
10458 @: $(MAKE); $(unstage)
10459 @r=`${PWD_COMMAND}`; export r; \
10460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10461 $(HOST_EXPORTS) \
10462 (cd $(HOST_SUBDIR)/flex && \
10463 $(MAKE) $(FLAGS_TO_PASS) install)
10464
10465 @endif flex
10466
10467 .PHONY: install-strip-flex maybe-install-strip-flex
10468 maybe-install-strip-flex:
10469 @if flex
10470 maybe-install-strip-flex: install-strip-flex
10471
10472 install-strip-flex: installdirs
10473 @: $(MAKE); $(unstage)
10474 @r=`${PWD_COMMAND}`; export r; \
10475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10476 $(HOST_EXPORTS) \
10477 (cd $(HOST_SUBDIR)/flex && \
10478 $(MAKE) $(FLAGS_TO_PASS) install-strip)
10479
10480 @endif flex
10481
10482 # Other targets (info, dvi, pdf, etc.)
10483
10484 .PHONY: maybe-info-flex info-flex
10485 maybe-info-flex:
10486 @if flex
10487 maybe-info-flex: info-flex
10488
10489 info-flex: \
10490 configure-flex
10491 @: $(MAKE); $(unstage)
10492 @[ -f ./flex/Makefile ] || exit 0; \
10493 r=`${PWD_COMMAND}`; export r; \
10494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10495 $(HOST_EXPORTS) \
10496 for flag in $(EXTRA_HOST_FLAGS) ; do \
10497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10498 done; \
10499 echo "Doing info in flex"; \
10500 (cd $(HOST_SUBDIR)/flex && \
10501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10503 "RANLIB=$${RANLIB}" \
10504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10505 info) \
10506 || exit 1
10507
10508 @endif flex
10509
10510 .PHONY: maybe-dvi-flex dvi-flex
10511 maybe-dvi-flex:
10512 @if flex
10513 maybe-dvi-flex: dvi-flex
10514
10515 dvi-flex: \
10516 configure-flex
10517 @: $(MAKE); $(unstage)
10518 @[ -f ./flex/Makefile ] || exit 0; \
10519 r=`${PWD_COMMAND}`; export r; \
10520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10521 $(HOST_EXPORTS) \
10522 for flag in $(EXTRA_HOST_FLAGS) ; do \
10523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10524 done; \
10525 echo "Doing dvi in flex"; \
10526 (cd $(HOST_SUBDIR)/flex && \
10527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10529 "RANLIB=$${RANLIB}" \
10530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10531 dvi) \
10532 || exit 1
10533
10534 @endif flex
10535
10536 .PHONY: maybe-pdf-flex pdf-flex
10537 maybe-pdf-flex:
10538 @if flex
10539 maybe-pdf-flex: pdf-flex
10540
10541 pdf-flex: \
10542 configure-flex
10543 @: $(MAKE); $(unstage)
10544 @[ -f ./flex/Makefile ] || exit 0; \
10545 r=`${PWD_COMMAND}`; export r; \
10546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10547 $(HOST_EXPORTS) \
10548 for flag in $(EXTRA_HOST_FLAGS) ; do \
10549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10550 done; \
10551 echo "Doing pdf in flex"; \
10552 (cd $(HOST_SUBDIR)/flex && \
10553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10555 "RANLIB=$${RANLIB}" \
10556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10557 pdf) \
10558 || exit 1
10559
10560 @endif flex
10561
10562 .PHONY: maybe-html-flex html-flex
10563 maybe-html-flex:
10564 @if flex
10565 maybe-html-flex: html-flex
10566
10567 html-flex: \
10568 configure-flex
10569 @: $(MAKE); $(unstage)
10570 @[ -f ./flex/Makefile ] || exit 0; \
10571 r=`${PWD_COMMAND}`; export r; \
10572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10573 $(HOST_EXPORTS) \
10574 for flag in $(EXTRA_HOST_FLAGS) ; do \
10575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10576 done; \
10577 echo "Doing html in flex"; \
10578 (cd $(HOST_SUBDIR)/flex && \
10579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10581 "RANLIB=$${RANLIB}" \
10582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10583 html) \
10584 || exit 1
10585
10586 @endif flex
10587
10588 .PHONY: maybe-TAGS-flex TAGS-flex
10589 maybe-TAGS-flex:
10590 @if flex
10591 maybe-TAGS-flex: TAGS-flex
10592
10593 TAGS-flex: \
10594 configure-flex
10595 @: $(MAKE); $(unstage)
10596 @[ -f ./flex/Makefile ] || exit 0; \
10597 r=`${PWD_COMMAND}`; export r; \
10598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10599 $(HOST_EXPORTS) \
10600 for flag in $(EXTRA_HOST_FLAGS) ; do \
10601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10602 done; \
10603 echo "Doing TAGS in flex"; \
10604 (cd $(HOST_SUBDIR)/flex && \
10605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10607 "RANLIB=$${RANLIB}" \
10608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10609 TAGS) \
10610 || exit 1
10611
10612 @endif flex
10613
10614 .PHONY: maybe-install-info-flex install-info-flex
10615 maybe-install-info-flex:
10616 @if flex
10617 maybe-install-info-flex: install-info-flex
10618
10619 install-info-flex: \
10620 configure-flex \
10621 info-flex
10622 @: $(MAKE); $(unstage)
10623 @[ -f ./flex/Makefile ] || exit 0; \
10624 r=`${PWD_COMMAND}`; export r; \
10625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10626 $(HOST_EXPORTS) \
10627 for flag in $(EXTRA_HOST_FLAGS) ; do \
10628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10629 done; \
10630 echo "Doing install-info in flex"; \
10631 (cd $(HOST_SUBDIR)/flex && \
10632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10634 "RANLIB=$${RANLIB}" \
10635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10636 install-info) \
10637 || exit 1
10638
10639 @endif flex
10640
10641 .PHONY: maybe-install-dvi-flex install-dvi-flex
10642 maybe-install-dvi-flex:
10643 @if flex
10644 maybe-install-dvi-flex: install-dvi-flex
10645
10646 install-dvi-flex: \
10647 configure-flex \
10648 dvi-flex
10649 @: $(MAKE); $(unstage)
10650 @[ -f ./flex/Makefile ] || exit 0; \
10651 r=`${PWD_COMMAND}`; export r; \
10652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10653 $(HOST_EXPORTS) \
10654 for flag in $(EXTRA_HOST_FLAGS) ; do \
10655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10656 done; \
10657 echo "Doing install-dvi in flex"; \
10658 (cd $(HOST_SUBDIR)/flex && \
10659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10661 "RANLIB=$${RANLIB}" \
10662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10663 install-dvi) \
10664 || exit 1
10665
10666 @endif flex
10667
10668 .PHONY: maybe-install-pdf-flex install-pdf-flex
10669 maybe-install-pdf-flex:
10670 @if flex
10671 maybe-install-pdf-flex: install-pdf-flex
10672
10673 install-pdf-flex: \
10674 configure-flex \
10675 pdf-flex
10676 @: $(MAKE); $(unstage)
10677 @[ -f ./flex/Makefile ] || exit 0; \
10678 r=`${PWD_COMMAND}`; export r; \
10679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10680 $(HOST_EXPORTS) \
10681 for flag in $(EXTRA_HOST_FLAGS) ; do \
10682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10683 done; \
10684 echo "Doing install-pdf in flex"; \
10685 (cd $(HOST_SUBDIR)/flex && \
10686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10688 "RANLIB=$${RANLIB}" \
10689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10690 install-pdf) \
10691 || exit 1
10692
10693 @endif flex
10694
10695 .PHONY: maybe-install-html-flex install-html-flex
10696 maybe-install-html-flex:
10697 @if flex
10698 maybe-install-html-flex: install-html-flex
10699
10700 install-html-flex: \
10701 configure-flex \
10702 html-flex
10703 @: $(MAKE); $(unstage)
10704 @[ -f ./flex/Makefile ] || exit 0; \
10705 r=`${PWD_COMMAND}`; export r; \
10706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10707 $(HOST_EXPORTS) \
10708 for flag in $(EXTRA_HOST_FLAGS) ; do \
10709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10710 done; \
10711 echo "Doing install-html in flex"; \
10712 (cd $(HOST_SUBDIR)/flex && \
10713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10715 "RANLIB=$${RANLIB}" \
10716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10717 install-html) \
10718 || exit 1
10719
10720 @endif flex
10721
10722 .PHONY: maybe-installcheck-flex installcheck-flex
10723 maybe-installcheck-flex:
10724 @if flex
10725 maybe-installcheck-flex: installcheck-flex
10726
10727 installcheck-flex: \
10728 configure-flex
10729 @: $(MAKE); $(unstage)
10730 @[ -f ./flex/Makefile ] || exit 0; \
10731 r=`${PWD_COMMAND}`; export r; \
10732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10733 $(HOST_EXPORTS) \
10734 for flag in $(EXTRA_HOST_FLAGS) ; do \
10735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10736 done; \
10737 echo "Doing installcheck in flex"; \
10738 (cd $(HOST_SUBDIR)/flex && \
10739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10741 "RANLIB=$${RANLIB}" \
10742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10743 installcheck) \
10744 || exit 1
10745
10746 @endif flex
10747
10748 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10749 maybe-mostlyclean-flex:
10750 @if flex
10751 maybe-mostlyclean-flex: mostlyclean-flex
10752
10753 mostlyclean-flex:
10754 @: $(MAKE); $(unstage)
10755 @[ -f ./flex/Makefile ] || exit 0; \
10756 r=`${PWD_COMMAND}`; export r; \
10757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10758 $(HOST_EXPORTS) \
10759 for flag in $(EXTRA_HOST_FLAGS) ; do \
10760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10761 done; \
10762 echo "Doing mostlyclean in flex"; \
10763 (cd $(HOST_SUBDIR)/flex && \
10764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10766 "RANLIB=$${RANLIB}" \
10767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10768 mostlyclean) \
10769 || exit 1
10770
10771 @endif flex
10772
10773 .PHONY: maybe-clean-flex clean-flex
10774 maybe-clean-flex:
10775 @if flex
10776 maybe-clean-flex: clean-flex
10777
10778 clean-flex:
10779 @: $(MAKE); $(unstage)
10780 @[ -f ./flex/Makefile ] || exit 0; \
10781 r=`${PWD_COMMAND}`; export r; \
10782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10783 $(HOST_EXPORTS) \
10784 for flag in $(EXTRA_HOST_FLAGS) ; do \
10785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10786 done; \
10787 echo "Doing clean in flex"; \
10788 (cd $(HOST_SUBDIR)/flex && \
10789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10791 "RANLIB=$${RANLIB}" \
10792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10793 clean) \
10794 || exit 1
10795
10796 @endif flex
10797
10798 .PHONY: maybe-distclean-flex distclean-flex
10799 maybe-distclean-flex:
10800 @if flex
10801 maybe-distclean-flex: distclean-flex
10802
10803 distclean-flex:
10804 @: $(MAKE); $(unstage)
10805 @[ -f ./flex/Makefile ] || exit 0; \
10806 r=`${PWD_COMMAND}`; export r; \
10807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10808 $(HOST_EXPORTS) \
10809 for flag in $(EXTRA_HOST_FLAGS) ; do \
10810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10811 done; \
10812 echo "Doing distclean in flex"; \
10813 (cd $(HOST_SUBDIR)/flex && \
10814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10816 "RANLIB=$${RANLIB}" \
10817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10818 distclean) \
10819 || exit 1
10820
10821 @endif flex
10822
10823 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10824 maybe-maintainer-clean-flex:
10825 @if flex
10826 maybe-maintainer-clean-flex: maintainer-clean-flex
10827
10828 maintainer-clean-flex:
10829 @: $(MAKE); $(unstage)
10830 @[ -f ./flex/Makefile ] || exit 0; \
10831 r=`${PWD_COMMAND}`; export r; \
10832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10833 $(HOST_EXPORTS) \
10834 for flag in $(EXTRA_HOST_FLAGS) ; do \
10835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10836 done; \
10837 echo "Doing maintainer-clean in flex"; \
10838 (cd $(HOST_SUBDIR)/flex && \
10839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10841 "RANLIB=$${RANLIB}" \
10842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10843 maintainer-clean) \
10844 || exit 1
10845
10846 @endif flex
10847
10848
10849
10850 .PHONY: configure-gas maybe-configure-gas
10851 maybe-configure-gas:
10852 @if gcc-bootstrap
10853 configure-gas: stage_current
10854 @endif gcc-bootstrap
10855 @if gas
10856 maybe-configure-gas: configure-gas
10857 configure-gas:
10858 @r=`${PWD_COMMAND}`; export r; \
10859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10860 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10862 $(HOST_EXPORTS) \
10863 echo Configuring in $(HOST_SUBDIR)/gas; \
10864 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10865 case $(srcdir) in \
10866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10867 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10869 esac; \
10870 module_srcdir=gas; \
10871 $(SHELL) \
10872 $$s/$$module_srcdir/configure \
10873 --srcdir=$${topdir}/$$module_srcdir \
10874 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10875 --target=${target_alias} \
10876 || exit 1
10877 @endif gas
10878
10879
10880
10881 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10882 maybe-configure-stage1-gas:
10883 @if gas-bootstrap
10884 maybe-configure-stage1-gas: configure-stage1-gas
10885 configure-stage1-gas:
10886 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10887 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10888 @r=`${PWD_COMMAND}`; export r; \
10889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10890 TFLAGS="$(STAGE1_TFLAGS)"; \
10891 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10892 $(HOST_EXPORTS) \
10893 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10894 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10895 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10896 echo Configuring stage 1 in $(HOST_SUBDIR)/gas; \
10897 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10898 cd $(HOST_SUBDIR)/gas || exit 1; \
10899 case $(srcdir) in \
10900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10901 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10903 esac; \
10904 module_srcdir=gas; \
10905 $(SHELL) $$s/$$module_srcdir/configure \
10906 --srcdir=$${topdir}/$$module_srcdir \
10907 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10908 --target=${target_alias} \
10909 \
10910 $(STAGE1_CONFIGURE_FLAGS)
10911 @endif gas-bootstrap
10912
10913 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10914 maybe-configure-stage2-gas:
10915 @if gas-bootstrap
10916 maybe-configure-stage2-gas: configure-stage2-gas
10917 configure-stage2-gas:
10918 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10919 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10920 @r=`${PWD_COMMAND}`; export r; \
10921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10922 TFLAGS="$(STAGE2_TFLAGS)"; \
10923 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10924 $(HOST_EXPORTS) \
10925 $(POSTSTAGE1_HOST_EXPORTS) \
10926 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10927 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10928 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10929 echo Configuring stage 2 in $(HOST_SUBDIR)/gas; \
10930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10931 cd $(HOST_SUBDIR)/gas || exit 1; \
10932 case $(srcdir) in \
10933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10934 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10936 esac; \
10937 module_srcdir=gas; \
10938 $(SHELL) $$s/$$module_srcdir/configure \
10939 --srcdir=$${topdir}/$$module_srcdir \
10940 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10941 --target=${target_alias} \
10942 --with-build-libsubdir=$(HOST_SUBDIR) \
10943 $(STAGE2_CONFIGURE_FLAGS)
10944 @endif gas-bootstrap
10945
10946 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10947 maybe-configure-stage3-gas:
10948 @if gas-bootstrap
10949 maybe-configure-stage3-gas: configure-stage3-gas
10950 configure-stage3-gas:
10951 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10952 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10953 @r=`${PWD_COMMAND}`; export r; \
10954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10955 TFLAGS="$(STAGE3_TFLAGS)"; \
10956 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10957 $(HOST_EXPORTS) \
10958 $(POSTSTAGE1_HOST_EXPORTS) \
10959 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10960 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10961 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10962 echo Configuring stage 3 in $(HOST_SUBDIR)/gas; \
10963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10964 cd $(HOST_SUBDIR)/gas || exit 1; \
10965 case $(srcdir) in \
10966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10967 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10969 esac; \
10970 module_srcdir=gas; \
10971 $(SHELL) $$s/$$module_srcdir/configure \
10972 --srcdir=$${topdir}/$$module_srcdir \
10973 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10974 --target=${target_alias} \
10975 --with-build-libsubdir=$(HOST_SUBDIR) \
10976 $(STAGE3_CONFIGURE_FLAGS)
10977 @endif gas-bootstrap
10978
10979 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10980 maybe-configure-stage4-gas:
10981 @if gas-bootstrap
10982 maybe-configure-stage4-gas: configure-stage4-gas
10983 configure-stage4-gas:
10984 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10985 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10986 @r=`${PWD_COMMAND}`; export r; \
10987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10988 TFLAGS="$(STAGE4_TFLAGS)"; \
10989 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10990 $(HOST_EXPORTS) \
10991 $(POSTSTAGE1_HOST_EXPORTS) \
10992 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10993 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10994 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10995 echo Configuring stage 4 in $(HOST_SUBDIR)/gas; \
10996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
10997 cd $(HOST_SUBDIR)/gas || exit 1; \
10998 case $(srcdir) in \
10999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11000 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11002 esac; \
11003 module_srcdir=gas; \
11004 $(SHELL) $$s/$$module_srcdir/configure \
11005 --srcdir=$${topdir}/$$module_srcdir \
11006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11007 --target=${target_alias} \
11008 --with-build-libsubdir=$(HOST_SUBDIR) \
11009 $(STAGE4_CONFIGURE_FLAGS)
11010 @endif gas-bootstrap
11011
11012 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
11013 maybe-configure-stageprofile-gas:
11014 @if gas-bootstrap
11015 maybe-configure-stageprofile-gas: configure-stageprofile-gas
11016 configure-stageprofile-gas:
11017 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11019 @r=`${PWD_COMMAND}`; export r; \
11020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11021 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11022 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11023 $(HOST_EXPORTS) \
11024 $(POSTSTAGE1_HOST_EXPORTS) \
11025 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11026 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11027 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11028 echo Configuring stage profile in $(HOST_SUBDIR)/gas; \
11029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11030 cd $(HOST_SUBDIR)/gas || exit 1; \
11031 case $(srcdir) in \
11032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11033 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11035 esac; \
11036 module_srcdir=gas; \
11037 $(SHELL) $$s/$$module_srcdir/configure \
11038 --srcdir=$${topdir}/$$module_srcdir \
11039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11040 --target=${target_alias} \
11041 --with-build-libsubdir=$(HOST_SUBDIR) \
11042 $(STAGEprofile_CONFIGURE_FLAGS)
11043 @endif gas-bootstrap
11044
11045 .PHONY: configure-stagetrain-gas maybe-configure-stagetrain-gas
11046 maybe-configure-stagetrain-gas:
11047 @if gas-bootstrap
11048 maybe-configure-stagetrain-gas: configure-stagetrain-gas
11049 configure-stagetrain-gas:
11050 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11052 @r=`${PWD_COMMAND}`; export r; \
11053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11054 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11055 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11056 $(HOST_EXPORTS) \
11057 $(POSTSTAGE1_HOST_EXPORTS) \
11058 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
11059 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
11060 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
11061 echo Configuring stage train in $(HOST_SUBDIR)/gas; \
11062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11063 cd $(HOST_SUBDIR)/gas || exit 1; \
11064 case $(srcdir) in \
11065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11066 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11068 esac; \
11069 module_srcdir=gas; \
11070 $(SHELL) $$s/$$module_srcdir/configure \
11071 --srcdir=$${topdir}/$$module_srcdir \
11072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11073 --target=${target_alias} \
11074 --with-build-libsubdir=$(HOST_SUBDIR) \
11075 $(STAGEtrain_CONFIGURE_FLAGS)
11076 @endif gas-bootstrap
11077
11078 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
11079 maybe-configure-stagefeedback-gas:
11080 @if gas-bootstrap
11081 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
11082 configure-stagefeedback-gas:
11083 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11084 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11085 @r=`${PWD_COMMAND}`; export r; \
11086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11087 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11088 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11089 $(HOST_EXPORTS) \
11090 $(POSTSTAGE1_HOST_EXPORTS) \
11091 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11092 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11093 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11094 echo Configuring stage feedback in $(HOST_SUBDIR)/gas; \
11095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11096 cd $(HOST_SUBDIR)/gas || exit 1; \
11097 case $(srcdir) in \
11098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11099 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11101 esac; \
11102 module_srcdir=gas; \
11103 $(SHELL) $$s/$$module_srcdir/configure \
11104 --srcdir=$${topdir}/$$module_srcdir \
11105 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11106 --target=${target_alias} \
11107 --with-build-libsubdir=$(HOST_SUBDIR) \
11108 $(STAGEfeedback_CONFIGURE_FLAGS)
11109 @endif gas-bootstrap
11110
11111 .PHONY: configure-stageautoprofile-gas maybe-configure-stageautoprofile-gas
11112 maybe-configure-stageautoprofile-gas:
11113 @if gas-bootstrap
11114 maybe-configure-stageautoprofile-gas: configure-stageautoprofile-gas
11115 configure-stageautoprofile-gas:
11116 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11117 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11118 @r=`${PWD_COMMAND}`; export r; \
11119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11120 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11121 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11122 $(HOST_EXPORTS) \
11123 $(POSTSTAGE1_HOST_EXPORTS) \
11124 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
11125 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
11126 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
11127 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gas; \
11128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11129 cd $(HOST_SUBDIR)/gas || exit 1; \
11130 case $(srcdir) in \
11131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11132 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11134 esac; \
11135 module_srcdir=gas; \
11136 $(SHELL) $$s/$$module_srcdir/configure \
11137 --srcdir=$${topdir}/$$module_srcdir \
11138 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11139 --target=${target_alias} \
11140 --with-build-libsubdir=$(HOST_SUBDIR) \
11141 $(STAGEautoprofile_CONFIGURE_FLAGS)
11142 @endif gas-bootstrap
11143
11144 .PHONY: configure-stageautofeedback-gas maybe-configure-stageautofeedback-gas
11145 maybe-configure-stageautofeedback-gas:
11146 @if gas-bootstrap
11147 maybe-configure-stageautofeedback-gas: configure-stageautofeedback-gas
11148 configure-stageautofeedback-gas:
11149 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11150 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11151 @r=`${PWD_COMMAND}`; export r; \
11152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11153 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11154 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11155 $(HOST_EXPORTS) \
11156 $(POSTSTAGE1_HOST_EXPORTS) \
11157 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
11158 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
11159 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
11160 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gas; \
11161 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas; \
11162 cd $(HOST_SUBDIR)/gas || exit 1; \
11163 case $(srcdir) in \
11164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11165 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11167 esac; \
11168 module_srcdir=gas; \
11169 $(SHELL) $$s/$$module_srcdir/configure \
11170 --srcdir=$${topdir}/$$module_srcdir \
11171 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11172 --target=${target_alias} \
11173 --with-build-libsubdir=$(HOST_SUBDIR) \
11174 $(STAGEautofeedback_CONFIGURE_FLAGS)
11175 @endif gas-bootstrap
11176
11177
11178
11179
11180
11181 .PHONY: all-gas maybe-all-gas
11182 maybe-all-gas:
11183 @if gcc-bootstrap
11184 all-gas: stage_current
11185 @endif gcc-bootstrap
11186 @if gas
11187 TARGET-gas=all
11188 maybe-all-gas: all-gas
11189 all-gas: configure-gas
11190 @r=`${PWD_COMMAND}`; export r; \
11191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11192 $(HOST_EXPORTS) \
11193 (cd $(HOST_SUBDIR)/gas && \
11194 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11195 $(TARGET-gas))
11196 @endif gas
11197
11198
11199
11200 .PHONY: all-stage1-gas maybe-all-stage1-gas
11201 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
11202 maybe-all-stage1-gas:
11203 maybe-clean-stage1-gas:
11204 @if gas-bootstrap
11205 maybe-all-stage1-gas: all-stage1-gas
11206 all-stage1: all-stage1-gas
11207 TARGET-stage1-gas = $(TARGET-gas)
11208 all-stage1-gas: configure-stage1-gas
11209 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11210 @r=`${PWD_COMMAND}`; export r; \
11211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11212 TFLAGS="$(STAGE1_TFLAGS)"; \
11213 $(HOST_EXPORTS) \
11214 cd $(HOST_SUBDIR)/gas && \
11215 \
11216 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11217 CFLAGS="$(STAGE1_CFLAGS)" \
11218 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
11219 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11220 LIBCFLAGS="$(LIBCFLAGS)" \
11221 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11222 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11223 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11224 $(EXTRA_HOST_FLAGS) \
11225 $(STAGE1_FLAGS_TO_PASS) \
11226 TFLAGS="$(STAGE1_TFLAGS)" \
11227 $(TARGET-stage1-gas)
11228
11229 maybe-clean-stage1-gas: clean-stage1-gas
11230 clean-stage1: clean-stage1-gas
11231 clean-stage1-gas:
11232 @if [ $(current_stage) = stage1 ]; then \
11233 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11234 else \
11235 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
11236 $(MAKE) stage1-start; \
11237 fi; \
11238 cd $(HOST_SUBDIR)/gas && \
11239 $(MAKE) $(EXTRA_HOST_FLAGS) \
11240 $(STAGE1_FLAGS_TO_PASS) clean
11241 @endif gas-bootstrap
11242
11243
11244 .PHONY: all-stage2-gas maybe-all-stage2-gas
11245 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
11246 maybe-all-stage2-gas:
11247 maybe-clean-stage2-gas:
11248 @if gas-bootstrap
11249 maybe-all-stage2-gas: all-stage2-gas
11250 all-stage2: all-stage2-gas
11251 TARGET-stage2-gas = $(TARGET-gas)
11252 all-stage2-gas: configure-stage2-gas
11253 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11254 @r=`${PWD_COMMAND}`; export r; \
11255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11256 TFLAGS="$(STAGE2_TFLAGS)"; \
11257 $(HOST_EXPORTS) \
11258 $(POSTSTAGE1_HOST_EXPORTS) \
11259 cd $(HOST_SUBDIR)/gas && \
11260 \
11261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11262 CFLAGS="$(STAGE2_CFLAGS)" \
11263 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
11264 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11265 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11266 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11267 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11268 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11269 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11270 TFLAGS="$(STAGE2_TFLAGS)" \
11271 $(TARGET-stage2-gas)
11272
11273 maybe-clean-stage2-gas: clean-stage2-gas
11274 clean-stage2: clean-stage2-gas
11275 clean-stage2-gas:
11276 @if [ $(current_stage) = stage2 ]; then \
11277 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11278 else \
11279 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
11280 $(MAKE) stage2-start; \
11281 fi; \
11282 cd $(HOST_SUBDIR)/gas && \
11283 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11284 @endif gas-bootstrap
11285
11286
11287 .PHONY: all-stage3-gas maybe-all-stage3-gas
11288 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
11289 maybe-all-stage3-gas:
11290 maybe-clean-stage3-gas:
11291 @if gas-bootstrap
11292 maybe-all-stage3-gas: all-stage3-gas
11293 all-stage3: all-stage3-gas
11294 TARGET-stage3-gas = $(TARGET-gas)
11295 all-stage3-gas: configure-stage3-gas
11296 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11297 @r=`${PWD_COMMAND}`; export r; \
11298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11299 TFLAGS="$(STAGE3_TFLAGS)"; \
11300 $(HOST_EXPORTS) \
11301 $(POSTSTAGE1_HOST_EXPORTS) \
11302 cd $(HOST_SUBDIR)/gas && \
11303 \
11304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11305 CFLAGS="$(STAGE3_CFLAGS)" \
11306 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
11307 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11308 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11309 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11310 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11311 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11312 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11313 TFLAGS="$(STAGE3_TFLAGS)" \
11314 $(TARGET-stage3-gas)
11315
11316 maybe-clean-stage3-gas: clean-stage3-gas
11317 clean-stage3: clean-stage3-gas
11318 clean-stage3-gas:
11319 @if [ $(current_stage) = stage3 ]; then \
11320 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11321 else \
11322 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
11323 $(MAKE) stage3-start; \
11324 fi; \
11325 cd $(HOST_SUBDIR)/gas && \
11326 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11327 @endif gas-bootstrap
11328
11329
11330 .PHONY: all-stage4-gas maybe-all-stage4-gas
11331 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
11332 maybe-all-stage4-gas:
11333 maybe-clean-stage4-gas:
11334 @if gas-bootstrap
11335 maybe-all-stage4-gas: all-stage4-gas
11336 all-stage4: all-stage4-gas
11337 TARGET-stage4-gas = $(TARGET-gas)
11338 all-stage4-gas: configure-stage4-gas
11339 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11340 @r=`${PWD_COMMAND}`; export r; \
11341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11342 TFLAGS="$(STAGE4_TFLAGS)"; \
11343 $(HOST_EXPORTS) \
11344 $(POSTSTAGE1_HOST_EXPORTS) \
11345 cd $(HOST_SUBDIR)/gas && \
11346 \
11347 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11348 CFLAGS="$(STAGE4_CFLAGS)" \
11349 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
11350 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11351 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11352 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11353 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11354 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11355 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11356 TFLAGS="$(STAGE4_TFLAGS)" \
11357 $(TARGET-stage4-gas)
11358
11359 maybe-clean-stage4-gas: clean-stage4-gas
11360 clean-stage4: clean-stage4-gas
11361 clean-stage4-gas:
11362 @if [ $(current_stage) = stage4 ]; then \
11363 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11364 else \
11365 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
11366 $(MAKE) stage4-start; \
11367 fi; \
11368 cd $(HOST_SUBDIR)/gas && \
11369 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11370 @endif gas-bootstrap
11371
11372
11373 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
11374 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
11375 maybe-all-stageprofile-gas:
11376 maybe-clean-stageprofile-gas:
11377 @if gas-bootstrap
11378 maybe-all-stageprofile-gas: all-stageprofile-gas
11379 all-stageprofile: all-stageprofile-gas
11380 TARGET-stageprofile-gas = $(TARGET-gas)
11381 all-stageprofile-gas: configure-stageprofile-gas
11382 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11383 @r=`${PWD_COMMAND}`; export r; \
11384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11385 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11386 $(HOST_EXPORTS) \
11387 $(POSTSTAGE1_HOST_EXPORTS) \
11388 cd $(HOST_SUBDIR)/gas && \
11389 \
11390 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11391 CFLAGS="$(STAGEprofile_CFLAGS)" \
11392 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
11393 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11394 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11395 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11396 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11397 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11398 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11399 TFLAGS="$(STAGEprofile_TFLAGS)" \
11400 $(TARGET-stageprofile-gas)
11401
11402 maybe-clean-stageprofile-gas: clean-stageprofile-gas
11403 clean-stageprofile: clean-stageprofile-gas
11404 clean-stageprofile-gas:
11405 @if [ $(current_stage) = stageprofile ]; then \
11406 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11407 else \
11408 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
11409 $(MAKE) stageprofile-start; \
11410 fi; \
11411 cd $(HOST_SUBDIR)/gas && \
11412 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11413 @endif gas-bootstrap
11414
11415
11416 .PHONY: all-stagetrain-gas maybe-all-stagetrain-gas
11417 .PHONY: clean-stagetrain-gas maybe-clean-stagetrain-gas
11418 maybe-all-stagetrain-gas:
11419 maybe-clean-stagetrain-gas:
11420 @if gas-bootstrap
11421 maybe-all-stagetrain-gas: all-stagetrain-gas
11422 all-stagetrain: all-stagetrain-gas
11423 TARGET-stagetrain-gas = $(TARGET-gas)
11424 all-stagetrain-gas: configure-stagetrain-gas
11425 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
11426 @r=`${PWD_COMMAND}`; export r; \
11427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11428 TFLAGS="$(STAGEtrain_TFLAGS)"; \
11429 $(HOST_EXPORTS) \
11430 $(POSTSTAGE1_HOST_EXPORTS) \
11431 cd $(HOST_SUBDIR)/gas && \
11432 \
11433 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11434 CFLAGS="$(STAGEtrain_CFLAGS)" \
11435 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
11436 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
11437 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
11438 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11439 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11440 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11441 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11442 TFLAGS="$(STAGEtrain_TFLAGS)" \
11443 $(TARGET-stagetrain-gas)
11444
11445 maybe-clean-stagetrain-gas: clean-stagetrain-gas
11446 clean-stagetrain: clean-stagetrain-gas
11447 clean-stagetrain-gas:
11448 @if [ $(current_stage) = stagetrain ]; then \
11449 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11450 else \
11451 [ -f $(HOST_SUBDIR)/stagetrain-gas/Makefile ] || exit 0; \
11452 $(MAKE) stagetrain-start; \
11453 fi; \
11454 cd $(HOST_SUBDIR)/gas && \
11455 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11456 @endif gas-bootstrap
11457
11458
11459 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
11460 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
11461 maybe-all-stagefeedback-gas:
11462 maybe-clean-stagefeedback-gas:
11463 @if gas-bootstrap
11464 maybe-all-stagefeedback-gas: all-stagefeedback-gas
11465 all-stagefeedback: all-stagefeedback-gas
11466 TARGET-stagefeedback-gas = $(TARGET-gas)
11467 all-stagefeedback-gas: configure-stagefeedback-gas
11468 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11469 @r=`${PWD_COMMAND}`; export r; \
11470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11471 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11472 $(HOST_EXPORTS) \
11473 $(POSTSTAGE1_HOST_EXPORTS) \
11474 cd $(HOST_SUBDIR)/gas && \
11475 \
11476 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11477 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11478 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
11479 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11480 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11481 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11482 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11483 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11484 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11485 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11486 $(TARGET-stagefeedback-gas)
11487
11488 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
11489 clean-stagefeedback: clean-stagefeedback-gas
11490 clean-stagefeedback-gas:
11491 @if [ $(current_stage) = stagefeedback ]; then \
11492 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11493 else \
11494 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
11495 $(MAKE) stagefeedback-start; \
11496 fi; \
11497 cd $(HOST_SUBDIR)/gas && \
11498 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11499 @endif gas-bootstrap
11500
11501
11502 .PHONY: all-stageautoprofile-gas maybe-all-stageautoprofile-gas
11503 .PHONY: clean-stageautoprofile-gas maybe-clean-stageautoprofile-gas
11504 maybe-all-stageautoprofile-gas:
11505 maybe-clean-stageautoprofile-gas:
11506 @if gas-bootstrap
11507 maybe-all-stageautoprofile-gas: all-stageautoprofile-gas
11508 all-stageautoprofile: all-stageautoprofile-gas
11509 TARGET-stageautoprofile-gas = $(TARGET-gas)
11510 all-stageautoprofile-gas: configure-stageautoprofile-gas
11511 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
11512 @r=`${PWD_COMMAND}`; export r; \
11513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11514 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
11515 $(HOST_EXPORTS) \
11516 $(POSTSTAGE1_HOST_EXPORTS) \
11517 cd $(HOST_SUBDIR)/gas && \
11518 $$s/gcc/config/i386/$(AUTO_PROFILE) \
11519 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11520 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
11521 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
11522 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
11523 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
11524 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11525 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11526 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11527 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11528 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
11529 $(TARGET-stageautoprofile-gas)
11530
11531 maybe-clean-stageautoprofile-gas: clean-stageautoprofile-gas
11532 clean-stageautoprofile: clean-stageautoprofile-gas
11533 clean-stageautoprofile-gas:
11534 @if [ $(current_stage) = stageautoprofile ]; then \
11535 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11536 else \
11537 [ -f $(HOST_SUBDIR)/stageautoprofile-gas/Makefile ] || exit 0; \
11538 $(MAKE) stageautoprofile-start; \
11539 fi; \
11540 cd $(HOST_SUBDIR)/gas && \
11541 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11542 @endif gas-bootstrap
11543
11544
11545 .PHONY: all-stageautofeedback-gas maybe-all-stageautofeedback-gas
11546 .PHONY: clean-stageautofeedback-gas maybe-clean-stageautofeedback-gas
11547 maybe-all-stageautofeedback-gas:
11548 maybe-clean-stageautofeedback-gas:
11549 @if gas-bootstrap
11550 maybe-all-stageautofeedback-gas: all-stageautofeedback-gas
11551 all-stageautofeedback: all-stageautofeedback-gas
11552 TARGET-stageautofeedback-gas = $(TARGET-gas)
11553 all-stageautofeedback-gas: configure-stageautofeedback-gas
11554 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
11555 @r=`${PWD_COMMAND}`; export r; \
11556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11557 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
11558 $(HOST_EXPORTS) \
11559 $(POSTSTAGE1_HOST_EXPORTS) \
11560 cd $(HOST_SUBDIR)/gas && \
11561 \
11562 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11563 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
11564 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
11565 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
11566 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
11567 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11568 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11569 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11570 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11571 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
11572 $(TARGET-stageautofeedback-gas)
11573
11574 maybe-clean-stageautofeedback-gas: clean-stageautofeedback-gas
11575 clean-stageautofeedback: clean-stageautofeedback-gas
11576 clean-stageautofeedback-gas:
11577 @if [ $(current_stage) = stageautofeedback ]; then \
11578 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
11579 else \
11580 [ -f $(HOST_SUBDIR)/stageautofeedback-gas/Makefile ] || exit 0; \
11581 $(MAKE) stageautofeedback-start; \
11582 fi; \
11583 cd $(HOST_SUBDIR)/gas && \
11584 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11585 @endif gas-bootstrap
11586
11587
11588
11589
11590
11591 .PHONY: check-gas maybe-check-gas
11592 maybe-check-gas:
11593 @if gas
11594 maybe-check-gas: check-gas
11595
11596 check-gas:
11597 @: $(MAKE); $(unstage)
11598 @r=`${PWD_COMMAND}`; export r; \
11599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11600 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
11601 (cd $(HOST_SUBDIR)/gas && \
11602 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
11603
11604 @endif gas
11605
11606 .PHONY: install-gas maybe-install-gas
11607 maybe-install-gas:
11608 @if gas
11609 maybe-install-gas: install-gas
11610
11611 install-gas: installdirs
11612 @: $(MAKE); $(unstage)
11613 @r=`${PWD_COMMAND}`; export r; \
11614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11615 $(HOST_EXPORTS) \
11616 (cd $(HOST_SUBDIR)/gas && \
11617 $(MAKE) $(FLAGS_TO_PASS) install)
11618
11619 @endif gas
11620
11621 .PHONY: install-strip-gas maybe-install-strip-gas
11622 maybe-install-strip-gas:
11623 @if gas
11624 maybe-install-strip-gas: install-strip-gas
11625
11626 install-strip-gas: installdirs
11627 @: $(MAKE); $(unstage)
11628 @r=`${PWD_COMMAND}`; export r; \
11629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11630 $(HOST_EXPORTS) \
11631 (cd $(HOST_SUBDIR)/gas && \
11632 $(MAKE) $(FLAGS_TO_PASS) install-strip)
11633
11634 @endif gas
11635
11636 # Other targets (info, dvi, pdf, etc.)
11637
11638 .PHONY: maybe-info-gas info-gas
11639 maybe-info-gas:
11640 @if gas
11641 maybe-info-gas: info-gas
11642
11643 info-gas: \
11644 configure-gas
11645 @[ -f ./gas/Makefile ] || exit 0; \
11646 r=`${PWD_COMMAND}`; export r; \
11647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11648 $(HOST_EXPORTS) \
11649 for flag in $(EXTRA_HOST_FLAGS) ; do \
11650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11651 done; \
11652 echo "Doing info in gas"; \
11653 (cd $(HOST_SUBDIR)/gas && \
11654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11656 "RANLIB=$${RANLIB}" \
11657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11658 info) \
11659 || exit 1
11660
11661 @endif gas
11662
11663 .PHONY: maybe-dvi-gas dvi-gas
11664 maybe-dvi-gas:
11665 @if gas
11666 maybe-dvi-gas: dvi-gas
11667
11668 dvi-gas: \
11669 configure-gas
11670 @[ -f ./gas/Makefile ] || exit 0; \
11671 r=`${PWD_COMMAND}`; export r; \
11672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11673 $(HOST_EXPORTS) \
11674 for flag in $(EXTRA_HOST_FLAGS) ; do \
11675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11676 done; \
11677 echo "Doing dvi in gas"; \
11678 (cd $(HOST_SUBDIR)/gas && \
11679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11681 "RANLIB=$${RANLIB}" \
11682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11683 dvi) \
11684 || exit 1
11685
11686 @endif gas
11687
11688 .PHONY: maybe-pdf-gas pdf-gas
11689 maybe-pdf-gas:
11690 @if gas
11691 maybe-pdf-gas: pdf-gas
11692
11693 pdf-gas: \
11694 configure-gas
11695 @[ -f ./gas/Makefile ] || exit 0; \
11696 r=`${PWD_COMMAND}`; export r; \
11697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11698 $(HOST_EXPORTS) \
11699 for flag in $(EXTRA_HOST_FLAGS) ; do \
11700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11701 done; \
11702 echo "Doing pdf in gas"; \
11703 (cd $(HOST_SUBDIR)/gas && \
11704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11706 "RANLIB=$${RANLIB}" \
11707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11708 pdf) \
11709 || exit 1
11710
11711 @endif gas
11712
11713 .PHONY: maybe-html-gas html-gas
11714 maybe-html-gas:
11715 @if gas
11716 maybe-html-gas: html-gas
11717
11718 html-gas: \
11719 configure-gas
11720 @[ -f ./gas/Makefile ] || exit 0; \
11721 r=`${PWD_COMMAND}`; export r; \
11722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11723 $(HOST_EXPORTS) \
11724 for flag in $(EXTRA_HOST_FLAGS) ; do \
11725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11726 done; \
11727 echo "Doing html in gas"; \
11728 (cd $(HOST_SUBDIR)/gas && \
11729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11731 "RANLIB=$${RANLIB}" \
11732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11733 html) \
11734 || exit 1
11735
11736 @endif gas
11737
11738 .PHONY: maybe-TAGS-gas TAGS-gas
11739 maybe-TAGS-gas:
11740 @if gas
11741 maybe-TAGS-gas: TAGS-gas
11742
11743 TAGS-gas: \
11744 configure-gas
11745 @[ -f ./gas/Makefile ] || exit 0; \
11746 r=`${PWD_COMMAND}`; export r; \
11747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11748 $(HOST_EXPORTS) \
11749 for flag in $(EXTRA_HOST_FLAGS) ; do \
11750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11751 done; \
11752 echo "Doing TAGS in gas"; \
11753 (cd $(HOST_SUBDIR)/gas && \
11754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11756 "RANLIB=$${RANLIB}" \
11757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11758 TAGS) \
11759 || exit 1
11760
11761 @endif gas
11762
11763 .PHONY: maybe-install-info-gas install-info-gas
11764 maybe-install-info-gas:
11765 @if gas
11766 maybe-install-info-gas: install-info-gas
11767
11768 install-info-gas: \
11769 configure-gas \
11770 info-gas
11771 @[ -f ./gas/Makefile ] || exit 0; \
11772 r=`${PWD_COMMAND}`; export r; \
11773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11774 $(HOST_EXPORTS) \
11775 for flag in $(EXTRA_HOST_FLAGS) ; do \
11776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11777 done; \
11778 echo "Doing install-info in gas"; \
11779 (cd $(HOST_SUBDIR)/gas && \
11780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11782 "RANLIB=$${RANLIB}" \
11783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11784 install-info) \
11785 || exit 1
11786
11787 @endif gas
11788
11789 .PHONY: maybe-install-dvi-gas install-dvi-gas
11790 maybe-install-dvi-gas:
11791 @if gas
11792 maybe-install-dvi-gas: install-dvi-gas
11793
11794 install-dvi-gas: \
11795 configure-gas \
11796 dvi-gas
11797 @[ -f ./gas/Makefile ] || exit 0; \
11798 r=`${PWD_COMMAND}`; export r; \
11799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11800 $(HOST_EXPORTS) \
11801 for flag in $(EXTRA_HOST_FLAGS) ; do \
11802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11803 done; \
11804 echo "Doing install-dvi in gas"; \
11805 (cd $(HOST_SUBDIR)/gas && \
11806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11808 "RANLIB=$${RANLIB}" \
11809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11810 install-dvi) \
11811 || exit 1
11812
11813 @endif gas
11814
11815 .PHONY: maybe-install-pdf-gas install-pdf-gas
11816 maybe-install-pdf-gas:
11817 @if gas
11818 maybe-install-pdf-gas: install-pdf-gas
11819
11820 install-pdf-gas: \
11821 configure-gas \
11822 pdf-gas
11823 @[ -f ./gas/Makefile ] || exit 0; \
11824 r=`${PWD_COMMAND}`; export r; \
11825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11826 $(HOST_EXPORTS) \
11827 for flag in $(EXTRA_HOST_FLAGS) ; do \
11828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11829 done; \
11830 echo "Doing install-pdf in gas"; \
11831 (cd $(HOST_SUBDIR)/gas && \
11832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11834 "RANLIB=$${RANLIB}" \
11835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11836 install-pdf) \
11837 || exit 1
11838
11839 @endif gas
11840
11841 .PHONY: maybe-install-html-gas install-html-gas
11842 maybe-install-html-gas:
11843 @if gas
11844 maybe-install-html-gas: install-html-gas
11845
11846 install-html-gas: \
11847 configure-gas \
11848 html-gas
11849 @[ -f ./gas/Makefile ] || exit 0; \
11850 r=`${PWD_COMMAND}`; export r; \
11851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11852 $(HOST_EXPORTS) \
11853 for flag in $(EXTRA_HOST_FLAGS) ; do \
11854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11855 done; \
11856 echo "Doing install-html in gas"; \
11857 (cd $(HOST_SUBDIR)/gas && \
11858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11860 "RANLIB=$${RANLIB}" \
11861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11862 install-html) \
11863 || exit 1
11864
11865 @endif gas
11866
11867 .PHONY: maybe-installcheck-gas installcheck-gas
11868 maybe-installcheck-gas:
11869 @if gas
11870 maybe-installcheck-gas: installcheck-gas
11871
11872 installcheck-gas: \
11873 configure-gas
11874 @[ -f ./gas/Makefile ] || exit 0; \
11875 r=`${PWD_COMMAND}`; export r; \
11876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11877 $(HOST_EXPORTS) \
11878 for flag in $(EXTRA_HOST_FLAGS) ; do \
11879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11880 done; \
11881 echo "Doing installcheck in gas"; \
11882 (cd $(HOST_SUBDIR)/gas && \
11883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11885 "RANLIB=$${RANLIB}" \
11886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11887 installcheck) \
11888 || exit 1
11889
11890 @endif gas
11891
11892 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11893 maybe-mostlyclean-gas:
11894 @if gas
11895 maybe-mostlyclean-gas: mostlyclean-gas
11896
11897 mostlyclean-gas:
11898 @[ -f ./gas/Makefile ] || exit 0; \
11899 r=`${PWD_COMMAND}`; export r; \
11900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11901 $(HOST_EXPORTS) \
11902 for flag in $(EXTRA_HOST_FLAGS) ; do \
11903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11904 done; \
11905 echo "Doing mostlyclean in gas"; \
11906 (cd $(HOST_SUBDIR)/gas && \
11907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11909 "RANLIB=$${RANLIB}" \
11910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11911 mostlyclean) \
11912 || exit 1
11913
11914 @endif gas
11915
11916 .PHONY: maybe-clean-gas clean-gas
11917 maybe-clean-gas:
11918 @if gas
11919 maybe-clean-gas: clean-gas
11920
11921 clean-gas:
11922 @[ -f ./gas/Makefile ] || exit 0; \
11923 r=`${PWD_COMMAND}`; export r; \
11924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11925 $(HOST_EXPORTS) \
11926 for flag in $(EXTRA_HOST_FLAGS) ; do \
11927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11928 done; \
11929 echo "Doing clean in gas"; \
11930 (cd $(HOST_SUBDIR)/gas && \
11931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11933 "RANLIB=$${RANLIB}" \
11934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11935 clean) \
11936 || exit 1
11937
11938 @endif gas
11939
11940 .PHONY: maybe-distclean-gas distclean-gas
11941 maybe-distclean-gas:
11942 @if gas
11943 maybe-distclean-gas: distclean-gas
11944
11945 distclean-gas:
11946 @[ -f ./gas/Makefile ] || exit 0; \
11947 r=`${PWD_COMMAND}`; export r; \
11948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11949 $(HOST_EXPORTS) \
11950 for flag in $(EXTRA_HOST_FLAGS) ; do \
11951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11952 done; \
11953 echo "Doing distclean in gas"; \
11954 (cd $(HOST_SUBDIR)/gas && \
11955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11957 "RANLIB=$${RANLIB}" \
11958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11959 distclean) \
11960 || exit 1
11961
11962 @endif gas
11963
11964 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11965 maybe-maintainer-clean-gas:
11966 @if gas
11967 maybe-maintainer-clean-gas: maintainer-clean-gas
11968
11969 maintainer-clean-gas:
11970 @[ -f ./gas/Makefile ] || exit 0; \
11971 r=`${PWD_COMMAND}`; export r; \
11972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11973 $(HOST_EXPORTS) \
11974 for flag in $(EXTRA_HOST_FLAGS) ; do \
11975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11976 done; \
11977 echo "Doing maintainer-clean in gas"; \
11978 (cd $(HOST_SUBDIR)/gas && \
11979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11981 "RANLIB=$${RANLIB}" \
11982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11983 maintainer-clean) \
11984 || exit 1
11985
11986 @endif gas
11987
11988
11989
11990 .PHONY: configure-gcc maybe-configure-gcc
11991 maybe-configure-gcc:
11992 @if gcc-bootstrap
11993 configure-gcc: stage_current
11994 @endif gcc-bootstrap
11995 @if gcc
11996 maybe-configure-gcc: configure-gcc
11997 configure-gcc:
11998 @r=`${PWD_COMMAND}`; export r; \
11999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12000 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12002 $(HOST_EXPORTS) \
12003 echo Configuring in $(HOST_SUBDIR)/gcc; \
12004 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
12005 case $(srcdir) in \
12006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12007 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12009 esac; \
12010 module_srcdir=gcc; \
12011 $(SHELL) \
12012 $$s/$$module_srcdir/configure \
12013 --srcdir=$${topdir}/$$module_srcdir \
12014 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12015 --target=${target_alias} \
12016 || exit 1
12017 @endif gcc
12018
12019
12020
12021 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
12022 maybe-configure-stage1-gcc:
12023 @if gcc-bootstrap
12024 maybe-configure-stage1-gcc: configure-stage1-gcc
12025 configure-stage1-gcc:
12026 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12027 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12028 @r=`${PWD_COMMAND}`; export r; \
12029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12030 TFLAGS="$(STAGE1_TFLAGS)"; \
12031 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12032 $(HOST_EXPORTS) \
12033 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12034 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12035 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12036 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc; \
12037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12038 cd $(HOST_SUBDIR)/gcc || exit 1; \
12039 case $(srcdir) in \
12040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12041 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12043 esac; \
12044 module_srcdir=gcc; \
12045 $(SHELL) $$s/$$module_srcdir/configure \
12046 --srcdir=$${topdir}/$$module_srcdir \
12047 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12048 --target=${target_alias} \
12049 \
12050 $(STAGE1_CONFIGURE_FLAGS)
12051 @endif gcc-bootstrap
12052
12053 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
12054 maybe-configure-stage2-gcc:
12055 @if gcc-bootstrap
12056 maybe-configure-stage2-gcc: configure-stage2-gcc
12057 configure-stage2-gcc:
12058 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12059 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12060 @r=`${PWD_COMMAND}`; export r; \
12061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12062 TFLAGS="$(STAGE2_TFLAGS)"; \
12063 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12064 $(HOST_EXPORTS) \
12065 $(POSTSTAGE1_HOST_EXPORTS) \
12066 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12067 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12068 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12069 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc; \
12070 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12071 cd $(HOST_SUBDIR)/gcc || exit 1; \
12072 case $(srcdir) in \
12073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12074 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12076 esac; \
12077 module_srcdir=gcc; \
12078 $(SHELL) $$s/$$module_srcdir/configure \
12079 --srcdir=$${topdir}/$$module_srcdir \
12080 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12081 --target=${target_alias} \
12082 --with-build-libsubdir=$(HOST_SUBDIR) \
12083 $(STAGE2_CONFIGURE_FLAGS)
12084 @endif gcc-bootstrap
12085
12086 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
12087 maybe-configure-stage3-gcc:
12088 @if gcc-bootstrap
12089 maybe-configure-stage3-gcc: configure-stage3-gcc
12090 configure-stage3-gcc:
12091 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12092 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12093 @r=`${PWD_COMMAND}`; export r; \
12094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12095 TFLAGS="$(STAGE3_TFLAGS)"; \
12096 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12097 $(HOST_EXPORTS) \
12098 $(POSTSTAGE1_HOST_EXPORTS) \
12099 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12100 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12101 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12102 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc; \
12103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12104 cd $(HOST_SUBDIR)/gcc || exit 1; \
12105 case $(srcdir) in \
12106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12107 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12109 esac; \
12110 module_srcdir=gcc; \
12111 $(SHELL) $$s/$$module_srcdir/configure \
12112 --srcdir=$${topdir}/$$module_srcdir \
12113 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12114 --target=${target_alias} \
12115 --with-build-libsubdir=$(HOST_SUBDIR) \
12116 $(STAGE3_CONFIGURE_FLAGS)
12117 @endif gcc-bootstrap
12118
12119 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
12120 maybe-configure-stage4-gcc:
12121 @if gcc-bootstrap
12122 maybe-configure-stage4-gcc: configure-stage4-gcc
12123 configure-stage4-gcc:
12124 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12125 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12126 @r=`${PWD_COMMAND}`; export r; \
12127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12128 TFLAGS="$(STAGE4_TFLAGS)"; \
12129 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12130 $(HOST_EXPORTS) \
12131 $(POSTSTAGE1_HOST_EXPORTS) \
12132 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12133 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12134 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12135 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc; \
12136 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12137 cd $(HOST_SUBDIR)/gcc || exit 1; \
12138 case $(srcdir) in \
12139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12140 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12142 esac; \
12143 module_srcdir=gcc; \
12144 $(SHELL) $$s/$$module_srcdir/configure \
12145 --srcdir=$${topdir}/$$module_srcdir \
12146 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12147 --target=${target_alias} \
12148 --with-build-libsubdir=$(HOST_SUBDIR) \
12149 $(STAGE4_CONFIGURE_FLAGS)
12150 @endif gcc-bootstrap
12151
12152 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
12153 maybe-configure-stageprofile-gcc:
12154 @if gcc-bootstrap
12155 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
12156 configure-stageprofile-gcc:
12157 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12158 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12159 @r=`${PWD_COMMAND}`; export r; \
12160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12161 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12162 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12163 $(HOST_EXPORTS) \
12164 $(POSTSTAGE1_HOST_EXPORTS) \
12165 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12166 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12167 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12168 echo Configuring stage profile in $(HOST_SUBDIR)/gcc; \
12169 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12170 cd $(HOST_SUBDIR)/gcc || exit 1; \
12171 case $(srcdir) in \
12172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12173 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12175 esac; \
12176 module_srcdir=gcc; \
12177 $(SHELL) $$s/$$module_srcdir/configure \
12178 --srcdir=$${topdir}/$$module_srcdir \
12179 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12180 --target=${target_alias} \
12181 --with-build-libsubdir=$(HOST_SUBDIR) \
12182 $(STAGEprofile_CONFIGURE_FLAGS)
12183 @endif gcc-bootstrap
12184
12185 .PHONY: configure-stagetrain-gcc maybe-configure-stagetrain-gcc
12186 maybe-configure-stagetrain-gcc:
12187 @if gcc-bootstrap
12188 maybe-configure-stagetrain-gcc: configure-stagetrain-gcc
12189 configure-stagetrain-gcc:
12190 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12191 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12192 @r=`${PWD_COMMAND}`; export r; \
12193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12194 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12195 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12196 $(HOST_EXPORTS) \
12197 $(POSTSTAGE1_HOST_EXPORTS) \
12198 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
12199 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
12200 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
12201 echo Configuring stage train in $(HOST_SUBDIR)/gcc; \
12202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12203 cd $(HOST_SUBDIR)/gcc || exit 1; \
12204 case $(srcdir) in \
12205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12206 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12208 esac; \
12209 module_srcdir=gcc; \
12210 $(SHELL) $$s/$$module_srcdir/configure \
12211 --srcdir=$${topdir}/$$module_srcdir \
12212 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12213 --target=${target_alias} \
12214 --with-build-libsubdir=$(HOST_SUBDIR) \
12215 $(STAGEtrain_CONFIGURE_FLAGS)
12216 @endif gcc-bootstrap
12217
12218 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
12219 maybe-configure-stagefeedback-gcc:
12220 @if gcc-bootstrap
12221 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
12222 configure-stagefeedback-gcc:
12223 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12224 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12225 @r=`${PWD_COMMAND}`; export r; \
12226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12227 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12228 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12229 $(HOST_EXPORTS) \
12230 $(POSTSTAGE1_HOST_EXPORTS) \
12231 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12232 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12233 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12234 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc; \
12235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12236 cd $(HOST_SUBDIR)/gcc || exit 1; \
12237 case $(srcdir) in \
12238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12239 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12241 esac; \
12242 module_srcdir=gcc; \
12243 $(SHELL) $$s/$$module_srcdir/configure \
12244 --srcdir=$${topdir}/$$module_srcdir \
12245 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12246 --target=${target_alias} \
12247 --with-build-libsubdir=$(HOST_SUBDIR) \
12248 $(STAGEfeedback_CONFIGURE_FLAGS)
12249 @endif gcc-bootstrap
12250
12251 .PHONY: configure-stageautoprofile-gcc maybe-configure-stageautoprofile-gcc
12252 maybe-configure-stageautoprofile-gcc:
12253 @if gcc-bootstrap
12254 maybe-configure-stageautoprofile-gcc: configure-stageautoprofile-gcc
12255 configure-stageautoprofile-gcc:
12256 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12257 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12258 @r=`${PWD_COMMAND}`; export r; \
12259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12260 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12261 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12262 $(HOST_EXPORTS) \
12263 $(POSTSTAGE1_HOST_EXPORTS) \
12264 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
12265 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
12266 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
12267 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gcc; \
12268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12269 cd $(HOST_SUBDIR)/gcc || exit 1; \
12270 case $(srcdir) in \
12271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12272 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12274 esac; \
12275 module_srcdir=gcc; \
12276 $(SHELL) $$s/$$module_srcdir/configure \
12277 --srcdir=$${topdir}/$$module_srcdir \
12278 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12279 --target=${target_alias} \
12280 --with-build-libsubdir=$(HOST_SUBDIR) \
12281 $(STAGEautoprofile_CONFIGURE_FLAGS)
12282 @endif gcc-bootstrap
12283
12284 .PHONY: configure-stageautofeedback-gcc maybe-configure-stageautofeedback-gcc
12285 maybe-configure-stageautofeedback-gcc:
12286 @if gcc-bootstrap
12287 maybe-configure-stageautofeedback-gcc: configure-stageautofeedback-gcc
12288 configure-stageautofeedback-gcc:
12289 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12290 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12291 @r=`${PWD_COMMAND}`; export r; \
12292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12293 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12294 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12295 $(HOST_EXPORTS) \
12296 $(POSTSTAGE1_HOST_EXPORTS) \
12297 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
12298 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
12299 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
12300 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gcc; \
12301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc; \
12302 cd $(HOST_SUBDIR)/gcc || exit 1; \
12303 case $(srcdir) in \
12304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12305 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12307 esac; \
12308 module_srcdir=gcc; \
12309 $(SHELL) $$s/$$module_srcdir/configure \
12310 --srcdir=$${topdir}/$$module_srcdir \
12311 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12312 --target=${target_alias} \
12313 --with-build-libsubdir=$(HOST_SUBDIR) \
12314 $(STAGEautofeedback_CONFIGURE_FLAGS)
12315 @endif gcc-bootstrap
12316
12317
12318
12319
12320
12321 .PHONY: all-gcc maybe-all-gcc
12322 maybe-all-gcc:
12323 @if gcc-bootstrap
12324 all-gcc: stage_current
12325 @endif gcc-bootstrap
12326 @if gcc
12327 TARGET-gcc=all
12328 maybe-all-gcc: all-gcc
12329 all-gcc: configure-gcc
12330 @r=`${PWD_COMMAND}`; export r; \
12331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12332 $(HOST_EXPORTS) \
12333 (cd $(HOST_SUBDIR)/gcc && \
12334 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12335 $(TARGET-gcc))
12336 @endif gcc
12337
12338
12339
12340 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
12341 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
12342 maybe-all-stage1-gcc:
12343 maybe-clean-stage1-gcc:
12344 @if gcc-bootstrap
12345 maybe-all-stage1-gcc: all-stage1-gcc
12346 all-stage1: all-stage1-gcc
12347 TARGET-stage1-gcc = $(TARGET-gcc)
12348 all-stage1-gcc: configure-stage1-gcc
12349 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12350 @r=`${PWD_COMMAND}`; export r; \
12351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12352 TFLAGS="$(STAGE1_TFLAGS)"; \
12353 $(HOST_EXPORTS) \
12354 cd $(HOST_SUBDIR)/gcc && \
12355 \
12356 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12357 CFLAGS="$(STAGE1_CFLAGS)" \
12358 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
12359 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12360 LIBCFLAGS="$(LIBCFLAGS)" \
12361 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12362 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12363 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12364 $(EXTRA_HOST_FLAGS) \
12365 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12366 TFLAGS="$(STAGE1_TFLAGS)" \
12367 $(TARGET-stage1-gcc)
12368
12369 maybe-clean-stage1-gcc: clean-stage1-gcc
12370 clean-stage1: clean-stage1-gcc
12371 clean-stage1-gcc:
12372 @if [ $(current_stage) = stage1 ]; then \
12373 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12374 else \
12375 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
12376 $(MAKE) stage1-start; \
12377 fi; \
12378 cd $(HOST_SUBDIR)/gcc && \
12379 $(MAKE) $(EXTRA_HOST_FLAGS) \
12380 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12381 @endif gcc-bootstrap
12382
12383
12384 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
12385 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
12386 maybe-all-stage2-gcc:
12387 maybe-clean-stage2-gcc:
12388 @if gcc-bootstrap
12389 maybe-all-stage2-gcc: all-stage2-gcc
12390 all-stage2: all-stage2-gcc
12391 TARGET-stage2-gcc = $(TARGET-gcc)
12392 all-stage2-gcc: configure-stage2-gcc
12393 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12394 @r=`${PWD_COMMAND}`; export r; \
12395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12396 TFLAGS="$(STAGE2_TFLAGS)"; \
12397 $(HOST_EXPORTS) \
12398 $(POSTSTAGE1_HOST_EXPORTS) \
12399 cd $(HOST_SUBDIR)/gcc && \
12400 \
12401 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12402 CFLAGS="$(STAGE2_CFLAGS)" \
12403 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
12404 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12405 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12406 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12407 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12408 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12409 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12410 TFLAGS="$(STAGE2_TFLAGS)" \
12411 $(TARGET-stage2-gcc)
12412
12413 maybe-clean-stage2-gcc: clean-stage2-gcc
12414 clean-stage2: clean-stage2-gcc
12415 clean-stage2-gcc:
12416 @if [ $(current_stage) = stage2 ]; then \
12417 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12418 else \
12419 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
12420 $(MAKE) stage2-start; \
12421 fi; \
12422 cd $(HOST_SUBDIR)/gcc && \
12423 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12424 @endif gcc-bootstrap
12425
12426
12427 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
12428 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
12429 maybe-all-stage3-gcc:
12430 maybe-clean-stage3-gcc:
12431 @if gcc-bootstrap
12432 maybe-all-stage3-gcc: all-stage3-gcc
12433 all-stage3: all-stage3-gcc
12434 TARGET-stage3-gcc = $(TARGET-gcc)
12435 all-stage3-gcc: configure-stage3-gcc
12436 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12437 @r=`${PWD_COMMAND}`; export r; \
12438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12439 TFLAGS="$(STAGE3_TFLAGS)"; \
12440 $(HOST_EXPORTS) \
12441 $(POSTSTAGE1_HOST_EXPORTS) \
12442 cd $(HOST_SUBDIR)/gcc && \
12443 \
12444 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12445 CFLAGS="$(STAGE3_CFLAGS)" \
12446 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
12447 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12448 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12449 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12450 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12451 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12452 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12453 TFLAGS="$(STAGE3_TFLAGS)" \
12454 $(TARGET-stage3-gcc)
12455
12456 maybe-clean-stage3-gcc: clean-stage3-gcc
12457 clean-stage3: clean-stage3-gcc
12458 clean-stage3-gcc:
12459 @if [ $(current_stage) = stage3 ]; then \
12460 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12461 else \
12462 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
12463 $(MAKE) stage3-start; \
12464 fi; \
12465 cd $(HOST_SUBDIR)/gcc && \
12466 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12467 @endif gcc-bootstrap
12468
12469
12470 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
12471 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
12472 maybe-all-stage4-gcc:
12473 maybe-clean-stage4-gcc:
12474 @if gcc-bootstrap
12475 maybe-all-stage4-gcc: all-stage4-gcc
12476 all-stage4: all-stage4-gcc
12477 TARGET-stage4-gcc = $(TARGET-gcc)
12478 all-stage4-gcc: configure-stage4-gcc
12479 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12480 @r=`${PWD_COMMAND}`; export r; \
12481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12482 TFLAGS="$(STAGE4_TFLAGS)"; \
12483 $(HOST_EXPORTS) \
12484 $(POSTSTAGE1_HOST_EXPORTS) \
12485 cd $(HOST_SUBDIR)/gcc && \
12486 \
12487 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12488 CFLAGS="$(STAGE4_CFLAGS)" \
12489 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
12490 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12491 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12492 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12493 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12494 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12495 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12496 TFLAGS="$(STAGE4_TFLAGS)" \
12497 $(TARGET-stage4-gcc)
12498
12499 maybe-clean-stage4-gcc: clean-stage4-gcc
12500 clean-stage4: clean-stage4-gcc
12501 clean-stage4-gcc:
12502 @if [ $(current_stage) = stage4 ]; then \
12503 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12504 else \
12505 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
12506 $(MAKE) stage4-start; \
12507 fi; \
12508 cd $(HOST_SUBDIR)/gcc && \
12509 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12510 @endif gcc-bootstrap
12511
12512
12513 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
12514 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
12515 maybe-all-stageprofile-gcc:
12516 maybe-clean-stageprofile-gcc:
12517 @if gcc-bootstrap
12518 maybe-all-stageprofile-gcc: all-stageprofile-gcc
12519 all-stageprofile: all-stageprofile-gcc
12520 TARGET-stageprofile-gcc = $(TARGET-gcc)
12521 all-stageprofile-gcc: configure-stageprofile-gcc
12522 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12523 @r=`${PWD_COMMAND}`; export r; \
12524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12525 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12526 $(HOST_EXPORTS) \
12527 $(POSTSTAGE1_HOST_EXPORTS) \
12528 cd $(HOST_SUBDIR)/gcc && \
12529 \
12530 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12531 CFLAGS="$(STAGEprofile_CFLAGS)" \
12532 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
12533 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12534 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12535 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12536 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12537 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12538 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12539 TFLAGS="$(STAGEprofile_TFLAGS)" \
12540 $(TARGET-stageprofile-gcc)
12541
12542 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
12543 clean-stageprofile: clean-stageprofile-gcc
12544 clean-stageprofile-gcc:
12545 @if [ $(current_stage) = stageprofile ]; then \
12546 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12547 else \
12548 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
12549 $(MAKE) stageprofile-start; \
12550 fi; \
12551 cd $(HOST_SUBDIR)/gcc && \
12552 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12553 @endif gcc-bootstrap
12554
12555
12556 .PHONY: all-stagetrain-gcc maybe-all-stagetrain-gcc
12557 .PHONY: clean-stagetrain-gcc maybe-clean-stagetrain-gcc
12558 maybe-all-stagetrain-gcc:
12559 maybe-clean-stagetrain-gcc:
12560 @if gcc-bootstrap
12561 maybe-all-stagetrain-gcc: all-stagetrain-gcc
12562 all-stagetrain: all-stagetrain-gcc
12563 TARGET-stagetrain-gcc = $(TARGET-gcc)
12564 all-stagetrain-gcc: configure-stagetrain-gcc
12565 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
12566 @r=`${PWD_COMMAND}`; export r; \
12567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12568 TFLAGS="$(STAGEtrain_TFLAGS)"; \
12569 $(HOST_EXPORTS) \
12570 $(POSTSTAGE1_HOST_EXPORTS) \
12571 cd $(HOST_SUBDIR)/gcc && \
12572 \
12573 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12574 CFLAGS="$(STAGEtrain_CFLAGS)" \
12575 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
12576 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
12577 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
12578 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12581 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12582 TFLAGS="$(STAGEtrain_TFLAGS)" \
12583 $(TARGET-stagetrain-gcc)
12584
12585 maybe-clean-stagetrain-gcc: clean-stagetrain-gcc
12586 clean-stagetrain: clean-stagetrain-gcc
12587 clean-stagetrain-gcc:
12588 @if [ $(current_stage) = stagetrain ]; then \
12589 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12590 else \
12591 [ -f $(HOST_SUBDIR)/stagetrain-gcc/Makefile ] || exit 0; \
12592 $(MAKE) stagetrain-start; \
12593 fi; \
12594 cd $(HOST_SUBDIR)/gcc && \
12595 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12596 @endif gcc-bootstrap
12597
12598
12599 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
12600 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
12601 maybe-all-stagefeedback-gcc:
12602 maybe-clean-stagefeedback-gcc:
12603 @if gcc-bootstrap
12604 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
12605 all-stagefeedback: all-stagefeedback-gcc
12606 TARGET-stagefeedback-gcc = $(TARGET-gcc)
12607 all-stagefeedback-gcc: configure-stagefeedback-gcc
12608 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12609 @r=`${PWD_COMMAND}`; export r; \
12610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12611 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12612 $(HOST_EXPORTS) \
12613 $(POSTSTAGE1_HOST_EXPORTS) \
12614 cd $(HOST_SUBDIR)/gcc && \
12615 \
12616 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12617 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12618 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
12619 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12620 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12621 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12622 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12623 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12624 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12625 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12626 $(TARGET-stagefeedback-gcc)
12627
12628 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
12629 clean-stagefeedback: clean-stagefeedback-gcc
12630 clean-stagefeedback-gcc:
12631 @if [ $(current_stage) = stagefeedback ]; then \
12632 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12633 else \
12634 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
12635 $(MAKE) stagefeedback-start; \
12636 fi; \
12637 cd $(HOST_SUBDIR)/gcc && \
12638 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12639 @endif gcc-bootstrap
12640
12641
12642 .PHONY: all-stageautoprofile-gcc maybe-all-stageautoprofile-gcc
12643 .PHONY: clean-stageautoprofile-gcc maybe-clean-stageautoprofile-gcc
12644 maybe-all-stageautoprofile-gcc:
12645 maybe-clean-stageautoprofile-gcc:
12646 @if gcc-bootstrap
12647 maybe-all-stageautoprofile-gcc: all-stageautoprofile-gcc
12648 all-stageautoprofile: all-stageautoprofile-gcc
12649 TARGET-stageautoprofile-gcc = $(TARGET-gcc)
12650 all-stageautoprofile-gcc: configure-stageautoprofile-gcc
12651 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
12652 @r=`${PWD_COMMAND}`; export r; \
12653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12654 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
12655 $(HOST_EXPORTS) \
12656 $(POSTSTAGE1_HOST_EXPORTS) \
12657 cd $(HOST_SUBDIR)/gcc && \
12658 $$s/gcc/config/i386/$(AUTO_PROFILE) \
12659 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12660 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
12661 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
12662 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
12663 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
12664 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12665 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12666 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12667 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12668 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
12669 $(TARGET-stageautoprofile-gcc)
12670
12671 maybe-clean-stageautoprofile-gcc: clean-stageautoprofile-gcc
12672 clean-stageautoprofile: clean-stageautoprofile-gcc
12673 clean-stageautoprofile-gcc:
12674 @if [ $(current_stage) = stageautoprofile ]; then \
12675 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12676 else \
12677 [ -f $(HOST_SUBDIR)/stageautoprofile-gcc/Makefile ] || exit 0; \
12678 $(MAKE) stageautoprofile-start; \
12679 fi; \
12680 cd $(HOST_SUBDIR)/gcc && \
12681 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12682 @endif gcc-bootstrap
12683
12684
12685 .PHONY: all-stageautofeedback-gcc maybe-all-stageautofeedback-gcc
12686 .PHONY: clean-stageautofeedback-gcc maybe-clean-stageautofeedback-gcc
12687 maybe-all-stageautofeedback-gcc:
12688 maybe-clean-stageautofeedback-gcc:
12689 @if gcc-bootstrap
12690 maybe-all-stageautofeedback-gcc: all-stageautofeedback-gcc
12691 all-stageautofeedback: all-stageautofeedback-gcc
12692 TARGET-stageautofeedback-gcc = $(TARGET-gcc)
12693 all-stageautofeedback-gcc: configure-stageautofeedback-gcc
12694 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
12695 @r=`${PWD_COMMAND}`; export r; \
12696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12697 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
12698 $(HOST_EXPORTS) \
12699 $(POSTSTAGE1_HOST_EXPORTS) \
12700 cd $(HOST_SUBDIR)/gcc && \
12701 \
12702 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12703 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
12704 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
12705 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
12706 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
12707 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12708 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12709 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12710 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12711 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
12712 $(TARGET-stageautofeedback-gcc)
12713
12714 maybe-clean-stageautofeedback-gcc: clean-stageautofeedback-gcc
12715 clean-stageautofeedback: clean-stageautofeedback-gcc
12716 clean-stageautofeedback-gcc:
12717 @if [ $(current_stage) = stageautofeedback ]; then \
12718 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12719 else \
12720 [ -f $(HOST_SUBDIR)/stageautofeedback-gcc/Makefile ] || exit 0; \
12721 $(MAKE) stageautofeedback-start; \
12722 fi; \
12723 cd $(HOST_SUBDIR)/gcc && \
12724 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
12725 @endif gcc-bootstrap
12726
12727
12728
12729
12730
12731 .PHONY: check-gcc maybe-check-gcc
12732 maybe-check-gcc:
12733 @if gcc
12734 maybe-check-gcc: check-gcc
12735
12736 check-gcc:
12737 @: $(MAKE); $(unstage)
12738 @r=`${PWD_COMMAND}`; export r; \
12739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12740 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
12741 (cd $(HOST_SUBDIR)/gcc && \
12742 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(EXTRA_BOOTSTRAP_FLAGS) check)
12743
12744 @endif gcc
12745
12746 .PHONY: install-gcc maybe-install-gcc
12747 maybe-install-gcc:
12748 @if gcc
12749 maybe-install-gcc: install-gcc
12750
12751 install-gcc: installdirs
12752 @: $(MAKE); $(unstage)
12753 @r=`${PWD_COMMAND}`; export r; \
12754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12755 $(HOST_EXPORTS) \
12756 (cd $(HOST_SUBDIR)/gcc && \
12757 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
12758
12759 @endif gcc
12760
12761 .PHONY: install-strip-gcc maybe-install-strip-gcc
12762 maybe-install-strip-gcc:
12763 @if gcc
12764 maybe-install-strip-gcc: install-strip-gcc
12765
12766 install-strip-gcc: installdirs
12767 @: $(MAKE); $(unstage)
12768 @r=`${PWD_COMMAND}`; export r; \
12769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12770 $(HOST_EXPORTS) \
12771 (cd $(HOST_SUBDIR)/gcc && \
12772 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
12773
12774 @endif gcc
12775
12776 # Other targets (info, dvi, pdf, etc.)
12777
12778 .PHONY: maybe-info-gcc info-gcc
12779 maybe-info-gcc:
12780 @if gcc
12781 maybe-info-gcc: info-gcc
12782
12783 info-gcc: \
12784 configure-gcc
12785 @[ -f ./gcc/Makefile ] || exit 0; \
12786 r=`${PWD_COMMAND}`; export r; \
12787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12788 $(HOST_EXPORTS) \
12789 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12791 done; \
12792 echo "Doing info in gcc"; \
12793 (cd $(HOST_SUBDIR)/gcc && \
12794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12796 "RANLIB=$${RANLIB}" \
12797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12798 info) \
12799 || exit 1
12800
12801 @endif gcc
12802
12803 .PHONY: maybe-dvi-gcc dvi-gcc
12804 maybe-dvi-gcc:
12805 @if gcc
12806 maybe-dvi-gcc: dvi-gcc
12807
12808 dvi-gcc: \
12809 configure-gcc
12810 @[ -f ./gcc/Makefile ] || exit 0; \
12811 r=`${PWD_COMMAND}`; export r; \
12812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12813 $(HOST_EXPORTS) \
12814 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12816 done; \
12817 echo "Doing dvi in gcc"; \
12818 (cd $(HOST_SUBDIR)/gcc && \
12819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12821 "RANLIB=$${RANLIB}" \
12822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12823 dvi) \
12824 || exit 1
12825
12826 @endif gcc
12827
12828 .PHONY: maybe-pdf-gcc pdf-gcc
12829 maybe-pdf-gcc:
12830 @if gcc
12831 maybe-pdf-gcc: pdf-gcc
12832
12833 pdf-gcc: \
12834 configure-gcc
12835 @[ -f ./gcc/Makefile ] || exit 0; \
12836 r=`${PWD_COMMAND}`; export r; \
12837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12838 $(HOST_EXPORTS) \
12839 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12841 done; \
12842 echo "Doing pdf in gcc"; \
12843 (cd $(HOST_SUBDIR)/gcc && \
12844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12846 "RANLIB=$${RANLIB}" \
12847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12848 pdf) \
12849 || exit 1
12850
12851 @endif gcc
12852
12853 .PHONY: maybe-html-gcc html-gcc
12854 maybe-html-gcc:
12855 @if gcc
12856 maybe-html-gcc: html-gcc
12857
12858 html-gcc: \
12859 configure-gcc
12860 @[ -f ./gcc/Makefile ] || exit 0; \
12861 r=`${PWD_COMMAND}`; export r; \
12862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12863 $(HOST_EXPORTS) \
12864 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12866 done; \
12867 echo "Doing html in gcc"; \
12868 (cd $(HOST_SUBDIR)/gcc && \
12869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12871 "RANLIB=$${RANLIB}" \
12872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12873 html) \
12874 || exit 1
12875
12876 @endif gcc
12877
12878 .PHONY: maybe-TAGS-gcc TAGS-gcc
12879 maybe-TAGS-gcc:
12880 @if gcc
12881 maybe-TAGS-gcc: TAGS-gcc
12882
12883 TAGS-gcc: \
12884 configure-gcc
12885 @[ -f ./gcc/Makefile ] || exit 0; \
12886 r=`${PWD_COMMAND}`; export r; \
12887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12888 $(HOST_EXPORTS) \
12889 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12891 done; \
12892 echo "Doing TAGS in gcc"; \
12893 (cd $(HOST_SUBDIR)/gcc && \
12894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12896 "RANLIB=$${RANLIB}" \
12897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12898 TAGS) \
12899 || exit 1
12900
12901 @endif gcc
12902
12903 .PHONY: maybe-install-info-gcc install-info-gcc
12904 maybe-install-info-gcc:
12905 @if gcc
12906 maybe-install-info-gcc: install-info-gcc
12907
12908 install-info-gcc: \
12909 configure-gcc \
12910 info-gcc
12911 @[ -f ./gcc/Makefile ] || exit 0; \
12912 r=`${PWD_COMMAND}`; export r; \
12913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12914 $(HOST_EXPORTS) \
12915 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12917 done; \
12918 echo "Doing install-info in gcc"; \
12919 (cd $(HOST_SUBDIR)/gcc && \
12920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12922 "RANLIB=$${RANLIB}" \
12923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12924 install-info) \
12925 || exit 1
12926
12927 @endif gcc
12928
12929 .PHONY: maybe-install-dvi-gcc install-dvi-gcc
12930 maybe-install-dvi-gcc:
12931 @if gcc
12932 maybe-install-dvi-gcc: install-dvi-gcc
12933
12934 install-dvi-gcc: \
12935 configure-gcc \
12936 dvi-gcc
12937 @[ -f ./gcc/Makefile ] || exit 0; \
12938 r=`${PWD_COMMAND}`; export r; \
12939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12940 $(HOST_EXPORTS) \
12941 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12943 done; \
12944 echo "Doing install-dvi in gcc"; \
12945 (cd $(HOST_SUBDIR)/gcc && \
12946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12948 "RANLIB=$${RANLIB}" \
12949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12950 install-dvi) \
12951 || exit 1
12952
12953 @endif gcc
12954
12955 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
12956 maybe-install-pdf-gcc:
12957 @if gcc
12958 maybe-install-pdf-gcc: install-pdf-gcc
12959
12960 install-pdf-gcc: \
12961 configure-gcc \
12962 pdf-gcc
12963 @[ -f ./gcc/Makefile ] || exit 0; \
12964 r=`${PWD_COMMAND}`; export r; \
12965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12966 $(HOST_EXPORTS) \
12967 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12969 done; \
12970 echo "Doing install-pdf in gcc"; \
12971 (cd $(HOST_SUBDIR)/gcc && \
12972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12974 "RANLIB=$${RANLIB}" \
12975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12976 install-pdf) \
12977 || exit 1
12978
12979 @endif gcc
12980
12981 .PHONY: maybe-install-html-gcc install-html-gcc
12982 maybe-install-html-gcc:
12983 @if gcc
12984 maybe-install-html-gcc: install-html-gcc
12985
12986 install-html-gcc: \
12987 configure-gcc \
12988 html-gcc
12989 @[ -f ./gcc/Makefile ] || exit 0; \
12990 r=`${PWD_COMMAND}`; export r; \
12991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12992 $(HOST_EXPORTS) \
12993 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12995 done; \
12996 echo "Doing install-html in gcc"; \
12997 (cd $(HOST_SUBDIR)/gcc && \
12998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13000 "RANLIB=$${RANLIB}" \
13001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13002 install-html) \
13003 || exit 1
13004
13005 @endif gcc
13006
13007 .PHONY: maybe-installcheck-gcc installcheck-gcc
13008 maybe-installcheck-gcc:
13009 @if gcc
13010 maybe-installcheck-gcc: installcheck-gcc
13011
13012 installcheck-gcc: \
13013 configure-gcc
13014 @[ -f ./gcc/Makefile ] || exit 0; \
13015 r=`${PWD_COMMAND}`; export r; \
13016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13017 $(HOST_EXPORTS) \
13018 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13020 done; \
13021 echo "Doing installcheck in gcc"; \
13022 (cd $(HOST_SUBDIR)/gcc && \
13023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13025 "RANLIB=$${RANLIB}" \
13026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13027 installcheck) \
13028 || exit 1
13029
13030 @endif gcc
13031
13032 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
13033 maybe-mostlyclean-gcc:
13034 @if gcc
13035 maybe-mostlyclean-gcc: mostlyclean-gcc
13036
13037 mostlyclean-gcc:
13038 @[ -f ./gcc/Makefile ] || exit 0; \
13039 r=`${PWD_COMMAND}`; export r; \
13040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13041 $(HOST_EXPORTS) \
13042 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13044 done; \
13045 echo "Doing mostlyclean in gcc"; \
13046 (cd $(HOST_SUBDIR)/gcc && \
13047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13049 "RANLIB=$${RANLIB}" \
13050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13051 mostlyclean) \
13052 || exit 1
13053
13054 @endif gcc
13055
13056 .PHONY: maybe-clean-gcc clean-gcc
13057 maybe-clean-gcc:
13058 @if gcc
13059 maybe-clean-gcc: clean-gcc
13060
13061 clean-gcc:
13062 @[ -f ./gcc/Makefile ] || exit 0; \
13063 r=`${PWD_COMMAND}`; export r; \
13064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13065 $(HOST_EXPORTS) \
13066 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13068 done; \
13069 echo "Doing clean in gcc"; \
13070 (cd $(HOST_SUBDIR)/gcc && \
13071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13073 "RANLIB=$${RANLIB}" \
13074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13075 clean) \
13076 || exit 1
13077
13078 @endif gcc
13079
13080 .PHONY: maybe-distclean-gcc distclean-gcc
13081 maybe-distclean-gcc:
13082 @if gcc
13083 maybe-distclean-gcc: distclean-gcc
13084
13085 distclean-gcc:
13086 @[ -f ./gcc/Makefile ] || exit 0; \
13087 r=`${PWD_COMMAND}`; export r; \
13088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13089 $(HOST_EXPORTS) \
13090 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13092 done; \
13093 echo "Doing distclean in gcc"; \
13094 (cd $(HOST_SUBDIR)/gcc && \
13095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13097 "RANLIB=$${RANLIB}" \
13098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13099 distclean) \
13100 || exit 1
13101
13102 @endif gcc
13103
13104 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
13105 maybe-maintainer-clean-gcc:
13106 @if gcc
13107 maybe-maintainer-clean-gcc: maintainer-clean-gcc
13108
13109 maintainer-clean-gcc:
13110 @[ -f ./gcc/Makefile ] || exit 0; \
13111 r=`${PWD_COMMAND}`; export r; \
13112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13113 $(HOST_EXPORTS) \
13114 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13116 done; \
13117 echo "Doing maintainer-clean in gcc"; \
13118 (cd $(HOST_SUBDIR)/gcc && \
13119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13121 "RANLIB=$${RANLIB}" \
13122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13123 maintainer-clean) \
13124 || exit 1
13125
13126 @endif gcc
13127
13128
13129
13130 .PHONY: configure-gmp maybe-configure-gmp
13131 maybe-configure-gmp:
13132 @if gcc-bootstrap
13133 configure-gmp: stage_current
13134 @endif gcc-bootstrap
13135 @if gmp
13136 maybe-configure-gmp: configure-gmp
13137 configure-gmp:
13138 @r=`${PWD_COMMAND}`; export r; \
13139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13140 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13142 $(HOST_EXPORTS) \
13143 echo Configuring in $(HOST_SUBDIR)/gmp; \
13144 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
13145 case $(srcdir) in \
13146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13147 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13149 esac; \
13150 module_srcdir=gmp; \
13151 $(SHELL) \
13152 $$s/$$module_srcdir/configure \
13153 --srcdir=$${topdir}/$$module_srcdir \
13154 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13155 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
13156 || exit 1
13157 @endif gmp
13158
13159
13160
13161 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
13162 maybe-configure-stage1-gmp:
13163 @if gmp-bootstrap
13164 maybe-configure-stage1-gmp: configure-stage1-gmp
13165 configure-stage1-gmp:
13166 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13167 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13168 @r=`${PWD_COMMAND}`; export r; \
13169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13170 TFLAGS="$(STAGE1_TFLAGS)"; \
13171 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13172 $(HOST_EXPORTS) \
13173 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13174 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13175 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13176 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp; \
13177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13178 cd $(HOST_SUBDIR)/gmp || exit 1; \
13179 case $(srcdir) in \
13180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13181 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13183 esac; \
13184 module_srcdir=gmp; \
13185 $(SHELL) $$s/$$module_srcdir/configure \
13186 --srcdir=$${topdir}/$$module_srcdir \
13187 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13188 --target=none-${host_vendor}-${host_os} \
13189 \
13190 $(STAGE1_CONFIGURE_FLAGS) \
13191 --disable-shared LEX="touch lex.yy.c"
13192 @endif gmp-bootstrap
13193
13194 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
13195 maybe-configure-stage2-gmp:
13196 @if gmp-bootstrap
13197 maybe-configure-stage2-gmp: configure-stage2-gmp
13198 configure-stage2-gmp:
13199 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13200 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13201 @r=`${PWD_COMMAND}`; export r; \
13202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13203 TFLAGS="$(STAGE2_TFLAGS)"; \
13204 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13205 $(HOST_EXPORTS) \
13206 $(POSTSTAGE1_HOST_EXPORTS) \
13207 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13208 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13209 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13210 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp; \
13211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13212 cd $(HOST_SUBDIR)/gmp || exit 1; \
13213 case $(srcdir) in \
13214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13215 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13217 esac; \
13218 module_srcdir=gmp; \
13219 $(SHELL) $$s/$$module_srcdir/configure \
13220 --srcdir=$${topdir}/$$module_srcdir \
13221 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13222 --target=none-${host_vendor}-${host_os} \
13223 --with-build-libsubdir=$(HOST_SUBDIR) \
13224 $(STAGE2_CONFIGURE_FLAGS) \
13225 --disable-shared LEX="touch lex.yy.c"
13226 @endif gmp-bootstrap
13227
13228 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
13229 maybe-configure-stage3-gmp:
13230 @if gmp-bootstrap
13231 maybe-configure-stage3-gmp: configure-stage3-gmp
13232 configure-stage3-gmp:
13233 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13234 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13235 @r=`${PWD_COMMAND}`; export r; \
13236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13237 TFLAGS="$(STAGE3_TFLAGS)"; \
13238 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13239 $(HOST_EXPORTS) \
13240 $(POSTSTAGE1_HOST_EXPORTS) \
13241 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13242 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13243 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13244 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp; \
13245 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13246 cd $(HOST_SUBDIR)/gmp || exit 1; \
13247 case $(srcdir) in \
13248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13249 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13251 esac; \
13252 module_srcdir=gmp; \
13253 $(SHELL) $$s/$$module_srcdir/configure \
13254 --srcdir=$${topdir}/$$module_srcdir \
13255 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13256 --target=none-${host_vendor}-${host_os} \
13257 --with-build-libsubdir=$(HOST_SUBDIR) \
13258 $(STAGE3_CONFIGURE_FLAGS) \
13259 --disable-shared LEX="touch lex.yy.c"
13260 @endif gmp-bootstrap
13261
13262 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
13263 maybe-configure-stage4-gmp:
13264 @if gmp-bootstrap
13265 maybe-configure-stage4-gmp: configure-stage4-gmp
13266 configure-stage4-gmp:
13267 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13268 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13269 @r=`${PWD_COMMAND}`; export r; \
13270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13271 TFLAGS="$(STAGE4_TFLAGS)"; \
13272 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13273 $(HOST_EXPORTS) \
13274 $(POSTSTAGE1_HOST_EXPORTS) \
13275 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13276 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13277 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13278 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp; \
13279 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13280 cd $(HOST_SUBDIR)/gmp || exit 1; \
13281 case $(srcdir) in \
13282 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13283 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13284 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13285 esac; \
13286 module_srcdir=gmp; \
13287 $(SHELL) $$s/$$module_srcdir/configure \
13288 --srcdir=$${topdir}/$$module_srcdir \
13289 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13290 --target=none-${host_vendor}-${host_os} \
13291 --with-build-libsubdir=$(HOST_SUBDIR) \
13292 $(STAGE4_CONFIGURE_FLAGS) \
13293 --disable-shared LEX="touch lex.yy.c"
13294 @endif gmp-bootstrap
13295
13296 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
13297 maybe-configure-stageprofile-gmp:
13298 @if gmp-bootstrap
13299 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
13300 configure-stageprofile-gmp:
13301 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13302 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13303 @r=`${PWD_COMMAND}`; export r; \
13304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13305 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13306 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13307 $(HOST_EXPORTS) \
13308 $(POSTSTAGE1_HOST_EXPORTS) \
13309 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13310 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13311 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13312 echo Configuring stage profile in $(HOST_SUBDIR)/gmp; \
13313 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13314 cd $(HOST_SUBDIR)/gmp || exit 1; \
13315 case $(srcdir) in \
13316 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13317 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13318 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13319 esac; \
13320 module_srcdir=gmp; \
13321 $(SHELL) $$s/$$module_srcdir/configure \
13322 --srcdir=$${topdir}/$$module_srcdir \
13323 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13324 --target=none-${host_vendor}-${host_os} \
13325 --with-build-libsubdir=$(HOST_SUBDIR) \
13326 $(STAGEprofile_CONFIGURE_FLAGS) \
13327 --disable-shared LEX="touch lex.yy.c"
13328 @endif gmp-bootstrap
13329
13330 .PHONY: configure-stagetrain-gmp maybe-configure-stagetrain-gmp
13331 maybe-configure-stagetrain-gmp:
13332 @if gmp-bootstrap
13333 maybe-configure-stagetrain-gmp: configure-stagetrain-gmp
13334 configure-stagetrain-gmp:
13335 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13336 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13337 @r=`${PWD_COMMAND}`; export r; \
13338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13339 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13340 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13341 $(HOST_EXPORTS) \
13342 $(POSTSTAGE1_HOST_EXPORTS) \
13343 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
13344 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
13345 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
13346 echo Configuring stage train in $(HOST_SUBDIR)/gmp; \
13347 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13348 cd $(HOST_SUBDIR)/gmp || exit 1; \
13349 case $(srcdir) in \
13350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13351 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13353 esac; \
13354 module_srcdir=gmp; \
13355 $(SHELL) $$s/$$module_srcdir/configure \
13356 --srcdir=$${topdir}/$$module_srcdir \
13357 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13358 --target=none-${host_vendor}-${host_os} \
13359 --with-build-libsubdir=$(HOST_SUBDIR) \
13360 $(STAGEtrain_CONFIGURE_FLAGS) \
13361 --disable-shared LEX="touch lex.yy.c"
13362 @endif gmp-bootstrap
13363
13364 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
13365 maybe-configure-stagefeedback-gmp:
13366 @if gmp-bootstrap
13367 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
13368 configure-stagefeedback-gmp:
13369 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13370 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13371 @r=`${PWD_COMMAND}`; export r; \
13372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13373 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13374 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13375 $(HOST_EXPORTS) \
13376 $(POSTSTAGE1_HOST_EXPORTS) \
13377 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13378 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13379 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13380 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp; \
13381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13382 cd $(HOST_SUBDIR)/gmp || exit 1; \
13383 case $(srcdir) in \
13384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13385 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13387 esac; \
13388 module_srcdir=gmp; \
13389 $(SHELL) $$s/$$module_srcdir/configure \
13390 --srcdir=$${topdir}/$$module_srcdir \
13391 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13392 --target=none-${host_vendor}-${host_os} \
13393 --with-build-libsubdir=$(HOST_SUBDIR) \
13394 $(STAGEfeedback_CONFIGURE_FLAGS) \
13395 --disable-shared LEX="touch lex.yy.c"
13396 @endif gmp-bootstrap
13397
13398 .PHONY: configure-stageautoprofile-gmp maybe-configure-stageautoprofile-gmp
13399 maybe-configure-stageautoprofile-gmp:
13400 @if gmp-bootstrap
13401 maybe-configure-stageautoprofile-gmp: configure-stageautoprofile-gmp
13402 configure-stageautoprofile-gmp:
13403 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13404 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13405 @r=`${PWD_COMMAND}`; export r; \
13406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13407 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13408 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13409 $(HOST_EXPORTS) \
13410 $(POSTSTAGE1_HOST_EXPORTS) \
13411 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
13412 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
13413 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
13414 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gmp; \
13415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13416 cd $(HOST_SUBDIR)/gmp || exit 1; \
13417 case $(srcdir) in \
13418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13419 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13421 esac; \
13422 module_srcdir=gmp; \
13423 $(SHELL) $$s/$$module_srcdir/configure \
13424 --srcdir=$${topdir}/$$module_srcdir \
13425 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13426 --target=none-${host_vendor}-${host_os} \
13427 --with-build-libsubdir=$(HOST_SUBDIR) \
13428 $(STAGEautoprofile_CONFIGURE_FLAGS) \
13429 --disable-shared LEX="touch lex.yy.c"
13430 @endif gmp-bootstrap
13431
13432 .PHONY: configure-stageautofeedback-gmp maybe-configure-stageautofeedback-gmp
13433 maybe-configure-stageautofeedback-gmp:
13434 @if gmp-bootstrap
13435 maybe-configure-stageautofeedback-gmp: configure-stageautofeedback-gmp
13436 configure-stageautofeedback-gmp:
13437 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13438 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
13439 @r=`${PWD_COMMAND}`; export r; \
13440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13441 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13442 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
13443 $(HOST_EXPORTS) \
13444 $(POSTSTAGE1_HOST_EXPORTS) \
13445 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
13446 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
13447 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
13448 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gmp; \
13449 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp; \
13450 cd $(HOST_SUBDIR)/gmp || exit 1; \
13451 case $(srcdir) in \
13452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13453 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
13454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13455 esac; \
13456 module_srcdir=gmp; \
13457 $(SHELL) $$s/$$module_srcdir/configure \
13458 --srcdir=$${topdir}/$$module_srcdir \
13459 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
13460 --target=none-${host_vendor}-${host_os} \
13461 --with-build-libsubdir=$(HOST_SUBDIR) \
13462 $(STAGEautofeedback_CONFIGURE_FLAGS) \
13463 --disable-shared LEX="touch lex.yy.c"
13464 @endif gmp-bootstrap
13465
13466
13467
13468
13469
13470 .PHONY: all-gmp maybe-all-gmp
13471 maybe-all-gmp:
13472 @if gcc-bootstrap
13473 all-gmp: stage_current
13474 @endif gcc-bootstrap
13475 @if gmp
13476 TARGET-gmp=all
13477 maybe-all-gmp: all-gmp
13478 all-gmp: configure-gmp
13479 @r=`${PWD_COMMAND}`; export r; \
13480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13481 $(HOST_EXPORTS) \
13482 (cd $(HOST_SUBDIR)/gmp && \
13483 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13484 $(TARGET-gmp))
13485 @endif gmp
13486
13487
13488
13489 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
13490 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
13491 maybe-all-stage1-gmp:
13492 maybe-clean-stage1-gmp:
13493 @if gmp-bootstrap
13494 maybe-all-stage1-gmp: all-stage1-gmp
13495 all-stage1: all-stage1-gmp
13496 TARGET-stage1-gmp = $(TARGET-gmp)
13497 all-stage1-gmp: configure-stage1-gmp
13498 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13499 @r=`${PWD_COMMAND}`; export r; \
13500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13501 TFLAGS="$(STAGE1_TFLAGS)"; \
13502 $(HOST_EXPORTS) \
13503 cd $(HOST_SUBDIR)/gmp && \
13504 \
13505 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13506 CFLAGS="$(STAGE1_CFLAGS)" \
13507 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
13508 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13509 LIBCFLAGS="$(LIBCFLAGS)" \
13510 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13511 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13512 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13513 $(EXTRA_HOST_FLAGS) \
13514 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13515 TFLAGS="$(STAGE1_TFLAGS)" \
13516 $(TARGET-stage1-gmp)
13517
13518 maybe-clean-stage1-gmp: clean-stage1-gmp
13519 clean-stage1: clean-stage1-gmp
13520 clean-stage1-gmp:
13521 @if [ $(current_stage) = stage1 ]; then \
13522 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13523 else \
13524 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
13525 $(MAKE) stage1-start; \
13526 fi; \
13527 cd $(HOST_SUBDIR)/gmp && \
13528 $(MAKE) $(EXTRA_HOST_FLAGS) \
13529 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13530 @endif gmp-bootstrap
13531
13532
13533 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
13534 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
13535 maybe-all-stage2-gmp:
13536 maybe-clean-stage2-gmp:
13537 @if gmp-bootstrap
13538 maybe-all-stage2-gmp: all-stage2-gmp
13539 all-stage2: all-stage2-gmp
13540 TARGET-stage2-gmp = $(TARGET-gmp)
13541 all-stage2-gmp: configure-stage2-gmp
13542 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13543 @r=`${PWD_COMMAND}`; export r; \
13544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13545 TFLAGS="$(STAGE2_TFLAGS)"; \
13546 $(HOST_EXPORTS) \
13547 $(POSTSTAGE1_HOST_EXPORTS) \
13548 cd $(HOST_SUBDIR)/gmp && \
13549 \
13550 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13551 CFLAGS="$(STAGE2_CFLAGS)" \
13552 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
13553 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13554 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13555 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13556 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13557 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13558 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13559 TFLAGS="$(STAGE2_TFLAGS)" \
13560 $(TARGET-stage2-gmp)
13561
13562 maybe-clean-stage2-gmp: clean-stage2-gmp
13563 clean-stage2: clean-stage2-gmp
13564 clean-stage2-gmp:
13565 @if [ $(current_stage) = stage2 ]; then \
13566 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13567 else \
13568 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
13569 $(MAKE) stage2-start; \
13570 fi; \
13571 cd $(HOST_SUBDIR)/gmp && \
13572 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13573 @endif gmp-bootstrap
13574
13575
13576 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
13577 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
13578 maybe-all-stage3-gmp:
13579 maybe-clean-stage3-gmp:
13580 @if gmp-bootstrap
13581 maybe-all-stage3-gmp: all-stage3-gmp
13582 all-stage3: all-stage3-gmp
13583 TARGET-stage3-gmp = $(TARGET-gmp)
13584 all-stage3-gmp: configure-stage3-gmp
13585 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13586 @r=`${PWD_COMMAND}`; export r; \
13587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13588 TFLAGS="$(STAGE3_TFLAGS)"; \
13589 $(HOST_EXPORTS) \
13590 $(POSTSTAGE1_HOST_EXPORTS) \
13591 cd $(HOST_SUBDIR)/gmp && \
13592 \
13593 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13594 CFLAGS="$(STAGE3_CFLAGS)" \
13595 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
13596 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13597 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13601 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13602 TFLAGS="$(STAGE3_TFLAGS)" \
13603 $(TARGET-stage3-gmp)
13604
13605 maybe-clean-stage3-gmp: clean-stage3-gmp
13606 clean-stage3: clean-stage3-gmp
13607 clean-stage3-gmp:
13608 @if [ $(current_stage) = stage3 ]; then \
13609 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13610 else \
13611 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
13612 $(MAKE) stage3-start; \
13613 fi; \
13614 cd $(HOST_SUBDIR)/gmp && \
13615 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13616 @endif gmp-bootstrap
13617
13618
13619 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
13620 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
13621 maybe-all-stage4-gmp:
13622 maybe-clean-stage4-gmp:
13623 @if gmp-bootstrap
13624 maybe-all-stage4-gmp: all-stage4-gmp
13625 all-stage4: all-stage4-gmp
13626 TARGET-stage4-gmp = $(TARGET-gmp)
13627 all-stage4-gmp: configure-stage4-gmp
13628 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13629 @r=`${PWD_COMMAND}`; export r; \
13630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13631 TFLAGS="$(STAGE4_TFLAGS)"; \
13632 $(HOST_EXPORTS) \
13633 $(POSTSTAGE1_HOST_EXPORTS) \
13634 cd $(HOST_SUBDIR)/gmp && \
13635 \
13636 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13637 CFLAGS="$(STAGE4_CFLAGS)" \
13638 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
13639 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13640 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13641 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13642 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13643 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13644 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13645 TFLAGS="$(STAGE4_TFLAGS)" \
13646 $(TARGET-stage4-gmp)
13647
13648 maybe-clean-stage4-gmp: clean-stage4-gmp
13649 clean-stage4: clean-stage4-gmp
13650 clean-stage4-gmp:
13651 @if [ $(current_stage) = stage4 ]; then \
13652 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13653 else \
13654 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
13655 $(MAKE) stage4-start; \
13656 fi; \
13657 cd $(HOST_SUBDIR)/gmp && \
13658 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13659 @endif gmp-bootstrap
13660
13661
13662 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
13663 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
13664 maybe-all-stageprofile-gmp:
13665 maybe-clean-stageprofile-gmp:
13666 @if gmp-bootstrap
13667 maybe-all-stageprofile-gmp: all-stageprofile-gmp
13668 all-stageprofile: all-stageprofile-gmp
13669 TARGET-stageprofile-gmp = $(TARGET-gmp)
13670 all-stageprofile-gmp: configure-stageprofile-gmp
13671 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13672 @r=`${PWD_COMMAND}`; export r; \
13673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13674 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13675 $(HOST_EXPORTS) \
13676 $(POSTSTAGE1_HOST_EXPORTS) \
13677 cd $(HOST_SUBDIR)/gmp && \
13678 \
13679 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13680 CFLAGS="$(STAGEprofile_CFLAGS)" \
13681 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
13682 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13683 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13684 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13685 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13686 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13687 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13688 TFLAGS="$(STAGEprofile_TFLAGS)" \
13689 $(TARGET-stageprofile-gmp)
13690
13691 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
13692 clean-stageprofile: clean-stageprofile-gmp
13693 clean-stageprofile-gmp:
13694 @if [ $(current_stage) = stageprofile ]; then \
13695 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13696 else \
13697 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
13698 $(MAKE) stageprofile-start; \
13699 fi; \
13700 cd $(HOST_SUBDIR)/gmp && \
13701 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13702 @endif gmp-bootstrap
13703
13704
13705 .PHONY: all-stagetrain-gmp maybe-all-stagetrain-gmp
13706 .PHONY: clean-stagetrain-gmp maybe-clean-stagetrain-gmp
13707 maybe-all-stagetrain-gmp:
13708 maybe-clean-stagetrain-gmp:
13709 @if gmp-bootstrap
13710 maybe-all-stagetrain-gmp: all-stagetrain-gmp
13711 all-stagetrain: all-stagetrain-gmp
13712 TARGET-stagetrain-gmp = $(TARGET-gmp)
13713 all-stagetrain-gmp: configure-stagetrain-gmp
13714 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
13715 @r=`${PWD_COMMAND}`; export r; \
13716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13717 TFLAGS="$(STAGEtrain_TFLAGS)"; \
13718 $(HOST_EXPORTS) \
13719 $(POSTSTAGE1_HOST_EXPORTS) \
13720 cd $(HOST_SUBDIR)/gmp && \
13721 \
13722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13723 CFLAGS="$(STAGEtrain_CFLAGS)" \
13724 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
13725 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
13726 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
13727 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13728 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13729 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13730 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13731 TFLAGS="$(STAGEtrain_TFLAGS)" \
13732 $(TARGET-stagetrain-gmp)
13733
13734 maybe-clean-stagetrain-gmp: clean-stagetrain-gmp
13735 clean-stagetrain: clean-stagetrain-gmp
13736 clean-stagetrain-gmp:
13737 @if [ $(current_stage) = stagetrain ]; then \
13738 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13739 else \
13740 [ -f $(HOST_SUBDIR)/stagetrain-gmp/Makefile ] || exit 0; \
13741 $(MAKE) stagetrain-start; \
13742 fi; \
13743 cd $(HOST_SUBDIR)/gmp && \
13744 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13745 @endif gmp-bootstrap
13746
13747
13748 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
13749 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
13750 maybe-all-stagefeedback-gmp:
13751 maybe-clean-stagefeedback-gmp:
13752 @if gmp-bootstrap
13753 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
13754 all-stagefeedback: all-stagefeedback-gmp
13755 TARGET-stagefeedback-gmp = $(TARGET-gmp)
13756 all-stagefeedback-gmp: configure-stagefeedback-gmp
13757 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13758 @r=`${PWD_COMMAND}`; export r; \
13759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13760 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13761 $(HOST_EXPORTS) \
13762 $(POSTSTAGE1_HOST_EXPORTS) \
13763 cd $(HOST_SUBDIR)/gmp && \
13764 \
13765 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13766 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13767 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
13768 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13769 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13770 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13771 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13772 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13773 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13774 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13775 $(TARGET-stagefeedback-gmp)
13776
13777 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
13778 clean-stagefeedback: clean-stagefeedback-gmp
13779 clean-stagefeedback-gmp:
13780 @if [ $(current_stage) = stagefeedback ]; then \
13781 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13782 else \
13783 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
13784 $(MAKE) stagefeedback-start; \
13785 fi; \
13786 cd $(HOST_SUBDIR)/gmp && \
13787 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13788 @endif gmp-bootstrap
13789
13790
13791 .PHONY: all-stageautoprofile-gmp maybe-all-stageautoprofile-gmp
13792 .PHONY: clean-stageautoprofile-gmp maybe-clean-stageautoprofile-gmp
13793 maybe-all-stageautoprofile-gmp:
13794 maybe-clean-stageautoprofile-gmp:
13795 @if gmp-bootstrap
13796 maybe-all-stageautoprofile-gmp: all-stageautoprofile-gmp
13797 all-stageautoprofile: all-stageautoprofile-gmp
13798 TARGET-stageautoprofile-gmp = $(TARGET-gmp)
13799 all-stageautoprofile-gmp: configure-stageautoprofile-gmp
13800 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
13801 @r=`${PWD_COMMAND}`; export r; \
13802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13803 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
13804 $(HOST_EXPORTS) \
13805 $(POSTSTAGE1_HOST_EXPORTS) \
13806 cd $(HOST_SUBDIR)/gmp && \
13807 $$s/gcc/config/i386/$(AUTO_PROFILE) \
13808 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13809 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
13810 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
13811 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
13812 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
13813 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13814 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13815 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13816 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13817 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
13818 $(TARGET-stageautoprofile-gmp)
13819
13820 maybe-clean-stageautoprofile-gmp: clean-stageautoprofile-gmp
13821 clean-stageautoprofile: clean-stageautoprofile-gmp
13822 clean-stageautoprofile-gmp:
13823 @if [ $(current_stage) = stageautoprofile ]; then \
13824 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13825 else \
13826 [ -f $(HOST_SUBDIR)/stageautoprofile-gmp/Makefile ] || exit 0; \
13827 $(MAKE) stageautoprofile-start; \
13828 fi; \
13829 cd $(HOST_SUBDIR)/gmp && \
13830 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13831 @endif gmp-bootstrap
13832
13833
13834 .PHONY: all-stageautofeedback-gmp maybe-all-stageautofeedback-gmp
13835 .PHONY: clean-stageautofeedback-gmp maybe-clean-stageautofeedback-gmp
13836 maybe-all-stageautofeedback-gmp:
13837 maybe-clean-stageautofeedback-gmp:
13838 @if gmp-bootstrap
13839 maybe-all-stageautofeedback-gmp: all-stageautofeedback-gmp
13840 all-stageautofeedback: all-stageautofeedback-gmp
13841 TARGET-stageautofeedback-gmp = $(TARGET-gmp)
13842 all-stageautofeedback-gmp: configure-stageautofeedback-gmp
13843 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
13844 @r=`${PWD_COMMAND}`; export r; \
13845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13846 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
13847 $(HOST_EXPORTS) \
13848 $(POSTSTAGE1_HOST_EXPORTS) \
13849 cd $(HOST_SUBDIR)/gmp && \
13850 \
13851 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13852 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
13853 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
13854 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
13855 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
13856 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13857 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13858 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13859 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
13860 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
13861 $(TARGET-stageautofeedback-gmp)
13862
13863 maybe-clean-stageautofeedback-gmp: clean-stageautofeedback-gmp
13864 clean-stageautofeedback: clean-stageautofeedback-gmp
13865 clean-stageautofeedback-gmp:
13866 @if [ $(current_stage) = stageautofeedback ]; then \
13867 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
13868 else \
13869 [ -f $(HOST_SUBDIR)/stageautofeedback-gmp/Makefile ] || exit 0; \
13870 $(MAKE) stageautofeedback-start; \
13871 fi; \
13872 cd $(HOST_SUBDIR)/gmp && \
13873 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
13874 @endif gmp-bootstrap
13875
13876
13877
13878
13879
13880 .PHONY: check-gmp maybe-check-gmp
13881 maybe-check-gmp:
13882 @if gmp
13883 maybe-check-gmp: check-gmp
13884
13885 check-gmp:
13886 @: $(MAKE); $(unstage)
13887 @r=`${PWD_COMMAND}`; export r; \
13888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13889 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
13890 (cd $(HOST_SUBDIR)/gmp && \
13891 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
13892
13893 @endif gmp
13894
13895 .PHONY: install-gmp maybe-install-gmp
13896 maybe-install-gmp:
13897 @if gmp
13898 maybe-install-gmp: install-gmp
13899
13900 install-gmp:
13901
13902 @endif gmp
13903
13904 .PHONY: install-strip-gmp maybe-install-strip-gmp
13905 maybe-install-strip-gmp:
13906 @if gmp
13907 maybe-install-strip-gmp: install-strip-gmp
13908
13909 install-strip-gmp:
13910
13911 @endif gmp
13912
13913 # Other targets (info, dvi, pdf, etc.)
13914
13915 .PHONY: maybe-info-gmp info-gmp
13916 maybe-info-gmp:
13917 @if gmp
13918 maybe-info-gmp: info-gmp
13919
13920 info-gmp: \
13921 configure-gmp
13922 @[ -f ./gmp/Makefile ] || exit 0; \
13923 r=`${PWD_COMMAND}`; export r; \
13924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13925 $(HOST_EXPORTS) \
13926 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13928 done; \
13929 echo "Doing info in gmp"; \
13930 (cd $(HOST_SUBDIR)/gmp && \
13931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13933 "RANLIB=$${RANLIB}" \
13934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13935 info) \
13936 || exit 1
13937
13938 @endif gmp
13939
13940 .PHONY: maybe-dvi-gmp dvi-gmp
13941 maybe-dvi-gmp:
13942 @if gmp
13943 maybe-dvi-gmp: dvi-gmp
13944
13945 dvi-gmp: \
13946 configure-gmp
13947 @[ -f ./gmp/Makefile ] || exit 0; \
13948 r=`${PWD_COMMAND}`; export r; \
13949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13950 $(HOST_EXPORTS) \
13951 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13953 done; \
13954 echo "Doing dvi in gmp"; \
13955 (cd $(HOST_SUBDIR)/gmp && \
13956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13958 "RANLIB=$${RANLIB}" \
13959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13960 dvi) \
13961 || exit 1
13962
13963 @endif gmp
13964
13965 .PHONY: maybe-pdf-gmp pdf-gmp
13966 maybe-pdf-gmp:
13967 @if gmp
13968 maybe-pdf-gmp: pdf-gmp
13969
13970 pdf-gmp: \
13971 configure-gmp
13972 @[ -f ./gmp/Makefile ] || exit 0; \
13973 r=`${PWD_COMMAND}`; export r; \
13974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13975 $(HOST_EXPORTS) \
13976 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
13977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13978 done; \
13979 echo "Doing pdf in gmp"; \
13980 (cd $(HOST_SUBDIR)/gmp && \
13981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13983 "RANLIB=$${RANLIB}" \
13984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13985 pdf) \
13986 || exit 1
13987
13988 @endif gmp
13989
13990 .PHONY: maybe-html-gmp html-gmp
13991 maybe-html-gmp:
13992 @if gmp
13993 maybe-html-gmp: html-gmp
13994
13995 html-gmp: \
13996 configure-gmp
13997 @[ -f ./gmp/Makefile ] || exit 0; \
13998 r=`${PWD_COMMAND}`; export r; \
13999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14000 $(HOST_EXPORTS) \
14001 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14003 done; \
14004 echo "Doing html in gmp"; \
14005 (cd $(HOST_SUBDIR)/gmp && \
14006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14008 "RANLIB=$${RANLIB}" \
14009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14010 html) \
14011 || exit 1
14012
14013 @endif gmp
14014
14015 .PHONY: maybe-TAGS-gmp TAGS-gmp
14016 maybe-TAGS-gmp:
14017 @if gmp
14018 maybe-TAGS-gmp: TAGS-gmp
14019
14020 TAGS-gmp: \
14021 configure-gmp
14022 @[ -f ./gmp/Makefile ] || exit 0; \
14023 r=`${PWD_COMMAND}`; export r; \
14024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14025 $(HOST_EXPORTS) \
14026 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14028 done; \
14029 echo "Doing TAGS in gmp"; \
14030 (cd $(HOST_SUBDIR)/gmp && \
14031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14033 "RANLIB=$${RANLIB}" \
14034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14035 TAGS) \
14036 || exit 1
14037
14038 @endif gmp
14039
14040 .PHONY: maybe-install-info-gmp install-info-gmp
14041 maybe-install-info-gmp:
14042 @if gmp
14043 maybe-install-info-gmp: install-info-gmp
14044
14045 install-info-gmp: \
14046 configure-gmp \
14047 info-gmp
14048 @[ -f ./gmp/Makefile ] || exit 0; \
14049 r=`${PWD_COMMAND}`; export r; \
14050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14051 $(HOST_EXPORTS) \
14052 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14054 done; \
14055 echo "Doing install-info in gmp"; \
14056 (cd $(HOST_SUBDIR)/gmp && \
14057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14059 "RANLIB=$${RANLIB}" \
14060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14061 install-info) \
14062 || exit 1
14063
14064 @endif gmp
14065
14066 .PHONY: maybe-install-dvi-gmp install-dvi-gmp
14067 maybe-install-dvi-gmp:
14068 @if gmp
14069 maybe-install-dvi-gmp: install-dvi-gmp
14070
14071 install-dvi-gmp: \
14072 configure-gmp \
14073 dvi-gmp
14074 @[ -f ./gmp/Makefile ] || exit 0; \
14075 r=`${PWD_COMMAND}`; export r; \
14076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14077 $(HOST_EXPORTS) \
14078 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14080 done; \
14081 echo "Doing install-dvi in gmp"; \
14082 (cd $(HOST_SUBDIR)/gmp && \
14083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14085 "RANLIB=$${RANLIB}" \
14086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14087 install-dvi) \
14088 || exit 1
14089
14090 @endif gmp
14091
14092 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
14093 maybe-install-pdf-gmp:
14094 @if gmp
14095 maybe-install-pdf-gmp: install-pdf-gmp
14096
14097 install-pdf-gmp: \
14098 configure-gmp \
14099 pdf-gmp
14100 @[ -f ./gmp/Makefile ] || exit 0; \
14101 r=`${PWD_COMMAND}`; export r; \
14102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14103 $(HOST_EXPORTS) \
14104 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14106 done; \
14107 echo "Doing install-pdf in gmp"; \
14108 (cd $(HOST_SUBDIR)/gmp && \
14109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14111 "RANLIB=$${RANLIB}" \
14112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14113 install-pdf) \
14114 || exit 1
14115
14116 @endif gmp
14117
14118 .PHONY: maybe-install-html-gmp install-html-gmp
14119 maybe-install-html-gmp:
14120 @if gmp
14121 maybe-install-html-gmp: install-html-gmp
14122
14123 install-html-gmp: \
14124 configure-gmp \
14125 html-gmp
14126 @[ -f ./gmp/Makefile ] || exit 0; \
14127 r=`${PWD_COMMAND}`; export r; \
14128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14129 $(HOST_EXPORTS) \
14130 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14132 done; \
14133 echo "Doing install-html in gmp"; \
14134 (cd $(HOST_SUBDIR)/gmp && \
14135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14137 "RANLIB=$${RANLIB}" \
14138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14139 install-html) \
14140 || exit 1
14141
14142 @endif gmp
14143
14144 .PHONY: maybe-installcheck-gmp installcheck-gmp
14145 maybe-installcheck-gmp:
14146 @if gmp
14147 maybe-installcheck-gmp: installcheck-gmp
14148
14149 installcheck-gmp: \
14150 configure-gmp
14151 @[ -f ./gmp/Makefile ] || exit 0; \
14152 r=`${PWD_COMMAND}`; export r; \
14153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14154 $(HOST_EXPORTS) \
14155 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14157 done; \
14158 echo "Doing installcheck in gmp"; \
14159 (cd $(HOST_SUBDIR)/gmp && \
14160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14162 "RANLIB=$${RANLIB}" \
14163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14164 installcheck) \
14165 || exit 1
14166
14167 @endif gmp
14168
14169 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
14170 maybe-mostlyclean-gmp:
14171 @if gmp
14172 maybe-mostlyclean-gmp: mostlyclean-gmp
14173
14174 mostlyclean-gmp:
14175 @[ -f ./gmp/Makefile ] || exit 0; \
14176 r=`${PWD_COMMAND}`; export r; \
14177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14178 $(HOST_EXPORTS) \
14179 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14181 done; \
14182 echo "Doing mostlyclean in gmp"; \
14183 (cd $(HOST_SUBDIR)/gmp && \
14184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14186 "RANLIB=$${RANLIB}" \
14187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14188 mostlyclean) \
14189 || exit 1
14190
14191 @endif gmp
14192
14193 .PHONY: maybe-clean-gmp clean-gmp
14194 maybe-clean-gmp:
14195 @if gmp
14196 maybe-clean-gmp: clean-gmp
14197
14198 clean-gmp:
14199 @[ -f ./gmp/Makefile ] || exit 0; \
14200 r=`${PWD_COMMAND}`; export r; \
14201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14202 $(HOST_EXPORTS) \
14203 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14205 done; \
14206 echo "Doing clean in gmp"; \
14207 (cd $(HOST_SUBDIR)/gmp && \
14208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14210 "RANLIB=$${RANLIB}" \
14211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14212 clean) \
14213 || exit 1
14214
14215 @endif gmp
14216
14217 .PHONY: maybe-distclean-gmp distclean-gmp
14218 maybe-distclean-gmp:
14219 @if gmp
14220 maybe-distclean-gmp: distclean-gmp
14221
14222 distclean-gmp:
14223 @[ -f ./gmp/Makefile ] || exit 0; \
14224 r=`${PWD_COMMAND}`; export r; \
14225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14226 $(HOST_EXPORTS) \
14227 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14229 done; \
14230 echo "Doing distclean in gmp"; \
14231 (cd $(HOST_SUBDIR)/gmp && \
14232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14234 "RANLIB=$${RANLIB}" \
14235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14236 distclean) \
14237 || exit 1
14238
14239 @endif gmp
14240
14241 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
14242 maybe-maintainer-clean-gmp:
14243 @if gmp
14244 maybe-maintainer-clean-gmp: maintainer-clean-gmp
14245
14246 maintainer-clean-gmp:
14247 @[ -f ./gmp/Makefile ] || exit 0; \
14248 r=`${PWD_COMMAND}`; export r; \
14249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14250 $(HOST_EXPORTS) \
14251 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
14252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14253 done; \
14254 echo "Doing maintainer-clean in gmp"; \
14255 (cd $(HOST_SUBDIR)/gmp && \
14256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14258 "RANLIB=$${RANLIB}" \
14259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14260 maintainer-clean) \
14261 || exit 1
14262
14263 @endif gmp
14264
14265
14266
14267 .PHONY: configure-mpfr maybe-configure-mpfr
14268 maybe-configure-mpfr:
14269 @if gcc-bootstrap
14270 configure-mpfr: stage_current
14271 @endif gcc-bootstrap
14272 @if mpfr
14273 maybe-configure-mpfr: configure-mpfr
14274 configure-mpfr:
14275 @r=`${PWD_COMMAND}`; export r; \
14276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14277 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14279 $(HOST_EXPORTS) \
14280 echo Configuring in $(HOST_SUBDIR)/mpfr; \
14281 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
14282 case $(srcdir) in \
14283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14284 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14286 esac; \
14287 module_srcdir=mpfr; \
14288 $(SHELL) \
14289 $$s/$$module_srcdir/configure \
14290 --srcdir=$${topdir}/$$module_srcdir \
14291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14292 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
14293 || exit 1
14294 @endif mpfr
14295
14296
14297
14298 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
14299 maybe-configure-stage1-mpfr:
14300 @if mpfr-bootstrap
14301 maybe-configure-stage1-mpfr: configure-stage1-mpfr
14302 configure-stage1-mpfr:
14303 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14304 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14305 @r=`${PWD_COMMAND}`; export r; \
14306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14307 TFLAGS="$(STAGE1_TFLAGS)"; \
14308 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14309 $(HOST_EXPORTS) \
14310 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14311 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14312 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14313 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr; \
14314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14315 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14316 case $(srcdir) in \
14317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14318 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14320 esac; \
14321 module_srcdir=mpfr; \
14322 $(SHELL) $$s/$$module_srcdir/configure \
14323 --srcdir=$${topdir}/$$module_srcdir \
14324 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14325 --target=${target_alias} \
14326 \
14327 $(STAGE1_CONFIGURE_FLAGS) \
14328 --disable-shared @extra_mpfr_configure_flags@
14329 @endif mpfr-bootstrap
14330
14331 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
14332 maybe-configure-stage2-mpfr:
14333 @if mpfr-bootstrap
14334 maybe-configure-stage2-mpfr: configure-stage2-mpfr
14335 configure-stage2-mpfr:
14336 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14337 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14338 @r=`${PWD_COMMAND}`; export r; \
14339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14340 TFLAGS="$(STAGE2_TFLAGS)"; \
14341 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14342 $(HOST_EXPORTS) \
14343 $(POSTSTAGE1_HOST_EXPORTS) \
14344 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14345 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14346 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14347 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr; \
14348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14349 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14350 case $(srcdir) in \
14351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14352 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14354 esac; \
14355 module_srcdir=mpfr; \
14356 $(SHELL) $$s/$$module_srcdir/configure \
14357 --srcdir=$${topdir}/$$module_srcdir \
14358 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14359 --target=${target_alias} \
14360 --with-build-libsubdir=$(HOST_SUBDIR) \
14361 $(STAGE2_CONFIGURE_FLAGS) \
14362 --disable-shared @extra_mpfr_configure_flags@
14363 @endif mpfr-bootstrap
14364
14365 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
14366 maybe-configure-stage3-mpfr:
14367 @if mpfr-bootstrap
14368 maybe-configure-stage3-mpfr: configure-stage3-mpfr
14369 configure-stage3-mpfr:
14370 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14371 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14372 @r=`${PWD_COMMAND}`; export r; \
14373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14374 TFLAGS="$(STAGE3_TFLAGS)"; \
14375 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14376 $(HOST_EXPORTS) \
14377 $(POSTSTAGE1_HOST_EXPORTS) \
14378 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14379 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14380 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14381 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr; \
14382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14383 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14384 case $(srcdir) in \
14385 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14386 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14387 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14388 esac; \
14389 module_srcdir=mpfr; \
14390 $(SHELL) $$s/$$module_srcdir/configure \
14391 --srcdir=$${topdir}/$$module_srcdir \
14392 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14393 --target=${target_alias} \
14394 --with-build-libsubdir=$(HOST_SUBDIR) \
14395 $(STAGE3_CONFIGURE_FLAGS) \
14396 --disable-shared @extra_mpfr_configure_flags@
14397 @endif mpfr-bootstrap
14398
14399 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
14400 maybe-configure-stage4-mpfr:
14401 @if mpfr-bootstrap
14402 maybe-configure-stage4-mpfr: configure-stage4-mpfr
14403 configure-stage4-mpfr:
14404 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14405 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14406 @r=`${PWD_COMMAND}`; export r; \
14407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14408 TFLAGS="$(STAGE4_TFLAGS)"; \
14409 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14410 $(HOST_EXPORTS) \
14411 $(POSTSTAGE1_HOST_EXPORTS) \
14412 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14413 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14414 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14415 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr; \
14416 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14417 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14418 case $(srcdir) in \
14419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14420 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14422 esac; \
14423 module_srcdir=mpfr; \
14424 $(SHELL) $$s/$$module_srcdir/configure \
14425 --srcdir=$${topdir}/$$module_srcdir \
14426 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14427 --target=${target_alias} \
14428 --with-build-libsubdir=$(HOST_SUBDIR) \
14429 $(STAGE4_CONFIGURE_FLAGS) \
14430 --disable-shared @extra_mpfr_configure_flags@
14431 @endif mpfr-bootstrap
14432
14433 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
14434 maybe-configure-stageprofile-mpfr:
14435 @if mpfr-bootstrap
14436 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
14437 configure-stageprofile-mpfr:
14438 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14440 @r=`${PWD_COMMAND}`; export r; \
14441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14442 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14443 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14444 $(HOST_EXPORTS) \
14445 $(POSTSTAGE1_HOST_EXPORTS) \
14446 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14447 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14448 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14449 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr; \
14450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14451 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14452 case $(srcdir) in \
14453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14454 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14456 esac; \
14457 module_srcdir=mpfr; \
14458 $(SHELL) $$s/$$module_srcdir/configure \
14459 --srcdir=$${topdir}/$$module_srcdir \
14460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14461 --target=${target_alias} \
14462 --with-build-libsubdir=$(HOST_SUBDIR) \
14463 $(STAGEprofile_CONFIGURE_FLAGS) \
14464 --disable-shared @extra_mpfr_configure_flags@
14465 @endif mpfr-bootstrap
14466
14467 .PHONY: configure-stagetrain-mpfr maybe-configure-stagetrain-mpfr
14468 maybe-configure-stagetrain-mpfr:
14469 @if mpfr-bootstrap
14470 maybe-configure-stagetrain-mpfr: configure-stagetrain-mpfr
14471 configure-stagetrain-mpfr:
14472 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14473 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14474 @r=`${PWD_COMMAND}`; export r; \
14475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14476 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14477 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14478 $(HOST_EXPORTS) \
14479 $(POSTSTAGE1_HOST_EXPORTS) \
14480 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
14481 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
14482 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
14483 echo Configuring stage train in $(HOST_SUBDIR)/mpfr; \
14484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14485 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14486 case $(srcdir) in \
14487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14488 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14490 esac; \
14491 module_srcdir=mpfr; \
14492 $(SHELL) $$s/$$module_srcdir/configure \
14493 --srcdir=$${topdir}/$$module_srcdir \
14494 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14495 --target=${target_alias} \
14496 --with-build-libsubdir=$(HOST_SUBDIR) \
14497 $(STAGEtrain_CONFIGURE_FLAGS) \
14498 --disable-shared @extra_mpfr_configure_flags@
14499 @endif mpfr-bootstrap
14500
14501 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
14502 maybe-configure-stagefeedback-mpfr:
14503 @if mpfr-bootstrap
14504 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
14505 configure-stagefeedback-mpfr:
14506 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14507 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14508 @r=`${PWD_COMMAND}`; export r; \
14509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14510 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14511 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14512 $(HOST_EXPORTS) \
14513 $(POSTSTAGE1_HOST_EXPORTS) \
14514 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14515 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14516 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14517 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr; \
14518 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14519 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14520 case $(srcdir) in \
14521 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14522 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14523 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14524 esac; \
14525 module_srcdir=mpfr; \
14526 $(SHELL) $$s/$$module_srcdir/configure \
14527 --srcdir=$${topdir}/$$module_srcdir \
14528 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14529 --target=${target_alias} \
14530 --with-build-libsubdir=$(HOST_SUBDIR) \
14531 $(STAGEfeedback_CONFIGURE_FLAGS) \
14532 --disable-shared @extra_mpfr_configure_flags@
14533 @endif mpfr-bootstrap
14534
14535 .PHONY: configure-stageautoprofile-mpfr maybe-configure-stageautoprofile-mpfr
14536 maybe-configure-stageautoprofile-mpfr:
14537 @if mpfr-bootstrap
14538 maybe-configure-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14539 configure-stageautoprofile-mpfr:
14540 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14541 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14542 @r=`${PWD_COMMAND}`; export r; \
14543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14544 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14545 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14546 $(HOST_EXPORTS) \
14547 $(POSTSTAGE1_HOST_EXPORTS) \
14548 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
14549 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
14550 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
14551 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpfr; \
14552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14553 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14554 case $(srcdir) in \
14555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14556 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14558 esac; \
14559 module_srcdir=mpfr; \
14560 $(SHELL) $$s/$$module_srcdir/configure \
14561 --srcdir=$${topdir}/$$module_srcdir \
14562 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14563 --target=${target_alias} \
14564 --with-build-libsubdir=$(HOST_SUBDIR) \
14565 $(STAGEautoprofile_CONFIGURE_FLAGS) \
14566 --disable-shared @extra_mpfr_configure_flags@
14567 @endif mpfr-bootstrap
14568
14569 .PHONY: configure-stageautofeedback-mpfr maybe-configure-stageautofeedback-mpfr
14570 maybe-configure-stageautofeedback-mpfr:
14571 @if mpfr-bootstrap
14572 maybe-configure-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
14573 configure-stageautofeedback-mpfr:
14574 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14575 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14576 @r=`${PWD_COMMAND}`; export r; \
14577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14578 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14579 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14580 $(HOST_EXPORTS) \
14581 $(POSTSTAGE1_HOST_EXPORTS) \
14582 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
14583 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
14584 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
14585 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpfr; \
14586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr; \
14587 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14588 case $(srcdir) in \
14589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14590 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14592 esac; \
14593 module_srcdir=mpfr; \
14594 $(SHELL) $$s/$$module_srcdir/configure \
14595 --srcdir=$${topdir}/$$module_srcdir \
14596 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14597 --target=${target_alias} \
14598 --with-build-libsubdir=$(HOST_SUBDIR) \
14599 $(STAGEautofeedback_CONFIGURE_FLAGS) \
14600 --disable-shared @extra_mpfr_configure_flags@
14601 @endif mpfr-bootstrap
14602
14603
14604
14605
14606
14607 .PHONY: all-mpfr maybe-all-mpfr
14608 maybe-all-mpfr:
14609 @if gcc-bootstrap
14610 all-mpfr: stage_current
14611 @endif gcc-bootstrap
14612 @if mpfr
14613 TARGET-mpfr=all
14614 maybe-all-mpfr: all-mpfr
14615 all-mpfr: configure-mpfr
14616 @r=`${PWD_COMMAND}`; export r; \
14617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14618 $(HOST_EXPORTS) \
14619 (cd $(HOST_SUBDIR)/mpfr && \
14620 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14621 $(TARGET-mpfr))
14622 @endif mpfr
14623
14624
14625
14626 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
14627 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
14628 maybe-all-stage1-mpfr:
14629 maybe-clean-stage1-mpfr:
14630 @if mpfr-bootstrap
14631 maybe-all-stage1-mpfr: all-stage1-mpfr
14632 all-stage1: all-stage1-mpfr
14633 TARGET-stage1-mpfr = $(TARGET-mpfr)
14634 all-stage1-mpfr: configure-stage1-mpfr
14635 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14636 @r=`${PWD_COMMAND}`; export r; \
14637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14638 TFLAGS="$(STAGE1_TFLAGS)"; \
14639 $(HOST_EXPORTS) \
14640 cd $(HOST_SUBDIR)/mpfr && \
14641 \
14642 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14643 CFLAGS="$(STAGE1_CFLAGS)" \
14644 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
14645 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14646 LIBCFLAGS="$(LIBCFLAGS)" \
14647 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14648 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14649 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14650 $(EXTRA_HOST_FLAGS) \
14651 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14652 TFLAGS="$(STAGE1_TFLAGS)" \
14653 $(TARGET-stage1-mpfr)
14654
14655 maybe-clean-stage1-mpfr: clean-stage1-mpfr
14656 clean-stage1: clean-stage1-mpfr
14657 clean-stage1-mpfr:
14658 @if [ $(current_stage) = stage1 ]; then \
14659 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14660 else \
14661 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
14662 $(MAKE) stage1-start; \
14663 fi; \
14664 cd $(HOST_SUBDIR)/mpfr && \
14665 $(MAKE) $(EXTRA_HOST_FLAGS) \
14666 $(STAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14667 @endif mpfr-bootstrap
14668
14669
14670 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
14671 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
14672 maybe-all-stage2-mpfr:
14673 maybe-clean-stage2-mpfr:
14674 @if mpfr-bootstrap
14675 maybe-all-stage2-mpfr: all-stage2-mpfr
14676 all-stage2: all-stage2-mpfr
14677 TARGET-stage2-mpfr = $(TARGET-mpfr)
14678 all-stage2-mpfr: configure-stage2-mpfr
14679 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14680 @r=`${PWD_COMMAND}`; export r; \
14681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14682 TFLAGS="$(STAGE2_TFLAGS)"; \
14683 $(HOST_EXPORTS) \
14684 $(POSTSTAGE1_HOST_EXPORTS) \
14685 cd $(HOST_SUBDIR)/mpfr && \
14686 \
14687 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14688 CFLAGS="$(STAGE2_CFLAGS)" \
14689 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
14690 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14691 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14692 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14693 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14694 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14695 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14696 TFLAGS="$(STAGE2_TFLAGS)" \
14697 $(TARGET-stage2-mpfr)
14698
14699 maybe-clean-stage2-mpfr: clean-stage2-mpfr
14700 clean-stage2: clean-stage2-mpfr
14701 clean-stage2-mpfr:
14702 @if [ $(current_stage) = stage2 ]; then \
14703 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14704 else \
14705 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
14706 $(MAKE) stage2-start; \
14707 fi; \
14708 cd $(HOST_SUBDIR)/mpfr && \
14709 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14710 @endif mpfr-bootstrap
14711
14712
14713 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
14714 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
14715 maybe-all-stage3-mpfr:
14716 maybe-clean-stage3-mpfr:
14717 @if mpfr-bootstrap
14718 maybe-all-stage3-mpfr: all-stage3-mpfr
14719 all-stage3: all-stage3-mpfr
14720 TARGET-stage3-mpfr = $(TARGET-mpfr)
14721 all-stage3-mpfr: configure-stage3-mpfr
14722 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14723 @r=`${PWD_COMMAND}`; export r; \
14724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14725 TFLAGS="$(STAGE3_TFLAGS)"; \
14726 $(HOST_EXPORTS) \
14727 $(POSTSTAGE1_HOST_EXPORTS) \
14728 cd $(HOST_SUBDIR)/mpfr && \
14729 \
14730 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14731 CFLAGS="$(STAGE3_CFLAGS)" \
14732 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
14733 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14734 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14735 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14736 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14737 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14738 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14739 TFLAGS="$(STAGE3_TFLAGS)" \
14740 $(TARGET-stage3-mpfr)
14741
14742 maybe-clean-stage3-mpfr: clean-stage3-mpfr
14743 clean-stage3: clean-stage3-mpfr
14744 clean-stage3-mpfr:
14745 @if [ $(current_stage) = stage3 ]; then \
14746 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14747 else \
14748 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
14749 $(MAKE) stage3-start; \
14750 fi; \
14751 cd $(HOST_SUBDIR)/mpfr && \
14752 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14753 @endif mpfr-bootstrap
14754
14755
14756 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
14757 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
14758 maybe-all-stage4-mpfr:
14759 maybe-clean-stage4-mpfr:
14760 @if mpfr-bootstrap
14761 maybe-all-stage4-mpfr: all-stage4-mpfr
14762 all-stage4: all-stage4-mpfr
14763 TARGET-stage4-mpfr = $(TARGET-mpfr)
14764 all-stage4-mpfr: configure-stage4-mpfr
14765 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14766 @r=`${PWD_COMMAND}`; export r; \
14767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14768 TFLAGS="$(STAGE4_TFLAGS)"; \
14769 $(HOST_EXPORTS) \
14770 $(POSTSTAGE1_HOST_EXPORTS) \
14771 cd $(HOST_SUBDIR)/mpfr && \
14772 \
14773 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14774 CFLAGS="$(STAGE4_CFLAGS)" \
14775 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
14776 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14777 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14778 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14779 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14780 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14781 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14782 TFLAGS="$(STAGE4_TFLAGS)" \
14783 $(TARGET-stage4-mpfr)
14784
14785 maybe-clean-stage4-mpfr: clean-stage4-mpfr
14786 clean-stage4: clean-stage4-mpfr
14787 clean-stage4-mpfr:
14788 @if [ $(current_stage) = stage4 ]; then \
14789 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14790 else \
14791 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
14792 $(MAKE) stage4-start; \
14793 fi; \
14794 cd $(HOST_SUBDIR)/mpfr && \
14795 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14796 @endif mpfr-bootstrap
14797
14798
14799 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
14800 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
14801 maybe-all-stageprofile-mpfr:
14802 maybe-clean-stageprofile-mpfr:
14803 @if mpfr-bootstrap
14804 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
14805 all-stageprofile: all-stageprofile-mpfr
14806 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
14807 all-stageprofile-mpfr: configure-stageprofile-mpfr
14808 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14809 @r=`${PWD_COMMAND}`; export r; \
14810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14811 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14812 $(HOST_EXPORTS) \
14813 $(POSTSTAGE1_HOST_EXPORTS) \
14814 cd $(HOST_SUBDIR)/mpfr && \
14815 \
14816 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14817 CFLAGS="$(STAGEprofile_CFLAGS)" \
14818 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
14819 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14820 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14821 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14822 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14823 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14824 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14825 TFLAGS="$(STAGEprofile_TFLAGS)" \
14826 $(TARGET-stageprofile-mpfr)
14827
14828 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
14829 clean-stageprofile: clean-stageprofile-mpfr
14830 clean-stageprofile-mpfr:
14831 @if [ $(current_stage) = stageprofile ]; then \
14832 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14833 else \
14834 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
14835 $(MAKE) stageprofile-start; \
14836 fi; \
14837 cd $(HOST_SUBDIR)/mpfr && \
14838 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14839 @endif mpfr-bootstrap
14840
14841
14842 .PHONY: all-stagetrain-mpfr maybe-all-stagetrain-mpfr
14843 .PHONY: clean-stagetrain-mpfr maybe-clean-stagetrain-mpfr
14844 maybe-all-stagetrain-mpfr:
14845 maybe-clean-stagetrain-mpfr:
14846 @if mpfr-bootstrap
14847 maybe-all-stagetrain-mpfr: all-stagetrain-mpfr
14848 all-stagetrain: all-stagetrain-mpfr
14849 TARGET-stagetrain-mpfr = $(TARGET-mpfr)
14850 all-stagetrain-mpfr: configure-stagetrain-mpfr
14851 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
14852 @r=`${PWD_COMMAND}`; export r; \
14853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14854 TFLAGS="$(STAGEtrain_TFLAGS)"; \
14855 $(HOST_EXPORTS) \
14856 $(POSTSTAGE1_HOST_EXPORTS) \
14857 cd $(HOST_SUBDIR)/mpfr && \
14858 \
14859 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14860 CFLAGS="$(STAGEtrain_CFLAGS)" \
14861 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
14862 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
14863 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
14864 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14865 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14866 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14867 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14868 TFLAGS="$(STAGEtrain_TFLAGS)" \
14869 $(TARGET-stagetrain-mpfr)
14870
14871 maybe-clean-stagetrain-mpfr: clean-stagetrain-mpfr
14872 clean-stagetrain: clean-stagetrain-mpfr
14873 clean-stagetrain-mpfr:
14874 @if [ $(current_stage) = stagetrain ]; then \
14875 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14876 else \
14877 [ -f $(HOST_SUBDIR)/stagetrain-mpfr/Makefile ] || exit 0; \
14878 $(MAKE) stagetrain-start; \
14879 fi; \
14880 cd $(HOST_SUBDIR)/mpfr && \
14881 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14882 @endif mpfr-bootstrap
14883
14884
14885 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
14886 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
14887 maybe-all-stagefeedback-mpfr:
14888 maybe-clean-stagefeedback-mpfr:
14889 @if mpfr-bootstrap
14890 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
14891 all-stagefeedback: all-stagefeedback-mpfr
14892 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
14893 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
14894 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14895 @r=`${PWD_COMMAND}`; export r; \
14896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14897 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14898 $(HOST_EXPORTS) \
14899 $(POSTSTAGE1_HOST_EXPORTS) \
14900 cd $(HOST_SUBDIR)/mpfr && \
14901 \
14902 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14903 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14904 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
14905 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14906 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14907 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14908 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14909 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14910 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14911 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14912 $(TARGET-stagefeedback-mpfr)
14913
14914 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
14915 clean-stagefeedback: clean-stagefeedback-mpfr
14916 clean-stagefeedback-mpfr:
14917 @if [ $(current_stage) = stagefeedback ]; then \
14918 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14919 else \
14920 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
14921 $(MAKE) stagefeedback-start; \
14922 fi; \
14923 cd $(HOST_SUBDIR)/mpfr && \
14924 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14925 @endif mpfr-bootstrap
14926
14927
14928 .PHONY: all-stageautoprofile-mpfr maybe-all-stageautoprofile-mpfr
14929 .PHONY: clean-stageautoprofile-mpfr maybe-clean-stageautoprofile-mpfr
14930 maybe-all-stageautoprofile-mpfr:
14931 maybe-clean-stageautoprofile-mpfr:
14932 @if mpfr-bootstrap
14933 maybe-all-stageautoprofile-mpfr: all-stageautoprofile-mpfr
14934 all-stageautoprofile: all-stageautoprofile-mpfr
14935 TARGET-stageautoprofile-mpfr = $(TARGET-mpfr)
14936 all-stageautoprofile-mpfr: configure-stageautoprofile-mpfr
14937 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
14938 @r=`${PWD_COMMAND}`; export r; \
14939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14940 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
14941 $(HOST_EXPORTS) \
14942 $(POSTSTAGE1_HOST_EXPORTS) \
14943 cd $(HOST_SUBDIR)/mpfr && \
14944 $$s/gcc/config/i386/$(AUTO_PROFILE) \
14945 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14946 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
14947 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
14948 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
14949 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
14950 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14951 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14952 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14953 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14954 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
14955 $(TARGET-stageautoprofile-mpfr)
14956
14957 maybe-clean-stageautoprofile-mpfr: clean-stageautoprofile-mpfr
14958 clean-stageautoprofile: clean-stageautoprofile-mpfr
14959 clean-stageautoprofile-mpfr:
14960 @if [ $(current_stage) = stageautoprofile ]; then \
14961 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
14962 else \
14963 [ -f $(HOST_SUBDIR)/stageautoprofile-mpfr/Makefile ] || exit 0; \
14964 $(MAKE) stageautoprofile-start; \
14965 fi; \
14966 cd $(HOST_SUBDIR)/mpfr && \
14967 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
14968 @endif mpfr-bootstrap
14969
14970
14971 .PHONY: all-stageautofeedback-mpfr maybe-all-stageautofeedback-mpfr
14972 .PHONY: clean-stageautofeedback-mpfr maybe-clean-stageautofeedback-mpfr
14973 maybe-all-stageautofeedback-mpfr:
14974 maybe-clean-stageautofeedback-mpfr:
14975 @if mpfr-bootstrap
14976 maybe-all-stageautofeedback-mpfr: all-stageautofeedback-mpfr
14977 all-stageautofeedback: all-stageautofeedback-mpfr
14978 TARGET-stageautofeedback-mpfr = $(TARGET-mpfr)
14979 all-stageautofeedback-mpfr: configure-stageautofeedback-mpfr
14980 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
14981 @r=`${PWD_COMMAND}`; export r; \
14982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14983 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
14984 $(HOST_EXPORTS) \
14985 $(POSTSTAGE1_HOST_EXPORTS) \
14986 cd $(HOST_SUBDIR)/mpfr && \
14987 \
14988 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14989 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
14990 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
14991 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
14992 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
14993 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14994 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14995 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14996 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" \
14997 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
14998 $(TARGET-stageautofeedback-mpfr)
14999
15000 maybe-clean-stageautofeedback-mpfr: clean-stageautofeedback-mpfr
15001 clean-stageautofeedback: clean-stageautofeedback-mpfr
15002 clean-stageautofeedback-mpfr:
15003 @if [ $(current_stage) = stageautofeedback ]; then \
15004 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15005 else \
15006 [ -f $(HOST_SUBDIR)/stageautofeedback-mpfr/Makefile ] || exit 0; \
15007 $(MAKE) stageautofeedback-start; \
15008 fi; \
15009 cd $(HOST_SUBDIR)/mpfr && \
15010 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" clean
15011 @endif mpfr-bootstrap
15012
15013
15014
15015
15016
15017 .PHONY: check-mpfr maybe-check-mpfr
15018 maybe-check-mpfr:
15019 @if mpfr
15020 maybe-check-mpfr: check-mpfr
15021
15022 check-mpfr:
15023 @: $(MAKE); $(unstage)
15024 @r=`${PWD_COMMAND}`; export r; \
15025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15026 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
15027 (cd $(HOST_SUBDIR)/mpfr && \
15028 $(MAKE) $(FLAGS_TO_PASS) AM_CFLAGS="-DNO_ASM" $(EXTRA_BOOTSTRAP_FLAGS) check)
15029
15030 @endif mpfr
15031
15032 .PHONY: install-mpfr maybe-install-mpfr
15033 maybe-install-mpfr:
15034 @if mpfr
15035 maybe-install-mpfr: install-mpfr
15036
15037 install-mpfr:
15038
15039 @endif mpfr
15040
15041 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
15042 maybe-install-strip-mpfr:
15043 @if mpfr
15044 maybe-install-strip-mpfr: install-strip-mpfr
15045
15046 install-strip-mpfr:
15047
15048 @endif mpfr
15049
15050 # Other targets (info, dvi, pdf, etc.)
15051
15052 .PHONY: maybe-info-mpfr info-mpfr
15053 maybe-info-mpfr:
15054 @if mpfr
15055 maybe-info-mpfr: info-mpfr
15056
15057 info-mpfr: \
15058 configure-mpfr
15059 @[ -f ./mpfr/Makefile ] || exit 0; \
15060 r=`${PWD_COMMAND}`; export r; \
15061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15062 $(HOST_EXPORTS) \
15063 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15065 done; \
15066 echo "Doing info in mpfr"; \
15067 (cd $(HOST_SUBDIR)/mpfr && \
15068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15070 "RANLIB=$${RANLIB}" \
15071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15072 info) \
15073 || exit 1
15074
15075 @endif mpfr
15076
15077 .PHONY: maybe-dvi-mpfr dvi-mpfr
15078 maybe-dvi-mpfr:
15079 @if mpfr
15080 maybe-dvi-mpfr: dvi-mpfr
15081
15082 dvi-mpfr: \
15083 configure-mpfr
15084 @[ -f ./mpfr/Makefile ] || exit 0; \
15085 r=`${PWD_COMMAND}`; export r; \
15086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15087 $(HOST_EXPORTS) \
15088 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15090 done; \
15091 echo "Doing dvi in mpfr"; \
15092 (cd $(HOST_SUBDIR)/mpfr && \
15093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15095 "RANLIB=$${RANLIB}" \
15096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15097 dvi) \
15098 || exit 1
15099
15100 @endif mpfr
15101
15102 .PHONY: maybe-pdf-mpfr pdf-mpfr
15103 maybe-pdf-mpfr:
15104 @if mpfr
15105 maybe-pdf-mpfr: pdf-mpfr
15106
15107 pdf-mpfr: \
15108 configure-mpfr
15109 @[ -f ./mpfr/Makefile ] || exit 0; \
15110 r=`${PWD_COMMAND}`; export r; \
15111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15112 $(HOST_EXPORTS) \
15113 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15115 done; \
15116 echo "Doing pdf in mpfr"; \
15117 (cd $(HOST_SUBDIR)/mpfr && \
15118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15120 "RANLIB=$${RANLIB}" \
15121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15122 pdf) \
15123 || exit 1
15124
15125 @endif mpfr
15126
15127 .PHONY: maybe-html-mpfr html-mpfr
15128 maybe-html-mpfr:
15129 @if mpfr
15130 maybe-html-mpfr: html-mpfr
15131
15132 html-mpfr: \
15133 configure-mpfr
15134 @[ -f ./mpfr/Makefile ] || exit 0; \
15135 r=`${PWD_COMMAND}`; export r; \
15136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15137 $(HOST_EXPORTS) \
15138 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15140 done; \
15141 echo "Doing html in mpfr"; \
15142 (cd $(HOST_SUBDIR)/mpfr && \
15143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15145 "RANLIB=$${RANLIB}" \
15146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15147 html) \
15148 || exit 1
15149
15150 @endif mpfr
15151
15152 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
15153 maybe-TAGS-mpfr:
15154 @if mpfr
15155 maybe-TAGS-mpfr: TAGS-mpfr
15156
15157 TAGS-mpfr: \
15158 configure-mpfr
15159 @[ -f ./mpfr/Makefile ] || exit 0; \
15160 r=`${PWD_COMMAND}`; export r; \
15161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15162 $(HOST_EXPORTS) \
15163 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15165 done; \
15166 echo "Doing TAGS in mpfr"; \
15167 (cd $(HOST_SUBDIR)/mpfr && \
15168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15170 "RANLIB=$${RANLIB}" \
15171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15172 TAGS) \
15173 || exit 1
15174
15175 @endif mpfr
15176
15177 .PHONY: maybe-install-info-mpfr install-info-mpfr
15178 maybe-install-info-mpfr:
15179 @if mpfr
15180 maybe-install-info-mpfr: install-info-mpfr
15181
15182 install-info-mpfr: \
15183 configure-mpfr \
15184 info-mpfr
15185 @[ -f ./mpfr/Makefile ] || exit 0; \
15186 r=`${PWD_COMMAND}`; export r; \
15187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15188 $(HOST_EXPORTS) \
15189 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15191 done; \
15192 echo "Doing install-info in mpfr"; \
15193 (cd $(HOST_SUBDIR)/mpfr && \
15194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15196 "RANLIB=$${RANLIB}" \
15197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15198 install-info) \
15199 || exit 1
15200
15201 @endif mpfr
15202
15203 .PHONY: maybe-install-dvi-mpfr install-dvi-mpfr
15204 maybe-install-dvi-mpfr:
15205 @if mpfr
15206 maybe-install-dvi-mpfr: install-dvi-mpfr
15207
15208 install-dvi-mpfr: \
15209 configure-mpfr \
15210 dvi-mpfr
15211 @[ -f ./mpfr/Makefile ] || exit 0; \
15212 r=`${PWD_COMMAND}`; export r; \
15213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15214 $(HOST_EXPORTS) \
15215 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15217 done; \
15218 echo "Doing install-dvi in mpfr"; \
15219 (cd $(HOST_SUBDIR)/mpfr && \
15220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15222 "RANLIB=$${RANLIB}" \
15223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15224 install-dvi) \
15225 || exit 1
15226
15227 @endif mpfr
15228
15229 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
15230 maybe-install-pdf-mpfr:
15231 @if mpfr
15232 maybe-install-pdf-mpfr: install-pdf-mpfr
15233
15234 install-pdf-mpfr: \
15235 configure-mpfr \
15236 pdf-mpfr
15237 @[ -f ./mpfr/Makefile ] || exit 0; \
15238 r=`${PWD_COMMAND}`; export r; \
15239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15240 $(HOST_EXPORTS) \
15241 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15243 done; \
15244 echo "Doing install-pdf in mpfr"; \
15245 (cd $(HOST_SUBDIR)/mpfr && \
15246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15248 "RANLIB=$${RANLIB}" \
15249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15250 install-pdf) \
15251 || exit 1
15252
15253 @endif mpfr
15254
15255 .PHONY: maybe-install-html-mpfr install-html-mpfr
15256 maybe-install-html-mpfr:
15257 @if mpfr
15258 maybe-install-html-mpfr: install-html-mpfr
15259
15260 install-html-mpfr: \
15261 configure-mpfr \
15262 html-mpfr
15263 @[ -f ./mpfr/Makefile ] || exit 0; \
15264 r=`${PWD_COMMAND}`; export r; \
15265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15266 $(HOST_EXPORTS) \
15267 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15269 done; \
15270 echo "Doing install-html in mpfr"; \
15271 (cd $(HOST_SUBDIR)/mpfr && \
15272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15274 "RANLIB=$${RANLIB}" \
15275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15276 install-html) \
15277 || exit 1
15278
15279 @endif mpfr
15280
15281 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
15282 maybe-installcheck-mpfr:
15283 @if mpfr
15284 maybe-installcheck-mpfr: installcheck-mpfr
15285
15286 installcheck-mpfr: \
15287 configure-mpfr
15288 @[ -f ./mpfr/Makefile ] || exit 0; \
15289 r=`${PWD_COMMAND}`; export r; \
15290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15291 $(HOST_EXPORTS) \
15292 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15294 done; \
15295 echo "Doing installcheck in mpfr"; \
15296 (cd $(HOST_SUBDIR)/mpfr && \
15297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15299 "RANLIB=$${RANLIB}" \
15300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15301 installcheck) \
15302 || exit 1
15303
15304 @endif mpfr
15305
15306 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
15307 maybe-mostlyclean-mpfr:
15308 @if mpfr
15309 maybe-mostlyclean-mpfr: mostlyclean-mpfr
15310
15311 mostlyclean-mpfr:
15312 @[ -f ./mpfr/Makefile ] || exit 0; \
15313 r=`${PWD_COMMAND}`; export r; \
15314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15315 $(HOST_EXPORTS) \
15316 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15318 done; \
15319 echo "Doing mostlyclean in mpfr"; \
15320 (cd $(HOST_SUBDIR)/mpfr && \
15321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15323 "RANLIB=$${RANLIB}" \
15324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15325 mostlyclean) \
15326 || exit 1
15327
15328 @endif mpfr
15329
15330 .PHONY: maybe-clean-mpfr clean-mpfr
15331 maybe-clean-mpfr:
15332 @if mpfr
15333 maybe-clean-mpfr: clean-mpfr
15334
15335 clean-mpfr:
15336 @[ -f ./mpfr/Makefile ] || exit 0; \
15337 r=`${PWD_COMMAND}`; export r; \
15338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15339 $(HOST_EXPORTS) \
15340 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15342 done; \
15343 echo "Doing clean in mpfr"; \
15344 (cd $(HOST_SUBDIR)/mpfr && \
15345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15347 "RANLIB=$${RANLIB}" \
15348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15349 clean) \
15350 || exit 1
15351
15352 @endif mpfr
15353
15354 .PHONY: maybe-distclean-mpfr distclean-mpfr
15355 maybe-distclean-mpfr:
15356 @if mpfr
15357 maybe-distclean-mpfr: distclean-mpfr
15358
15359 distclean-mpfr:
15360 @[ -f ./mpfr/Makefile ] || exit 0; \
15361 r=`${PWD_COMMAND}`; export r; \
15362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15363 $(HOST_EXPORTS) \
15364 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15366 done; \
15367 echo "Doing distclean in mpfr"; \
15368 (cd $(HOST_SUBDIR)/mpfr && \
15369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15371 "RANLIB=$${RANLIB}" \
15372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15373 distclean) \
15374 || exit 1
15375
15376 @endif mpfr
15377
15378 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
15379 maybe-maintainer-clean-mpfr:
15380 @if mpfr
15381 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
15382
15383 maintainer-clean-mpfr:
15384 @[ -f ./mpfr/Makefile ] || exit 0; \
15385 r=`${PWD_COMMAND}`; export r; \
15386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15387 $(HOST_EXPORTS) \
15388 for flag in $(EXTRA_HOST_FLAGS) AM_CFLAGS="-DNO_ASM"; do \
15389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15390 done; \
15391 echo "Doing maintainer-clean in mpfr"; \
15392 (cd $(HOST_SUBDIR)/mpfr && \
15393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15395 "RANLIB=$${RANLIB}" \
15396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15397 maintainer-clean) \
15398 || exit 1
15399
15400 @endif mpfr
15401
15402
15403
15404 .PHONY: configure-mpc maybe-configure-mpc
15405 maybe-configure-mpc:
15406 @if gcc-bootstrap
15407 configure-mpc: stage_current
15408 @endif gcc-bootstrap
15409 @if mpc
15410 maybe-configure-mpc: configure-mpc
15411 configure-mpc:
15412 @r=`${PWD_COMMAND}`; export r; \
15413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15414 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15416 $(HOST_EXPORTS) \
15417 echo Configuring in $(HOST_SUBDIR)/mpc; \
15418 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
15419 case $(srcdir) in \
15420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15421 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15423 esac; \
15424 module_srcdir=mpc; \
15425 $(SHELL) \
15426 $$s/$$module_srcdir/configure \
15427 --srcdir=$${topdir}/$$module_srcdir \
15428 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15429 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode \
15430 || exit 1
15431 @endif mpc
15432
15433
15434
15435 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
15436 maybe-configure-stage1-mpc:
15437 @if mpc-bootstrap
15438 maybe-configure-stage1-mpc: configure-stage1-mpc
15439 configure-stage1-mpc:
15440 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15441 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15442 @r=`${PWD_COMMAND}`; export r; \
15443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15444 TFLAGS="$(STAGE1_TFLAGS)"; \
15445 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15446 $(HOST_EXPORTS) \
15447 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15448 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15449 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15450 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc; \
15451 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15452 cd $(HOST_SUBDIR)/mpc || exit 1; \
15453 case $(srcdir) in \
15454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15455 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15457 esac; \
15458 module_srcdir=mpc; \
15459 $(SHELL) $$s/$$module_srcdir/configure \
15460 --srcdir=$${topdir}/$$module_srcdir \
15461 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15462 --target=${target_alias} \
15463 \
15464 $(STAGE1_CONFIGURE_FLAGS) \
15465 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15466 @endif mpc-bootstrap
15467
15468 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
15469 maybe-configure-stage2-mpc:
15470 @if mpc-bootstrap
15471 maybe-configure-stage2-mpc: configure-stage2-mpc
15472 configure-stage2-mpc:
15473 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15474 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15475 @r=`${PWD_COMMAND}`; export r; \
15476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15477 TFLAGS="$(STAGE2_TFLAGS)"; \
15478 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15479 $(HOST_EXPORTS) \
15480 $(POSTSTAGE1_HOST_EXPORTS) \
15481 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15482 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15483 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15484 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc; \
15485 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15486 cd $(HOST_SUBDIR)/mpc || exit 1; \
15487 case $(srcdir) in \
15488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15489 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15491 esac; \
15492 module_srcdir=mpc; \
15493 $(SHELL) $$s/$$module_srcdir/configure \
15494 --srcdir=$${topdir}/$$module_srcdir \
15495 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15496 --target=${target_alias} \
15497 --with-build-libsubdir=$(HOST_SUBDIR) \
15498 $(STAGE2_CONFIGURE_FLAGS) \
15499 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15500 @endif mpc-bootstrap
15501
15502 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
15503 maybe-configure-stage3-mpc:
15504 @if mpc-bootstrap
15505 maybe-configure-stage3-mpc: configure-stage3-mpc
15506 configure-stage3-mpc:
15507 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15508 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15509 @r=`${PWD_COMMAND}`; export r; \
15510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15511 TFLAGS="$(STAGE3_TFLAGS)"; \
15512 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15513 $(HOST_EXPORTS) \
15514 $(POSTSTAGE1_HOST_EXPORTS) \
15515 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15516 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15517 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15518 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc; \
15519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15520 cd $(HOST_SUBDIR)/mpc || exit 1; \
15521 case $(srcdir) in \
15522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15523 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15525 esac; \
15526 module_srcdir=mpc; \
15527 $(SHELL) $$s/$$module_srcdir/configure \
15528 --srcdir=$${topdir}/$$module_srcdir \
15529 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15530 --target=${target_alias} \
15531 --with-build-libsubdir=$(HOST_SUBDIR) \
15532 $(STAGE3_CONFIGURE_FLAGS) \
15533 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15534 @endif mpc-bootstrap
15535
15536 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
15537 maybe-configure-stage4-mpc:
15538 @if mpc-bootstrap
15539 maybe-configure-stage4-mpc: configure-stage4-mpc
15540 configure-stage4-mpc:
15541 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15542 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15543 @r=`${PWD_COMMAND}`; export r; \
15544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15545 TFLAGS="$(STAGE4_TFLAGS)"; \
15546 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15547 $(HOST_EXPORTS) \
15548 $(POSTSTAGE1_HOST_EXPORTS) \
15549 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15550 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15551 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15552 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc; \
15553 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15554 cd $(HOST_SUBDIR)/mpc || exit 1; \
15555 case $(srcdir) in \
15556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15557 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15559 esac; \
15560 module_srcdir=mpc; \
15561 $(SHELL) $$s/$$module_srcdir/configure \
15562 --srcdir=$${topdir}/$$module_srcdir \
15563 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15564 --target=${target_alias} \
15565 --with-build-libsubdir=$(HOST_SUBDIR) \
15566 $(STAGE4_CONFIGURE_FLAGS) \
15567 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15568 @endif mpc-bootstrap
15569
15570 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
15571 maybe-configure-stageprofile-mpc:
15572 @if mpc-bootstrap
15573 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
15574 configure-stageprofile-mpc:
15575 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15576 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15577 @r=`${PWD_COMMAND}`; export r; \
15578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15579 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15580 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15581 $(HOST_EXPORTS) \
15582 $(POSTSTAGE1_HOST_EXPORTS) \
15583 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15584 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15585 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15586 echo Configuring stage profile in $(HOST_SUBDIR)/mpc; \
15587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15588 cd $(HOST_SUBDIR)/mpc || exit 1; \
15589 case $(srcdir) in \
15590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15591 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15593 esac; \
15594 module_srcdir=mpc; \
15595 $(SHELL) $$s/$$module_srcdir/configure \
15596 --srcdir=$${topdir}/$$module_srcdir \
15597 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15598 --target=${target_alias} \
15599 --with-build-libsubdir=$(HOST_SUBDIR) \
15600 $(STAGEprofile_CONFIGURE_FLAGS) \
15601 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15602 @endif mpc-bootstrap
15603
15604 .PHONY: configure-stagetrain-mpc maybe-configure-stagetrain-mpc
15605 maybe-configure-stagetrain-mpc:
15606 @if mpc-bootstrap
15607 maybe-configure-stagetrain-mpc: configure-stagetrain-mpc
15608 configure-stagetrain-mpc:
15609 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15610 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15611 @r=`${PWD_COMMAND}`; export r; \
15612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15613 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15614 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15615 $(HOST_EXPORTS) \
15616 $(POSTSTAGE1_HOST_EXPORTS) \
15617 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
15618 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
15619 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
15620 echo Configuring stage train in $(HOST_SUBDIR)/mpc; \
15621 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15622 cd $(HOST_SUBDIR)/mpc || exit 1; \
15623 case $(srcdir) in \
15624 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15625 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15626 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15627 esac; \
15628 module_srcdir=mpc; \
15629 $(SHELL) $$s/$$module_srcdir/configure \
15630 --srcdir=$${topdir}/$$module_srcdir \
15631 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15632 --target=${target_alias} \
15633 --with-build-libsubdir=$(HOST_SUBDIR) \
15634 $(STAGEtrain_CONFIGURE_FLAGS) \
15635 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15636 @endif mpc-bootstrap
15637
15638 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
15639 maybe-configure-stagefeedback-mpc:
15640 @if mpc-bootstrap
15641 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
15642 configure-stagefeedback-mpc:
15643 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15644 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15645 @r=`${PWD_COMMAND}`; export r; \
15646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15647 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15648 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15649 $(HOST_EXPORTS) \
15650 $(POSTSTAGE1_HOST_EXPORTS) \
15651 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15652 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15653 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15654 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc; \
15655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15656 cd $(HOST_SUBDIR)/mpc || exit 1; \
15657 case $(srcdir) in \
15658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15659 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15661 esac; \
15662 module_srcdir=mpc; \
15663 $(SHELL) $$s/$$module_srcdir/configure \
15664 --srcdir=$${topdir}/$$module_srcdir \
15665 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15666 --target=${target_alias} \
15667 --with-build-libsubdir=$(HOST_SUBDIR) \
15668 $(STAGEfeedback_CONFIGURE_FLAGS) \
15669 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15670 @endif mpc-bootstrap
15671
15672 .PHONY: configure-stageautoprofile-mpc maybe-configure-stageautoprofile-mpc
15673 maybe-configure-stageautoprofile-mpc:
15674 @if mpc-bootstrap
15675 maybe-configure-stageautoprofile-mpc: configure-stageautoprofile-mpc
15676 configure-stageautoprofile-mpc:
15677 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
15678 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15679 @r=`${PWD_COMMAND}`; export r; \
15680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15681 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
15682 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15683 $(HOST_EXPORTS) \
15684 $(POSTSTAGE1_HOST_EXPORTS) \
15685 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
15686 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
15687 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
15688 echo Configuring stage autoprofile in $(HOST_SUBDIR)/mpc; \
15689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15690 cd $(HOST_SUBDIR)/mpc || exit 1; \
15691 case $(srcdir) in \
15692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15693 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15695 esac; \
15696 module_srcdir=mpc; \
15697 $(SHELL) $$s/$$module_srcdir/configure \
15698 --srcdir=$${topdir}/$$module_srcdir \
15699 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15700 --target=${target_alias} \
15701 --with-build-libsubdir=$(HOST_SUBDIR) \
15702 $(STAGEautoprofile_CONFIGURE_FLAGS) \
15703 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15704 @endif mpc-bootstrap
15705
15706 .PHONY: configure-stageautofeedback-mpc maybe-configure-stageautofeedback-mpc
15707 maybe-configure-stageautofeedback-mpc:
15708 @if mpc-bootstrap
15709 maybe-configure-stageautofeedback-mpc: configure-stageautofeedback-mpc
15710 configure-stageautofeedback-mpc:
15711 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
15712 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
15713 @r=`${PWD_COMMAND}`; export r; \
15714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15715 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
15716 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
15717 $(HOST_EXPORTS) \
15718 $(POSTSTAGE1_HOST_EXPORTS) \
15719 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
15720 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
15721 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
15722 echo Configuring stage autofeedback in $(HOST_SUBDIR)/mpc; \
15723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc; \
15724 cd $(HOST_SUBDIR)/mpc || exit 1; \
15725 case $(srcdir) in \
15726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15727 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
15728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15729 esac; \
15730 module_srcdir=mpc; \
15731 $(SHELL) $$s/$$module_srcdir/configure \
15732 --srcdir=$${topdir}/$$module_srcdir \
15733 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15734 --target=${target_alias} \
15735 --with-build-libsubdir=$(HOST_SUBDIR) \
15736 $(STAGEautofeedback_CONFIGURE_FLAGS) \
15737 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ --disable-maintainer-mode
15738 @endif mpc-bootstrap
15739
15740
15741
15742
15743
15744 .PHONY: all-mpc maybe-all-mpc
15745 maybe-all-mpc:
15746 @if gcc-bootstrap
15747 all-mpc: stage_current
15748 @endif gcc-bootstrap
15749 @if mpc
15750 TARGET-mpc=all
15751 maybe-all-mpc: all-mpc
15752 all-mpc: configure-mpc
15753 @r=`${PWD_COMMAND}`; export r; \
15754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15755 $(HOST_EXPORTS) \
15756 (cd $(HOST_SUBDIR)/mpc && \
15757 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15758 $(TARGET-mpc))
15759 @endif mpc
15760
15761
15762
15763 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
15764 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
15765 maybe-all-stage1-mpc:
15766 maybe-clean-stage1-mpc:
15767 @if mpc-bootstrap
15768 maybe-all-stage1-mpc: all-stage1-mpc
15769 all-stage1: all-stage1-mpc
15770 TARGET-stage1-mpc = $(TARGET-mpc)
15771 all-stage1-mpc: configure-stage1-mpc
15772 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15773 @r=`${PWD_COMMAND}`; export r; \
15774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15775 TFLAGS="$(STAGE1_TFLAGS)"; \
15776 $(HOST_EXPORTS) \
15777 cd $(HOST_SUBDIR)/mpc && \
15778 \
15779 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15780 CFLAGS="$(STAGE1_CFLAGS)" \
15781 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
15782 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15783 LIBCFLAGS="$(LIBCFLAGS)" \
15784 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15785 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15786 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15787 $(EXTRA_HOST_FLAGS) \
15788 $(STAGE1_FLAGS_TO_PASS) \
15789 TFLAGS="$(STAGE1_TFLAGS)" \
15790 $(TARGET-stage1-mpc)
15791
15792 maybe-clean-stage1-mpc: clean-stage1-mpc
15793 clean-stage1: clean-stage1-mpc
15794 clean-stage1-mpc:
15795 @if [ $(current_stage) = stage1 ]; then \
15796 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15797 else \
15798 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
15799 $(MAKE) stage1-start; \
15800 fi; \
15801 cd $(HOST_SUBDIR)/mpc && \
15802 $(MAKE) $(EXTRA_HOST_FLAGS) \
15803 $(STAGE1_FLAGS_TO_PASS) clean
15804 @endif mpc-bootstrap
15805
15806
15807 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
15808 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
15809 maybe-all-stage2-mpc:
15810 maybe-clean-stage2-mpc:
15811 @if mpc-bootstrap
15812 maybe-all-stage2-mpc: all-stage2-mpc
15813 all-stage2: all-stage2-mpc
15814 TARGET-stage2-mpc = $(TARGET-mpc)
15815 all-stage2-mpc: configure-stage2-mpc
15816 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15817 @r=`${PWD_COMMAND}`; export r; \
15818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15819 TFLAGS="$(STAGE2_TFLAGS)"; \
15820 $(HOST_EXPORTS) \
15821 $(POSTSTAGE1_HOST_EXPORTS) \
15822 cd $(HOST_SUBDIR)/mpc && \
15823 \
15824 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15825 CFLAGS="$(STAGE2_CFLAGS)" \
15826 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
15827 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15828 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15829 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15830 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15831 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15832 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15833 TFLAGS="$(STAGE2_TFLAGS)" \
15834 $(TARGET-stage2-mpc)
15835
15836 maybe-clean-stage2-mpc: clean-stage2-mpc
15837 clean-stage2: clean-stage2-mpc
15838 clean-stage2-mpc:
15839 @if [ $(current_stage) = stage2 ]; then \
15840 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15841 else \
15842 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
15843 $(MAKE) stage2-start; \
15844 fi; \
15845 cd $(HOST_SUBDIR)/mpc && \
15846 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15847 @endif mpc-bootstrap
15848
15849
15850 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
15851 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
15852 maybe-all-stage3-mpc:
15853 maybe-clean-stage3-mpc:
15854 @if mpc-bootstrap
15855 maybe-all-stage3-mpc: all-stage3-mpc
15856 all-stage3: all-stage3-mpc
15857 TARGET-stage3-mpc = $(TARGET-mpc)
15858 all-stage3-mpc: configure-stage3-mpc
15859 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15860 @r=`${PWD_COMMAND}`; export r; \
15861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15862 TFLAGS="$(STAGE3_TFLAGS)"; \
15863 $(HOST_EXPORTS) \
15864 $(POSTSTAGE1_HOST_EXPORTS) \
15865 cd $(HOST_SUBDIR)/mpc && \
15866 \
15867 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15868 CFLAGS="$(STAGE3_CFLAGS)" \
15869 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
15870 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15871 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15872 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15873 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15874 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15875 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15876 TFLAGS="$(STAGE3_TFLAGS)" \
15877 $(TARGET-stage3-mpc)
15878
15879 maybe-clean-stage3-mpc: clean-stage3-mpc
15880 clean-stage3: clean-stage3-mpc
15881 clean-stage3-mpc:
15882 @if [ $(current_stage) = stage3 ]; then \
15883 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15884 else \
15885 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
15886 $(MAKE) stage3-start; \
15887 fi; \
15888 cd $(HOST_SUBDIR)/mpc && \
15889 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15890 @endif mpc-bootstrap
15891
15892
15893 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
15894 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
15895 maybe-all-stage4-mpc:
15896 maybe-clean-stage4-mpc:
15897 @if mpc-bootstrap
15898 maybe-all-stage4-mpc: all-stage4-mpc
15899 all-stage4: all-stage4-mpc
15900 TARGET-stage4-mpc = $(TARGET-mpc)
15901 all-stage4-mpc: configure-stage4-mpc
15902 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15903 @r=`${PWD_COMMAND}`; export r; \
15904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15905 TFLAGS="$(STAGE4_TFLAGS)"; \
15906 $(HOST_EXPORTS) \
15907 $(POSTSTAGE1_HOST_EXPORTS) \
15908 cd $(HOST_SUBDIR)/mpc && \
15909 \
15910 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15911 CFLAGS="$(STAGE4_CFLAGS)" \
15912 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
15913 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15914 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15915 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15916 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15917 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15918 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15919 TFLAGS="$(STAGE4_TFLAGS)" \
15920 $(TARGET-stage4-mpc)
15921
15922 maybe-clean-stage4-mpc: clean-stage4-mpc
15923 clean-stage4: clean-stage4-mpc
15924 clean-stage4-mpc:
15925 @if [ $(current_stage) = stage4 ]; then \
15926 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15927 else \
15928 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
15929 $(MAKE) stage4-start; \
15930 fi; \
15931 cd $(HOST_SUBDIR)/mpc && \
15932 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15933 @endif mpc-bootstrap
15934
15935
15936 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
15937 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
15938 maybe-all-stageprofile-mpc:
15939 maybe-clean-stageprofile-mpc:
15940 @if mpc-bootstrap
15941 maybe-all-stageprofile-mpc: all-stageprofile-mpc
15942 all-stageprofile: all-stageprofile-mpc
15943 TARGET-stageprofile-mpc = $(TARGET-mpc)
15944 all-stageprofile-mpc: configure-stageprofile-mpc
15945 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15946 @r=`${PWD_COMMAND}`; export r; \
15947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15948 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15949 $(HOST_EXPORTS) \
15950 $(POSTSTAGE1_HOST_EXPORTS) \
15951 cd $(HOST_SUBDIR)/mpc && \
15952 \
15953 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15954 CFLAGS="$(STAGEprofile_CFLAGS)" \
15955 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
15956 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15957 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15958 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15959 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15960 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15961 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15962 TFLAGS="$(STAGEprofile_TFLAGS)" \
15963 $(TARGET-stageprofile-mpc)
15964
15965 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
15966 clean-stageprofile: clean-stageprofile-mpc
15967 clean-stageprofile-mpc:
15968 @if [ $(current_stage) = stageprofile ]; then \
15969 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
15970 else \
15971 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
15972 $(MAKE) stageprofile-start; \
15973 fi; \
15974 cd $(HOST_SUBDIR)/mpc && \
15975 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15976 @endif mpc-bootstrap
15977
15978
15979 .PHONY: all-stagetrain-mpc maybe-all-stagetrain-mpc
15980 .PHONY: clean-stagetrain-mpc maybe-clean-stagetrain-mpc
15981 maybe-all-stagetrain-mpc:
15982 maybe-clean-stagetrain-mpc:
15983 @if mpc-bootstrap
15984 maybe-all-stagetrain-mpc: all-stagetrain-mpc
15985 all-stagetrain: all-stagetrain-mpc
15986 TARGET-stagetrain-mpc = $(TARGET-mpc)
15987 all-stagetrain-mpc: configure-stagetrain-mpc
15988 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
15989 @r=`${PWD_COMMAND}`; export r; \
15990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15991 TFLAGS="$(STAGEtrain_TFLAGS)"; \
15992 $(HOST_EXPORTS) \
15993 $(POSTSTAGE1_HOST_EXPORTS) \
15994 cd $(HOST_SUBDIR)/mpc && \
15995 \
15996 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15997 CFLAGS="$(STAGEtrain_CFLAGS)" \
15998 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
15999 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
16000 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
16001 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16002 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16003 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16004 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16005 TFLAGS="$(STAGEtrain_TFLAGS)" \
16006 $(TARGET-stagetrain-mpc)
16007
16008 maybe-clean-stagetrain-mpc: clean-stagetrain-mpc
16009 clean-stagetrain: clean-stagetrain-mpc
16010 clean-stagetrain-mpc:
16011 @if [ $(current_stage) = stagetrain ]; then \
16012 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
16013 else \
16014 [ -f $(HOST_SUBDIR)/stagetrain-mpc/Makefile ] || exit 0; \
16015 $(MAKE) stagetrain-start; \
16016 fi; \
16017 cd $(HOST_SUBDIR)/mpc && \
16018 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16019 @endif mpc-bootstrap
16020
16021
16022 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
16023 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
16024 maybe-all-stagefeedback-mpc:
16025 maybe-clean-stagefeedback-mpc:
16026 @if mpc-bootstrap
16027 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
16028 all-stagefeedback: all-stagefeedback-mpc
16029 TARGET-stagefeedback-mpc = $(TARGET-mpc)
16030 all-stagefeedback-mpc: configure-stagefeedback-mpc
16031 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16032 @r=`${PWD_COMMAND}`; export r; \
16033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16034 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16035 $(HOST_EXPORTS) \
16036 $(POSTSTAGE1_HOST_EXPORTS) \
16037 cd $(HOST_SUBDIR)/mpc && \
16038 \
16039 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16040 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16041 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
16042 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16043 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16044 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16045 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16046 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16047 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16048 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16049 $(TARGET-stagefeedback-mpc)
16050
16051 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
16052 clean-stagefeedback: clean-stagefeedback-mpc
16053 clean-stagefeedback-mpc:
16054 @if [ $(current_stage) = stagefeedback ]; then \
16055 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
16056 else \
16057 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
16058 $(MAKE) stagefeedback-start; \
16059 fi; \
16060 cd $(HOST_SUBDIR)/mpc && \
16061 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16062 @endif mpc-bootstrap
16063
16064
16065 .PHONY: all-stageautoprofile-mpc maybe-all-stageautoprofile-mpc
16066 .PHONY: clean-stageautoprofile-mpc maybe-clean-stageautoprofile-mpc
16067 maybe-all-stageautoprofile-mpc:
16068 maybe-clean-stageautoprofile-mpc:
16069 @if mpc-bootstrap
16070 maybe-all-stageautoprofile-mpc: all-stageautoprofile-mpc
16071 all-stageautoprofile: all-stageautoprofile-mpc
16072 TARGET-stageautoprofile-mpc = $(TARGET-mpc)
16073 all-stageautoprofile-mpc: configure-stageautoprofile-mpc
16074 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16075 @r=`${PWD_COMMAND}`; export r; \
16076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16077 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16078 $(HOST_EXPORTS) \
16079 $(POSTSTAGE1_HOST_EXPORTS) \
16080 cd $(HOST_SUBDIR)/mpc && \
16081 $$s/gcc/config/i386/$(AUTO_PROFILE) \
16082 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16083 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
16084 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
16085 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
16086 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
16087 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16088 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16089 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16090 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16091 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
16092 $(TARGET-stageautoprofile-mpc)
16093
16094 maybe-clean-stageautoprofile-mpc: clean-stageautoprofile-mpc
16095 clean-stageautoprofile: clean-stageautoprofile-mpc
16096 clean-stageautoprofile-mpc:
16097 @if [ $(current_stage) = stageautoprofile ]; then \
16098 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
16099 else \
16100 [ -f $(HOST_SUBDIR)/stageautoprofile-mpc/Makefile ] || exit 0; \
16101 $(MAKE) stageautoprofile-start; \
16102 fi; \
16103 cd $(HOST_SUBDIR)/mpc && \
16104 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16105 @endif mpc-bootstrap
16106
16107
16108 .PHONY: all-stageautofeedback-mpc maybe-all-stageautofeedback-mpc
16109 .PHONY: clean-stageautofeedback-mpc maybe-clean-stageautofeedback-mpc
16110 maybe-all-stageautofeedback-mpc:
16111 maybe-clean-stageautofeedback-mpc:
16112 @if mpc-bootstrap
16113 maybe-all-stageautofeedback-mpc: all-stageautofeedback-mpc
16114 all-stageautofeedback: all-stageautofeedback-mpc
16115 TARGET-stageautofeedback-mpc = $(TARGET-mpc)
16116 all-stageautofeedback-mpc: configure-stageautofeedback-mpc
16117 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16118 @r=`${PWD_COMMAND}`; export r; \
16119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16120 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16121 $(HOST_EXPORTS) \
16122 $(POSTSTAGE1_HOST_EXPORTS) \
16123 cd $(HOST_SUBDIR)/mpc && \
16124 \
16125 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16126 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
16127 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
16128 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
16129 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
16130 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16131 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16132 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16133 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16134 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
16135 $(TARGET-stageautofeedback-mpc)
16136
16137 maybe-clean-stageautofeedback-mpc: clean-stageautofeedback-mpc
16138 clean-stageautofeedback: clean-stageautofeedback-mpc
16139 clean-stageautofeedback-mpc:
16140 @if [ $(current_stage) = stageautofeedback ]; then \
16141 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
16142 else \
16143 [ -f $(HOST_SUBDIR)/stageautofeedback-mpc/Makefile ] || exit 0; \
16144 $(MAKE) stageautofeedback-start; \
16145 fi; \
16146 cd $(HOST_SUBDIR)/mpc && \
16147 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16148 @endif mpc-bootstrap
16149
16150
16151
16152
16153
16154 .PHONY: check-mpc maybe-check-mpc
16155 maybe-check-mpc:
16156 @if mpc
16157 maybe-check-mpc: check-mpc
16158
16159 check-mpc:
16160 @: $(MAKE); $(unstage)
16161 @r=`${PWD_COMMAND}`; export r; \
16162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16163 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
16164 (cd $(HOST_SUBDIR)/mpc && \
16165 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
16166
16167 @endif mpc
16168
16169 .PHONY: install-mpc maybe-install-mpc
16170 maybe-install-mpc:
16171 @if mpc
16172 maybe-install-mpc: install-mpc
16173
16174 install-mpc:
16175
16176 @endif mpc
16177
16178 .PHONY: install-strip-mpc maybe-install-strip-mpc
16179 maybe-install-strip-mpc:
16180 @if mpc
16181 maybe-install-strip-mpc: install-strip-mpc
16182
16183 install-strip-mpc:
16184
16185 @endif mpc
16186
16187 # Other targets (info, dvi, pdf, etc.)
16188
16189 .PHONY: maybe-info-mpc info-mpc
16190 maybe-info-mpc:
16191 @if mpc
16192 maybe-info-mpc: info-mpc
16193
16194 info-mpc: \
16195 configure-mpc
16196 @[ -f ./mpc/Makefile ] || exit 0; \
16197 r=`${PWD_COMMAND}`; export r; \
16198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16199 $(HOST_EXPORTS) \
16200 for flag in $(EXTRA_HOST_FLAGS) ; do \
16201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16202 done; \
16203 echo "Doing info in mpc"; \
16204 (cd $(HOST_SUBDIR)/mpc && \
16205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16207 "RANLIB=$${RANLIB}" \
16208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16209 info) \
16210 || exit 1
16211
16212 @endif mpc
16213
16214 .PHONY: maybe-dvi-mpc dvi-mpc
16215 maybe-dvi-mpc:
16216 @if mpc
16217 maybe-dvi-mpc: dvi-mpc
16218
16219 dvi-mpc: \
16220 configure-mpc
16221 @[ -f ./mpc/Makefile ] || exit 0; \
16222 r=`${PWD_COMMAND}`; export r; \
16223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16224 $(HOST_EXPORTS) \
16225 for flag in $(EXTRA_HOST_FLAGS) ; do \
16226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16227 done; \
16228 echo "Doing dvi in mpc"; \
16229 (cd $(HOST_SUBDIR)/mpc && \
16230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16232 "RANLIB=$${RANLIB}" \
16233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16234 dvi) \
16235 || exit 1
16236
16237 @endif mpc
16238
16239 .PHONY: maybe-pdf-mpc pdf-mpc
16240 maybe-pdf-mpc:
16241 @if mpc
16242 maybe-pdf-mpc: pdf-mpc
16243
16244 pdf-mpc: \
16245 configure-mpc
16246 @[ -f ./mpc/Makefile ] || exit 0; \
16247 r=`${PWD_COMMAND}`; export r; \
16248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16249 $(HOST_EXPORTS) \
16250 for flag in $(EXTRA_HOST_FLAGS) ; do \
16251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16252 done; \
16253 echo "Doing pdf in mpc"; \
16254 (cd $(HOST_SUBDIR)/mpc && \
16255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16257 "RANLIB=$${RANLIB}" \
16258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16259 pdf) \
16260 || exit 1
16261
16262 @endif mpc
16263
16264 .PHONY: maybe-html-mpc html-mpc
16265 maybe-html-mpc:
16266 @if mpc
16267 maybe-html-mpc: html-mpc
16268
16269 html-mpc: \
16270 configure-mpc
16271 @[ -f ./mpc/Makefile ] || exit 0; \
16272 r=`${PWD_COMMAND}`; export r; \
16273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16274 $(HOST_EXPORTS) \
16275 for flag in $(EXTRA_HOST_FLAGS) ; do \
16276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16277 done; \
16278 echo "Doing html in mpc"; \
16279 (cd $(HOST_SUBDIR)/mpc && \
16280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16282 "RANLIB=$${RANLIB}" \
16283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16284 html) \
16285 || exit 1
16286
16287 @endif mpc
16288
16289 .PHONY: maybe-TAGS-mpc TAGS-mpc
16290 maybe-TAGS-mpc:
16291 @if mpc
16292 maybe-TAGS-mpc: TAGS-mpc
16293
16294 TAGS-mpc: \
16295 configure-mpc
16296 @[ -f ./mpc/Makefile ] || exit 0; \
16297 r=`${PWD_COMMAND}`; export r; \
16298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16299 $(HOST_EXPORTS) \
16300 for flag in $(EXTRA_HOST_FLAGS) ; do \
16301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16302 done; \
16303 echo "Doing TAGS in mpc"; \
16304 (cd $(HOST_SUBDIR)/mpc && \
16305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16307 "RANLIB=$${RANLIB}" \
16308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16309 TAGS) \
16310 || exit 1
16311
16312 @endif mpc
16313
16314 .PHONY: maybe-install-info-mpc install-info-mpc
16315 maybe-install-info-mpc:
16316 @if mpc
16317 maybe-install-info-mpc: install-info-mpc
16318
16319 install-info-mpc: \
16320 configure-mpc \
16321 info-mpc
16322 @[ -f ./mpc/Makefile ] || exit 0; \
16323 r=`${PWD_COMMAND}`; export r; \
16324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16325 $(HOST_EXPORTS) \
16326 for flag in $(EXTRA_HOST_FLAGS) ; do \
16327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16328 done; \
16329 echo "Doing install-info in mpc"; \
16330 (cd $(HOST_SUBDIR)/mpc && \
16331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16333 "RANLIB=$${RANLIB}" \
16334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16335 install-info) \
16336 || exit 1
16337
16338 @endif mpc
16339
16340 .PHONY: maybe-install-dvi-mpc install-dvi-mpc
16341 maybe-install-dvi-mpc:
16342 @if mpc
16343 maybe-install-dvi-mpc: install-dvi-mpc
16344
16345 install-dvi-mpc: \
16346 configure-mpc \
16347 dvi-mpc
16348 @[ -f ./mpc/Makefile ] || exit 0; \
16349 r=`${PWD_COMMAND}`; export r; \
16350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16351 $(HOST_EXPORTS) \
16352 for flag in $(EXTRA_HOST_FLAGS) ; do \
16353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16354 done; \
16355 echo "Doing install-dvi in mpc"; \
16356 (cd $(HOST_SUBDIR)/mpc && \
16357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16359 "RANLIB=$${RANLIB}" \
16360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16361 install-dvi) \
16362 || exit 1
16363
16364 @endif mpc
16365
16366 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
16367 maybe-install-pdf-mpc:
16368 @if mpc
16369 maybe-install-pdf-mpc: install-pdf-mpc
16370
16371 install-pdf-mpc: \
16372 configure-mpc \
16373 pdf-mpc
16374 @[ -f ./mpc/Makefile ] || exit 0; \
16375 r=`${PWD_COMMAND}`; export r; \
16376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16377 $(HOST_EXPORTS) \
16378 for flag in $(EXTRA_HOST_FLAGS) ; do \
16379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16380 done; \
16381 echo "Doing install-pdf in mpc"; \
16382 (cd $(HOST_SUBDIR)/mpc && \
16383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16385 "RANLIB=$${RANLIB}" \
16386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16387 install-pdf) \
16388 || exit 1
16389
16390 @endif mpc
16391
16392 .PHONY: maybe-install-html-mpc install-html-mpc
16393 maybe-install-html-mpc:
16394 @if mpc
16395 maybe-install-html-mpc: install-html-mpc
16396
16397 install-html-mpc: \
16398 configure-mpc \
16399 html-mpc
16400 @[ -f ./mpc/Makefile ] || exit 0; \
16401 r=`${PWD_COMMAND}`; export r; \
16402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16403 $(HOST_EXPORTS) \
16404 for flag in $(EXTRA_HOST_FLAGS) ; do \
16405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16406 done; \
16407 echo "Doing install-html in mpc"; \
16408 (cd $(HOST_SUBDIR)/mpc && \
16409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16411 "RANLIB=$${RANLIB}" \
16412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16413 install-html) \
16414 || exit 1
16415
16416 @endif mpc
16417
16418 .PHONY: maybe-installcheck-mpc installcheck-mpc
16419 maybe-installcheck-mpc:
16420 @if mpc
16421 maybe-installcheck-mpc: installcheck-mpc
16422
16423 installcheck-mpc: \
16424 configure-mpc
16425 @[ -f ./mpc/Makefile ] || exit 0; \
16426 r=`${PWD_COMMAND}`; export r; \
16427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16428 $(HOST_EXPORTS) \
16429 for flag in $(EXTRA_HOST_FLAGS) ; do \
16430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16431 done; \
16432 echo "Doing installcheck in mpc"; \
16433 (cd $(HOST_SUBDIR)/mpc && \
16434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16436 "RANLIB=$${RANLIB}" \
16437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16438 installcheck) \
16439 || exit 1
16440
16441 @endif mpc
16442
16443 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
16444 maybe-mostlyclean-mpc:
16445 @if mpc
16446 maybe-mostlyclean-mpc: mostlyclean-mpc
16447
16448 mostlyclean-mpc:
16449 @[ -f ./mpc/Makefile ] || exit 0; \
16450 r=`${PWD_COMMAND}`; export r; \
16451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16452 $(HOST_EXPORTS) \
16453 for flag in $(EXTRA_HOST_FLAGS) ; do \
16454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16455 done; \
16456 echo "Doing mostlyclean in mpc"; \
16457 (cd $(HOST_SUBDIR)/mpc && \
16458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16460 "RANLIB=$${RANLIB}" \
16461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16462 mostlyclean) \
16463 || exit 1
16464
16465 @endif mpc
16466
16467 .PHONY: maybe-clean-mpc clean-mpc
16468 maybe-clean-mpc:
16469 @if mpc
16470 maybe-clean-mpc: clean-mpc
16471
16472 clean-mpc:
16473 @[ -f ./mpc/Makefile ] || exit 0; \
16474 r=`${PWD_COMMAND}`; export r; \
16475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16476 $(HOST_EXPORTS) \
16477 for flag in $(EXTRA_HOST_FLAGS) ; do \
16478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16479 done; \
16480 echo "Doing clean in mpc"; \
16481 (cd $(HOST_SUBDIR)/mpc && \
16482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16484 "RANLIB=$${RANLIB}" \
16485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16486 clean) \
16487 || exit 1
16488
16489 @endif mpc
16490
16491 .PHONY: maybe-distclean-mpc distclean-mpc
16492 maybe-distclean-mpc:
16493 @if mpc
16494 maybe-distclean-mpc: distclean-mpc
16495
16496 distclean-mpc:
16497 @[ -f ./mpc/Makefile ] || exit 0; \
16498 r=`${PWD_COMMAND}`; export r; \
16499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16500 $(HOST_EXPORTS) \
16501 for flag in $(EXTRA_HOST_FLAGS) ; do \
16502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16503 done; \
16504 echo "Doing distclean in mpc"; \
16505 (cd $(HOST_SUBDIR)/mpc && \
16506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16508 "RANLIB=$${RANLIB}" \
16509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16510 distclean) \
16511 || exit 1
16512
16513 @endif mpc
16514
16515 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
16516 maybe-maintainer-clean-mpc:
16517 @if mpc
16518 maybe-maintainer-clean-mpc: maintainer-clean-mpc
16519
16520 maintainer-clean-mpc:
16521 @[ -f ./mpc/Makefile ] || exit 0; \
16522 r=`${PWD_COMMAND}`; export r; \
16523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16524 $(HOST_EXPORTS) \
16525 for flag in $(EXTRA_HOST_FLAGS) ; do \
16526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16527 done; \
16528 echo "Doing maintainer-clean in mpc"; \
16529 (cd $(HOST_SUBDIR)/mpc && \
16530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16532 "RANLIB=$${RANLIB}" \
16533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16534 maintainer-clean) \
16535 || exit 1
16536
16537 @endif mpc
16538
16539
16540
16541 .PHONY: configure-isl maybe-configure-isl
16542 maybe-configure-isl:
16543 @if gcc-bootstrap
16544 configure-isl: stage_current
16545 @endif gcc-bootstrap
16546 @if isl
16547 maybe-configure-isl: configure-isl
16548 configure-isl:
16549 @r=`${PWD_COMMAND}`; export r; \
16550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16551 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16553 $(HOST_EXPORTS) \
16554 echo Configuring in $(HOST_SUBDIR)/isl; \
16555 cd "$(HOST_SUBDIR)/isl" || exit 1; \
16556 case $(srcdir) in \
16557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16558 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16560 esac; \
16561 module_srcdir=isl; \
16562 $(SHELL) \
16563 $$s/$$module_srcdir/configure \
16564 --srcdir=$${topdir}/$$module_srcdir \
16565 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16566 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
16567 || exit 1
16568 @endif isl
16569
16570
16571
16572 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
16573 maybe-configure-stage1-isl:
16574 @if isl-bootstrap
16575 maybe-configure-stage1-isl: configure-stage1-isl
16576 configure-stage1-isl:
16577 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16578 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16579 @r=`${PWD_COMMAND}`; export r; \
16580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16581 TFLAGS="$(STAGE1_TFLAGS)"; \
16582 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16583 $(HOST_EXPORTS) \
16584 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16585 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16586 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16587 echo Configuring stage 1 in $(HOST_SUBDIR)/isl; \
16588 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16589 cd $(HOST_SUBDIR)/isl || exit 1; \
16590 case $(srcdir) in \
16591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16592 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16594 esac; \
16595 module_srcdir=isl; \
16596 $(SHELL) $$s/$$module_srcdir/configure \
16597 --srcdir=$${topdir}/$$module_srcdir \
16598 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16599 --target=${target_alias} \
16600 \
16601 $(STAGE1_CONFIGURE_FLAGS) \
16602 --disable-shared @extra_isl_gmp_configure_flags@
16603 @endif isl-bootstrap
16604
16605 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
16606 maybe-configure-stage2-isl:
16607 @if isl-bootstrap
16608 maybe-configure-stage2-isl: configure-stage2-isl
16609 configure-stage2-isl:
16610 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16611 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16612 @r=`${PWD_COMMAND}`; export r; \
16613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16614 TFLAGS="$(STAGE2_TFLAGS)"; \
16615 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16616 $(HOST_EXPORTS) \
16617 $(POSTSTAGE1_HOST_EXPORTS) \
16618 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16619 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16620 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16621 echo Configuring stage 2 in $(HOST_SUBDIR)/isl; \
16622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16623 cd $(HOST_SUBDIR)/isl || exit 1; \
16624 case $(srcdir) in \
16625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16626 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16628 esac; \
16629 module_srcdir=isl; \
16630 $(SHELL) $$s/$$module_srcdir/configure \
16631 --srcdir=$${topdir}/$$module_srcdir \
16632 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16633 --target=${target_alias} \
16634 --with-build-libsubdir=$(HOST_SUBDIR) \
16635 $(STAGE2_CONFIGURE_FLAGS) \
16636 --disable-shared @extra_isl_gmp_configure_flags@
16637 @endif isl-bootstrap
16638
16639 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
16640 maybe-configure-stage3-isl:
16641 @if isl-bootstrap
16642 maybe-configure-stage3-isl: configure-stage3-isl
16643 configure-stage3-isl:
16644 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16645 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16646 @r=`${PWD_COMMAND}`; export r; \
16647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16648 TFLAGS="$(STAGE3_TFLAGS)"; \
16649 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16650 $(HOST_EXPORTS) \
16651 $(POSTSTAGE1_HOST_EXPORTS) \
16652 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16653 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16654 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16655 echo Configuring stage 3 in $(HOST_SUBDIR)/isl; \
16656 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16657 cd $(HOST_SUBDIR)/isl || exit 1; \
16658 case $(srcdir) in \
16659 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16660 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16661 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16662 esac; \
16663 module_srcdir=isl; \
16664 $(SHELL) $$s/$$module_srcdir/configure \
16665 --srcdir=$${topdir}/$$module_srcdir \
16666 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16667 --target=${target_alias} \
16668 --with-build-libsubdir=$(HOST_SUBDIR) \
16669 $(STAGE3_CONFIGURE_FLAGS) \
16670 --disable-shared @extra_isl_gmp_configure_flags@
16671 @endif isl-bootstrap
16672
16673 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
16674 maybe-configure-stage4-isl:
16675 @if isl-bootstrap
16676 maybe-configure-stage4-isl: configure-stage4-isl
16677 configure-stage4-isl:
16678 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16679 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16680 @r=`${PWD_COMMAND}`; export r; \
16681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16682 TFLAGS="$(STAGE4_TFLAGS)"; \
16683 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16684 $(HOST_EXPORTS) \
16685 $(POSTSTAGE1_HOST_EXPORTS) \
16686 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16687 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16688 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16689 echo Configuring stage 4 in $(HOST_SUBDIR)/isl; \
16690 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16691 cd $(HOST_SUBDIR)/isl || exit 1; \
16692 case $(srcdir) in \
16693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16694 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16696 esac; \
16697 module_srcdir=isl; \
16698 $(SHELL) $$s/$$module_srcdir/configure \
16699 --srcdir=$${topdir}/$$module_srcdir \
16700 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16701 --target=${target_alias} \
16702 --with-build-libsubdir=$(HOST_SUBDIR) \
16703 $(STAGE4_CONFIGURE_FLAGS) \
16704 --disable-shared @extra_isl_gmp_configure_flags@
16705 @endif isl-bootstrap
16706
16707 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
16708 maybe-configure-stageprofile-isl:
16709 @if isl-bootstrap
16710 maybe-configure-stageprofile-isl: configure-stageprofile-isl
16711 configure-stageprofile-isl:
16712 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16713 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16714 @r=`${PWD_COMMAND}`; export r; \
16715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16716 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16717 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16718 $(HOST_EXPORTS) \
16719 $(POSTSTAGE1_HOST_EXPORTS) \
16720 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16721 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16722 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16723 echo Configuring stage profile in $(HOST_SUBDIR)/isl; \
16724 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16725 cd $(HOST_SUBDIR)/isl || exit 1; \
16726 case $(srcdir) in \
16727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16728 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16730 esac; \
16731 module_srcdir=isl; \
16732 $(SHELL) $$s/$$module_srcdir/configure \
16733 --srcdir=$${topdir}/$$module_srcdir \
16734 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16735 --target=${target_alias} \
16736 --with-build-libsubdir=$(HOST_SUBDIR) \
16737 $(STAGEprofile_CONFIGURE_FLAGS) \
16738 --disable-shared @extra_isl_gmp_configure_flags@
16739 @endif isl-bootstrap
16740
16741 .PHONY: configure-stagetrain-isl maybe-configure-stagetrain-isl
16742 maybe-configure-stagetrain-isl:
16743 @if isl-bootstrap
16744 maybe-configure-stagetrain-isl: configure-stagetrain-isl
16745 configure-stagetrain-isl:
16746 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
16747 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16748 @r=`${PWD_COMMAND}`; export r; \
16749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16750 TFLAGS="$(STAGEtrain_TFLAGS)"; \
16751 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16752 $(HOST_EXPORTS) \
16753 $(POSTSTAGE1_HOST_EXPORTS) \
16754 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
16755 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
16756 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
16757 echo Configuring stage train in $(HOST_SUBDIR)/isl; \
16758 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16759 cd $(HOST_SUBDIR)/isl || exit 1; \
16760 case $(srcdir) in \
16761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16762 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16764 esac; \
16765 module_srcdir=isl; \
16766 $(SHELL) $$s/$$module_srcdir/configure \
16767 --srcdir=$${topdir}/$$module_srcdir \
16768 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16769 --target=${target_alias} \
16770 --with-build-libsubdir=$(HOST_SUBDIR) \
16771 $(STAGEtrain_CONFIGURE_FLAGS) \
16772 --disable-shared @extra_isl_gmp_configure_flags@
16773 @endif isl-bootstrap
16774
16775 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
16776 maybe-configure-stagefeedback-isl:
16777 @if isl-bootstrap
16778 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
16779 configure-stagefeedback-isl:
16780 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16781 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16782 @r=`${PWD_COMMAND}`; export r; \
16783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16784 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16785 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16786 $(HOST_EXPORTS) \
16787 $(POSTSTAGE1_HOST_EXPORTS) \
16788 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16789 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16790 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16791 echo Configuring stage feedback in $(HOST_SUBDIR)/isl; \
16792 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16793 cd $(HOST_SUBDIR)/isl || exit 1; \
16794 case $(srcdir) in \
16795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16796 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16798 esac; \
16799 module_srcdir=isl; \
16800 $(SHELL) $$s/$$module_srcdir/configure \
16801 --srcdir=$${topdir}/$$module_srcdir \
16802 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16803 --target=${target_alias} \
16804 --with-build-libsubdir=$(HOST_SUBDIR) \
16805 $(STAGEfeedback_CONFIGURE_FLAGS) \
16806 --disable-shared @extra_isl_gmp_configure_flags@
16807 @endif isl-bootstrap
16808
16809 .PHONY: configure-stageautoprofile-isl maybe-configure-stageautoprofile-isl
16810 maybe-configure-stageautoprofile-isl:
16811 @if isl-bootstrap
16812 maybe-configure-stageautoprofile-isl: configure-stageautoprofile-isl
16813 configure-stageautoprofile-isl:
16814 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
16815 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16816 @r=`${PWD_COMMAND}`; export r; \
16817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16818 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
16819 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16820 $(HOST_EXPORTS) \
16821 $(POSTSTAGE1_HOST_EXPORTS) \
16822 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
16823 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
16824 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
16825 echo Configuring stage autoprofile in $(HOST_SUBDIR)/isl; \
16826 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16827 cd $(HOST_SUBDIR)/isl || exit 1; \
16828 case $(srcdir) in \
16829 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16830 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16831 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16832 esac; \
16833 module_srcdir=isl; \
16834 $(SHELL) $$s/$$module_srcdir/configure \
16835 --srcdir=$${topdir}/$$module_srcdir \
16836 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16837 --target=${target_alias} \
16838 --with-build-libsubdir=$(HOST_SUBDIR) \
16839 $(STAGEautoprofile_CONFIGURE_FLAGS) \
16840 --disable-shared @extra_isl_gmp_configure_flags@
16841 @endif isl-bootstrap
16842
16843 .PHONY: configure-stageautofeedback-isl maybe-configure-stageautofeedback-isl
16844 maybe-configure-stageautofeedback-isl:
16845 @if isl-bootstrap
16846 maybe-configure-stageautofeedback-isl: configure-stageautofeedback-isl
16847 configure-stageautofeedback-isl:
16848 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
16849 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
16850 @r=`${PWD_COMMAND}`; export r; \
16851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16852 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
16853 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
16854 $(HOST_EXPORTS) \
16855 $(POSTSTAGE1_HOST_EXPORTS) \
16856 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
16857 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
16858 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
16859 echo Configuring stage autofeedback in $(HOST_SUBDIR)/isl; \
16860 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl; \
16861 cd $(HOST_SUBDIR)/isl || exit 1; \
16862 case $(srcdir) in \
16863 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16864 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
16865 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16866 esac; \
16867 module_srcdir=isl; \
16868 $(SHELL) $$s/$$module_srcdir/configure \
16869 --srcdir=$${topdir}/$$module_srcdir \
16870 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16871 --target=${target_alias} \
16872 --with-build-libsubdir=$(HOST_SUBDIR) \
16873 $(STAGEautofeedback_CONFIGURE_FLAGS) \
16874 --disable-shared @extra_isl_gmp_configure_flags@
16875 @endif isl-bootstrap
16876
16877
16878
16879
16880
16881 .PHONY: all-isl maybe-all-isl
16882 maybe-all-isl:
16883 @if gcc-bootstrap
16884 all-isl: stage_current
16885 @endif gcc-bootstrap
16886 @if isl
16887 TARGET-isl=all
16888 maybe-all-isl: all-isl
16889 all-isl: configure-isl
16890 @r=`${PWD_COMMAND}`; export r; \
16891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16892 $(HOST_EXPORTS) \
16893 (cd $(HOST_SUBDIR)/isl && \
16894 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
16895 $(TARGET-isl))
16896 @endif isl
16897
16898
16899
16900 .PHONY: all-stage1-isl maybe-all-stage1-isl
16901 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
16902 maybe-all-stage1-isl:
16903 maybe-clean-stage1-isl:
16904 @if isl-bootstrap
16905 maybe-all-stage1-isl: all-stage1-isl
16906 all-stage1: all-stage1-isl
16907 TARGET-stage1-isl = $(TARGET-isl)
16908 all-stage1-isl: configure-stage1-isl
16909 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16910 @r=`${PWD_COMMAND}`; export r; \
16911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16912 TFLAGS="$(STAGE1_TFLAGS)"; \
16913 $(HOST_EXPORTS) \
16914 cd $(HOST_SUBDIR)/isl && \
16915 \
16916 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16917 CFLAGS="$(STAGE1_CFLAGS)" \
16918 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
16919 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16920 LIBCFLAGS="$(LIBCFLAGS)" \
16921 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16922 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16923 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16924 $(EXTRA_HOST_FLAGS) \
16925 $(STAGE1_FLAGS_TO_PASS) V=1 \
16926 TFLAGS="$(STAGE1_TFLAGS)" \
16927 $(TARGET-stage1-isl)
16928
16929 maybe-clean-stage1-isl: clean-stage1-isl
16930 clean-stage1: clean-stage1-isl
16931 clean-stage1-isl:
16932 @if [ $(current_stage) = stage1 ]; then \
16933 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16934 else \
16935 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
16936 $(MAKE) stage1-start; \
16937 fi; \
16938 cd $(HOST_SUBDIR)/isl && \
16939 $(MAKE) $(EXTRA_HOST_FLAGS) \
16940 $(STAGE1_FLAGS_TO_PASS) V=1 clean
16941 @endif isl-bootstrap
16942
16943
16944 .PHONY: all-stage2-isl maybe-all-stage2-isl
16945 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
16946 maybe-all-stage2-isl:
16947 maybe-clean-stage2-isl:
16948 @if isl-bootstrap
16949 maybe-all-stage2-isl: all-stage2-isl
16950 all-stage2: all-stage2-isl
16951 TARGET-stage2-isl = $(TARGET-isl)
16952 all-stage2-isl: configure-stage2-isl
16953 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16954 @r=`${PWD_COMMAND}`; export r; \
16955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16956 TFLAGS="$(STAGE2_TFLAGS)"; \
16957 $(HOST_EXPORTS) \
16958 $(POSTSTAGE1_HOST_EXPORTS) \
16959 cd $(HOST_SUBDIR)/isl && \
16960 \
16961 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16962 CFLAGS="$(STAGE2_CFLAGS)" \
16963 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
16964 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16965 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16966 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16967 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16968 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16969 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
16970 TFLAGS="$(STAGE2_TFLAGS)" \
16971 $(TARGET-stage2-isl)
16972
16973 maybe-clean-stage2-isl: clean-stage2-isl
16974 clean-stage2: clean-stage2-isl
16975 clean-stage2-isl:
16976 @if [ $(current_stage) = stage2 ]; then \
16977 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
16978 else \
16979 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
16980 $(MAKE) stage2-start; \
16981 fi; \
16982 cd $(HOST_SUBDIR)/isl && \
16983 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
16984 @endif isl-bootstrap
16985
16986
16987 .PHONY: all-stage3-isl maybe-all-stage3-isl
16988 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
16989 maybe-all-stage3-isl:
16990 maybe-clean-stage3-isl:
16991 @if isl-bootstrap
16992 maybe-all-stage3-isl: all-stage3-isl
16993 all-stage3: all-stage3-isl
16994 TARGET-stage3-isl = $(TARGET-isl)
16995 all-stage3-isl: configure-stage3-isl
16996 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16997 @r=`${PWD_COMMAND}`; export r; \
16998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16999 TFLAGS="$(STAGE3_TFLAGS)"; \
17000 $(HOST_EXPORTS) \
17001 $(POSTSTAGE1_HOST_EXPORTS) \
17002 cd $(HOST_SUBDIR)/isl && \
17003 \
17004 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17005 CFLAGS="$(STAGE3_CFLAGS)" \
17006 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
17007 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17008 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17009 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17010 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17011 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17012 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17013 TFLAGS="$(STAGE3_TFLAGS)" \
17014 $(TARGET-stage3-isl)
17015
17016 maybe-clean-stage3-isl: clean-stage3-isl
17017 clean-stage3: clean-stage3-isl
17018 clean-stage3-isl:
17019 @if [ $(current_stage) = stage3 ]; then \
17020 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17021 else \
17022 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
17023 $(MAKE) stage3-start; \
17024 fi; \
17025 cd $(HOST_SUBDIR)/isl && \
17026 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17027 @endif isl-bootstrap
17028
17029
17030 .PHONY: all-stage4-isl maybe-all-stage4-isl
17031 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
17032 maybe-all-stage4-isl:
17033 maybe-clean-stage4-isl:
17034 @if isl-bootstrap
17035 maybe-all-stage4-isl: all-stage4-isl
17036 all-stage4: all-stage4-isl
17037 TARGET-stage4-isl = $(TARGET-isl)
17038 all-stage4-isl: configure-stage4-isl
17039 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17040 @r=`${PWD_COMMAND}`; export r; \
17041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17042 TFLAGS="$(STAGE4_TFLAGS)"; \
17043 $(HOST_EXPORTS) \
17044 $(POSTSTAGE1_HOST_EXPORTS) \
17045 cd $(HOST_SUBDIR)/isl && \
17046 \
17047 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17048 CFLAGS="$(STAGE4_CFLAGS)" \
17049 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
17050 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17051 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17052 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17053 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17054 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17055 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17056 TFLAGS="$(STAGE4_TFLAGS)" \
17057 $(TARGET-stage4-isl)
17058
17059 maybe-clean-stage4-isl: clean-stage4-isl
17060 clean-stage4: clean-stage4-isl
17061 clean-stage4-isl:
17062 @if [ $(current_stage) = stage4 ]; then \
17063 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17064 else \
17065 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
17066 $(MAKE) stage4-start; \
17067 fi; \
17068 cd $(HOST_SUBDIR)/isl && \
17069 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17070 @endif isl-bootstrap
17071
17072
17073 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
17074 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
17075 maybe-all-stageprofile-isl:
17076 maybe-clean-stageprofile-isl:
17077 @if isl-bootstrap
17078 maybe-all-stageprofile-isl: all-stageprofile-isl
17079 all-stageprofile: all-stageprofile-isl
17080 TARGET-stageprofile-isl = $(TARGET-isl)
17081 all-stageprofile-isl: configure-stageprofile-isl
17082 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17083 @r=`${PWD_COMMAND}`; export r; \
17084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17085 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17086 $(HOST_EXPORTS) \
17087 $(POSTSTAGE1_HOST_EXPORTS) \
17088 cd $(HOST_SUBDIR)/isl && \
17089 \
17090 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17091 CFLAGS="$(STAGEprofile_CFLAGS)" \
17092 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
17093 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17094 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17095 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17096 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17097 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17098 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17099 TFLAGS="$(STAGEprofile_TFLAGS)" \
17100 $(TARGET-stageprofile-isl)
17101
17102 maybe-clean-stageprofile-isl: clean-stageprofile-isl
17103 clean-stageprofile: clean-stageprofile-isl
17104 clean-stageprofile-isl:
17105 @if [ $(current_stage) = stageprofile ]; then \
17106 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17107 else \
17108 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
17109 $(MAKE) stageprofile-start; \
17110 fi; \
17111 cd $(HOST_SUBDIR)/isl && \
17112 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17113 @endif isl-bootstrap
17114
17115
17116 .PHONY: all-stagetrain-isl maybe-all-stagetrain-isl
17117 .PHONY: clean-stagetrain-isl maybe-clean-stagetrain-isl
17118 maybe-all-stagetrain-isl:
17119 maybe-clean-stagetrain-isl:
17120 @if isl-bootstrap
17121 maybe-all-stagetrain-isl: all-stagetrain-isl
17122 all-stagetrain: all-stagetrain-isl
17123 TARGET-stagetrain-isl = $(TARGET-isl)
17124 all-stagetrain-isl: configure-stagetrain-isl
17125 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17126 @r=`${PWD_COMMAND}`; export r; \
17127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17128 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17129 $(HOST_EXPORTS) \
17130 $(POSTSTAGE1_HOST_EXPORTS) \
17131 cd $(HOST_SUBDIR)/isl && \
17132 \
17133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17134 CFLAGS="$(STAGEtrain_CFLAGS)" \
17135 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
17136 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
17137 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
17138 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17139 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17140 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17141 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17142 TFLAGS="$(STAGEtrain_TFLAGS)" \
17143 $(TARGET-stagetrain-isl)
17144
17145 maybe-clean-stagetrain-isl: clean-stagetrain-isl
17146 clean-stagetrain: clean-stagetrain-isl
17147 clean-stagetrain-isl:
17148 @if [ $(current_stage) = stagetrain ]; then \
17149 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17150 else \
17151 [ -f $(HOST_SUBDIR)/stagetrain-isl/Makefile ] || exit 0; \
17152 $(MAKE) stagetrain-start; \
17153 fi; \
17154 cd $(HOST_SUBDIR)/isl && \
17155 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17156 @endif isl-bootstrap
17157
17158
17159 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
17160 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
17161 maybe-all-stagefeedback-isl:
17162 maybe-clean-stagefeedback-isl:
17163 @if isl-bootstrap
17164 maybe-all-stagefeedback-isl: all-stagefeedback-isl
17165 all-stagefeedback: all-stagefeedback-isl
17166 TARGET-stagefeedback-isl = $(TARGET-isl)
17167 all-stagefeedback-isl: configure-stagefeedback-isl
17168 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17169 @r=`${PWD_COMMAND}`; export r; \
17170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17171 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17172 $(HOST_EXPORTS) \
17173 $(POSTSTAGE1_HOST_EXPORTS) \
17174 cd $(HOST_SUBDIR)/isl && \
17175 \
17176 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17177 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17178 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
17179 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17180 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17181 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17182 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17183 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17184 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17185 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17186 $(TARGET-stagefeedback-isl)
17187
17188 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
17189 clean-stagefeedback: clean-stagefeedback-isl
17190 clean-stagefeedback-isl:
17191 @if [ $(current_stage) = stagefeedback ]; then \
17192 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17193 else \
17194 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
17195 $(MAKE) stagefeedback-start; \
17196 fi; \
17197 cd $(HOST_SUBDIR)/isl && \
17198 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17199 @endif isl-bootstrap
17200
17201
17202 .PHONY: all-stageautoprofile-isl maybe-all-stageautoprofile-isl
17203 .PHONY: clean-stageautoprofile-isl maybe-clean-stageautoprofile-isl
17204 maybe-all-stageautoprofile-isl:
17205 maybe-clean-stageautoprofile-isl:
17206 @if isl-bootstrap
17207 maybe-all-stageautoprofile-isl: all-stageautoprofile-isl
17208 all-stageautoprofile: all-stageautoprofile-isl
17209 TARGET-stageautoprofile-isl = $(TARGET-isl)
17210 all-stageautoprofile-isl: configure-stageautoprofile-isl
17211 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17212 @r=`${PWD_COMMAND}`; export r; \
17213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17214 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17215 $(HOST_EXPORTS) \
17216 $(POSTSTAGE1_HOST_EXPORTS) \
17217 cd $(HOST_SUBDIR)/isl && \
17218 $$s/gcc/config/i386/$(AUTO_PROFILE) \
17219 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17220 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
17221 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
17222 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
17223 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
17224 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17225 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17226 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17227 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17228 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
17229 $(TARGET-stageautoprofile-isl)
17230
17231 maybe-clean-stageautoprofile-isl: clean-stageautoprofile-isl
17232 clean-stageautoprofile: clean-stageautoprofile-isl
17233 clean-stageautoprofile-isl:
17234 @if [ $(current_stage) = stageautoprofile ]; then \
17235 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17236 else \
17237 [ -f $(HOST_SUBDIR)/stageautoprofile-isl/Makefile ] || exit 0; \
17238 $(MAKE) stageautoprofile-start; \
17239 fi; \
17240 cd $(HOST_SUBDIR)/isl && \
17241 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17242 @endif isl-bootstrap
17243
17244
17245 .PHONY: all-stageautofeedback-isl maybe-all-stageautofeedback-isl
17246 .PHONY: clean-stageautofeedback-isl maybe-clean-stageautofeedback-isl
17247 maybe-all-stageautofeedback-isl:
17248 maybe-clean-stageautofeedback-isl:
17249 @if isl-bootstrap
17250 maybe-all-stageautofeedback-isl: all-stageautofeedback-isl
17251 all-stageautofeedback: all-stageautofeedback-isl
17252 TARGET-stageautofeedback-isl = $(TARGET-isl)
17253 all-stageautofeedback-isl: configure-stageautofeedback-isl
17254 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17255 @r=`${PWD_COMMAND}`; export r; \
17256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17257 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17258 $(HOST_EXPORTS) \
17259 $(POSTSTAGE1_HOST_EXPORTS) \
17260 cd $(HOST_SUBDIR)/isl && \
17261 \
17262 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17263 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
17264 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
17265 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
17266 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
17267 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17268 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17269 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17270 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
17271 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
17272 $(TARGET-stageautofeedback-isl)
17273
17274 maybe-clean-stageautofeedback-isl: clean-stageautofeedback-isl
17275 clean-stageautofeedback: clean-stageautofeedback-isl
17276 clean-stageautofeedback-isl:
17277 @if [ $(current_stage) = stageautofeedback ]; then \
17278 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
17279 else \
17280 [ -f $(HOST_SUBDIR)/stageautofeedback-isl/Makefile ] || exit 0; \
17281 $(MAKE) stageautofeedback-start; \
17282 fi; \
17283 cd $(HOST_SUBDIR)/isl && \
17284 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
17285 @endif isl-bootstrap
17286
17287
17288
17289
17290
17291 .PHONY: check-isl maybe-check-isl
17292 maybe-check-isl:
17293 @if isl
17294 maybe-check-isl: check-isl
17295
17296 check-isl:
17297 @: $(MAKE); $(unstage)
17298 @r=`${PWD_COMMAND}`; export r; \
17299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17300 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
17301 (cd $(HOST_SUBDIR)/isl && \
17302 $(MAKE) $(FLAGS_TO_PASS) V=1 $(EXTRA_BOOTSTRAP_FLAGS) check)
17303
17304 @endif isl
17305
17306 .PHONY: install-isl maybe-install-isl
17307 maybe-install-isl:
17308 @if isl
17309 maybe-install-isl: install-isl
17310
17311 install-isl:
17312
17313 @endif isl
17314
17315 .PHONY: install-strip-isl maybe-install-strip-isl
17316 maybe-install-strip-isl:
17317 @if isl
17318 maybe-install-strip-isl: install-strip-isl
17319
17320 install-strip-isl:
17321
17322 @endif isl
17323
17324 # Other targets (info, dvi, pdf, etc.)
17325
17326 .PHONY: maybe-info-isl info-isl
17327 maybe-info-isl:
17328 @if isl
17329 maybe-info-isl: info-isl
17330
17331 info-isl: \
17332 configure-isl
17333 @[ -f ./isl/Makefile ] || exit 0; \
17334 r=`${PWD_COMMAND}`; export r; \
17335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17336 $(HOST_EXPORTS) \
17337 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17339 done; \
17340 echo "Doing info in isl"; \
17341 (cd $(HOST_SUBDIR)/isl && \
17342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17344 "RANLIB=$${RANLIB}" \
17345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17346 info) \
17347 || exit 1
17348
17349 @endif isl
17350
17351 .PHONY: maybe-dvi-isl dvi-isl
17352 maybe-dvi-isl:
17353 @if isl
17354 maybe-dvi-isl: dvi-isl
17355
17356 dvi-isl: \
17357 configure-isl
17358 @[ -f ./isl/Makefile ] || exit 0; \
17359 r=`${PWD_COMMAND}`; export r; \
17360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17361 $(HOST_EXPORTS) \
17362 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17364 done; \
17365 echo "Doing dvi in isl"; \
17366 (cd $(HOST_SUBDIR)/isl && \
17367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17369 "RANLIB=$${RANLIB}" \
17370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17371 dvi) \
17372 || exit 1
17373
17374 @endif isl
17375
17376 .PHONY: maybe-pdf-isl pdf-isl
17377 maybe-pdf-isl:
17378 @if isl
17379 maybe-pdf-isl: pdf-isl
17380
17381 pdf-isl: \
17382 configure-isl
17383 @[ -f ./isl/Makefile ] || exit 0; \
17384 r=`${PWD_COMMAND}`; export r; \
17385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17386 $(HOST_EXPORTS) \
17387 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17389 done; \
17390 echo "Doing pdf in isl"; \
17391 (cd $(HOST_SUBDIR)/isl && \
17392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17394 "RANLIB=$${RANLIB}" \
17395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17396 pdf) \
17397 || exit 1
17398
17399 @endif isl
17400
17401 .PHONY: maybe-html-isl html-isl
17402 maybe-html-isl:
17403 @if isl
17404 maybe-html-isl: html-isl
17405
17406 html-isl: \
17407 configure-isl
17408 @[ -f ./isl/Makefile ] || exit 0; \
17409 r=`${PWD_COMMAND}`; export r; \
17410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17411 $(HOST_EXPORTS) \
17412 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17414 done; \
17415 echo "Doing html in isl"; \
17416 (cd $(HOST_SUBDIR)/isl && \
17417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17419 "RANLIB=$${RANLIB}" \
17420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17421 html) \
17422 || exit 1
17423
17424 @endif isl
17425
17426 .PHONY: maybe-TAGS-isl TAGS-isl
17427 maybe-TAGS-isl:
17428 @if isl
17429 maybe-TAGS-isl: TAGS-isl
17430
17431 TAGS-isl: \
17432 configure-isl
17433 @[ -f ./isl/Makefile ] || exit 0; \
17434 r=`${PWD_COMMAND}`; export r; \
17435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17436 $(HOST_EXPORTS) \
17437 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17439 done; \
17440 echo "Doing TAGS in isl"; \
17441 (cd $(HOST_SUBDIR)/isl && \
17442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17444 "RANLIB=$${RANLIB}" \
17445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17446 TAGS) \
17447 || exit 1
17448
17449 @endif isl
17450
17451 .PHONY: maybe-install-info-isl install-info-isl
17452 maybe-install-info-isl:
17453 @if isl
17454 maybe-install-info-isl: install-info-isl
17455
17456 install-info-isl: \
17457 configure-isl \
17458 info-isl
17459 @[ -f ./isl/Makefile ] || exit 0; \
17460 r=`${PWD_COMMAND}`; export r; \
17461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17462 $(HOST_EXPORTS) \
17463 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17465 done; \
17466 echo "Doing install-info in isl"; \
17467 (cd $(HOST_SUBDIR)/isl && \
17468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17470 "RANLIB=$${RANLIB}" \
17471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17472 install-info) \
17473 || exit 1
17474
17475 @endif isl
17476
17477 .PHONY: maybe-install-dvi-isl install-dvi-isl
17478 maybe-install-dvi-isl:
17479 @if isl
17480 maybe-install-dvi-isl: install-dvi-isl
17481
17482 install-dvi-isl: \
17483 configure-isl \
17484 dvi-isl
17485 @[ -f ./isl/Makefile ] || exit 0; \
17486 r=`${PWD_COMMAND}`; export r; \
17487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17488 $(HOST_EXPORTS) \
17489 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17491 done; \
17492 echo "Doing install-dvi in isl"; \
17493 (cd $(HOST_SUBDIR)/isl && \
17494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17496 "RANLIB=$${RANLIB}" \
17497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17498 install-dvi) \
17499 || exit 1
17500
17501 @endif isl
17502
17503 .PHONY: maybe-install-pdf-isl install-pdf-isl
17504 maybe-install-pdf-isl:
17505 @if isl
17506 maybe-install-pdf-isl: install-pdf-isl
17507
17508 install-pdf-isl: \
17509 configure-isl \
17510 pdf-isl
17511 @[ -f ./isl/Makefile ] || exit 0; \
17512 r=`${PWD_COMMAND}`; export r; \
17513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17514 $(HOST_EXPORTS) \
17515 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17517 done; \
17518 echo "Doing install-pdf in isl"; \
17519 (cd $(HOST_SUBDIR)/isl && \
17520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17522 "RANLIB=$${RANLIB}" \
17523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17524 install-pdf) \
17525 || exit 1
17526
17527 @endif isl
17528
17529 .PHONY: maybe-install-html-isl install-html-isl
17530 maybe-install-html-isl:
17531 @if isl
17532 maybe-install-html-isl: install-html-isl
17533
17534 install-html-isl: \
17535 configure-isl \
17536 html-isl
17537 @[ -f ./isl/Makefile ] || exit 0; \
17538 r=`${PWD_COMMAND}`; export r; \
17539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17540 $(HOST_EXPORTS) \
17541 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17543 done; \
17544 echo "Doing install-html in isl"; \
17545 (cd $(HOST_SUBDIR)/isl && \
17546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17548 "RANLIB=$${RANLIB}" \
17549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17550 install-html) \
17551 || exit 1
17552
17553 @endif isl
17554
17555 .PHONY: maybe-installcheck-isl installcheck-isl
17556 maybe-installcheck-isl:
17557 @if isl
17558 maybe-installcheck-isl: installcheck-isl
17559
17560 installcheck-isl: \
17561 configure-isl
17562 @[ -f ./isl/Makefile ] || exit 0; \
17563 r=`${PWD_COMMAND}`; export r; \
17564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17565 $(HOST_EXPORTS) \
17566 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17568 done; \
17569 echo "Doing installcheck in isl"; \
17570 (cd $(HOST_SUBDIR)/isl && \
17571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17573 "RANLIB=$${RANLIB}" \
17574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17575 installcheck) \
17576 || exit 1
17577
17578 @endif isl
17579
17580 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
17581 maybe-mostlyclean-isl:
17582 @if isl
17583 maybe-mostlyclean-isl: mostlyclean-isl
17584
17585 mostlyclean-isl:
17586 @[ -f ./isl/Makefile ] || exit 0; \
17587 r=`${PWD_COMMAND}`; export r; \
17588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17589 $(HOST_EXPORTS) \
17590 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17592 done; \
17593 echo "Doing mostlyclean in isl"; \
17594 (cd $(HOST_SUBDIR)/isl && \
17595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17597 "RANLIB=$${RANLIB}" \
17598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17599 mostlyclean) \
17600 || exit 1
17601
17602 @endif isl
17603
17604 .PHONY: maybe-clean-isl clean-isl
17605 maybe-clean-isl:
17606 @if isl
17607 maybe-clean-isl: clean-isl
17608
17609 clean-isl:
17610 @[ -f ./isl/Makefile ] || exit 0; \
17611 r=`${PWD_COMMAND}`; export r; \
17612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17613 $(HOST_EXPORTS) \
17614 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17616 done; \
17617 echo "Doing clean in isl"; \
17618 (cd $(HOST_SUBDIR)/isl && \
17619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17621 "RANLIB=$${RANLIB}" \
17622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17623 clean) \
17624 || exit 1
17625
17626 @endif isl
17627
17628 .PHONY: maybe-distclean-isl distclean-isl
17629 maybe-distclean-isl:
17630 @if isl
17631 maybe-distclean-isl: distclean-isl
17632
17633 distclean-isl:
17634 @[ -f ./isl/Makefile ] || exit 0; \
17635 r=`${PWD_COMMAND}`; export r; \
17636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17637 $(HOST_EXPORTS) \
17638 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17640 done; \
17641 echo "Doing distclean in isl"; \
17642 (cd $(HOST_SUBDIR)/isl && \
17643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17645 "RANLIB=$${RANLIB}" \
17646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17647 distclean) \
17648 || exit 1
17649
17650 @endif isl
17651
17652 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
17653 maybe-maintainer-clean-isl:
17654 @if isl
17655 maybe-maintainer-clean-isl: maintainer-clean-isl
17656
17657 maintainer-clean-isl:
17658 @[ -f ./isl/Makefile ] || exit 0; \
17659 r=`${PWD_COMMAND}`; export r; \
17660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17661 $(HOST_EXPORTS) \
17662 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
17663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17664 done; \
17665 echo "Doing maintainer-clean in isl"; \
17666 (cd $(HOST_SUBDIR)/isl && \
17667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17669 "RANLIB=$${RANLIB}" \
17670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17671 maintainer-clean) \
17672 || exit 1
17673
17674 @endif isl
17675
17676
17677
17678 .PHONY: configure-libelf maybe-configure-libelf
17679 maybe-configure-libelf:
17680 @if gcc-bootstrap
17681 configure-libelf: stage_current
17682 @endif gcc-bootstrap
17683 @if libelf
17684 maybe-configure-libelf: configure-libelf
17685 configure-libelf:
17686 @r=`${PWD_COMMAND}`; export r; \
17687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17688 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17690 $(HOST_EXPORTS) \
17691 echo Configuring in $(HOST_SUBDIR)/libelf; \
17692 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
17693 case $(srcdir) in \
17694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17695 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17697 esac; \
17698 module_srcdir=libelf; \
17699 $(SHELL) \
17700 $$s/$$module_srcdir/configure \
17701 --srcdir=$${topdir}/$$module_srcdir \
17702 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17703 --target=${target_alias} --disable-shared \
17704 || exit 1
17705 @endif libelf
17706
17707
17708
17709 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
17710 maybe-configure-stage1-libelf:
17711 @if libelf-bootstrap
17712 maybe-configure-stage1-libelf: configure-stage1-libelf
17713 configure-stage1-libelf:
17714 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17715 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17716 @r=`${PWD_COMMAND}`; export r; \
17717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17718 TFLAGS="$(STAGE1_TFLAGS)"; \
17719 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17720 $(HOST_EXPORTS) \
17721 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17722 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17723 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17724 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf; \
17725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17726 cd $(HOST_SUBDIR)/libelf || exit 1; \
17727 case $(srcdir) in \
17728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17729 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17731 esac; \
17732 module_srcdir=libelf; \
17733 $(SHELL) $$s/$$module_srcdir/configure \
17734 --srcdir=$${topdir}/$$module_srcdir \
17735 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17736 --target=${target_alias} \
17737 \
17738 $(STAGE1_CONFIGURE_FLAGS) \
17739 --disable-shared
17740 @endif libelf-bootstrap
17741
17742 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
17743 maybe-configure-stage2-libelf:
17744 @if libelf-bootstrap
17745 maybe-configure-stage2-libelf: configure-stage2-libelf
17746 configure-stage2-libelf:
17747 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17748 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17749 @r=`${PWD_COMMAND}`; export r; \
17750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17751 TFLAGS="$(STAGE2_TFLAGS)"; \
17752 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17753 $(HOST_EXPORTS) \
17754 $(POSTSTAGE1_HOST_EXPORTS) \
17755 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17756 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17757 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17758 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf; \
17759 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17760 cd $(HOST_SUBDIR)/libelf || exit 1; \
17761 case $(srcdir) in \
17762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17763 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17765 esac; \
17766 module_srcdir=libelf; \
17767 $(SHELL) $$s/$$module_srcdir/configure \
17768 --srcdir=$${topdir}/$$module_srcdir \
17769 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17770 --target=${target_alias} \
17771 --with-build-libsubdir=$(HOST_SUBDIR) \
17772 $(STAGE2_CONFIGURE_FLAGS) \
17773 --disable-shared
17774 @endif libelf-bootstrap
17775
17776 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
17777 maybe-configure-stage3-libelf:
17778 @if libelf-bootstrap
17779 maybe-configure-stage3-libelf: configure-stage3-libelf
17780 configure-stage3-libelf:
17781 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17782 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17783 @r=`${PWD_COMMAND}`; export r; \
17784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17785 TFLAGS="$(STAGE3_TFLAGS)"; \
17786 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17787 $(HOST_EXPORTS) \
17788 $(POSTSTAGE1_HOST_EXPORTS) \
17789 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17790 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17791 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17792 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf; \
17793 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17794 cd $(HOST_SUBDIR)/libelf || exit 1; \
17795 case $(srcdir) in \
17796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17797 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17799 esac; \
17800 module_srcdir=libelf; \
17801 $(SHELL) $$s/$$module_srcdir/configure \
17802 --srcdir=$${topdir}/$$module_srcdir \
17803 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17804 --target=${target_alias} \
17805 --with-build-libsubdir=$(HOST_SUBDIR) \
17806 $(STAGE3_CONFIGURE_FLAGS) \
17807 --disable-shared
17808 @endif libelf-bootstrap
17809
17810 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
17811 maybe-configure-stage4-libelf:
17812 @if libelf-bootstrap
17813 maybe-configure-stage4-libelf: configure-stage4-libelf
17814 configure-stage4-libelf:
17815 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17816 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17817 @r=`${PWD_COMMAND}`; export r; \
17818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17819 TFLAGS="$(STAGE4_TFLAGS)"; \
17820 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17821 $(HOST_EXPORTS) \
17822 $(POSTSTAGE1_HOST_EXPORTS) \
17823 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17824 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17825 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17826 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf; \
17827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17828 cd $(HOST_SUBDIR)/libelf || exit 1; \
17829 case $(srcdir) in \
17830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17831 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17833 esac; \
17834 module_srcdir=libelf; \
17835 $(SHELL) $$s/$$module_srcdir/configure \
17836 --srcdir=$${topdir}/$$module_srcdir \
17837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17838 --target=${target_alias} \
17839 --with-build-libsubdir=$(HOST_SUBDIR) \
17840 $(STAGE4_CONFIGURE_FLAGS) \
17841 --disable-shared
17842 @endif libelf-bootstrap
17843
17844 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
17845 maybe-configure-stageprofile-libelf:
17846 @if libelf-bootstrap
17847 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
17848 configure-stageprofile-libelf:
17849 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17850 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17851 @r=`${PWD_COMMAND}`; export r; \
17852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17853 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17854 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17855 $(HOST_EXPORTS) \
17856 $(POSTSTAGE1_HOST_EXPORTS) \
17857 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17858 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17859 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17860 echo Configuring stage profile in $(HOST_SUBDIR)/libelf; \
17861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17862 cd $(HOST_SUBDIR)/libelf || exit 1; \
17863 case $(srcdir) in \
17864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17865 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17867 esac; \
17868 module_srcdir=libelf; \
17869 $(SHELL) $$s/$$module_srcdir/configure \
17870 --srcdir=$${topdir}/$$module_srcdir \
17871 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17872 --target=${target_alias} \
17873 --with-build-libsubdir=$(HOST_SUBDIR) \
17874 $(STAGEprofile_CONFIGURE_FLAGS) \
17875 --disable-shared
17876 @endif libelf-bootstrap
17877
17878 .PHONY: configure-stagetrain-libelf maybe-configure-stagetrain-libelf
17879 maybe-configure-stagetrain-libelf:
17880 @if libelf-bootstrap
17881 maybe-configure-stagetrain-libelf: configure-stagetrain-libelf
17882 configure-stagetrain-libelf:
17883 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
17884 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17885 @r=`${PWD_COMMAND}`; export r; \
17886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17887 TFLAGS="$(STAGEtrain_TFLAGS)"; \
17888 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17889 $(HOST_EXPORTS) \
17890 $(POSTSTAGE1_HOST_EXPORTS) \
17891 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
17892 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
17893 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
17894 echo Configuring stage train in $(HOST_SUBDIR)/libelf; \
17895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17896 cd $(HOST_SUBDIR)/libelf || exit 1; \
17897 case $(srcdir) in \
17898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17899 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17901 esac; \
17902 module_srcdir=libelf; \
17903 $(SHELL) $$s/$$module_srcdir/configure \
17904 --srcdir=$${topdir}/$$module_srcdir \
17905 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17906 --target=${target_alias} \
17907 --with-build-libsubdir=$(HOST_SUBDIR) \
17908 $(STAGEtrain_CONFIGURE_FLAGS) \
17909 --disable-shared
17910 @endif libelf-bootstrap
17911
17912 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
17913 maybe-configure-stagefeedback-libelf:
17914 @if libelf-bootstrap
17915 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
17916 configure-stagefeedback-libelf:
17917 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17918 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17919 @r=`${PWD_COMMAND}`; export r; \
17920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17921 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17922 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17923 $(HOST_EXPORTS) \
17924 $(POSTSTAGE1_HOST_EXPORTS) \
17925 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17926 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17927 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17928 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf; \
17929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17930 cd $(HOST_SUBDIR)/libelf || exit 1; \
17931 case $(srcdir) in \
17932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17933 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17935 esac; \
17936 module_srcdir=libelf; \
17937 $(SHELL) $$s/$$module_srcdir/configure \
17938 --srcdir=$${topdir}/$$module_srcdir \
17939 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17940 --target=${target_alias} \
17941 --with-build-libsubdir=$(HOST_SUBDIR) \
17942 $(STAGEfeedback_CONFIGURE_FLAGS) \
17943 --disable-shared
17944 @endif libelf-bootstrap
17945
17946 .PHONY: configure-stageautoprofile-libelf maybe-configure-stageautoprofile-libelf
17947 maybe-configure-stageautoprofile-libelf:
17948 @if libelf-bootstrap
17949 maybe-configure-stageautoprofile-libelf: configure-stageautoprofile-libelf
17950 configure-stageautoprofile-libelf:
17951 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
17952 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17953 @r=`${PWD_COMMAND}`; export r; \
17954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17955 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
17956 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17957 $(HOST_EXPORTS) \
17958 $(POSTSTAGE1_HOST_EXPORTS) \
17959 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
17960 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
17961 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
17962 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libelf; \
17963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17964 cd $(HOST_SUBDIR)/libelf || exit 1; \
17965 case $(srcdir) in \
17966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17967 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
17968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17969 esac; \
17970 module_srcdir=libelf; \
17971 $(SHELL) $$s/$$module_srcdir/configure \
17972 --srcdir=$${topdir}/$$module_srcdir \
17973 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17974 --target=${target_alias} \
17975 --with-build-libsubdir=$(HOST_SUBDIR) \
17976 $(STAGEautoprofile_CONFIGURE_FLAGS) \
17977 --disable-shared
17978 @endif libelf-bootstrap
17979
17980 .PHONY: configure-stageautofeedback-libelf maybe-configure-stageautofeedback-libelf
17981 maybe-configure-stageautofeedback-libelf:
17982 @if libelf-bootstrap
17983 maybe-configure-stageautofeedback-libelf: configure-stageautofeedback-libelf
17984 configure-stageautofeedback-libelf:
17985 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
17986 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
17987 @r=`${PWD_COMMAND}`; export r; \
17988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17989 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
17990 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
17991 $(HOST_EXPORTS) \
17992 $(POSTSTAGE1_HOST_EXPORTS) \
17993 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
17994 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
17995 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
17996 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libelf; \
17997 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf; \
17998 cd $(HOST_SUBDIR)/libelf || exit 1; \
17999 case $(srcdir) in \
18000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18001 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
18002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18003 esac; \
18004 module_srcdir=libelf; \
18005 $(SHELL) $$s/$$module_srcdir/configure \
18006 --srcdir=$${topdir}/$$module_srcdir \
18007 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18008 --target=${target_alias} \
18009 --with-build-libsubdir=$(HOST_SUBDIR) \
18010 $(STAGEautofeedback_CONFIGURE_FLAGS) \
18011 --disable-shared
18012 @endif libelf-bootstrap
18013
18014
18015
18016
18017
18018 .PHONY: all-libelf maybe-all-libelf
18019 maybe-all-libelf:
18020 @if gcc-bootstrap
18021 all-libelf: stage_current
18022 @endif gcc-bootstrap
18023 @if libelf
18024 TARGET-libelf=all
18025 maybe-all-libelf: all-libelf
18026 all-libelf: configure-libelf
18027 @r=`${PWD_COMMAND}`; export r; \
18028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18029 $(HOST_EXPORTS) \
18030 (cd $(HOST_SUBDIR)/libelf && \
18031 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18032 $(TARGET-libelf))
18033 @endif libelf
18034
18035
18036
18037 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
18038 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
18039 maybe-all-stage1-libelf:
18040 maybe-clean-stage1-libelf:
18041 @if libelf-bootstrap
18042 maybe-all-stage1-libelf: all-stage1-libelf
18043 all-stage1: all-stage1-libelf
18044 TARGET-stage1-libelf = $(TARGET-libelf)
18045 all-stage1-libelf: configure-stage1-libelf
18046 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18047 @r=`${PWD_COMMAND}`; export r; \
18048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18049 TFLAGS="$(STAGE1_TFLAGS)"; \
18050 $(HOST_EXPORTS) \
18051 cd $(HOST_SUBDIR)/libelf && \
18052 \
18053 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18054 CFLAGS="$(STAGE1_CFLAGS)" \
18055 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
18056 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18057 LIBCFLAGS="$(LIBCFLAGS)" \
18058 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18059 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18060 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18061 $(EXTRA_HOST_FLAGS) \
18062 $(STAGE1_FLAGS_TO_PASS) \
18063 TFLAGS="$(STAGE1_TFLAGS)" \
18064 $(TARGET-stage1-libelf)
18065
18066 maybe-clean-stage1-libelf: clean-stage1-libelf
18067 clean-stage1: clean-stage1-libelf
18068 clean-stage1-libelf:
18069 @if [ $(current_stage) = stage1 ]; then \
18070 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18071 else \
18072 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
18073 $(MAKE) stage1-start; \
18074 fi; \
18075 cd $(HOST_SUBDIR)/libelf && \
18076 $(MAKE) $(EXTRA_HOST_FLAGS) \
18077 $(STAGE1_FLAGS_TO_PASS) clean
18078 @endif libelf-bootstrap
18079
18080
18081 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
18082 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
18083 maybe-all-stage2-libelf:
18084 maybe-clean-stage2-libelf:
18085 @if libelf-bootstrap
18086 maybe-all-stage2-libelf: all-stage2-libelf
18087 all-stage2: all-stage2-libelf
18088 TARGET-stage2-libelf = $(TARGET-libelf)
18089 all-stage2-libelf: configure-stage2-libelf
18090 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18091 @r=`${PWD_COMMAND}`; export r; \
18092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18093 TFLAGS="$(STAGE2_TFLAGS)"; \
18094 $(HOST_EXPORTS) \
18095 $(POSTSTAGE1_HOST_EXPORTS) \
18096 cd $(HOST_SUBDIR)/libelf && \
18097 \
18098 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18099 CFLAGS="$(STAGE2_CFLAGS)" \
18100 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
18101 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18102 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18103 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18104 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18105 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18106 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18107 TFLAGS="$(STAGE2_TFLAGS)" \
18108 $(TARGET-stage2-libelf)
18109
18110 maybe-clean-stage2-libelf: clean-stage2-libelf
18111 clean-stage2: clean-stage2-libelf
18112 clean-stage2-libelf:
18113 @if [ $(current_stage) = stage2 ]; then \
18114 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18115 else \
18116 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
18117 $(MAKE) stage2-start; \
18118 fi; \
18119 cd $(HOST_SUBDIR)/libelf && \
18120 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18121 @endif libelf-bootstrap
18122
18123
18124 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
18125 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
18126 maybe-all-stage3-libelf:
18127 maybe-clean-stage3-libelf:
18128 @if libelf-bootstrap
18129 maybe-all-stage3-libelf: all-stage3-libelf
18130 all-stage3: all-stage3-libelf
18131 TARGET-stage3-libelf = $(TARGET-libelf)
18132 all-stage3-libelf: configure-stage3-libelf
18133 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18134 @r=`${PWD_COMMAND}`; export r; \
18135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18136 TFLAGS="$(STAGE3_TFLAGS)"; \
18137 $(HOST_EXPORTS) \
18138 $(POSTSTAGE1_HOST_EXPORTS) \
18139 cd $(HOST_SUBDIR)/libelf && \
18140 \
18141 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18142 CFLAGS="$(STAGE3_CFLAGS)" \
18143 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
18144 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18145 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18146 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18147 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18148 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18149 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18150 TFLAGS="$(STAGE3_TFLAGS)" \
18151 $(TARGET-stage3-libelf)
18152
18153 maybe-clean-stage3-libelf: clean-stage3-libelf
18154 clean-stage3: clean-stage3-libelf
18155 clean-stage3-libelf:
18156 @if [ $(current_stage) = stage3 ]; then \
18157 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18158 else \
18159 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
18160 $(MAKE) stage3-start; \
18161 fi; \
18162 cd $(HOST_SUBDIR)/libelf && \
18163 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18164 @endif libelf-bootstrap
18165
18166
18167 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
18168 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
18169 maybe-all-stage4-libelf:
18170 maybe-clean-stage4-libelf:
18171 @if libelf-bootstrap
18172 maybe-all-stage4-libelf: all-stage4-libelf
18173 all-stage4: all-stage4-libelf
18174 TARGET-stage4-libelf = $(TARGET-libelf)
18175 all-stage4-libelf: configure-stage4-libelf
18176 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18177 @r=`${PWD_COMMAND}`; export r; \
18178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18179 TFLAGS="$(STAGE4_TFLAGS)"; \
18180 $(HOST_EXPORTS) \
18181 $(POSTSTAGE1_HOST_EXPORTS) \
18182 cd $(HOST_SUBDIR)/libelf && \
18183 \
18184 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18185 CFLAGS="$(STAGE4_CFLAGS)" \
18186 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
18187 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18188 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18192 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18193 TFLAGS="$(STAGE4_TFLAGS)" \
18194 $(TARGET-stage4-libelf)
18195
18196 maybe-clean-stage4-libelf: clean-stage4-libelf
18197 clean-stage4: clean-stage4-libelf
18198 clean-stage4-libelf:
18199 @if [ $(current_stage) = stage4 ]; then \
18200 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18201 else \
18202 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
18203 $(MAKE) stage4-start; \
18204 fi; \
18205 cd $(HOST_SUBDIR)/libelf && \
18206 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18207 @endif libelf-bootstrap
18208
18209
18210 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
18211 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
18212 maybe-all-stageprofile-libelf:
18213 maybe-clean-stageprofile-libelf:
18214 @if libelf-bootstrap
18215 maybe-all-stageprofile-libelf: all-stageprofile-libelf
18216 all-stageprofile: all-stageprofile-libelf
18217 TARGET-stageprofile-libelf = $(TARGET-libelf)
18218 all-stageprofile-libelf: configure-stageprofile-libelf
18219 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18220 @r=`${PWD_COMMAND}`; export r; \
18221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18222 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18223 $(HOST_EXPORTS) \
18224 $(POSTSTAGE1_HOST_EXPORTS) \
18225 cd $(HOST_SUBDIR)/libelf && \
18226 \
18227 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18228 CFLAGS="$(STAGEprofile_CFLAGS)" \
18229 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
18230 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18231 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18235 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18236 TFLAGS="$(STAGEprofile_TFLAGS)" \
18237 $(TARGET-stageprofile-libelf)
18238
18239 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
18240 clean-stageprofile: clean-stageprofile-libelf
18241 clean-stageprofile-libelf:
18242 @if [ $(current_stage) = stageprofile ]; then \
18243 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18244 else \
18245 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
18246 $(MAKE) stageprofile-start; \
18247 fi; \
18248 cd $(HOST_SUBDIR)/libelf && \
18249 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18250 @endif libelf-bootstrap
18251
18252
18253 .PHONY: all-stagetrain-libelf maybe-all-stagetrain-libelf
18254 .PHONY: clean-stagetrain-libelf maybe-clean-stagetrain-libelf
18255 maybe-all-stagetrain-libelf:
18256 maybe-clean-stagetrain-libelf:
18257 @if libelf-bootstrap
18258 maybe-all-stagetrain-libelf: all-stagetrain-libelf
18259 all-stagetrain: all-stagetrain-libelf
18260 TARGET-stagetrain-libelf = $(TARGET-libelf)
18261 all-stagetrain-libelf: configure-stagetrain-libelf
18262 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
18263 @r=`${PWD_COMMAND}`; export r; \
18264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18265 TFLAGS="$(STAGEtrain_TFLAGS)"; \
18266 $(HOST_EXPORTS) \
18267 $(POSTSTAGE1_HOST_EXPORTS) \
18268 cd $(HOST_SUBDIR)/libelf && \
18269 \
18270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18271 CFLAGS="$(STAGEtrain_CFLAGS)" \
18272 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
18273 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
18274 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
18275 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18276 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18277 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18278 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18279 TFLAGS="$(STAGEtrain_TFLAGS)" \
18280 $(TARGET-stagetrain-libelf)
18281
18282 maybe-clean-stagetrain-libelf: clean-stagetrain-libelf
18283 clean-stagetrain: clean-stagetrain-libelf
18284 clean-stagetrain-libelf:
18285 @if [ $(current_stage) = stagetrain ]; then \
18286 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18287 else \
18288 [ -f $(HOST_SUBDIR)/stagetrain-libelf/Makefile ] || exit 0; \
18289 $(MAKE) stagetrain-start; \
18290 fi; \
18291 cd $(HOST_SUBDIR)/libelf && \
18292 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18293 @endif libelf-bootstrap
18294
18295
18296 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
18297 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
18298 maybe-all-stagefeedback-libelf:
18299 maybe-clean-stagefeedback-libelf:
18300 @if libelf-bootstrap
18301 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
18302 all-stagefeedback: all-stagefeedback-libelf
18303 TARGET-stagefeedback-libelf = $(TARGET-libelf)
18304 all-stagefeedback-libelf: configure-stagefeedback-libelf
18305 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18306 @r=`${PWD_COMMAND}`; export r; \
18307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18308 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18309 $(HOST_EXPORTS) \
18310 $(POSTSTAGE1_HOST_EXPORTS) \
18311 cd $(HOST_SUBDIR)/libelf && \
18312 \
18313 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18314 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18315 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
18316 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18317 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18318 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18319 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18320 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18321 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18322 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18323 $(TARGET-stagefeedback-libelf)
18324
18325 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
18326 clean-stagefeedback: clean-stagefeedback-libelf
18327 clean-stagefeedback-libelf:
18328 @if [ $(current_stage) = stagefeedback ]; then \
18329 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18330 else \
18331 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
18332 $(MAKE) stagefeedback-start; \
18333 fi; \
18334 cd $(HOST_SUBDIR)/libelf && \
18335 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18336 @endif libelf-bootstrap
18337
18338
18339 .PHONY: all-stageautoprofile-libelf maybe-all-stageautoprofile-libelf
18340 .PHONY: clean-stageautoprofile-libelf maybe-clean-stageautoprofile-libelf
18341 maybe-all-stageautoprofile-libelf:
18342 maybe-clean-stageautoprofile-libelf:
18343 @if libelf-bootstrap
18344 maybe-all-stageautoprofile-libelf: all-stageautoprofile-libelf
18345 all-stageautoprofile: all-stageautoprofile-libelf
18346 TARGET-stageautoprofile-libelf = $(TARGET-libelf)
18347 all-stageautoprofile-libelf: configure-stageautoprofile-libelf
18348 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
18349 @r=`${PWD_COMMAND}`; export r; \
18350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18351 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
18352 $(HOST_EXPORTS) \
18353 $(POSTSTAGE1_HOST_EXPORTS) \
18354 cd $(HOST_SUBDIR)/libelf && \
18355 $$s/gcc/config/i386/$(AUTO_PROFILE) \
18356 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18357 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
18358 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
18359 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
18360 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
18361 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18362 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18363 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18364 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18365 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
18366 $(TARGET-stageautoprofile-libelf)
18367
18368 maybe-clean-stageautoprofile-libelf: clean-stageautoprofile-libelf
18369 clean-stageautoprofile: clean-stageautoprofile-libelf
18370 clean-stageautoprofile-libelf:
18371 @if [ $(current_stage) = stageautoprofile ]; then \
18372 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18373 else \
18374 [ -f $(HOST_SUBDIR)/stageautoprofile-libelf/Makefile ] || exit 0; \
18375 $(MAKE) stageautoprofile-start; \
18376 fi; \
18377 cd $(HOST_SUBDIR)/libelf && \
18378 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18379 @endif libelf-bootstrap
18380
18381
18382 .PHONY: all-stageautofeedback-libelf maybe-all-stageautofeedback-libelf
18383 .PHONY: clean-stageautofeedback-libelf maybe-clean-stageautofeedback-libelf
18384 maybe-all-stageautofeedback-libelf:
18385 maybe-clean-stageautofeedback-libelf:
18386 @if libelf-bootstrap
18387 maybe-all-stageautofeedback-libelf: all-stageautofeedback-libelf
18388 all-stageautofeedback: all-stageautofeedback-libelf
18389 TARGET-stageautofeedback-libelf = $(TARGET-libelf)
18390 all-stageautofeedback-libelf: configure-stageautofeedback-libelf
18391 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
18392 @r=`${PWD_COMMAND}`; export r; \
18393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18394 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
18395 $(HOST_EXPORTS) \
18396 $(POSTSTAGE1_HOST_EXPORTS) \
18397 cd $(HOST_SUBDIR)/libelf && \
18398 \
18399 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18400 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
18401 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
18402 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
18403 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
18404 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18405 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18406 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18407 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18408 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
18409 $(TARGET-stageautofeedback-libelf)
18410
18411 maybe-clean-stageautofeedback-libelf: clean-stageautofeedback-libelf
18412 clean-stageautofeedback: clean-stageautofeedback-libelf
18413 clean-stageautofeedback-libelf:
18414 @if [ $(current_stage) = stageautofeedback ]; then \
18415 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
18416 else \
18417 [ -f $(HOST_SUBDIR)/stageautofeedback-libelf/Makefile ] || exit 0; \
18418 $(MAKE) stageautofeedback-start; \
18419 fi; \
18420 cd $(HOST_SUBDIR)/libelf && \
18421 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18422 @endif libelf-bootstrap
18423
18424
18425
18426
18427
18428 .PHONY: check-libelf maybe-check-libelf
18429 maybe-check-libelf:
18430 @if libelf
18431 maybe-check-libelf: check-libelf
18432
18433 check-libelf:
18434 @: $(MAKE); $(unstage)
18435 @r=`${PWD_COMMAND}`; export r; \
18436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18437 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
18438 (cd $(HOST_SUBDIR)/libelf && \
18439 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
18440
18441 @endif libelf
18442
18443 .PHONY: install-libelf maybe-install-libelf
18444 maybe-install-libelf:
18445 @if libelf
18446 maybe-install-libelf: install-libelf
18447
18448 install-libelf:
18449
18450 @endif libelf
18451
18452 .PHONY: install-strip-libelf maybe-install-strip-libelf
18453 maybe-install-strip-libelf:
18454 @if libelf
18455 maybe-install-strip-libelf: install-strip-libelf
18456
18457 install-strip-libelf:
18458
18459 @endif libelf
18460
18461 # Other targets (info, dvi, pdf, etc.)
18462
18463 .PHONY: maybe-info-libelf info-libelf
18464 maybe-info-libelf:
18465 @if libelf
18466 maybe-info-libelf: info-libelf
18467
18468 info-libelf: \
18469 configure-libelf
18470 @[ -f ./libelf/Makefile ] || exit 0; \
18471 r=`${PWD_COMMAND}`; export r; \
18472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18473 $(HOST_EXPORTS) \
18474 for flag in $(EXTRA_HOST_FLAGS) ; do \
18475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18476 done; \
18477 echo "Doing info in libelf"; \
18478 (cd $(HOST_SUBDIR)/libelf && \
18479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18481 "RANLIB=$${RANLIB}" \
18482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18483 info) \
18484 || exit 1
18485
18486 @endif libelf
18487
18488 .PHONY: maybe-dvi-libelf dvi-libelf
18489 maybe-dvi-libelf:
18490 @if libelf
18491 maybe-dvi-libelf: dvi-libelf
18492
18493 dvi-libelf: \
18494 configure-libelf
18495 @[ -f ./libelf/Makefile ] || exit 0; \
18496 r=`${PWD_COMMAND}`; export r; \
18497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18498 $(HOST_EXPORTS) \
18499 for flag in $(EXTRA_HOST_FLAGS) ; do \
18500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18501 done; \
18502 echo "Doing dvi in libelf"; \
18503 (cd $(HOST_SUBDIR)/libelf && \
18504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18506 "RANLIB=$${RANLIB}" \
18507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18508 dvi) \
18509 || exit 1
18510
18511 @endif libelf
18512
18513 .PHONY: maybe-pdf-libelf pdf-libelf
18514 maybe-pdf-libelf:
18515 @if libelf
18516 maybe-pdf-libelf: pdf-libelf
18517
18518 pdf-libelf: \
18519 configure-libelf
18520 @[ -f ./libelf/Makefile ] || exit 0; \
18521 r=`${PWD_COMMAND}`; export r; \
18522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18523 $(HOST_EXPORTS) \
18524 for flag in $(EXTRA_HOST_FLAGS) ; do \
18525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18526 done; \
18527 echo "Doing pdf in libelf"; \
18528 (cd $(HOST_SUBDIR)/libelf && \
18529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18531 "RANLIB=$${RANLIB}" \
18532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18533 pdf) \
18534 || exit 1
18535
18536 @endif libelf
18537
18538 .PHONY: maybe-html-libelf html-libelf
18539 maybe-html-libelf:
18540 @if libelf
18541 maybe-html-libelf: html-libelf
18542
18543 html-libelf: \
18544 configure-libelf
18545 @[ -f ./libelf/Makefile ] || exit 0; \
18546 r=`${PWD_COMMAND}`; export r; \
18547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18548 $(HOST_EXPORTS) \
18549 for flag in $(EXTRA_HOST_FLAGS) ; do \
18550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18551 done; \
18552 echo "Doing html in libelf"; \
18553 (cd $(HOST_SUBDIR)/libelf && \
18554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18556 "RANLIB=$${RANLIB}" \
18557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18558 html) \
18559 || exit 1
18560
18561 @endif libelf
18562
18563 .PHONY: maybe-TAGS-libelf TAGS-libelf
18564 maybe-TAGS-libelf:
18565 @if libelf
18566 maybe-TAGS-libelf: TAGS-libelf
18567
18568 TAGS-libelf: \
18569 configure-libelf
18570 @[ -f ./libelf/Makefile ] || exit 0; \
18571 r=`${PWD_COMMAND}`; export r; \
18572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18573 $(HOST_EXPORTS) \
18574 for flag in $(EXTRA_HOST_FLAGS) ; do \
18575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18576 done; \
18577 echo "Doing TAGS in libelf"; \
18578 (cd $(HOST_SUBDIR)/libelf && \
18579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18581 "RANLIB=$${RANLIB}" \
18582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18583 TAGS) \
18584 || exit 1
18585
18586 @endif libelf
18587
18588 .PHONY: maybe-install-info-libelf install-info-libelf
18589 maybe-install-info-libelf:
18590 @if libelf
18591 maybe-install-info-libelf: install-info-libelf
18592
18593 install-info-libelf: \
18594 configure-libelf \
18595 info-libelf
18596 @[ -f ./libelf/Makefile ] || exit 0; \
18597 r=`${PWD_COMMAND}`; export r; \
18598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18599 $(HOST_EXPORTS) \
18600 for flag in $(EXTRA_HOST_FLAGS) ; do \
18601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18602 done; \
18603 echo "Doing install-info in libelf"; \
18604 (cd $(HOST_SUBDIR)/libelf && \
18605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18607 "RANLIB=$${RANLIB}" \
18608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18609 install-info) \
18610 || exit 1
18611
18612 @endif libelf
18613
18614 .PHONY: maybe-install-dvi-libelf install-dvi-libelf
18615 maybe-install-dvi-libelf:
18616 @if libelf
18617 maybe-install-dvi-libelf: install-dvi-libelf
18618
18619 install-dvi-libelf: \
18620 configure-libelf \
18621 dvi-libelf
18622 @[ -f ./libelf/Makefile ] || exit 0; \
18623 r=`${PWD_COMMAND}`; export r; \
18624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18625 $(HOST_EXPORTS) \
18626 for flag in $(EXTRA_HOST_FLAGS) ; do \
18627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18628 done; \
18629 echo "Doing install-dvi in libelf"; \
18630 (cd $(HOST_SUBDIR)/libelf && \
18631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18633 "RANLIB=$${RANLIB}" \
18634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18635 install-dvi) \
18636 || exit 1
18637
18638 @endif libelf
18639
18640 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
18641 maybe-install-pdf-libelf:
18642 @if libelf
18643 maybe-install-pdf-libelf: install-pdf-libelf
18644
18645 install-pdf-libelf: \
18646 configure-libelf \
18647 pdf-libelf
18648 @[ -f ./libelf/Makefile ] || exit 0; \
18649 r=`${PWD_COMMAND}`; export r; \
18650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18651 $(HOST_EXPORTS) \
18652 for flag in $(EXTRA_HOST_FLAGS) ; do \
18653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18654 done; \
18655 echo "Doing install-pdf in libelf"; \
18656 (cd $(HOST_SUBDIR)/libelf && \
18657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18659 "RANLIB=$${RANLIB}" \
18660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18661 install-pdf) \
18662 || exit 1
18663
18664 @endif libelf
18665
18666 .PHONY: maybe-install-html-libelf install-html-libelf
18667 maybe-install-html-libelf:
18668 @if libelf
18669 maybe-install-html-libelf: install-html-libelf
18670
18671 install-html-libelf: \
18672 configure-libelf \
18673 html-libelf
18674 @[ -f ./libelf/Makefile ] || exit 0; \
18675 r=`${PWD_COMMAND}`; export r; \
18676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18677 $(HOST_EXPORTS) \
18678 for flag in $(EXTRA_HOST_FLAGS) ; do \
18679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18680 done; \
18681 echo "Doing install-html in libelf"; \
18682 (cd $(HOST_SUBDIR)/libelf && \
18683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18685 "RANLIB=$${RANLIB}" \
18686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18687 install-html) \
18688 || exit 1
18689
18690 @endif libelf
18691
18692 .PHONY: maybe-installcheck-libelf installcheck-libelf
18693 maybe-installcheck-libelf:
18694 @if libelf
18695 maybe-installcheck-libelf: installcheck-libelf
18696
18697 installcheck-libelf: \
18698 configure-libelf
18699 @[ -f ./libelf/Makefile ] || exit 0; \
18700 r=`${PWD_COMMAND}`; export r; \
18701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18702 $(HOST_EXPORTS) \
18703 for flag in $(EXTRA_HOST_FLAGS) ; do \
18704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18705 done; \
18706 echo "Doing installcheck in libelf"; \
18707 (cd $(HOST_SUBDIR)/libelf && \
18708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18710 "RANLIB=$${RANLIB}" \
18711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18712 installcheck) \
18713 || exit 1
18714
18715 @endif libelf
18716
18717 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
18718 maybe-mostlyclean-libelf:
18719 @if libelf
18720 maybe-mostlyclean-libelf: mostlyclean-libelf
18721
18722 mostlyclean-libelf:
18723 @[ -f ./libelf/Makefile ] || exit 0; \
18724 r=`${PWD_COMMAND}`; export r; \
18725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18726 $(HOST_EXPORTS) \
18727 for flag in $(EXTRA_HOST_FLAGS) ; do \
18728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18729 done; \
18730 echo "Doing mostlyclean in libelf"; \
18731 (cd $(HOST_SUBDIR)/libelf && \
18732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18734 "RANLIB=$${RANLIB}" \
18735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18736 mostlyclean) \
18737 || exit 1
18738
18739 @endif libelf
18740
18741 .PHONY: maybe-clean-libelf clean-libelf
18742 maybe-clean-libelf:
18743 @if libelf
18744 maybe-clean-libelf: clean-libelf
18745
18746 clean-libelf:
18747 @[ -f ./libelf/Makefile ] || exit 0; \
18748 r=`${PWD_COMMAND}`; export r; \
18749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18750 $(HOST_EXPORTS) \
18751 for flag in $(EXTRA_HOST_FLAGS) ; do \
18752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18753 done; \
18754 echo "Doing clean in libelf"; \
18755 (cd $(HOST_SUBDIR)/libelf && \
18756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18758 "RANLIB=$${RANLIB}" \
18759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18760 clean) \
18761 || exit 1
18762
18763 @endif libelf
18764
18765 .PHONY: maybe-distclean-libelf distclean-libelf
18766 maybe-distclean-libelf:
18767 @if libelf
18768 maybe-distclean-libelf: distclean-libelf
18769
18770 distclean-libelf:
18771 @[ -f ./libelf/Makefile ] || exit 0; \
18772 r=`${PWD_COMMAND}`; export r; \
18773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18774 $(HOST_EXPORTS) \
18775 for flag in $(EXTRA_HOST_FLAGS) ; do \
18776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18777 done; \
18778 echo "Doing distclean in libelf"; \
18779 (cd $(HOST_SUBDIR)/libelf && \
18780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18782 "RANLIB=$${RANLIB}" \
18783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18784 distclean) \
18785 || exit 1
18786
18787 @endif libelf
18788
18789 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
18790 maybe-maintainer-clean-libelf:
18791 @if libelf
18792 maybe-maintainer-clean-libelf: maintainer-clean-libelf
18793
18794 maintainer-clean-libelf:
18795 @[ -f ./libelf/Makefile ] || exit 0; \
18796 r=`${PWD_COMMAND}`; export r; \
18797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18798 $(HOST_EXPORTS) \
18799 for flag in $(EXTRA_HOST_FLAGS) ; do \
18800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18801 done; \
18802 echo "Doing maintainer-clean in libelf"; \
18803 (cd $(HOST_SUBDIR)/libelf && \
18804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18806 "RANLIB=$${RANLIB}" \
18807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18808 maintainer-clean) \
18809 || exit 1
18810
18811 @endif libelf
18812
18813
18814
18815 .PHONY: configure-gold maybe-configure-gold
18816 maybe-configure-gold:
18817 @if gcc-bootstrap
18818 configure-gold: stage_current
18819 @endif gcc-bootstrap
18820 @if gold
18821 maybe-configure-gold: configure-gold
18822 configure-gold:
18823 @r=`${PWD_COMMAND}`; export r; \
18824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18825 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18826 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18827 $(HOST_EXPORTS) \
18828 echo Configuring in $(HOST_SUBDIR)/gold; \
18829 cd "$(HOST_SUBDIR)/gold" || exit 1; \
18830 case $(srcdir) in \
18831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18832 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18834 esac; \
18835 module_srcdir=gold; \
18836 $(SHELL) \
18837 $$s/$$module_srcdir/configure \
18838 --srcdir=$${topdir}/$$module_srcdir \
18839 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18840 --target=${target_alias} \
18841 || exit 1
18842 @endif gold
18843
18844
18845
18846 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
18847 maybe-configure-stage1-gold:
18848 @if gold-bootstrap
18849 maybe-configure-stage1-gold: configure-stage1-gold
18850 configure-stage1-gold:
18851 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18852 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18853 @r=`${PWD_COMMAND}`; export r; \
18854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18855 TFLAGS="$(STAGE1_TFLAGS)"; \
18856 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18857 $(HOST_EXPORTS) \
18858 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18859 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18860 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18861 echo Configuring stage 1 in $(HOST_SUBDIR)/gold; \
18862 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18863 cd $(HOST_SUBDIR)/gold || exit 1; \
18864 case $(srcdir) in \
18865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18866 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18868 esac; \
18869 module_srcdir=gold; \
18870 $(SHELL) $$s/$$module_srcdir/configure \
18871 --srcdir=$${topdir}/$$module_srcdir \
18872 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18873 --target=${target_alias} \
18874 \
18875 $(STAGE1_CONFIGURE_FLAGS)
18876 @endif gold-bootstrap
18877
18878 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
18879 maybe-configure-stage2-gold:
18880 @if gold-bootstrap
18881 maybe-configure-stage2-gold: configure-stage2-gold
18882 configure-stage2-gold:
18883 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18884 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18885 @r=`${PWD_COMMAND}`; export r; \
18886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18887 TFLAGS="$(STAGE2_TFLAGS)"; \
18888 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18889 $(HOST_EXPORTS) \
18890 $(POSTSTAGE1_HOST_EXPORTS) \
18891 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18892 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18893 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18894 echo Configuring stage 2 in $(HOST_SUBDIR)/gold; \
18895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18896 cd $(HOST_SUBDIR)/gold || exit 1; \
18897 case $(srcdir) in \
18898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18899 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18901 esac; \
18902 module_srcdir=gold; \
18903 $(SHELL) $$s/$$module_srcdir/configure \
18904 --srcdir=$${topdir}/$$module_srcdir \
18905 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18906 --target=${target_alias} \
18907 --with-build-libsubdir=$(HOST_SUBDIR) \
18908 $(STAGE2_CONFIGURE_FLAGS)
18909 @endif gold-bootstrap
18910
18911 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
18912 maybe-configure-stage3-gold:
18913 @if gold-bootstrap
18914 maybe-configure-stage3-gold: configure-stage3-gold
18915 configure-stage3-gold:
18916 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18917 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18918 @r=`${PWD_COMMAND}`; export r; \
18919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18920 TFLAGS="$(STAGE3_TFLAGS)"; \
18921 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18922 $(HOST_EXPORTS) \
18923 $(POSTSTAGE1_HOST_EXPORTS) \
18924 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18925 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18926 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18927 echo Configuring stage 3 in $(HOST_SUBDIR)/gold; \
18928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18929 cd $(HOST_SUBDIR)/gold || exit 1; \
18930 case $(srcdir) in \
18931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18932 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18934 esac; \
18935 module_srcdir=gold; \
18936 $(SHELL) $$s/$$module_srcdir/configure \
18937 --srcdir=$${topdir}/$$module_srcdir \
18938 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18939 --target=${target_alias} \
18940 --with-build-libsubdir=$(HOST_SUBDIR) \
18941 $(STAGE3_CONFIGURE_FLAGS)
18942 @endif gold-bootstrap
18943
18944 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
18945 maybe-configure-stage4-gold:
18946 @if gold-bootstrap
18947 maybe-configure-stage4-gold: configure-stage4-gold
18948 configure-stage4-gold:
18949 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18950 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18951 @r=`${PWD_COMMAND}`; export r; \
18952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18953 TFLAGS="$(STAGE4_TFLAGS)"; \
18954 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18955 $(HOST_EXPORTS) \
18956 $(POSTSTAGE1_HOST_EXPORTS) \
18957 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18958 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18959 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18960 echo Configuring stage 4 in $(HOST_SUBDIR)/gold; \
18961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18962 cd $(HOST_SUBDIR)/gold || exit 1; \
18963 case $(srcdir) in \
18964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18965 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18967 esac; \
18968 module_srcdir=gold; \
18969 $(SHELL) $$s/$$module_srcdir/configure \
18970 --srcdir=$${topdir}/$$module_srcdir \
18971 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18972 --target=${target_alias} \
18973 --with-build-libsubdir=$(HOST_SUBDIR) \
18974 $(STAGE4_CONFIGURE_FLAGS)
18975 @endif gold-bootstrap
18976
18977 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
18978 maybe-configure-stageprofile-gold:
18979 @if gold-bootstrap
18980 maybe-configure-stageprofile-gold: configure-stageprofile-gold
18981 configure-stageprofile-gold:
18982 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18983 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18984 @r=`${PWD_COMMAND}`; export r; \
18985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18986 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18987 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18988 $(HOST_EXPORTS) \
18989 $(POSTSTAGE1_HOST_EXPORTS) \
18990 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18991 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18992 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18993 echo Configuring stage profile in $(HOST_SUBDIR)/gold; \
18994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
18995 cd $(HOST_SUBDIR)/gold || exit 1; \
18996 case $(srcdir) in \
18997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18998 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19000 esac; \
19001 module_srcdir=gold; \
19002 $(SHELL) $$s/$$module_srcdir/configure \
19003 --srcdir=$${topdir}/$$module_srcdir \
19004 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19005 --target=${target_alias} \
19006 --with-build-libsubdir=$(HOST_SUBDIR) \
19007 $(STAGEprofile_CONFIGURE_FLAGS)
19008 @endif gold-bootstrap
19009
19010 .PHONY: configure-stagetrain-gold maybe-configure-stagetrain-gold
19011 maybe-configure-stagetrain-gold:
19012 @if gold-bootstrap
19013 maybe-configure-stagetrain-gold: configure-stagetrain-gold
19014 configure-stagetrain-gold:
19015 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
19016 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
19017 @r=`${PWD_COMMAND}`; export r; \
19018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19019 TFLAGS="$(STAGEtrain_TFLAGS)"; \
19020 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
19021 $(HOST_EXPORTS) \
19022 $(POSTSTAGE1_HOST_EXPORTS) \
19023 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
19024 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
19025 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
19026 echo Configuring stage train in $(HOST_SUBDIR)/gold; \
19027 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
19028 cd $(HOST_SUBDIR)/gold || exit 1; \
19029 case $(srcdir) in \
19030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19031 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
19032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19033 esac; \
19034 module_srcdir=gold; \
19035 $(SHELL) $$s/$$module_srcdir/configure \
19036 --srcdir=$${topdir}/$$module_srcdir \
19037 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19038 --target=${target_alias} \
19039 --with-build-libsubdir=$(HOST_SUBDIR) \
19040 $(STAGEtrain_CONFIGURE_FLAGS)
19041 @endif gold-bootstrap
19042
19043 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
19044 maybe-configure-stagefeedback-gold:
19045 @if gold-bootstrap
19046 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
19047 configure-stagefeedback-gold:
19048 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19049 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
19050 @r=`${PWD_COMMAND}`; export r; \
19051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19052 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19053 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
19054 $(HOST_EXPORTS) \
19055 $(POSTSTAGE1_HOST_EXPORTS) \
19056 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19057 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19058 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19059 echo Configuring stage feedback in $(HOST_SUBDIR)/gold; \
19060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
19061 cd $(HOST_SUBDIR)/gold || exit 1; \
19062 case $(srcdir) in \
19063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19064 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
19065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19066 esac; \
19067 module_srcdir=gold; \
19068 $(SHELL) $$s/$$module_srcdir/configure \
19069 --srcdir=$${topdir}/$$module_srcdir \
19070 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19071 --target=${target_alias} \
19072 --with-build-libsubdir=$(HOST_SUBDIR) \
19073 $(STAGEfeedback_CONFIGURE_FLAGS)
19074 @endif gold-bootstrap
19075
19076 .PHONY: configure-stageautoprofile-gold maybe-configure-stageautoprofile-gold
19077 maybe-configure-stageautoprofile-gold:
19078 @if gold-bootstrap
19079 maybe-configure-stageautoprofile-gold: configure-stageautoprofile-gold
19080 configure-stageautoprofile-gold:
19081 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19082 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
19083 @r=`${PWD_COMMAND}`; export r; \
19084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19085 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19086 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
19087 $(HOST_EXPORTS) \
19088 $(POSTSTAGE1_HOST_EXPORTS) \
19089 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
19090 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
19091 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
19092 echo Configuring stage autoprofile in $(HOST_SUBDIR)/gold; \
19093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
19094 cd $(HOST_SUBDIR)/gold || exit 1; \
19095 case $(srcdir) in \
19096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19097 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
19098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19099 esac; \
19100 module_srcdir=gold; \
19101 $(SHELL) $$s/$$module_srcdir/configure \
19102 --srcdir=$${topdir}/$$module_srcdir \
19103 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19104 --target=${target_alias} \
19105 --with-build-libsubdir=$(HOST_SUBDIR) \
19106 $(STAGEautoprofile_CONFIGURE_FLAGS)
19107 @endif gold-bootstrap
19108
19109 .PHONY: configure-stageautofeedback-gold maybe-configure-stageautofeedback-gold
19110 maybe-configure-stageautofeedback-gold:
19111 @if gold-bootstrap
19112 maybe-configure-stageautofeedback-gold: configure-stageautofeedback-gold
19113 configure-stageautofeedback-gold:
19114 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19115 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
19116 @r=`${PWD_COMMAND}`; export r; \
19117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19118 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19119 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
19120 $(HOST_EXPORTS) \
19121 $(POSTSTAGE1_HOST_EXPORTS) \
19122 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
19123 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
19124 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
19125 echo Configuring stage autofeedback in $(HOST_SUBDIR)/gold; \
19126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold; \
19127 cd $(HOST_SUBDIR)/gold || exit 1; \
19128 case $(srcdir) in \
19129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19130 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
19131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19132 esac; \
19133 module_srcdir=gold; \
19134 $(SHELL) $$s/$$module_srcdir/configure \
19135 --srcdir=$${topdir}/$$module_srcdir \
19136 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19137 --target=${target_alias} \
19138 --with-build-libsubdir=$(HOST_SUBDIR) \
19139 $(STAGEautofeedback_CONFIGURE_FLAGS)
19140 @endif gold-bootstrap
19141
19142
19143
19144
19145
19146 .PHONY: all-gold maybe-all-gold
19147 maybe-all-gold:
19148 @if gcc-bootstrap
19149 all-gold: stage_current
19150 @endif gcc-bootstrap
19151 @if gold
19152 TARGET-gold=all
19153 maybe-all-gold: all-gold
19154 all-gold: configure-gold
19155 @r=`${PWD_COMMAND}`; export r; \
19156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19157 $(HOST_EXPORTS) \
19158 (cd $(HOST_SUBDIR)/gold && \
19159 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19160 $(TARGET-gold))
19161 @endif gold
19162
19163
19164
19165 .PHONY: all-stage1-gold maybe-all-stage1-gold
19166 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
19167 maybe-all-stage1-gold:
19168 maybe-clean-stage1-gold:
19169 @if gold-bootstrap
19170 maybe-all-stage1-gold: all-stage1-gold
19171 all-stage1: all-stage1-gold
19172 TARGET-stage1-gold = $(TARGET-gold)
19173 all-stage1-gold: configure-stage1-gold
19174 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19175 @r=`${PWD_COMMAND}`; export r; \
19176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19177 TFLAGS="$(STAGE1_TFLAGS)"; \
19178 $(HOST_EXPORTS) \
19179 cd $(HOST_SUBDIR)/gold && \
19180 \
19181 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19182 CFLAGS="$(STAGE1_CFLAGS)" \
19183 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
19184 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19185 LIBCFLAGS="$(LIBCFLAGS)" \
19186 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19187 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19188 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19189 $(EXTRA_HOST_FLAGS) \
19190 $(STAGE1_FLAGS_TO_PASS) \
19191 TFLAGS="$(STAGE1_TFLAGS)" \
19192 $(TARGET-stage1-gold)
19193
19194 maybe-clean-stage1-gold: clean-stage1-gold
19195 clean-stage1: clean-stage1-gold
19196 clean-stage1-gold:
19197 @if [ $(current_stage) = stage1 ]; then \
19198 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19199 else \
19200 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
19201 $(MAKE) stage1-start; \
19202 fi; \
19203 cd $(HOST_SUBDIR)/gold && \
19204 $(MAKE) $(EXTRA_HOST_FLAGS) \
19205 $(STAGE1_FLAGS_TO_PASS) clean
19206 @endif gold-bootstrap
19207
19208
19209 .PHONY: all-stage2-gold maybe-all-stage2-gold
19210 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
19211 maybe-all-stage2-gold:
19212 maybe-clean-stage2-gold:
19213 @if gold-bootstrap
19214 maybe-all-stage2-gold: all-stage2-gold
19215 all-stage2: all-stage2-gold
19216 TARGET-stage2-gold = $(TARGET-gold)
19217 all-stage2-gold: configure-stage2-gold
19218 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19219 @r=`${PWD_COMMAND}`; export r; \
19220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19221 TFLAGS="$(STAGE2_TFLAGS)"; \
19222 $(HOST_EXPORTS) \
19223 $(POSTSTAGE1_HOST_EXPORTS) \
19224 cd $(HOST_SUBDIR)/gold && \
19225 \
19226 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19227 CFLAGS="$(STAGE2_CFLAGS)" \
19228 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
19229 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19230 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19231 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19232 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19233 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19234 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19235 TFLAGS="$(STAGE2_TFLAGS)" \
19236 $(TARGET-stage2-gold)
19237
19238 maybe-clean-stage2-gold: clean-stage2-gold
19239 clean-stage2: clean-stage2-gold
19240 clean-stage2-gold:
19241 @if [ $(current_stage) = stage2 ]; then \
19242 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19243 else \
19244 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
19245 $(MAKE) stage2-start; \
19246 fi; \
19247 cd $(HOST_SUBDIR)/gold && \
19248 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19249 @endif gold-bootstrap
19250
19251
19252 .PHONY: all-stage3-gold maybe-all-stage3-gold
19253 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
19254 maybe-all-stage3-gold:
19255 maybe-clean-stage3-gold:
19256 @if gold-bootstrap
19257 maybe-all-stage3-gold: all-stage3-gold
19258 all-stage3: all-stage3-gold
19259 TARGET-stage3-gold = $(TARGET-gold)
19260 all-stage3-gold: configure-stage3-gold
19261 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19262 @r=`${PWD_COMMAND}`; export r; \
19263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19264 TFLAGS="$(STAGE3_TFLAGS)"; \
19265 $(HOST_EXPORTS) \
19266 $(POSTSTAGE1_HOST_EXPORTS) \
19267 cd $(HOST_SUBDIR)/gold && \
19268 \
19269 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19270 CFLAGS="$(STAGE3_CFLAGS)" \
19271 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
19272 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19273 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19274 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19275 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19276 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19277 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19278 TFLAGS="$(STAGE3_TFLAGS)" \
19279 $(TARGET-stage3-gold)
19280
19281 maybe-clean-stage3-gold: clean-stage3-gold
19282 clean-stage3: clean-stage3-gold
19283 clean-stage3-gold:
19284 @if [ $(current_stage) = stage3 ]; then \
19285 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19286 else \
19287 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
19288 $(MAKE) stage3-start; \
19289 fi; \
19290 cd $(HOST_SUBDIR)/gold && \
19291 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19292 @endif gold-bootstrap
19293
19294
19295 .PHONY: all-stage4-gold maybe-all-stage4-gold
19296 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
19297 maybe-all-stage4-gold:
19298 maybe-clean-stage4-gold:
19299 @if gold-bootstrap
19300 maybe-all-stage4-gold: all-stage4-gold
19301 all-stage4: all-stage4-gold
19302 TARGET-stage4-gold = $(TARGET-gold)
19303 all-stage4-gold: configure-stage4-gold
19304 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19305 @r=`${PWD_COMMAND}`; export r; \
19306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19307 TFLAGS="$(STAGE4_TFLAGS)"; \
19308 $(HOST_EXPORTS) \
19309 $(POSTSTAGE1_HOST_EXPORTS) \
19310 cd $(HOST_SUBDIR)/gold && \
19311 \
19312 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19313 CFLAGS="$(STAGE4_CFLAGS)" \
19314 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
19315 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19316 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19317 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19318 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19319 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19320 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19321 TFLAGS="$(STAGE4_TFLAGS)" \
19322 $(TARGET-stage4-gold)
19323
19324 maybe-clean-stage4-gold: clean-stage4-gold
19325 clean-stage4: clean-stage4-gold
19326 clean-stage4-gold:
19327 @if [ $(current_stage) = stage4 ]; then \
19328 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19329 else \
19330 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
19331 $(MAKE) stage4-start; \
19332 fi; \
19333 cd $(HOST_SUBDIR)/gold && \
19334 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19335 @endif gold-bootstrap
19336
19337
19338 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
19339 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
19340 maybe-all-stageprofile-gold:
19341 maybe-clean-stageprofile-gold:
19342 @if gold-bootstrap
19343 maybe-all-stageprofile-gold: all-stageprofile-gold
19344 all-stageprofile: all-stageprofile-gold
19345 TARGET-stageprofile-gold = $(TARGET-gold)
19346 all-stageprofile-gold: configure-stageprofile-gold
19347 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19348 @r=`${PWD_COMMAND}`; export r; \
19349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19350 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19351 $(HOST_EXPORTS) \
19352 $(POSTSTAGE1_HOST_EXPORTS) \
19353 cd $(HOST_SUBDIR)/gold && \
19354 \
19355 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19356 CFLAGS="$(STAGEprofile_CFLAGS)" \
19357 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
19358 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19359 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19360 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19361 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19362 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19363 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19364 TFLAGS="$(STAGEprofile_TFLAGS)" \
19365 $(TARGET-stageprofile-gold)
19366
19367 maybe-clean-stageprofile-gold: clean-stageprofile-gold
19368 clean-stageprofile: clean-stageprofile-gold
19369 clean-stageprofile-gold:
19370 @if [ $(current_stage) = stageprofile ]; then \
19371 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19372 else \
19373 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
19374 $(MAKE) stageprofile-start; \
19375 fi; \
19376 cd $(HOST_SUBDIR)/gold && \
19377 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19378 @endif gold-bootstrap
19379
19380
19381 .PHONY: all-stagetrain-gold maybe-all-stagetrain-gold
19382 .PHONY: clean-stagetrain-gold maybe-clean-stagetrain-gold
19383 maybe-all-stagetrain-gold:
19384 maybe-clean-stagetrain-gold:
19385 @if gold-bootstrap
19386 maybe-all-stagetrain-gold: all-stagetrain-gold
19387 all-stagetrain: all-stagetrain-gold
19388 TARGET-stagetrain-gold = $(TARGET-gold)
19389 all-stagetrain-gold: configure-stagetrain-gold
19390 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
19391 @r=`${PWD_COMMAND}`; export r; \
19392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19393 TFLAGS="$(STAGEtrain_TFLAGS)"; \
19394 $(HOST_EXPORTS) \
19395 $(POSTSTAGE1_HOST_EXPORTS) \
19396 cd $(HOST_SUBDIR)/gold && \
19397 \
19398 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19399 CFLAGS="$(STAGEtrain_CFLAGS)" \
19400 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
19401 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
19402 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
19403 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19404 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19405 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19406 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19407 TFLAGS="$(STAGEtrain_TFLAGS)" \
19408 $(TARGET-stagetrain-gold)
19409
19410 maybe-clean-stagetrain-gold: clean-stagetrain-gold
19411 clean-stagetrain: clean-stagetrain-gold
19412 clean-stagetrain-gold:
19413 @if [ $(current_stage) = stagetrain ]; then \
19414 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19415 else \
19416 [ -f $(HOST_SUBDIR)/stagetrain-gold/Makefile ] || exit 0; \
19417 $(MAKE) stagetrain-start; \
19418 fi; \
19419 cd $(HOST_SUBDIR)/gold && \
19420 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19421 @endif gold-bootstrap
19422
19423
19424 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
19425 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
19426 maybe-all-stagefeedback-gold:
19427 maybe-clean-stagefeedback-gold:
19428 @if gold-bootstrap
19429 maybe-all-stagefeedback-gold: all-stagefeedback-gold
19430 all-stagefeedback: all-stagefeedback-gold
19431 TARGET-stagefeedback-gold = $(TARGET-gold)
19432 all-stagefeedback-gold: configure-stagefeedback-gold
19433 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19434 @r=`${PWD_COMMAND}`; export r; \
19435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19436 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19437 $(HOST_EXPORTS) \
19438 $(POSTSTAGE1_HOST_EXPORTS) \
19439 cd $(HOST_SUBDIR)/gold && \
19440 \
19441 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19442 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19443 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
19444 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19445 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19446 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19447 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19448 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19449 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19450 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19451 $(TARGET-stagefeedback-gold)
19452
19453 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
19454 clean-stagefeedback: clean-stagefeedback-gold
19455 clean-stagefeedback-gold:
19456 @if [ $(current_stage) = stagefeedback ]; then \
19457 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19458 else \
19459 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
19460 $(MAKE) stagefeedback-start; \
19461 fi; \
19462 cd $(HOST_SUBDIR)/gold && \
19463 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19464 @endif gold-bootstrap
19465
19466
19467 .PHONY: all-stageautoprofile-gold maybe-all-stageautoprofile-gold
19468 .PHONY: clean-stageautoprofile-gold maybe-clean-stageautoprofile-gold
19469 maybe-all-stageautoprofile-gold:
19470 maybe-clean-stageautoprofile-gold:
19471 @if gold-bootstrap
19472 maybe-all-stageautoprofile-gold: all-stageautoprofile-gold
19473 all-stageautoprofile: all-stageautoprofile-gold
19474 TARGET-stageautoprofile-gold = $(TARGET-gold)
19475 all-stageautoprofile-gold: configure-stageautoprofile-gold
19476 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
19477 @r=`${PWD_COMMAND}`; export r; \
19478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19479 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
19480 $(HOST_EXPORTS) \
19481 $(POSTSTAGE1_HOST_EXPORTS) \
19482 cd $(HOST_SUBDIR)/gold && \
19483 $$s/gcc/config/i386/$(AUTO_PROFILE) \
19484 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19485 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
19486 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
19487 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
19488 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
19489 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19490 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19491 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19492 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19493 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
19494 $(TARGET-stageautoprofile-gold)
19495
19496 maybe-clean-stageautoprofile-gold: clean-stageautoprofile-gold
19497 clean-stageautoprofile: clean-stageautoprofile-gold
19498 clean-stageautoprofile-gold:
19499 @if [ $(current_stage) = stageautoprofile ]; then \
19500 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19501 else \
19502 [ -f $(HOST_SUBDIR)/stageautoprofile-gold/Makefile ] || exit 0; \
19503 $(MAKE) stageautoprofile-start; \
19504 fi; \
19505 cd $(HOST_SUBDIR)/gold && \
19506 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19507 @endif gold-bootstrap
19508
19509
19510 .PHONY: all-stageautofeedback-gold maybe-all-stageautofeedback-gold
19511 .PHONY: clean-stageautofeedback-gold maybe-clean-stageautofeedback-gold
19512 maybe-all-stageautofeedback-gold:
19513 maybe-clean-stageautofeedback-gold:
19514 @if gold-bootstrap
19515 maybe-all-stageautofeedback-gold: all-stageautofeedback-gold
19516 all-stageautofeedback: all-stageautofeedback-gold
19517 TARGET-stageautofeedback-gold = $(TARGET-gold)
19518 all-stageautofeedback-gold: configure-stageautofeedback-gold
19519 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
19520 @r=`${PWD_COMMAND}`; export r; \
19521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19522 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
19523 $(HOST_EXPORTS) \
19524 $(POSTSTAGE1_HOST_EXPORTS) \
19525 cd $(HOST_SUBDIR)/gold && \
19526 \
19527 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19528 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
19529 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
19530 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
19531 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
19532 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19533 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19534 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19535 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19536 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
19537 $(TARGET-stageautofeedback-gold)
19538
19539 maybe-clean-stageautofeedback-gold: clean-stageautofeedback-gold
19540 clean-stageautofeedback: clean-stageautofeedback-gold
19541 clean-stageautofeedback-gold:
19542 @if [ $(current_stage) = stageautofeedback ]; then \
19543 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
19544 else \
19545 [ -f $(HOST_SUBDIR)/stageautofeedback-gold/Makefile ] || exit 0; \
19546 $(MAKE) stageautofeedback-start; \
19547 fi; \
19548 cd $(HOST_SUBDIR)/gold && \
19549 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19550 @endif gold-bootstrap
19551
19552
19553
19554
19555
19556 .PHONY: check-gold maybe-check-gold
19557 maybe-check-gold:
19558 @if gold
19559 maybe-check-gold: check-gold
19560
19561 check-gold:
19562 @: $(MAKE); $(unstage)
19563 @r=`${PWD_COMMAND}`; export r; \
19564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19565 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
19566 (cd $(HOST_SUBDIR)/gold && \
19567 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
19568
19569 @endif gold
19570
19571 .PHONY: install-gold maybe-install-gold
19572 maybe-install-gold:
19573 @if gold
19574 maybe-install-gold: install-gold
19575
19576 install-gold: installdirs
19577 @: $(MAKE); $(unstage)
19578 @r=`${PWD_COMMAND}`; export r; \
19579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19580 $(HOST_EXPORTS) \
19581 (cd $(HOST_SUBDIR)/gold && \
19582 $(MAKE) $(FLAGS_TO_PASS) install)
19583
19584 @endif gold
19585
19586 .PHONY: install-strip-gold maybe-install-strip-gold
19587 maybe-install-strip-gold:
19588 @if gold
19589 maybe-install-strip-gold: install-strip-gold
19590
19591 install-strip-gold: installdirs
19592 @: $(MAKE); $(unstage)
19593 @r=`${PWD_COMMAND}`; export r; \
19594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19595 $(HOST_EXPORTS) \
19596 (cd $(HOST_SUBDIR)/gold && \
19597 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19598
19599 @endif gold
19600
19601 # Other targets (info, dvi, pdf, etc.)
19602
19603 .PHONY: maybe-info-gold info-gold
19604 maybe-info-gold:
19605 @if gold
19606 maybe-info-gold: info-gold
19607
19608 info-gold: \
19609 configure-gold
19610 @[ -f ./gold/Makefile ] || exit 0; \
19611 r=`${PWD_COMMAND}`; export r; \
19612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19613 $(HOST_EXPORTS) \
19614 for flag in $(EXTRA_HOST_FLAGS) ; do \
19615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19616 done; \
19617 echo "Doing info in gold"; \
19618 (cd $(HOST_SUBDIR)/gold && \
19619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19621 "RANLIB=$${RANLIB}" \
19622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19623 info) \
19624 || exit 1
19625
19626 @endif gold
19627
19628 .PHONY: maybe-dvi-gold dvi-gold
19629 maybe-dvi-gold:
19630 @if gold
19631 maybe-dvi-gold: dvi-gold
19632
19633 dvi-gold: \
19634 configure-gold
19635 @[ -f ./gold/Makefile ] || exit 0; \
19636 r=`${PWD_COMMAND}`; export r; \
19637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19638 $(HOST_EXPORTS) \
19639 for flag in $(EXTRA_HOST_FLAGS) ; do \
19640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19641 done; \
19642 echo "Doing dvi in gold"; \
19643 (cd $(HOST_SUBDIR)/gold && \
19644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19646 "RANLIB=$${RANLIB}" \
19647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19648 dvi) \
19649 || exit 1
19650
19651 @endif gold
19652
19653 .PHONY: maybe-pdf-gold pdf-gold
19654 maybe-pdf-gold:
19655 @if gold
19656 maybe-pdf-gold: pdf-gold
19657
19658 pdf-gold: \
19659 configure-gold
19660 @[ -f ./gold/Makefile ] || exit 0; \
19661 r=`${PWD_COMMAND}`; export r; \
19662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19663 $(HOST_EXPORTS) \
19664 for flag in $(EXTRA_HOST_FLAGS) ; do \
19665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19666 done; \
19667 echo "Doing pdf in gold"; \
19668 (cd $(HOST_SUBDIR)/gold && \
19669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19671 "RANLIB=$${RANLIB}" \
19672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19673 pdf) \
19674 || exit 1
19675
19676 @endif gold
19677
19678 .PHONY: maybe-html-gold html-gold
19679 maybe-html-gold:
19680 @if gold
19681 maybe-html-gold: html-gold
19682
19683 html-gold: \
19684 configure-gold
19685 @[ -f ./gold/Makefile ] || exit 0; \
19686 r=`${PWD_COMMAND}`; export r; \
19687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19688 $(HOST_EXPORTS) \
19689 for flag in $(EXTRA_HOST_FLAGS) ; do \
19690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19691 done; \
19692 echo "Doing html in gold"; \
19693 (cd $(HOST_SUBDIR)/gold && \
19694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19696 "RANLIB=$${RANLIB}" \
19697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19698 html) \
19699 || exit 1
19700
19701 @endif gold
19702
19703 .PHONY: maybe-TAGS-gold TAGS-gold
19704 maybe-TAGS-gold:
19705 @if gold
19706 maybe-TAGS-gold: TAGS-gold
19707
19708 TAGS-gold: \
19709 configure-gold
19710 @[ -f ./gold/Makefile ] || exit 0; \
19711 r=`${PWD_COMMAND}`; export r; \
19712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19713 $(HOST_EXPORTS) \
19714 for flag in $(EXTRA_HOST_FLAGS) ; do \
19715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19716 done; \
19717 echo "Doing TAGS in gold"; \
19718 (cd $(HOST_SUBDIR)/gold && \
19719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19721 "RANLIB=$${RANLIB}" \
19722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19723 TAGS) \
19724 || exit 1
19725
19726 @endif gold
19727
19728 .PHONY: maybe-install-info-gold install-info-gold
19729 maybe-install-info-gold:
19730 @if gold
19731 maybe-install-info-gold: install-info-gold
19732
19733 install-info-gold: \
19734 configure-gold \
19735 info-gold
19736 @[ -f ./gold/Makefile ] || exit 0; \
19737 r=`${PWD_COMMAND}`; export r; \
19738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19739 $(HOST_EXPORTS) \
19740 for flag in $(EXTRA_HOST_FLAGS) ; do \
19741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19742 done; \
19743 echo "Doing install-info in gold"; \
19744 (cd $(HOST_SUBDIR)/gold && \
19745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19747 "RANLIB=$${RANLIB}" \
19748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19749 install-info) \
19750 || exit 1
19751
19752 @endif gold
19753
19754 .PHONY: maybe-install-dvi-gold install-dvi-gold
19755 maybe-install-dvi-gold:
19756 @if gold
19757 maybe-install-dvi-gold: install-dvi-gold
19758
19759 install-dvi-gold: \
19760 configure-gold \
19761 dvi-gold
19762 @[ -f ./gold/Makefile ] || exit 0; \
19763 r=`${PWD_COMMAND}`; export r; \
19764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19765 $(HOST_EXPORTS) \
19766 for flag in $(EXTRA_HOST_FLAGS) ; do \
19767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19768 done; \
19769 echo "Doing install-dvi in gold"; \
19770 (cd $(HOST_SUBDIR)/gold && \
19771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19773 "RANLIB=$${RANLIB}" \
19774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19775 install-dvi) \
19776 || exit 1
19777
19778 @endif gold
19779
19780 .PHONY: maybe-install-pdf-gold install-pdf-gold
19781 maybe-install-pdf-gold:
19782 @if gold
19783 maybe-install-pdf-gold: install-pdf-gold
19784
19785 install-pdf-gold: \
19786 configure-gold \
19787 pdf-gold
19788 @[ -f ./gold/Makefile ] || exit 0; \
19789 r=`${PWD_COMMAND}`; export r; \
19790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19791 $(HOST_EXPORTS) \
19792 for flag in $(EXTRA_HOST_FLAGS) ; do \
19793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19794 done; \
19795 echo "Doing install-pdf in gold"; \
19796 (cd $(HOST_SUBDIR)/gold && \
19797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19799 "RANLIB=$${RANLIB}" \
19800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19801 install-pdf) \
19802 || exit 1
19803
19804 @endif gold
19805
19806 .PHONY: maybe-install-html-gold install-html-gold
19807 maybe-install-html-gold:
19808 @if gold
19809 maybe-install-html-gold: install-html-gold
19810
19811 install-html-gold: \
19812 configure-gold \
19813 html-gold
19814 @[ -f ./gold/Makefile ] || exit 0; \
19815 r=`${PWD_COMMAND}`; export r; \
19816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19817 $(HOST_EXPORTS) \
19818 for flag in $(EXTRA_HOST_FLAGS) ; do \
19819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19820 done; \
19821 echo "Doing install-html in gold"; \
19822 (cd $(HOST_SUBDIR)/gold && \
19823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19825 "RANLIB=$${RANLIB}" \
19826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19827 install-html) \
19828 || exit 1
19829
19830 @endif gold
19831
19832 .PHONY: maybe-installcheck-gold installcheck-gold
19833 maybe-installcheck-gold:
19834 @if gold
19835 maybe-installcheck-gold: installcheck-gold
19836
19837 installcheck-gold: \
19838 configure-gold
19839 @[ -f ./gold/Makefile ] || exit 0; \
19840 r=`${PWD_COMMAND}`; export r; \
19841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19842 $(HOST_EXPORTS) \
19843 for flag in $(EXTRA_HOST_FLAGS) ; do \
19844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19845 done; \
19846 echo "Doing installcheck in gold"; \
19847 (cd $(HOST_SUBDIR)/gold && \
19848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19850 "RANLIB=$${RANLIB}" \
19851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19852 installcheck) \
19853 || exit 1
19854
19855 @endif gold
19856
19857 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
19858 maybe-mostlyclean-gold:
19859 @if gold
19860 maybe-mostlyclean-gold: mostlyclean-gold
19861
19862 mostlyclean-gold:
19863 @[ -f ./gold/Makefile ] || exit 0; \
19864 r=`${PWD_COMMAND}`; export r; \
19865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19866 $(HOST_EXPORTS) \
19867 for flag in $(EXTRA_HOST_FLAGS) ; do \
19868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19869 done; \
19870 echo "Doing mostlyclean in gold"; \
19871 (cd $(HOST_SUBDIR)/gold && \
19872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19874 "RANLIB=$${RANLIB}" \
19875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19876 mostlyclean) \
19877 || exit 1
19878
19879 @endif gold
19880
19881 .PHONY: maybe-clean-gold clean-gold
19882 maybe-clean-gold:
19883 @if gold
19884 maybe-clean-gold: clean-gold
19885
19886 clean-gold:
19887 @[ -f ./gold/Makefile ] || exit 0; \
19888 r=`${PWD_COMMAND}`; export r; \
19889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19890 $(HOST_EXPORTS) \
19891 for flag in $(EXTRA_HOST_FLAGS) ; do \
19892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19893 done; \
19894 echo "Doing clean in gold"; \
19895 (cd $(HOST_SUBDIR)/gold && \
19896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19898 "RANLIB=$${RANLIB}" \
19899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19900 clean) \
19901 || exit 1
19902
19903 @endif gold
19904
19905 .PHONY: maybe-distclean-gold distclean-gold
19906 maybe-distclean-gold:
19907 @if gold
19908 maybe-distclean-gold: distclean-gold
19909
19910 distclean-gold:
19911 @[ -f ./gold/Makefile ] || exit 0; \
19912 r=`${PWD_COMMAND}`; export r; \
19913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19914 $(HOST_EXPORTS) \
19915 for flag in $(EXTRA_HOST_FLAGS) ; do \
19916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19917 done; \
19918 echo "Doing distclean in gold"; \
19919 (cd $(HOST_SUBDIR)/gold && \
19920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19922 "RANLIB=$${RANLIB}" \
19923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19924 distclean) \
19925 || exit 1
19926
19927 @endif gold
19928
19929 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
19930 maybe-maintainer-clean-gold:
19931 @if gold
19932 maybe-maintainer-clean-gold: maintainer-clean-gold
19933
19934 maintainer-clean-gold:
19935 @[ -f ./gold/Makefile ] || exit 0; \
19936 r=`${PWD_COMMAND}`; export r; \
19937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19938 $(HOST_EXPORTS) \
19939 for flag in $(EXTRA_HOST_FLAGS) ; do \
19940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19941 done; \
19942 echo "Doing maintainer-clean in gold"; \
19943 (cd $(HOST_SUBDIR)/gold && \
19944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19946 "RANLIB=$${RANLIB}" \
19947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19948 maintainer-clean) \
19949 || exit 1
19950
19951 @endif gold
19952
19953
19954
19955 .PHONY: configure-gprof maybe-configure-gprof
19956 maybe-configure-gprof:
19957 @if gcc-bootstrap
19958 configure-gprof: stage_current
19959 @endif gcc-bootstrap
19960 @if gprof
19961 maybe-configure-gprof: configure-gprof
19962 configure-gprof:
19963 @: $(MAKE); $(unstage)
19964 @r=`${PWD_COMMAND}`; export r; \
19965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19966 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
19967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof; \
19968 $(HOST_EXPORTS) \
19969 echo Configuring in $(HOST_SUBDIR)/gprof; \
19970 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
19971 case $(srcdir) in \
19972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19973 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
19974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19975 esac; \
19976 module_srcdir=gprof; \
19977 $(SHELL) \
19978 $$s/$$module_srcdir/configure \
19979 --srcdir=$${topdir}/$$module_srcdir \
19980 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19981 --target=${target_alias} \
19982 || exit 1
19983 @endif gprof
19984
19985
19986
19987
19988
19989 .PHONY: all-gprof maybe-all-gprof
19990 maybe-all-gprof:
19991 @if gcc-bootstrap
19992 all-gprof: stage_current
19993 @endif gcc-bootstrap
19994 @if gprof
19995 TARGET-gprof=all
19996 maybe-all-gprof: all-gprof
19997 all-gprof: configure-gprof
19998 @: $(MAKE); $(unstage)
19999 @r=`${PWD_COMMAND}`; export r; \
20000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20001 $(HOST_EXPORTS) \
20002 (cd $(HOST_SUBDIR)/gprof && \
20003 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20004 $(TARGET-gprof))
20005 @endif gprof
20006
20007
20008
20009
20010 .PHONY: check-gprof maybe-check-gprof
20011 maybe-check-gprof:
20012 @if gprof
20013 maybe-check-gprof: check-gprof
20014
20015 check-gprof:
20016 @: $(MAKE); $(unstage)
20017 @r=`${PWD_COMMAND}`; export r; \
20018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20019 $(HOST_EXPORTS) \
20020 (cd $(HOST_SUBDIR)/gprof && \
20021 $(MAKE) $(FLAGS_TO_PASS) check)
20022
20023 @endif gprof
20024
20025 .PHONY: install-gprof maybe-install-gprof
20026 maybe-install-gprof:
20027 @if gprof
20028 maybe-install-gprof: install-gprof
20029
20030 install-gprof: installdirs
20031 @: $(MAKE); $(unstage)
20032 @r=`${PWD_COMMAND}`; export r; \
20033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20034 $(HOST_EXPORTS) \
20035 (cd $(HOST_SUBDIR)/gprof && \
20036 $(MAKE) $(FLAGS_TO_PASS) install)
20037
20038 @endif gprof
20039
20040 .PHONY: install-strip-gprof maybe-install-strip-gprof
20041 maybe-install-strip-gprof:
20042 @if gprof
20043 maybe-install-strip-gprof: install-strip-gprof
20044
20045 install-strip-gprof: installdirs
20046 @: $(MAKE); $(unstage)
20047 @r=`${PWD_COMMAND}`; export r; \
20048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20049 $(HOST_EXPORTS) \
20050 (cd $(HOST_SUBDIR)/gprof && \
20051 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20052
20053 @endif gprof
20054
20055 # Other targets (info, dvi, pdf, etc.)
20056
20057 .PHONY: maybe-info-gprof info-gprof
20058 maybe-info-gprof:
20059 @if gprof
20060 maybe-info-gprof: info-gprof
20061
20062 info-gprof: \
20063 configure-gprof
20064 @: $(MAKE); $(unstage)
20065 @[ -f ./gprof/Makefile ] || exit 0; \
20066 r=`${PWD_COMMAND}`; export r; \
20067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20068 $(HOST_EXPORTS) \
20069 for flag in $(EXTRA_HOST_FLAGS) ; do \
20070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20071 done; \
20072 echo "Doing info in gprof"; \
20073 (cd $(HOST_SUBDIR)/gprof && \
20074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20076 "RANLIB=$${RANLIB}" \
20077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20078 info) \
20079 || exit 1
20080
20081 @endif gprof
20082
20083 .PHONY: maybe-dvi-gprof dvi-gprof
20084 maybe-dvi-gprof:
20085 @if gprof
20086 maybe-dvi-gprof: dvi-gprof
20087
20088 dvi-gprof: \
20089 configure-gprof
20090 @: $(MAKE); $(unstage)
20091 @[ -f ./gprof/Makefile ] || exit 0; \
20092 r=`${PWD_COMMAND}`; export r; \
20093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20094 $(HOST_EXPORTS) \
20095 for flag in $(EXTRA_HOST_FLAGS) ; do \
20096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20097 done; \
20098 echo "Doing dvi in gprof"; \
20099 (cd $(HOST_SUBDIR)/gprof && \
20100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20102 "RANLIB=$${RANLIB}" \
20103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20104 dvi) \
20105 || exit 1
20106
20107 @endif gprof
20108
20109 .PHONY: maybe-pdf-gprof pdf-gprof
20110 maybe-pdf-gprof:
20111 @if gprof
20112 maybe-pdf-gprof: pdf-gprof
20113
20114 pdf-gprof: \
20115 configure-gprof
20116 @: $(MAKE); $(unstage)
20117 @[ -f ./gprof/Makefile ] || exit 0; \
20118 r=`${PWD_COMMAND}`; export r; \
20119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20120 $(HOST_EXPORTS) \
20121 for flag in $(EXTRA_HOST_FLAGS) ; do \
20122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20123 done; \
20124 echo "Doing pdf in gprof"; \
20125 (cd $(HOST_SUBDIR)/gprof && \
20126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20128 "RANLIB=$${RANLIB}" \
20129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20130 pdf) \
20131 || exit 1
20132
20133 @endif gprof
20134
20135 .PHONY: maybe-html-gprof html-gprof
20136 maybe-html-gprof:
20137 @if gprof
20138 maybe-html-gprof: html-gprof
20139
20140 html-gprof: \
20141 configure-gprof
20142 @: $(MAKE); $(unstage)
20143 @[ -f ./gprof/Makefile ] || exit 0; \
20144 r=`${PWD_COMMAND}`; export r; \
20145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20146 $(HOST_EXPORTS) \
20147 for flag in $(EXTRA_HOST_FLAGS) ; do \
20148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20149 done; \
20150 echo "Doing html in gprof"; \
20151 (cd $(HOST_SUBDIR)/gprof && \
20152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20154 "RANLIB=$${RANLIB}" \
20155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20156 html) \
20157 || exit 1
20158
20159 @endif gprof
20160
20161 .PHONY: maybe-TAGS-gprof TAGS-gprof
20162 maybe-TAGS-gprof:
20163 @if gprof
20164 maybe-TAGS-gprof: TAGS-gprof
20165
20166 TAGS-gprof: \
20167 configure-gprof
20168 @: $(MAKE); $(unstage)
20169 @[ -f ./gprof/Makefile ] || exit 0; \
20170 r=`${PWD_COMMAND}`; export r; \
20171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20172 $(HOST_EXPORTS) \
20173 for flag in $(EXTRA_HOST_FLAGS) ; do \
20174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20175 done; \
20176 echo "Doing TAGS in gprof"; \
20177 (cd $(HOST_SUBDIR)/gprof && \
20178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20180 "RANLIB=$${RANLIB}" \
20181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20182 TAGS) \
20183 || exit 1
20184
20185 @endif gprof
20186
20187 .PHONY: maybe-install-info-gprof install-info-gprof
20188 maybe-install-info-gprof:
20189 @if gprof
20190 maybe-install-info-gprof: install-info-gprof
20191
20192 install-info-gprof: \
20193 configure-gprof \
20194 info-gprof
20195 @: $(MAKE); $(unstage)
20196 @[ -f ./gprof/Makefile ] || exit 0; \
20197 r=`${PWD_COMMAND}`; export r; \
20198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20199 $(HOST_EXPORTS) \
20200 for flag in $(EXTRA_HOST_FLAGS) ; do \
20201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20202 done; \
20203 echo "Doing install-info in gprof"; \
20204 (cd $(HOST_SUBDIR)/gprof && \
20205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20207 "RANLIB=$${RANLIB}" \
20208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20209 install-info) \
20210 || exit 1
20211
20212 @endif gprof
20213
20214 .PHONY: maybe-install-dvi-gprof install-dvi-gprof
20215 maybe-install-dvi-gprof:
20216 @if gprof
20217 maybe-install-dvi-gprof: install-dvi-gprof
20218
20219 install-dvi-gprof: \
20220 configure-gprof \
20221 dvi-gprof
20222 @: $(MAKE); $(unstage)
20223 @[ -f ./gprof/Makefile ] || exit 0; \
20224 r=`${PWD_COMMAND}`; export r; \
20225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20226 $(HOST_EXPORTS) \
20227 for flag in $(EXTRA_HOST_FLAGS) ; do \
20228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20229 done; \
20230 echo "Doing install-dvi in gprof"; \
20231 (cd $(HOST_SUBDIR)/gprof && \
20232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20234 "RANLIB=$${RANLIB}" \
20235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20236 install-dvi) \
20237 || exit 1
20238
20239 @endif gprof
20240
20241 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
20242 maybe-install-pdf-gprof:
20243 @if gprof
20244 maybe-install-pdf-gprof: install-pdf-gprof
20245
20246 install-pdf-gprof: \
20247 configure-gprof \
20248 pdf-gprof
20249 @: $(MAKE); $(unstage)
20250 @[ -f ./gprof/Makefile ] || exit 0; \
20251 r=`${PWD_COMMAND}`; export r; \
20252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20253 $(HOST_EXPORTS) \
20254 for flag in $(EXTRA_HOST_FLAGS) ; do \
20255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20256 done; \
20257 echo "Doing install-pdf in gprof"; \
20258 (cd $(HOST_SUBDIR)/gprof && \
20259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20261 "RANLIB=$${RANLIB}" \
20262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20263 install-pdf) \
20264 || exit 1
20265
20266 @endif gprof
20267
20268 .PHONY: maybe-install-html-gprof install-html-gprof
20269 maybe-install-html-gprof:
20270 @if gprof
20271 maybe-install-html-gprof: install-html-gprof
20272
20273 install-html-gprof: \
20274 configure-gprof \
20275 html-gprof
20276 @: $(MAKE); $(unstage)
20277 @[ -f ./gprof/Makefile ] || exit 0; \
20278 r=`${PWD_COMMAND}`; export r; \
20279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20280 $(HOST_EXPORTS) \
20281 for flag in $(EXTRA_HOST_FLAGS) ; do \
20282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20283 done; \
20284 echo "Doing install-html in gprof"; \
20285 (cd $(HOST_SUBDIR)/gprof && \
20286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20288 "RANLIB=$${RANLIB}" \
20289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20290 install-html) \
20291 || exit 1
20292
20293 @endif gprof
20294
20295 .PHONY: maybe-installcheck-gprof installcheck-gprof
20296 maybe-installcheck-gprof:
20297 @if gprof
20298 maybe-installcheck-gprof: installcheck-gprof
20299
20300 installcheck-gprof: \
20301 configure-gprof
20302 @: $(MAKE); $(unstage)
20303 @[ -f ./gprof/Makefile ] || exit 0; \
20304 r=`${PWD_COMMAND}`; export r; \
20305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20306 $(HOST_EXPORTS) \
20307 for flag in $(EXTRA_HOST_FLAGS) ; do \
20308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20309 done; \
20310 echo "Doing installcheck in gprof"; \
20311 (cd $(HOST_SUBDIR)/gprof && \
20312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20314 "RANLIB=$${RANLIB}" \
20315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20316 installcheck) \
20317 || exit 1
20318
20319 @endif gprof
20320
20321 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
20322 maybe-mostlyclean-gprof:
20323 @if gprof
20324 maybe-mostlyclean-gprof: mostlyclean-gprof
20325
20326 mostlyclean-gprof:
20327 @: $(MAKE); $(unstage)
20328 @[ -f ./gprof/Makefile ] || exit 0; \
20329 r=`${PWD_COMMAND}`; export r; \
20330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20331 $(HOST_EXPORTS) \
20332 for flag in $(EXTRA_HOST_FLAGS) ; do \
20333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20334 done; \
20335 echo "Doing mostlyclean in gprof"; \
20336 (cd $(HOST_SUBDIR)/gprof && \
20337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20339 "RANLIB=$${RANLIB}" \
20340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20341 mostlyclean) \
20342 || exit 1
20343
20344 @endif gprof
20345
20346 .PHONY: maybe-clean-gprof clean-gprof
20347 maybe-clean-gprof:
20348 @if gprof
20349 maybe-clean-gprof: clean-gprof
20350
20351 clean-gprof:
20352 @: $(MAKE); $(unstage)
20353 @[ -f ./gprof/Makefile ] || exit 0; \
20354 r=`${PWD_COMMAND}`; export r; \
20355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20356 $(HOST_EXPORTS) \
20357 for flag in $(EXTRA_HOST_FLAGS) ; do \
20358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20359 done; \
20360 echo "Doing clean in gprof"; \
20361 (cd $(HOST_SUBDIR)/gprof && \
20362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20364 "RANLIB=$${RANLIB}" \
20365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20366 clean) \
20367 || exit 1
20368
20369 @endif gprof
20370
20371 .PHONY: maybe-distclean-gprof distclean-gprof
20372 maybe-distclean-gprof:
20373 @if gprof
20374 maybe-distclean-gprof: distclean-gprof
20375
20376 distclean-gprof:
20377 @: $(MAKE); $(unstage)
20378 @[ -f ./gprof/Makefile ] || exit 0; \
20379 r=`${PWD_COMMAND}`; export r; \
20380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20381 $(HOST_EXPORTS) \
20382 for flag in $(EXTRA_HOST_FLAGS) ; do \
20383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20384 done; \
20385 echo "Doing distclean in gprof"; \
20386 (cd $(HOST_SUBDIR)/gprof && \
20387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20389 "RANLIB=$${RANLIB}" \
20390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20391 distclean) \
20392 || exit 1
20393
20394 @endif gprof
20395
20396 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
20397 maybe-maintainer-clean-gprof:
20398 @if gprof
20399 maybe-maintainer-clean-gprof: maintainer-clean-gprof
20400
20401 maintainer-clean-gprof:
20402 @: $(MAKE); $(unstage)
20403 @[ -f ./gprof/Makefile ] || exit 0; \
20404 r=`${PWD_COMMAND}`; export r; \
20405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20406 $(HOST_EXPORTS) \
20407 for flag in $(EXTRA_HOST_FLAGS) ; do \
20408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20409 done; \
20410 echo "Doing maintainer-clean in gprof"; \
20411 (cd $(HOST_SUBDIR)/gprof && \
20412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20414 "RANLIB=$${RANLIB}" \
20415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20416 maintainer-clean) \
20417 || exit 1
20418
20419 @endif gprof
20420
20421
20422
20423 .PHONY: configure-intl maybe-configure-intl
20424 maybe-configure-intl:
20425 @if gcc-bootstrap
20426 configure-intl: stage_current
20427 @endif gcc-bootstrap
20428 @if intl
20429 maybe-configure-intl: configure-intl
20430 configure-intl:
20431 @r=`${PWD_COMMAND}`; export r; \
20432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20433 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
20434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20435 $(HOST_EXPORTS) \
20436 echo Configuring in $(HOST_SUBDIR)/intl; \
20437 cd "$(HOST_SUBDIR)/intl" || exit 1; \
20438 case $(srcdir) in \
20439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20440 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20442 esac; \
20443 module_srcdir=intl; \
20444 $(SHELL) \
20445 $$s/$$module_srcdir/configure \
20446 --srcdir=$${topdir}/$$module_srcdir \
20447 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20448 --target=${target_alias} \
20449 || exit 1
20450 @endif intl
20451
20452
20453
20454 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
20455 maybe-configure-stage1-intl:
20456 @if intl-bootstrap
20457 maybe-configure-stage1-intl: configure-stage1-intl
20458 configure-stage1-intl:
20459 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20460 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
20461 @r=`${PWD_COMMAND}`; export r; \
20462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20463 TFLAGS="$(STAGE1_TFLAGS)"; \
20464 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
20465 $(HOST_EXPORTS) \
20466 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20467 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20468 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20469 echo Configuring stage 1 in $(HOST_SUBDIR)/intl; \
20470 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20471 cd $(HOST_SUBDIR)/intl || exit 1; \
20472 case $(srcdir) in \
20473 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20474 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20475 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20476 esac; \
20477 module_srcdir=intl; \
20478 $(SHELL) $$s/$$module_srcdir/configure \
20479 --srcdir=$${topdir}/$$module_srcdir \
20480 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20481 --target=${target_alias} \
20482 \
20483 $(STAGE1_CONFIGURE_FLAGS)
20484 @endif intl-bootstrap
20485
20486 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
20487 maybe-configure-stage2-intl:
20488 @if intl-bootstrap
20489 maybe-configure-stage2-intl: configure-stage2-intl
20490 configure-stage2-intl:
20491 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20492 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
20493 @r=`${PWD_COMMAND}`; export r; \
20494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20495 TFLAGS="$(STAGE2_TFLAGS)"; \
20496 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
20497 $(HOST_EXPORTS) \
20498 $(POSTSTAGE1_HOST_EXPORTS) \
20499 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20500 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20501 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20502 echo Configuring stage 2 in $(HOST_SUBDIR)/intl; \
20503 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20504 cd $(HOST_SUBDIR)/intl || exit 1; \
20505 case $(srcdir) in \
20506 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20507 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20508 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20509 esac; \
20510 module_srcdir=intl; \
20511 $(SHELL) $$s/$$module_srcdir/configure \
20512 --srcdir=$${topdir}/$$module_srcdir \
20513 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20514 --target=${target_alias} \
20515 --with-build-libsubdir=$(HOST_SUBDIR) \
20516 $(STAGE2_CONFIGURE_FLAGS)
20517 @endif intl-bootstrap
20518
20519 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
20520 maybe-configure-stage3-intl:
20521 @if intl-bootstrap
20522 maybe-configure-stage3-intl: configure-stage3-intl
20523 configure-stage3-intl:
20524 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20525 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
20526 @r=`${PWD_COMMAND}`; export r; \
20527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20528 TFLAGS="$(STAGE3_TFLAGS)"; \
20529 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
20530 $(HOST_EXPORTS) \
20531 $(POSTSTAGE1_HOST_EXPORTS) \
20532 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20533 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20534 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20535 echo Configuring stage 3 in $(HOST_SUBDIR)/intl; \
20536 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20537 cd $(HOST_SUBDIR)/intl || exit 1; \
20538 case $(srcdir) in \
20539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20540 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20542 esac; \
20543 module_srcdir=intl; \
20544 $(SHELL) $$s/$$module_srcdir/configure \
20545 --srcdir=$${topdir}/$$module_srcdir \
20546 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20547 --target=${target_alias} \
20548 --with-build-libsubdir=$(HOST_SUBDIR) \
20549 $(STAGE3_CONFIGURE_FLAGS)
20550 @endif intl-bootstrap
20551
20552 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
20553 maybe-configure-stage4-intl:
20554 @if intl-bootstrap
20555 maybe-configure-stage4-intl: configure-stage4-intl
20556 configure-stage4-intl:
20557 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20558 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
20559 @r=`${PWD_COMMAND}`; export r; \
20560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20561 TFLAGS="$(STAGE4_TFLAGS)"; \
20562 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
20563 $(HOST_EXPORTS) \
20564 $(POSTSTAGE1_HOST_EXPORTS) \
20565 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20566 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20567 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20568 echo Configuring stage 4 in $(HOST_SUBDIR)/intl; \
20569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20570 cd $(HOST_SUBDIR)/intl || exit 1; \
20571 case $(srcdir) in \
20572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20573 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20575 esac; \
20576 module_srcdir=intl; \
20577 $(SHELL) $$s/$$module_srcdir/configure \
20578 --srcdir=$${topdir}/$$module_srcdir \
20579 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20580 --target=${target_alias} \
20581 --with-build-libsubdir=$(HOST_SUBDIR) \
20582 $(STAGE4_CONFIGURE_FLAGS)
20583 @endif intl-bootstrap
20584
20585 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
20586 maybe-configure-stageprofile-intl:
20587 @if intl-bootstrap
20588 maybe-configure-stageprofile-intl: configure-stageprofile-intl
20589 configure-stageprofile-intl:
20590 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20591 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
20592 @r=`${PWD_COMMAND}`; export r; \
20593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20594 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20595 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
20596 $(HOST_EXPORTS) \
20597 $(POSTSTAGE1_HOST_EXPORTS) \
20598 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20599 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20600 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20601 echo Configuring stage profile in $(HOST_SUBDIR)/intl; \
20602 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20603 cd $(HOST_SUBDIR)/intl || exit 1; \
20604 case $(srcdir) in \
20605 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20606 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20607 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20608 esac; \
20609 module_srcdir=intl; \
20610 $(SHELL) $$s/$$module_srcdir/configure \
20611 --srcdir=$${topdir}/$$module_srcdir \
20612 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20613 --target=${target_alias} \
20614 --with-build-libsubdir=$(HOST_SUBDIR) \
20615 $(STAGEprofile_CONFIGURE_FLAGS)
20616 @endif intl-bootstrap
20617
20618 .PHONY: configure-stagetrain-intl maybe-configure-stagetrain-intl
20619 maybe-configure-stagetrain-intl:
20620 @if intl-bootstrap
20621 maybe-configure-stagetrain-intl: configure-stagetrain-intl
20622 configure-stagetrain-intl:
20623 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
20624 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
20625 @r=`${PWD_COMMAND}`; export r; \
20626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20627 TFLAGS="$(STAGEtrain_TFLAGS)"; \
20628 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
20629 $(HOST_EXPORTS) \
20630 $(POSTSTAGE1_HOST_EXPORTS) \
20631 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
20632 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
20633 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
20634 echo Configuring stage train in $(HOST_SUBDIR)/intl; \
20635 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20636 cd $(HOST_SUBDIR)/intl || exit 1; \
20637 case $(srcdir) in \
20638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20639 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20641 esac; \
20642 module_srcdir=intl; \
20643 $(SHELL) $$s/$$module_srcdir/configure \
20644 --srcdir=$${topdir}/$$module_srcdir \
20645 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20646 --target=${target_alias} \
20647 --with-build-libsubdir=$(HOST_SUBDIR) \
20648 $(STAGEtrain_CONFIGURE_FLAGS)
20649 @endif intl-bootstrap
20650
20651 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
20652 maybe-configure-stagefeedback-intl:
20653 @if intl-bootstrap
20654 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
20655 configure-stagefeedback-intl:
20656 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20657 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
20658 @r=`${PWD_COMMAND}`; export r; \
20659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20660 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20661 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
20662 $(HOST_EXPORTS) \
20663 $(POSTSTAGE1_HOST_EXPORTS) \
20664 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20665 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20666 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20667 echo Configuring stage feedback in $(HOST_SUBDIR)/intl; \
20668 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20669 cd $(HOST_SUBDIR)/intl || exit 1; \
20670 case $(srcdir) in \
20671 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20672 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20673 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20674 esac; \
20675 module_srcdir=intl; \
20676 $(SHELL) $$s/$$module_srcdir/configure \
20677 --srcdir=$${topdir}/$$module_srcdir \
20678 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20679 --target=${target_alias} \
20680 --with-build-libsubdir=$(HOST_SUBDIR) \
20681 $(STAGEfeedback_CONFIGURE_FLAGS)
20682 @endif intl-bootstrap
20683
20684 .PHONY: configure-stageautoprofile-intl maybe-configure-stageautoprofile-intl
20685 maybe-configure-stageautoprofile-intl:
20686 @if intl-bootstrap
20687 maybe-configure-stageautoprofile-intl: configure-stageautoprofile-intl
20688 configure-stageautoprofile-intl:
20689 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
20690 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
20691 @r=`${PWD_COMMAND}`; export r; \
20692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20693 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
20694 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
20695 $(HOST_EXPORTS) \
20696 $(POSTSTAGE1_HOST_EXPORTS) \
20697 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
20698 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
20699 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
20700 echo Configuring stage autoprofile in $(HOST_SUBDIR)/intl; \
20701 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20702 cd $(HOST_SUBDIR)/intl || exit 1; \
20703 case $(srcdir) in \
20704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20705 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20707 esac; \
20708 module_srcdir=intl; \
20709 $(SHELL) $$s/$$module_srcdir/configure \
20710 --srcdir=$${topdir}/$$module_srcdir \
20711 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20712 --target=${target_alias} \
20713 --with-build-libsubdir=$(HOST_SUBDIR) \
20714 $(STAGEautoprofile_CONFIGURE_FLAGS)
20715 @endif intl-bootstrap
20716
20717 .PHONY: configure-stageautofeedback-intl maybe-configure-stageautofeedback-intl
20718 maybe-configure-stageautofeedback-intl:
20719 @if intl-bootstrap
20720 maybe-configure-stageautofeedback-intl: configure-stageautofeedback-intl
20721 configure-stageautofeedback-intl:
20722 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
20723 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
20724 @r=`${PWD_COMMAND}`; export r; \
20725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20726 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
20727 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
20728 $(HOST_EXPORTS) \
20729 $(POSTSTAGE1_HOST_EXPORTS) \
20730 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
20731 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
20732 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
20733 echo Configuring stage autofeedback in $(HOST_SUBDIR)/intl; \
20734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl; \
20735 cd $(HOST_SUBDIR)/intl || exit 1; \
20736 case $(srcdir) in \
20737 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20738 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
20739 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20740 esac; \
20741 module_srcdir=intl; \
20742 $(SHELL) $$s/$$module_srcdir/configure \
20743 --srcdir=$${topdir}/$$module_srcdir \
20744 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20745 --target=${target_alias} \
20746 --with-build-libsubdir=$(HOST_SUBDIR) \
20747 $(STAGEautofeedback_CONFIGURE_FLAGS)
20748 @endif intl-bootstrap
20749
20750
20751
20752
20753
20754 .PHONY: all-intl maybe-all-intl
20755 maybe-all-intl:
20756 @if gcc-bootstrap
20757 all-intl: stage_current
20758 @endif gcc-bootstrap
20759 @if intl
20760 TARGET-intl=all
20761 maybe-all-intl: all-intl
20762 all-intl: configure-intl
20763 @r=`${PWD_COMMAND}`; export r; \
20764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20765 $(HOST_EXPORTS) \
20766 (cd $(HOST_SUBDIR)/intl && \
20767 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20768 $(TARGET-intl))
20769 @endif intl
20770
20771
20772
20773 .PHONY: all-stage1-intl maybe-all-stage1-intl
20774 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
20775 maybe-all-stage1-intl:
20776 maybe-clean-stage1-intl:
20777 @if intl-bootstrap
20778 maybe-all-stage1-intl: all-stage1-intl
20779 all-stage1: all-stage1-intl
20780 TARGET-stage1-intl = $(TARGET-intl)
20781 all-stage1-intl: configure-stage1-intl
20782 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20783 @r=`${PWD_COMMAND}`; export r; \
20784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20785 TFLAGS="$(STAGE1_TFLAGS)"; \
20786 $(HOST_EXPORTS) \
20787 cd $(HOST_SUBDIR)/intl && \
20788 \
20789 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20790 CFLAGS="$(STAGE1_CFLAGS)" \
20791 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
20792 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20793 LIBCFLAGS="$(LIBCFLAGS)" \
20794 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20795 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20796 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20797 $(EXTRA_HOST_FLAGS) \
20798 $(STAGE1_FLAGS_TO_PASS) \
20799 TFLAGS="$(STAGE1_TFLAGS)" \
20800 $(TARGET-stage1-intl)
20801
20802 maybe-clean-stage1-intl: clean-stage1-intl
20803 clean-stage1: clean-stage1-intl
20804 clean-stage1-intl:
20805 @if [ $(current_stage) = stage1 ]; then \
20806 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20807 else \
20808 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
20809 $(MAKE) stage1-start; \
20810 fi; \
20811 cd $(HOST_SUBDIR)/intl && \
20812 $(MAKE) $(EXTRA_HOST_FLAGS) \
20813 $(STAGE1_FLAGS_TO_PASS) clean
20814 @endif intl-bootstrap
20815
20816
20817 .PHONY: all-stage2-intl maybe-all-stage2-intl
20818 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
20819 maybe-all-stage2-intl:
20820 maybe-clean-stage2-intl:
20821 @if intl-bootstrap
20822 maybe-all-stage2-intl: all-stage2-intl
20823 all-stage2: all-stage2-intl
20824 TARGET-stage2-intl = $(TARGET-intl)
20825 all-stage2-intl: configure-stage2-intl
20826 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20827 @r=`${PWD_COMMAND}`; export r; \
20828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20829 TFLAGS="$(STAGE2_TFLAGS)"; \
20830 $(HOST_EXPORTS) \
20831 $(POSTSTAGE1_HOST_EXPORTS) \
20832 cd $(HOST_SUBDIR)/intl && \
20833 \
20834 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20835 CFLAGS="$(STAGE2_CFLAGS)" \
20836 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
20837 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20838 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20839 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20840 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20841 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20842 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20843 TFLAGS="$(STAGE2_TFLAGS)" \
20844 $(TARGET-stage2-intl)
20845
20846 maybe-clean-stage2-intl: clean-stage2-intl
20847 clean-stage2: clean-stage2-intl
20848 clean-stage2-intl:
20849 @if [ $(current_stage) = stage2 ]; then \
20850 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20851 else \
20852 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
20853 $(MAKE) stage2-start; \
20854 fi; \
20855 cd $(HOST_SUBDIR)/intl && \
20856 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20857 @endif intl-bootstrap
20858
20859
20860 .PHONY: all-stage3-intl maybe-all-stage3-intl
20861 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
20862 maybe-all-stage3-intl:
20863 maybe-clean-stage3-intl:
20864 @if intl-bootstrap
20865 maybe-all-stage3-intl: all-stage3-intl
20866 all-stage3: all-stage3-intl
20867 TARGET-stage3-intl = $(TARGET-intl)
20868 all-stage3-intl: configure-stage3-intl
20869 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20870 @r=`${PWD_COMMAND}`; export r; \
20871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20872 TFLAGS="$(STAGE3_TFLAGS)"; \
20873 $(HOST_EXPORTS) \
20874 $(POSTSTAGE1_HOST_EXPORTS) \
20875 cd $(HOST_SUBDIR)/intl && \
20876 \
20877 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20878 CFLAGS="$(STAGE3_CFLAGS)" \
20879 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
20880 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20881 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20882 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20883 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20884 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20885 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20886 TFLAGS="$(STAGE3_TFLAGS)" \
20887 $(TARGET-stage3-intl)
20888
20889 maybe-clean-stage3-intl: clean-stage3-intl
20890 clean-stage3: clean-stage3-intl
20891 clean-stage3-intl:
20892 @if [ $(current_stage) = stage3 ]; then \
20893 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20894 else \
20895 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
20896 $(MAKE) stage3-start; \
20897 fi; \
20898 cd $(HOST_SUBDIR)/intl && \
20899 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20900 @endif intl-bootstrap
20901
20902
20903 .PHONY: all-stage4-intl maybe-all-stage4-intl
20904 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
20905 maybe-all-stage4-intl:
20906 maybe-clean-stage4-intl:
20907 @if intl-bootstrap
20908 maybe-all-stage4-intl: all-stage4-intl
20909 all-stage4: all-stage4-intl
20910 TARGET-stage4-intl = $(TARGET-intl)
20911 all-stage4-intl: configure-stage4-intl
20912 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20913 @r=`${PWD_COMMAND}`; export r; \
20914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20915 TFLAGS="$(STAGE4_TFLAGS)"; \
20916 $(HOST_EXPORTS) \
20917 $(POSTSTAGE1_HOST_EXPORTS) \
20918 cd $(HOST_SUBDIR)/intl && \
20919 \
20920 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20921 CFLAGS="$(STAGE4_CFLAGS)" \
20922 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
20923 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20924 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20925 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20926 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20927 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20928 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20929 TFLAGS="$(STAGE4_TFLAGS)" \
20930 $(TARGET-stage4-intl)
20931
20932 maybe-clean-stage4-intl: clean-stage4-intl
20933 clean-stage4: clean-stage4-intl
20934 clean-stage4-intl:
20935 @if [ $(current_stage) = stage4 ]; then \
20936 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20937 else \
20938 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
20939 $(MAKE) stage4-start; \
20940 fi; \
20941 cd $(HOST_SUBDIR)/intl && \
20942 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20943 @endif intl-bootstrap
20944
20945
20946 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
20947 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
20948 maybe-all-stageprofile-intl:
20949 maybe-clean-stageprofile-intl:
20950 @if intl-bootstrap
20951 maybe-all-stageprofile-intl: all-stageprofile-intl
20952 all-stageprofile: all-stageprofile-intl
20953 TARGET-stageprofile-intl = $(TARGET-intl)
20954 all-stageprofile-intl: configure-stageprofile-intl
20955 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20956 @r=`${PWD_COMMAND}`; export r; \
20957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20958 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20959 $(HOST_EXPORTS) \
20960 $(POSTSTAGE1_HOST_EXPORTS) \
20961 cd $(HOST_SUBDIR)/intl && \
20962 \
20963 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20964 CFLAGS="$(STAGEprofile_CFLAGS)" \
20965 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
20966 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20967 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20968 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20969 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20970 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20971 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20972 TFLAGS="$(STAGEprofile_TFLAGS)" \
20973 $(TARGET-stageprofile-intl)
20974
20975 maybe-clean-stageprofile-intl: clean-stageprofile-intl
20976 clean-stageprofile: clean-stageprofile-intl
20977 clean-stageprofile-intl:
20978 @if [ $(current_stage) = stageprofile ]; then \
20979 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
20980 else \
20981 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
20982 $(MAKE) stageprofile-start; \
20983 fi; \
20984 cd $(HOST_SUBDIR)/intl && \
20985 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20986 @endif intl-bootstrap
20987
20988
20989 .PHONY: all-stagetrain-intl maybe-all-stagetrain-intl
20990 .PHONY: clean-stagetrain-intl maybe-clean-stagetrain-intl
20991 maybe-all-stagetrain-intl:
20992 maybe-clean-stagetrain-intl:
20993 @if intl-bootstrap
20994 maybe-all-stagetrain-intl: all-stagetrain-intl
20995 all-stagetrain: all-stagetrain-intl
20996 TARGET-stagetrain-intl = $(TARGET-intl)
20997 all-stagetrain-intl: configure-stagetrain-intl
20998 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
20999 @r=`${PWD_COMMAND}`; export r; \
21000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21001 TFLAGS="$(STAGEtrain_TFLAGS)"; \
21002 $(HOST_EXPORTS) \
21003 $(POSTSTAGE1_HOST_EXPORTS) \
21004 cd $(HOST_SUBDIR)/intl && \
21005 \
21006 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21007 CFLAGS="$(STAGEtrain_CFLAGS)" \
21008 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
21009 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
21010 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
21011 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21012 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21013 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21014 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21015 TFLAGS="$(STAGEtrain_TFLAGS)" \
21016 $(TARGET-stagetrain-intl)
21017
21018 maybe-clean-stagetrain-intl: clean-stagetrain-intl
21019 clean-stagetrain: clean-stagetrain-intl
21020 clean-stagetrain-intl:
21021 @if [ $(current_stage) = stagetrain ]; then \
21022 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21023 else \
21024 [ -f $(HOST_SUBDIR)/stagetrain-intl/Makefile ] || exit 0; \
21025 $(MAKE) stagetrain-start; \
21026 fi; \
21027 cd $(HOST_SUBDIR)/intl && \
21028 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21029 @endif intl-bootstrap
21030
21031
21032 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
21033 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
21034 maybe-all-stagefeedback-intl:
21035 maybe-clean-stagefeedback-intl:
21036 @if intl-bootstrap
21037 maybe-all-stagefeedback-intl: all-stagefeedback-intl
21038 all-stagefeedback: all-stagefeedback-intl
21039 TARGET-stagefeedback-intl = $(TARGET-intl)
21040 all-stagefeedback-intl: configure-stagefeedback-intl
21041 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21042 @r=`${PWD_COMMAND}`; export r; \
21043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21044 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21045 $(HOST_EXPORTS) \
21046 $(POSTSTAGE1_HOST_EXPORTS) \
21047 cd $(HOST_SUBDIR)/intl && \
21048 \
21049 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21050 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21051 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
21052 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21053 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21054 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21055 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21056 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21057 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21058 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21059 $(TARGET-stagefeedback-intl)
21060
21061 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
21062 clean-stagefeedback: clean-stagefeedback-intl
21063 clean-stagefeedback-intl:
21064 @if [ $(current_stage) = stagefeedback ]; then \
21065 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21066 else \
21067 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
21068 $(MAKE) stagefeedback-start; \
21069 fi; \
21070 cd $(HOST_SUBDIR)/intl && \
21071 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21072 @endif intl-bootstrap
21073
21074
21075 .PHONY: all-stageautoprofile-intl maybe-all-stageautoprofile-intl
21076 .PHONY: clean-stageautoprofile-intl maybe-clean-stageautoprofile-intl
21077 maybe-all-stageautoprofile-intl:
21078 maybe-clean-stageautoprofile-intl:
21079 @if intl-bootstrap
21080 maybe-all-stageautoprofile-intl: all-stageautoprofile-intl
21081 all-stageautoprofile: all-stageautoprofile-intl
21082 TARGET-stageautoprofile-intl = $(TARGET-intl)
21083 all-stageautoprofile-intl: configure-stageautoprofile-intl
21084 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
21085 @r=`${PWD_COMMAND}`; export r; \
21086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21087 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
21088 $(HOST_EXPORTS) \
21089 $(POSTSTAGE1_HOST_EXPORTS) \
21090 cd $(HOST_SUBDIR)/intl && \
21091 $$s/gcc/config/i386/$(AUTO_PROFILE) \
21092 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21093 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
21094 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
21095 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
21096 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
21097 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21098 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21099 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21100 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21101 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
21102 $(TARGET-stageautoprofile-intl)
21103
21104 maybe-clean-stageautoprofile-intl: clean-stageautoprofile-intl
21105 clean-stageautoprofile: clean-stageautoprofile-intl
21106 clean-stageautoprofile-intl:
21107 @if [ $(current_stage) = stageautoprofile ]; then \
21108 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21109 else \
21110 [ -f $(HOST_SUBDIR)/stageautoprofile-intl/Makefile ] || exit 0; \
21111 $(MAKE) stageautoprofile-start; \
21112 fi; \
21113 cd $(HOST_SUBDIR)/intl && \
21114 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21115 @endif intl-bootstrap
21116
21117
21118 .PHONY: all-stageautofeedback-intl maybe-all-stageautofeedback-intl
21119 .PHONY: clean-stageautofeedback-intl maybe-clean-stageautofeedback-intl
21120 maybe-all-stageautofeedback-intl:
21121 maybe-clean-stageautofeedback-intl:
21122 @if intl-bootstrap
21123 maybe-all-stageautofeedback-intl: all-stageautofeedback-intl
21124 all-stageautofeedback: all-stageautofeedback-intl
21125 TARGET-stageautofeedback-intl = $(TARGET-intl)
21126 all-stageautofeedback-intl: configure-stageautofeedback-intl
21127 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
21128 @r=`${PWD_COMMAND}`; export r; \
21129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21130 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
21131 $(HOST_EXPORTS) \
21132 $(POSTSTAGE1_HOST_EXPORTS) \
21133 cd $(HOST_SUBDIR)/intl && \
21134 \
21135 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21136 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
21137 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
21138 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
21139 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
21140 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21141 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21142 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21143 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21144 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
21145 $(TARGET-stageautofeedback-intl)
21146
21147 maybe-clean-stageautofeedback-intl: clean-stageautofeedback-intl
21148 clean-stageautofeedback: clean-stageautofeedback-intl
21149 clean-stageautofeedback-intl:
21150 @if [ $(current_stage) = stageautofeedback ]; then \
21151 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21152 else \
21153 [ -f $(HOST_SUBDIR)/stageautofeedback-intl/Makefile ] || exit 0; \
21154 $(MAKE) stageautofeedback-start; \
21155 fi; \
21156 cd $(HOST_SUBDIR)/intl && \
21157 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21158 @endif intl-bootstrap
21159
21160
21161
21162
21163
21164 .PHONY: check-intl maybe-check-intl
21165 maybe-check-intl:
21166 @if intl
21167 maybe-check-intl: check-intl
21168
21169 check-intl:
21170 @: $(MAKE); $(unstage)
21171 @r=`${PWD_COMMAND}`; export r; \
21172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21173 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
21174 (cd $(HOST_SUBDIR)/intl && \
21175 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
21176
21177 @endif intl
21178
21179 .PHONY: install-intl maybe-install-intl
21180 maybe-install-intl:
21181 @if intl
21182 maybe-install-intl: install-intl
21183
21184 install-intl: installdirs
21185 @: $(MAKE); $(unstage)
21186 @r=`${PWD_COMMAND}`; export r; \
21187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21188 $(HOST_EXPORTS) \
21189 (cd $(HOST_SUBDIR)/intl && \
21190 $(MAKE) $(FLAGS_TO_PASS) install)
21191
21192 @endif intl
21193
21194 .PHONY: install-strip-intl maybe-install-strip-intl
21195 maybe-install-strip-intl:
21196 @if intl
21197 maybe-install-strip-intl: install-strip-intl
21198
21199 install-strip-intl: installdirs
21200 @: $(MAKE); $(unstage)
21201 @r=`${PWD_COMMAND}`; export r; \
21202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21203 $(HOST_EXPORTS) \
21204 (cd $(HOST_SUBDIR)/intl && \
21205 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21206
21207 @endif intl
21208
21209 # Other targets (info, dvi, pdf, etc.)
21210
21211 .PHONY: maybe-info-intl info-intl
21212 maybe-info-intl:
21213 @if intl
21214 maybe-info-intl: info-intl
21215
21216 info-intl: \
21217 configure-intl
21218 @[ -f ./intl/Makefile ] || exit 0; \
21219 r=`${PWD_COMMAND}`; export r; \
21220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21221 $(HOST_EXPORTS) \
21222 for flag in $(EXTRA_HOST_FLAGS) ; do \
21223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21224 done; \
21225 echo "Doing info in intl"; \
21226 (cd $(HOST_SUBDIR)/intl && \
21227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21229 "RANLIB=$${RANLIB}" \
21230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21231 info) \
21232 || exit 1
21233
21234 @endif intl
21235
21236 .PHONY: maybe-dvi-intl dvi-intl
21237 maybe-dvi-intl:
21238 @if intl
21239 maybe-dvi-intl: dvi-intl
21240
21241 dvi-intl: \
21242 configure-intl
21243 @[ -f ./intl/Makefile ] || exit 0; \
21244 r=`${PWD_COMMAND}`; export r; \
21245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21246 $(HOST_EXPORTS) \
21247 for flag in $(EXTRA_HOST_FLAGS) ; do \
21248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21249 done; \
21250 echo "Doing dvi in intl"; \
21251 (cd $(HOST_SUBDIR)/intl && \
21252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21254 "RANLIB=$${RANLIB}" \
21255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21256 dvi) \
21257 || exit 1
21258
21259 @endif intl
21260
21261 .PHONY: maybe-pdf-intl pdf-intl
21262 maybe-pdf-intl:
21263 @if intl
21264 maybe-pdf-intl: pdf-intl
21265
21266 pdf-intl: \
21267 configure-intl
21268 @[ -f ./intl/Makefile ] || exit 0; \
21269 r=`${PWD_COMMAND}`; export r; \
21270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21271 $(HOST_EXPORTS) \
21272 for flag in $(EXTRA_HOST_FLAGS) ; do \
21273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21274 done; \
21275 echo "Doing pdf in intl"; \
21276 (cd $(HOST_SUBDIR)/intl && \
21277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21279 "RANLIB=$${RANLIB}" \
21280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21281 pdf) \
21282 || exit 1
21283
21284 @endif intl
21285
21286 .PHONY: maybe-html-intl html-intl
21287 maybe-html-intl:
21288 @if intl
21289 maybe-html-intl: html-intl
21290
21291 html-intl: \
21292 configure-intl
21293 @[ -f ./intl/Makefile ] || exit 0; \
21294 r=`${PWD_COMMAND}`; export r; \
21295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21296 $(HOST_EXPORTS) \
21297 for flag in $(EXTRA_HOST_FLAGS) ; do \
21298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21299 done; \
21300 echo "Doing html in intl"; \
21301 (cd $(HOST_SUBDIR)/intl && \
21302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21304 "RANLIB=$${RANLIB}" \
21305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21306 html) \
21307 || exit 1
21308
21309 @endif intl
21310
21311 .PHONY: maybe-TAGS-intl TAGS-intl
21312 maybe-TAGS-intl:
21313 @if intl
21314 maybe-TAGS-intl: TAGS-intl
21315
21316 TAGS-intl: \
21317 configure-intl
21318 @[ -f ./intl/Makefile ] || exit 0; \
21319 r=`${PWD_COMMAND}`; export r; \
21320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21321 $(HOST_EXPORTS) \
21322 for flag in $(EXTRA_HOST_FLAGS) ; do \
21323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21324 done; \
21325 echo "Doing TAGS in intl"; \
21326 (cd $(HOST_SUBDIR)/intl && \
21327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21329 "RANLIB=$${RANLIB}" \
21330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21331 TAGS) \
21332 || exit 1
21333
21334 @endif intl
21335
21336 .PHONY: maybe-install-info-intl install-info-intl
21337 maybe-install-info-intl:
21338 @if intl
21339 maybe-install-info-intl: install-info-intl
21340
21341 install-info-intl: \
21342 configure-intl \
21343 info-intl
21344 @[ -f ./intl/Makefile ] || exit 0; \
21345 r=`${PWD_COMMAND}`; export r; \
21346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21347 $(HOST_EXPORTS) \
21348 for flag in $(EXTRA_HOST_FLAGS) ; do \
21349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21350 done; \
21351 echo "Doing install-info in intl"; \
21352 (cd $(HOST_SUBDIR)/intl && \
21353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21355 "RANLIB=$${RANLIB}" \
21356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21357 install-info) \
21358 || exit 1
21359
21360 @endif intl
21361
21362 .PHONY: maybe-install-dvi-intl install-dvi-intl
21363 maybe-install-dvi-intl:
21364 @if intl
21365 maybe-install-dvi-intl: install-dvi-intl
21366
21367 install-dvi-intl: \
21368 configure-intl \
21369 dvi-intl
21370 @[ -f ./intl/Makefile ] || exit 0; \
21371 r=`${PWD_COMMAND}`; export r; \
21372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21373 $(HOST_EXPORTS) \
21374 for flag in $(EXTRA_HOST_FLAGS) ; do \
21375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21376 done; \
21377 echo "Doing install-dvi in intl"; \
21378 (cd $(HOST_SUBDIR)/intl && \
21379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21381 "RANLIB=$${RANLIB}" \
21382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21383 install-dvi) \
21384 || exit 1
21385
21386 @endif intl
21387
21388 .PHONY: maybe-install-pdf-intl install-pdf-intl
21389 maybe-install-pdf-intl:
21390 @if intl
21391 maybe-install-pdf-intl: install-pdf-intl
21392
21393 install-pdf-intl: \
21394 configure-intl \
21395 pdf-intl
21396 @[ -f ./intl/Makefile ] || exit 0; \
21397 r=`${PWD_COMMAND}`; export r; \
21398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21399 $(HOST_EXPORTS) \
21400 for flag in $(EXTRA_HOST_FLAGS) ; do \
21401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21402 done; \
21403 echo "Doing install-pdf in intl"; \
21404 (cd $(HOST_SUBDIR)/intl && \
21405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21407 "RANLIB=$${RANLIB}" \
21408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21409 install-pdf) \
21410 || exit 1
21411
21412 @endif intl
21413
21414 .PHONY: maybe-install-html-intl install-html-intl
21415 maybe-install-html-intl:
21416 @if intl
21417 maybe-install-html-intl: install-html-intl
21418
21419 install-html-intl: \
21420 configure-intl \
21421 html-intl
21422 @[ -f ./intl/Makefile ] || exit 0; \
21423 r=`${PWD_COMMAND}`; export r; \
21424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21425 $(HOST_EXPORTS) \
21426 for flag in $(EXTRA_HOST_FLAGS) ; do \
21427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21428 done; \
21429 echo "Doing install-html in intl"; \
21430 (cd $(HOST_SUBDIR)/intl && \
21431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21433 "RANLIB=$${RANLIB}" \
21434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21435 install-html) \
21436 || exit 1
21437
21438 @endif intl
21439
21440 .PHONY: maybe-installcheck-intl installcheck-intl
21441 maybe-installcheck-intl:
21442 @if intl
21443 maybe-installcheck-intl: installcheck-intl
21444
21445 installcheck-intl: \
21446 configure-intl
21447 @[ -f ./intl/Makefile ] || exit 0; \
21448 r=`${PWD_COMMAND}`; export r; \
21449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21450 $(HOST_EXPORTS) \
21451 for flag in $(EXTRA_HOST_FLAGS) ; do \
21452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21453 done; \
21454 echo "Doing installcheck in intl"; \
21455 (cd $(HOST_SUBDIR)/intl && \
21456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21458 "RANLIB=$${RANLIB}" \
21459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21460 installcheck) \
21461 || exit 1
21462
21463 @endif intl
21464
21465 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
21466 maybe-mostlyclean-intl:
21467 @if intl
21468 maybe-mostlyclean-intl: mostlyclean-intl
21469
21470 mostlyclean-intl:
21471 @[ -f ./intl/Makefile ] || exit 0; \
21472 r=`${PWD_COMMAND}`; export r; \
21473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21474 $(HOST_EXPORTS) \
21475 for flag in $(EXTRA_HOST_FLAGS) ; do \
21476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21477 done; \
21478 echo "Doing mostlyclean in intl"; \
21479 (cd $(HOST_SUBDIR)/intl && \
21480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21482 "RANLIB=$${RANLIB}" \
21483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21484 mostlyclean) \
21485 || exit 1
21486
21487 @endif intl
21488
21489 .PHONY: maybe-clean-intl clean-intl
21490 maybe-clean-intl:
21491 @if intl
21492 maybe-clean-intl: clean-intl
21493
21494 clean-intl:
21495 @[ -f ./intl/Makefile ] || exit 0; \
21496 r=`${PWD_COMMAND}`; export r; \
21497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21498 $(HOST_EXPORTS) \
21499 for flag in $(EXTRA_HOST_FLAGS) ; do \
21500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21501 done; \
21502 echo "Doing clean in intl"; \
21503 (cd $(HOST_SUBDIR)/intl && \
21504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21506 "RANLIB=$${RANLIB}" \
21507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21508 clean) \
21509 || exit 1
21510
21511 @endif intl
21512
21513 .PHONY: maybe-distclean-intl distclean-intl
21514 maybe-distclean-intl:
21515 @if intl
21516 maybe-distclean-intl: distclean-intl
21517
21518 distclean-intl:
21519 @[ -f ./intl/Makefile ] || exit 0; \
21520 r=`${PWD_COMMAND}`; export r; \
21521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21522 $(HOST_EXPORTS) \
21523 for flag in $(EXTRA_HOST_FLAGS) ; do \
21524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21525 done; \
21526 echo "Doing distclean in intl"; \
21527 (cd $(HOST_SUBDIR)/intl && \
21528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21530 "RANLIB=$${RANLIB}" \
21531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21532 distclean) \
21533 || exit 1
21534
21535 @endif intl
21536
21537 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
21538 maybe-maintainer-clean-intl:
21539 @if intl
21540 maybe-maintainer-clean-intl: maintainer-clean-intl
21541
21542 maintainer-clean-intl:
21543 @[ -f ./intl/Makefile ] || exit 0; \
21544 r=`${PWD_COMMAND}`; export r; \
21545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21546 $(HOST_EXPORTS) \
21547 for flag in $(EXTRA_HOST_FLAGS) ; do \
21548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21549 done; \
21550 echo "Doing maintainer-clean in intl"; \
21551 (cd $(HOST_SUBDIR)/intl && \
21552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21554 "RANLIB=$${RANLIB}" \
21555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21556 maintainer-clean) \
21557 || exit 1
21558
21559 @endif intl
21560
21561
21562
21563 .PHONY: configure-tcl maybe-configure-tcl
21564 maybe-configure-tcl:
21565 @if gcc-bootstrap
21566 configure-tcl: stage_current
21567 @endif gcc-bootstrap
21568 @if tcl
21569 maybe-configure-tcl: configure-tcl
21570 configure-tcl:
21571 @: $(MAKE); $(unstage)
21572 @r=`${PWD_COMMAND}`; export r; \
21573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21574 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
21575 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl; \
21576 $(HOST_EXPORTS) \
21577 echo Configuring in $(HOST_SUBDIR)/tcl; \
21578 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
21579 case $(srcdir) in \
21580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21581 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
21582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21583 esac; \
21584 module_srcdir=tcl; \
21585 $(SHELL) \
21586 $$s/$$module_srcdir/configure \
21587 --srcdir=$${topdir}/$$module_srcdir \
21588 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21589 --target=${target_alias} \
21590 || exit 1
21591 @endif tcl
21592
21593
21594
21595
21596
21597 .PHONY: all-tcl maybe-all-tcl
21598 maybe-all-tcl:
21599 @if gcc-bootstrap
21600 all-tcl: stage_current
21601 @endif gcc-bootstrap
21602 @if tcl
21603 TARGET-tcl=all
21604 maybe-all-tcl: all-tcl
21605 all-tcl: configure-tcl
21606 @: $(MAKE); $(unstage)
21607 @r=`${PWD_COMMAND}`; export r; \
21608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21609 $(HOST_EXPORTS) \
21610 (cd $(HOST_SUBDIR)/tcl && \
21611 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21612 $(TARGET-tcl))
21613 @endif tcl
21614
21615
21616
21617
21618 .PHONY: check-tcl maybe-check-tcl
21619 maybe-check-tcl:
21620 @if tcl
21621 maybe-check-tcl: check-tcl
21622
21623 check-tcl:
21624 @: $(MAKE); $(unstage)
21625 @r=`${PWD_COMMAND}`; export r; \
21626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21627 $(HOST_EXPORTS) \
21628 (cd $(HOST_SUBDIR)/tcl && \
21629 $(MAKE) $(FLAGS_TO_PASS) check)
21630
21631 @endif tcl
21632
21633 .PHONY: install-tcl maybe-install-tcl
21634 maybe-install-tcl:
21635 @if tcl
21636 maybe-install-tcl: install-tcl
21637
21638 install-tcl: installdirs
21639 @: $(MAKE); $(unstage)
21640 @r=`${PWD_COMMAND}`; export r; \
21641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21642 $(HOST_EXPORTS) \
21643 (cd $(HOST_SUBDIR)/tcl && \
21644 $(MAKE) $(FLAGS_TO_PASS) install)
21645
21646 @endif tcl
21647
21648 .PHONY: install-strip-tcl maybe-install-strip-tcl
21649 maybe-install-strip-tcl:
21650 @if tcl
21651 maybe-install-strip-tcl: install-strip-tcl
21652
21653 install-strip-tcl: installdirs
21654 @: $(MAKE); $(unstage)
21655 @r=`${PWD_COMMAND}`; export r; \
21656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21657 $(HOST_EXPORTS) \
21658 (cd $(HOST_SUBDIR)/tcl && \
21659 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21660
21661 @endif tcl
21662
21663 # Other targets (info, dvi, pdf, etc.)
21664
21665 .PHONY: maybe-info-tcl info-tcl
21666 maybe-info-tcl:
21667 @if tcl
21668 maybe-info-tcl: info-tcl
21669
21670 info-tcl: \
21671 configure-tcl
21672 @: $(MAKE); $(unstage)
21673 @[ -f ./tcl/Makefile ] || exit 0; \
21674 r=`${PWD_COMMAND}`; export r; \
21675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21676 $(HOST_EXPORTS) \
21677 for flag in $(EXTRA_HOST_FLAGS) ; do \
21678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21679 done; \
21680 echo "Doing info in tcl"; \
21681 (cd $(HOST_SUBDIR)/tcl && \
21682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21684 "RANLIB=$${RANLIB}" \
21685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21686 info) \
21687 || exit 1
21688
21689 @endif tcl
21690
21691 .PHONY: maybe-dvi-tcl dvi-tcl
21692 maybe-dvi-tcl:
21693 @if tcl
21694 maybe-dvi-tcl: dvi-tcl
21695
21696 dvi-tcl: \
21697 configure-tcl
21698 @: $(MAKE); $(unstage)
21699 @[ -f ./tcl/Makefile ] || exit 0; \
21700 r=`${PWD_COMMAND}`; export r; \
21701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21702 $(HOST_EXPORTS) \
21703 for flag in $(EXTRA_HOST_FLAGS) ; do \
21704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21705 done; \
21706 echo "Doing dvi in tcl"; \
21707 (cd $(HOST_SUBDIR)/tcl && \
21708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21710 "RANLIB=$${RANLIB}" \
21711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21712 dvi) \
21713 || exit 1
21714
21715 @endif tcl
21716
21717 .PHONY: maybe-pdf-tcl pdf-tcl
21718 maybe-pdf-tcl:
21719 @if tcl
21720 maybe-pdf-tcl: pdf-tcl
21721
21722 pdf-tcl: \
21723 configure-tcl
21724 @: $(MAKE); $(unstage)
21725 @[ -f ./tcl/Makefile ] || exit 0; \
21726 r=`${PWD_COMMAND}`; export r; \
21727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21728 $(HOST_EXPORTS) \
21729 for flag in $(EXTRA_HOST_FLAGS) ; do \
21730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21731 done; \
21732 echo "Doing pdf in tcl"; \
21733 (cd $(HOST_SUBDIR)/tcl && \
21734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21736 "RANLIB=$${RANLIB}" \
21737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21738 pdf) \
21739 || exit 1
21740
21741 @endif tcl
21742
21743 .PHONY: maybe-html-tcl html-tcl
21744 maybe-html-tcl:
21745 @if tcl
21746 maybe-html-tcl: html-tcl
21747
21748 html-tcl: \
21749 configure-tcl
21750 @: $(MAKE); $(unstage)
21751 @[ -f ./tcl/Makefile ] || exit 0; \
21752 r=`${PWD_COMMAND}`; export r; \
21753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21754 $(HOST_EXPORTS) \
21755 for flag in $(EXTRA_HOST_FLAGS) ; do \
21756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21757 done; \
21758 echo "Doing html in tcl"; \
21759 (cd $(HOST_SUBDIR)/tcl && \
21760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21762 "RANLIB=$${RANLIB}" \
21763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21764 html) \
21765 || exit 1
21766
21767 @endif tcl
21768
21769 .PHONY: maybe-TAGS-tcl TAGS-tcl
21770 maybe-TAGS-tcl:
21771 @if tcl
21772 maybe-TAGS-tcl: TAGS-tcl
21773
21774 TAGS-tcl: \
21775 configure-tcl
21776 @: $(MAKE); $(unstage)
21777 @[ -f ./tcl/Makefile ] || exit 0; \
21778 r=`${PWD_COMMAND}`; export r; \
21779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21780 $(HOST_EXPORTS) \
21781 for flag in $(EXTRA_HOST_FLAGS) ; do \
21782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21783 done; \
21784 echo "Doing TAGS in tcl"; \
21785 (cd $(HOST_SUBDIR)/tcl && \
21786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21788 "RANLIB=$${RANLIB}" \
21789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21790 TAGS) \
21791 || exit 1
21792
21793 @endif tcl
21794
21795 .PHONY: maybe-install-info-tcl install-info-tcl
21796 maybe-install-info-tcl:
21797 @if tcl
21798 maybe-install-info-tcl: install-info-tcl
21799
21800 install-info-tcl: \
21801 configure-tcl \
21802 info-tcl
21803 @: $(MAKE); $(unstage)
21804 @[ -f ./tcl/Makefile ] || exit 0; \
21805 r=`${PWD_COMMAND}`; export r; \
21806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21807 $(HOST_EXPORTS) \
21808 for flag in $(EXTRA_HOST_FLAGS) ; do \
21809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21810 done; \
21811 echo "Doing install-info in tcl"; \
21812 (cd $(HOST_SUBDIR)/tcl && \
21813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21815 "RANLIB=$${RANLIB}" \
21816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21817 install-info) \
21818 || exit 1
21819
21820 @endif tcl
21821
21822 .PHONY: maybe-install-dvi-tcl install-dvi-tcl
21823 maybe-install-dvi-tcl:
21824 @if tcl
21825 maybe-install-dvi-tcl: install-dvi-tcl
21826
21827 install-dvi-tcl: \
21828 configure-tcl \
21829 dvi-tcl
21830 @: $(MAKE); $(unstage)
21831 @[ -f ./tcl/Makefile ] || exit 0; \
21832 r=`${PWD_COMMAND}`; export r; \
21833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21834 $(HOST_EXPORTS) \
21835 for flag in $(EXTRA_HOST_FLAGS) ; do \
21836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21837 done; \
21838 echo "Doing install-dvi in tcl"; \
21839 (cd $(HOST_SUBDIR)/tcl && \
21840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21842 "RANLIB=$${RANLIB}" \
21843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21844 install-dvi) \
21845 || exit 1
21846
21847 @endif tcl
21848
21849 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
21850 maybe-install-pdf-tcl:
21851 @if tcl
21852 maybe-install-pdf-tcl: install-pdf-tcl
21853
21854 install-pdf-tcl: \
21855 configure-tcl \
21856 pdf-tcl
21857 @: $(MAKE); $(unstage)
21858 @[ -f ./tcl/Makefile ] || exit 0; \
21859 r=`${PWD_COMMAND}`; export r; \
21860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21861 $(HOST_EXPORTS) \
21862 for flag in $(EXTRA_HOST_FLAGS) ; do \
21863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21864 done; \
21865 echo "Doing install-pdf in tcl"; \
21866 (cd $(HOST_SUBDIR)/tcl && \
21867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21869 "RANLIB=$${RANLIB}" \
21870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21871 install-pdf) \
21872 || exit 1
21873
21874 @endif tcl
21875
21876 .PHONY: maybe-install-html-tcl install-html-tcl
21877 maybe-install-html-tcl:
21878 @if tcl
21879 maybe-install-html-tcl: install-html-tcl
21880
21881 install-html-tcl: \
21882 configure-tcl \
21883 html-tcl
21884 @: $(MAKE); $(unstage)
21885 @[ -f ./tcl/Makefile ] || exit 0; \
21886 r=`${PWD_COMMAND}`; export r; \
21887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21888 $(HOST_EXPORTS) \
21889 for flag in $(EXTRA_HOST_FLAGS) ; do \
21890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21891 done; \
21892 echo "Doing install-html in tcl"; \
21893 (cd $(HOST_SUBDIR)/tcl && \
21894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21896 "RANLIB=$${RANLIB}" \
21897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21898 install-html) \
21899 || exit 1
21900
21901 @endif tcl
21902
21903 .PHONY: maybe-installcheck-tcl installcheck-tcl
21904 maybe-installcheck-tcl:
21905 @if tcl
21906 maybe-installcheck-tcl: installcheck-tcl
21907
21908 installcheck-tcl: \
21909 configure-tcl
21910 @: $(MAKE); $(unstage)
21911 @[ -f ./tcl/Makefile ] || exit 0; \
21912 r=`${PWD_COMMAND}`; export r; \
21913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21914 $(HOST_EXPORTS) \
21915 for flag in $(EXTRA_HOST_FLAGS) ; do \
21916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21917 done; \
21918 echo "Doing installcheck in tcl"; \
21919 (cd $(HOST_SUBDIR)/tcl && \
21920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21922 "RANLIB=$${RANLIB}" \
21923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21924 installcheck) \
21925 || exit 1
21926
21927 @endif tcl
21928
21929 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
21930 maybe-mostlyclean-tcl:
21931 @if tcl
21932 maybe-mostlyclean-tcl: mostlyclean-tcl
21933
21934 # tcl doesn't support mostlyclean.
21935 mostlyclean-tcl:
21936
21937 @endif tcl
21938
21939 .PHONY: maybe-clean-tcl clean-tcl
21940 maybe-clean-tcl:
21941 @if tcl
21942 maybe-clean-tcl: clean-tcl
21943
21944 clean-tcl:
21945 @: $(MAKE); $(unstage)
21946 @[ -f ./tcl/Makefile ] || exit 0; \
21947 r=`${PWD_COMMAND}`; export r; \
21948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21949 $(HOST_EXPORTS) \
21950 for flag in $(EXTRA_HOST_FLAGS) ; do \
21951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21952 done; \
21953 echo "Doing clean in tcl"; \
21954 (cd $(HOST_SUBDIR)/tcl && \
21955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21957 "RANLIB=$${RANLIB}" \
21958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21959 clean) \
21960 || exit 1
21961
21962 @endif tcl
21963
21964 .PHONY: maybe-distclean-tcl distclean-tcl
21965 maybe-distclean-tcl:
21966 @if tcl
21967 maybe-distclean-tcl: distclean-tcl
21968
21969 distclean-tcl:
21970 @: $(MAKE); $(unstage)
21971 @[ -f ./tcl/Makefile ] || exit 0; \
21972 r=`${PWD_COMMAND}`; export r; \
21973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21974 $(HOST_EXPORTS) \
21975 for flag in $(EXTRA_HOST_FLAGS) ; do \
21976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21977 done; \
21978 echo "Doing distclean in tcl"; \
21979 (cd $(HOST_SUBDIR)/tcl && \
21980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21982 "RANLIB=$${RANLIB}" \
21983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21984 distclean) \
21985 || exit 1
21986
21987 @endif tcl
21988
21989 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
21990 maybe-maintainer-clean-tcl:
21991 @if tcl
21992 maybe-maintainer-clean-tcl: maintainer-clean-tcl
21993
21994 maintainer-clean-tcl:
21995 @: $(MAKE); $(unstage)
21996 @[ -f ./tcl/Makefile ] || exit 0; \
21997 r=`${PWD_COMMAND}`; export r; \
21998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21999 $(HOST_EXPORTS) \
22000 for flag in $(EXTRA_HOST_FLAGS) ; do \
22001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22002 done; \
22003 echo "Doing maintainer-clean in tcl"; \
22004 (cd $(HOST_SUBDIR)/tcl && \
22005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22007 "RANLIB=$${RANLIB}" \
22008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22009 maintainer-clean) \
22010 || exit 1
22011
22012 @endif tcl
22013
22014
22015
22016 .PHONY: configure-itcl maybe-configure-itcl
22017 maybe-configure-itcl:
22018 @if gcc-bootstrap
22019 configure-itcl: stage_current
22020 @endif gcc-bootstrap
22021 @if itcl
22022 maybe-configure-itcl: configure-itcl
22023 configure-itcl:
22024 @: $(MAKE); $(unstage)
22025 @r=`${PWD_COMMAND}`; export r; \
22026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22027 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
22028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl; \
22029 $(HOST_EXPORTS) \
22030 echo Configuring in $(HOST_SUBDIR)/itcl; \
22031 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
22032 case $(srcdir) in \
22033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22034 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
22035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22036 esac; \
22037 module_srcdir=itcl; \
22038 $(SHELL) \
22039 $$s/$$module_srcdir/configure \
22040 --srcdir=$${topdir}/$$module_srcdir \
22041 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22042 --target=${target_alias} \
22043 || exit 1
22044 @endif itcl
22045
22046
22047
22048
22049
22050 .PHONY: all-itcl maybe-all-itcl
22051 maybe-all-itcl:
22052 @if gcc-bootstrap
22053 all-itcl: stage_current
22054 @endif gcc-bootstrap
22055 @if itcl
22056 TARGET-itcl=all
22057 maybe-all-itcl: all-itcl
22058 all-itcl: configure-itcl
22059 @: $(MAKE); $(unstage)
22060 @r=`${PWD_COMMAND}`; export r; \
22061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22062 $(HOST_EXPORTS) \
22063 (cd $(HOST_SUBDIR)/itcl && \
22064 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22065 $(TARGET-itcl))
22066 @endif itcl
22067
22068
22069
22070
22071 .PHONY: check-itcl maybe-check-itcl
22072 maybe-check-itcl:
22073 @if itcl
22074 maybe-check-itcl: check-itcl
22075
22076 check-itcl:
22077 @: $(MAKE); $(unstage)
22078 @r=`${PWD_COMMAND}`; export r; \
22079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22080 $(HOST_EXPORTS) \
22081 (cd $(HOST_SUBDIR)/itcl && \
22082 $(MAKE) $(FLAGS_TO_PASS) check)
22083
22084 @endif itcl
22085
22086 .PHONY: install-itcl maybe-install-itcl
22087 maybe-install-itcl:
22088 @if itcl
22089 maybe-install-itcl: install-itcl
22090
22091 install-itcl: installdirs
22092 @: $(MAKE); $(unstage)
22093 @r=`${PWD_COMMAND}`; export r; \
22094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22095 $(HOST_EXPORTS) \
22096 (cd $(HOST_SUBDIR)/itcl && \
22097 $(MAKE) $(FLAGS_TO_PASS) install)
22098
22099 @endif itcl
22100
22101 .PHONY: install-strip-itcl maybe-install-strip-itcl
22102 maybe-install-strip-itcl:
22103 @if itcl
22104 maybe-install-strip-itcl: install-strip-itcl
22105
22106 install-strip-itcl: installdirs
22107 @: $(MAKE); $(unstage)
22108 @r=`${PWD_COMMAND}`; export r; \
22109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22110 $(HOST_EXPORTS) \
22111 (cd $(HOST_SUBDIR)/itcl && \
22112 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22113
22114 @endif itcl
22115
22116 # Other targets (info, dvi, pdf, etc.)
22117
22118 .PHONY: maybe-info-itcl info-itcl
22119 maybe-info-itcl:
22120 @if itcl
22121 maybe-info-itcl: info-itcl
22122
22123 info-itcl: \
22124 configure-itcl
22125 @: $(MAKE); $(unstage)
22126 @[ -f ./itcl/Makefile ] || exit 0; \
22127 r=`${PWD_COMMAND}`; export r; \
22128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22129 $(HOST_EXPORTS) \
22130 for flag in $(EXTRA_HOST_FLAGS) ; do \
22131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22132 done; \
22133 echo "Doing info in itcl"; \
22134 (cd $(HOST_SUBDIR)/itcl && \
22135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22137 "RANLIB=$${RANLIB}" \
22138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22139 info) \
22140 || exit 1
22141
22142 @endif itcl
22143
22144 .PHONY: maybe-dvi-itcl dvi-itcl
22145 maybe-dvi-itcl:
22146 @if itcl
22147 maybe-dvi-itcl: dvi-itcl
22148
22149 dvi-itcl: \
22150 configure-itcl
22151 @: $(MAKE); $(unstage)
22152 @[ -f ./itcl/Makefile ] || exit 0; \
22153 r=`${PWD_COMMAND}`; export r; \
22154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22155 $(HOST_EXPORTS) \
22156 for flag in $(EXTRA_HOST_FLAGS) ; do \
22157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22158 done; \
22159 echo "Doing dvi in itcl"; \
22160 (cd $(HOST_SUBDIR)/itcl && \
22161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22163 "RANLIB=$${RANLIB}" \
22164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22165 dvi) \
22166 || exit 1
22167
22168 @endif itcl
22169
22170 .PHONY: maybe-pdf-itcl pdf-itcl
22171 maybe-pdf-itcl:
22172 @if itcl
22173 maybe-pdf-itcl: pdf-itcl
22174
22175 pdf-itcl: \
22176 configure-itcl
22177 @: $(MAKE); $(unstage)
22178 @[ -f ./itcl/Makefile ] || exit 0; \
22179 r=`${PWD_COMMAND}`; export r; \
22180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22181 $(HOST_EXPORTS) \
22182 for flag in $(EXTRA_HOST_FLAGS) ; do \
22183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22184 done; \
22185 echo "Doing pdf in itcl"; \
22186 (cd $(HOST_SUBDIR)/itcl && \
22187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22189 "RANLIB=$${RANLIB}" \
22190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22191 pdf) \
22192 || exit 1
22193
22194 @endif itcl
22195
22196 .PHONY: maybe-html-itcl html-itcl
22197 maybe-html-itcl:
22198 @if itcl
22199 maybe-html-itcl: html-itcl
22200
22201 html-itcl: \
22202 configure-itcl
22203 @: $(MAKE); $(unstage)
22204 @[ -f ./itcl/Makefile ] || exit 0; \
22205 r=`${PWD_COMMAND}`; export r; \
22206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22207 $(HOST_EXPORTS) \
22208 for flag in $(EXTRA_HOST_FLAGS) ; do \
22209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22210 done; \
22211 echo "Doing html in itcl"; \
22212 (cd $(HOST_SUBDIR)/itcl && \
22213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22215 "RANLIB=$${RANLIB}" \
22216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22217 html) \
22218 || exit 1
22219
22220 @endif itcl
22221
22222 .PHONY: maybe-TAGS-itcl TAGS-itcl
22223 maybe-TAGS-itcl:
22224 @if itcl
22225 maybe-TAGS-itcl: TAGS-itcl
22226
22227 TAGS-itcl: \
22228 configure-itcl
22229 @: $(MAKE); $(unstage)
22230 @[ -f ./itcl/Makefile ] || exit 0; \
22231 r=`${PWD_COMMAND}`; export r; \
22232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22233 $(HOST_EXPORTS) \
22234 for flag in $(EXTRA_HOST_FLAGS) ; do \
22235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22236 done; \
22237 echo "Doing TAGS in itcl"; \
22238 (cd $(HOST_SUBDIR)/itcl && \
22239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22241 "RANLIB=$${RANLIB}" \
22242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22243 TAGS) \
22244 || exit 1
22245
22246 @endif itcl
22247
22248 .PHONY: maybe-install-info-itcl install-info-itcl
22249 maybe-install-info-itcl:
22250 @if itcl
22251 maybe-install-info-itcl: install-info-itcl
22252
22253 install-info-itcl: \
22254 configure-itcl \
22255 info-itcl
22256 @: $(MAKE); $(unstage)
22257 @[ -f ./itcl/Makefile ] || exit 0; \
22258 r=`${PWD_COMMAND}`; export r; \
22259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22260 $(HOST_EXPORTS) \
22261 for flag in $(EXTRA_HOST_FLAGS) ; do \
22262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22263 done; \
22264 echo "Doing install-info in itcl"; \
22265 (cd $(HOST_SUBDIR)/itcl && \
22266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22268 "RANLIB=$${RANLIB}" \
22269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22270 install-info) \
22271 || exit 1
22272
22273 @endif itcl
22274
22275 .PHONY: maybe-install-dvi-itcl install-dvi-itcl
22276 maybe-install-dvi-itcl:
22277 @if itcl
22278 maybe-install-dvi-itcl: install-dvi-itcl
22279
22280 install-dvi-itcl: \
22281 configure-itcl \
22282 dvi-itcl
22283 @: $(MAKE); $(unstage)
22284 @[ -f ./itcl/Makefile ] || exit 0; \
22285 r=`${PWD_COMMAND}`; export r; \
22286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22287 $(HOST_EXPORTS) \
22288 for flag in $(EXTRA_HOST_FLAGS) ; do \
22289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22290 done; \
22291 echo "Doing install-dvi in itcl"; \
22292 (cd $(HOST_SUBDIR)/itcl && \
22293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22295 "RANLIB=$${RANLIB}" \
22296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22297 install-dvi) \
22298 || exit 1
22299
22300 @endif itcl
22301
22302 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
22303 maybe-install-pdf-itcl:
22304 @if itcl
22305 maybe-install-pdf-itcl: install-pdf-itcl
22306
22307 install-pdf-itcl: \
22308 configure-itcl \
22309 pdf-itcl
22310 @: $(MAKE); $(unstage)
22311 @[ -f ./itcl/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 install-pdf in itcl"; \
22319 (cd $(HOST_SUBDIR)/itcl && \
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 install-pdf) \
22325 || exit 1
22326
22327 @endif itcl
22328
22329 .PHONY: maybe-install-html-itcl install-html-itcl
22330 maybe-install-html-itcl:
22331 @if itcl
22332 maybe-install-html-itcl: install-html-itcl
22333
22334 install-html-itcl: \
22335 configure-itcl \
22336 html-itcl
22337 @: $(MAKE); $(unstage)
22338 @[ -f ./itcl/Makefile ] || exit 0; \
22339 r=`${PWD_COMMAND}`; export r; \
22340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22341 $(HOST_EXPORTS) \
22342 for flag in $(EXTRA_HOST_FLAGS) ; do \
22343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22344 done; \
22345 echo "Doing install-html in itcl"; \
22346 (cd $(HOST_SUBDIR)/itcl && \
22347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22349 "RANLIB=$${RANLIB}" \
22350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22351 install-html) \
22352 || exit 1
22353
22354 @endif itcl
22355
22356 .PHONY: maybe-installcheck-itcl installcheck-itcl
22357 maybe-installcheck-itcl:
22358 @if itcl
22359 maybe-installcheck-itcl: installcheck-itcl
22360
22361 installcheck-itcl: \
22362 configure-itcl
22363 @: $(MAKE); $(unstage)
22364 @[ -f ./itcl/Makefile ] || exit 0; \
22365 r=`${PWD_COMMAND}`; export r; \
22366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22367 $(HOST_EXPORTS) \
22368 for flag in $(EXTRA_HOST_FLAGS) ; do \
22369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22370 done; \
22371 echo "Doing installcheck in itcl"; \
22372 (cd $(HOST_SUBDIR)/itcl && \
22373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22375 "RANLIB=$${RANLIB}" \
22376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22377 installcheck) \
22378 || exit 1
22379
22380 @endif itcl
22381
22382 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
22383 maybe-mostlyclean-itcl:
22384 @if itcl
22385 maybe-mostlyclean-itcl: mostlyclean-itcl
22386
22387 mostlyclean-itcl:
22388 @: $(MAKE); $(unstage)
22389 @[ -f ./itcl/Makefile ] || exit 0; \
22390 r=`${PWD_COMMAND}`; export r; \
22391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22392 $(HOST_EXPORTS) \
22393 for flag in $(EXTRA_HOST_FLAGS) ; do \
22394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22395 done; \
22396 echo "Doing mostlyclean in itcl"; \
22397 (cd $(HOST_SUBDIR)/itcl && \
22398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22400 "RANLIB=$${RANLIB}" \
22401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22402 mostlyclean) \
22403 || exit 1
22404
22405 @endif itcl
22406
22407 .PHONY: maybe-clean-itcl clean-itcl
22408 maybe-clean-itcl:
22409 @if itcl
22410 maybe-clean-itcl: clean-itcl
22411
22412 clean-itcl:
22413 @: $(MAKE); $(unstage)
22414 @[ -f ./itcl/Makefile ] || exit 0; \
22415 r=`${PWD_COMMAND}`; export r; \
22416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22417 $(HOST_EXPORTS) \
22418 for flag in $(EXTRA_HOST_FLAGS) ; do \
22419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22420 done; \
22421 echo "Doing clean in itcl"; \
22422 (cd $(HOST_SUBDIR)/itcl && \
22423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22425 "RANLIB=$${RANLIB}" \
22426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22427 clean) \
22428 || exit 1
22429
22430 @endif itcl
22431
22432 .PHONY: maybe-distclean-itcl distclean-itcl
22433 maybe-distclean-itcl:
22434 @if itcl
22435 maybe-distclean-itcl: distclean-itcl
22436
22437 distclean-itcl:
22438 @: $(MAKE); $(unstage)
22439 @[ -f ./itcl/Makefile ] || exit 0; \
22440 r=`${PWD_COMMAND}`; export r; \
22441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22442 $(HOST_EXPORTS) \
22443 for flag in $(EXTRA_HOST_FLAGS) ; do \
22444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22445 done; \
22446 echo "Doing distclean in itcl"; \
22447 (cd $(HOST_SUBDIR)/itcl && \
22448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22450 "RANLIB=$${RANLIB}" \
22451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22452 distclean) \
22453 || exit 1
22454
22455 @endif itcl
22456
22457 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
22458 maybe-maintainer-clean-itcl:
22459 @if itcl
22460 maybe-maintainer-clean-itcl: maintainer-clean-itcl
22461
22462 maintainer-clean-itcl:
22463 @: $(MAKE); $(unstage)
22464 @[ -f ./itcl/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 maintainer-clean in itcl"; \
22472 (cd $(HOST_SUBDIR)/itcl && \
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 maintainer-clean) \
22478 || exit 1
22479
22480 @endif itcl
22481
22482
22483
22484 .PHONY: configure-ld maybe-configure-ld
22485 maybe-configure-ld:
22486 @if gcc-bootstrap
22487 configure-ld: stage_current
22488 @endif gcc-bootstrap
22489 @if ld
22490 maybe-configure-ld: configure-ld
22491 configure-ld:
22492 @r=`${PWD_COMMAND}`; export r; \
22493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22494 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22495 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
22496 $(HOST_EXPORTS) \
22497 echo Configuring in $(HOST_SUBDIR)/ld; \
22498 cd "$(HOST_SUBDIR)/ld" || exit 1; \
22499 case $(srcdir) in \
22500 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22501 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22502 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22503 esac; \
22504 module_srcdir=ld; \
22505 $(SHELL) \
22506 $$s/$$module_srcdir/configure \
22507 --srcdir=$${topdir}/$$module_srcdir \
22508 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22509 --target=${target_alias} \
22510 || exit 1
22511 @endif ld
22512
22513
22514
22515 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
22516 maybe-configure-stage1-ld:
22517 @if ld-bootstrap
22518 maybe-configure-stage1-ld: configure-stage1-ld
22519 configure-stage1-ld:
22520 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22521 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22522 @r=`${PWD_COMMAND}`; export r; \
22523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22524 TFLAGS="$(STAGE1_TFLAGS)"; \
22525 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22526 $(HOST_EXPORTS) \
22527 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22528 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22529 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22530 echo Configuring stage 1 in $(HOST_SUBDIR)/ld; \
22531 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
22532 cd $(HOST_SUBDIR)/ld || exit 1; \
22533 case $(srcdir) in \
22534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22535 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22537 esac; \
22538 module_srcdir=ld; \
22539 $(SHELL) $$s/$$module_srcdir/configure \
22540 --srcdir=$${topdir}/$$module_srcdir \
22541 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22542 --target=${target_alias} \
22543 \
22544 $(STAGE1_CONFIGURE_FLAGS)
22545 @endif ld-bootstrap
22546
22547 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
22548 maybe-configure-stage2-ld:
22549 @if ld-bootstrap
22550 maybe-configure-stage2-ld: configure-stage2-ld
22551 configure-stage2-ld:
22552 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22553 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22554 @r=`${PWD_COMMAND}`; export r; \
22555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22556 TFLAGS="$(STAGE2_TFLAGS)"; \
22557 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22558 $(HOST_EXPORTS) \
22559 $(POSTSTAGE1_HOST_EXPORTS) \
22560 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22561 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22562 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22563 echo Configuring stage 2 in $(HOST_SUBDIR)/ld; \
22564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
22565 cd $(HOST_SUBDIR)/ld || exit 1; \
22566 case $(srcdir) in \
22567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22568 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22570 esac; \
22571 module_srcdir=ld; \
22572 $(SHELL) $$s/$$module_srcdir/configure \
22573 --srcdir=$${topdir}/$$module_srcdir \
22574 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22575 --target=${target_alias} \
22576 --with-build-libsubdir=$(HOST_SUBDIR) \
22577 $(STAGE2_CONFIGURE_FLAGS)
22578 @endif ld-bootstrap
22579
22580 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
22581 maybe-configure-stage3-ld:
22582 @if ld-bootstrap
22583 maybe-configure-stage3-ld: configure-stage3-ld
22584 configure-stage3-ld:
22585 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22586 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22587 @r=`${PWD_COMMAND}`; export r; \
22588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22589 TFLAGS="$(STAGE3_TFLAGS)"; \
22590 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22591 $(HOST_EXPORTS) \
22592 $(POSTSTAGE1_HOST_EXPORTS) \
22593 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22594 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22595 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22596 echo Configuring stage 3 in $(HOST_SUBDIR)/ld; \
22597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
22598 cd $(HOST_SUBDIR)/ld || exit 1; \
22599 case $(srcdir) in \
22600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22601 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22603 esac; \
22604 module_srcdir=ld; \
22605 $(SHELL) $$s/$$module_srcdir/configure \
22606 --srcdir=$${topdir}/$$module_srcdir \
22607 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22608 --target=${target_alias} \
22609 --with-build-libsubdir=$(HOST_SUBDIR) \
22610 $(STAGE3_CONFIGURE_FLAGS)
22611 @endif ld-bootstrap
22612
22613 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
22614 maybe-configure-stage4-ld:
22615 @if ld-bootstrap
22616 maybe-configure-stage4-ld: configure-stage4-ld
22617 configure-stage4-ld:
22618 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22619 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22620 @r=`${PWD_COMMAND}`; export r; \
22621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22622 TFLAGS="$(STAGE4_TFLAGS)"; \
22623 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22624 $(HOST_EXPORTS) \
22625 $(POSTSTAGE1_HOST_EXPORTS) \
22626 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22627 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22628 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22629 echo Configuring stage 4 in $(HOST_SUBDIR)/ld; \
22630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
22631 cd $(HOST_SUBDIR)/ld || exit 1; \
22632 case $(srcdir) in \
22633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22634 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22636 esac; \
22637 module_srcdir=ld; \
22638 $(SHELL) $$s/$$module_srcdir/configure \
22639 --srcdir=$${topdir}/$$module_srcdir \
22640 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22641 --target=${target_alias} \
22642 --with-build-libsubdir=$(HOST_SUBDIR) \
22643 $(STAGE4_CONFIGURE_FLAGS)
22644 @endif ld-bootstrap
22645
22646 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
22647 maybe-configure-stageprofile-ld:
22648 @if ld-bootstrap
22649 maybe-configure-stageprofile-ld: configure-stageprofile-ld
22650 configure-stageprofile-ld:
22651 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22652 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22653 @r=`${PWD_COMMAND}`; export r; \
22654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22655 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22656 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22657 $(HOST_EXPORTS) \
22658 $(POSTSTAGE1_HOST_EXPORTS) \
22659 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22660 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22661 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22662 echo Configuring stage profile in $(HOST_SUBDIR)/ld; \
22663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
22664 cd $(HOST_SUBDIR)/ld || exit 1; \
22665 case $(srcdir) in \
22666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22667 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22669 esac; \
22670 module_srcdir=ld; \
22671 $(SHELL) $$s/$$module_srcdir/configure \
22672 --srcdir=$${topdir}/$$module_srcdir \
22673 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22674 --target=${target_alias} \
22675 --with-build-libsubdir=$(HOST_SUBDIR) \
22676 $(STAGEprofile_CONFIGURE_FLAGS)
22677 @endif ld-bootstrap
22678
22679 .PHONY: configure-stagetrain-ld maybe-configure-stagetrain-ld
22680 maybe-configure-stagetrain-ld:
22681 @if ld-bootstrap
22682 maybe-configure-stagetrain-ld: configure-stagetrain-ld
22683 configure-stagetrain-ld:
22684 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
22685 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22686 @r=`${PWD_COMMAND}`; export r; \
22687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22688 TFLAGS="$(STAGEtrain_TFLAGS)"; \
22689 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22690 $(HOST_EXPORTS) \
22691 $(POSTSTAGE1_HOST_EXPORTS) \
22692 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
22693 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
22694 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
22695 echo Configuring stage train in $(HOST_SUBDIR)/ld; \
22696 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
22697 cd $(HOST_SUBDIR)/ld || exit 1; \
22698 case $(srcdir) in \
22699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22700 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22702 esac; \
22703 module_srcdir=ld; \
22704 $(SHELL) $$s/$$module_srcdir/configure \
22705 --srcdir=$${topdir}/$$module_srcdir \
22706 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22707 --target=${target_alias} \
22708 --with-build-libsubdir=$(HOST_SUBDIR) \
22709 $(STAGEtrain_CONFIGURE_FLAGS)
22710 @endif ld-bootstrap
22711
22712 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
22713 maybe-configure-stagefeedback-ld:
22714 @if ld-bootstrap
22715 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
22716 configure-stagefeedback-ld:
22717 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22718 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22719 @r=`${PWD_COMMAND}`; export r; \
22720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22721 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22722 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22723 $(HOST_EXPORTS) \
22724 $(POSTSTAGE1_HOST_EXPORTS) \
22725 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22726 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22727 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22728 echo Configuring stage feedback in $(HOST_SUBDIR)/ld; \
22729 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
22730 cd $(HOST_SUBDIR)/ld || exit 1; \
22731 case $(srcdir) in \
22732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22733 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22735 esac; \
22736 module_srcdir=ld; \
22737 $(SHELL) $$s/$$module_srcdir/configure \
22738 --srcdir=$${topdir}/$$module_srcdir \
22739 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22740 --target=${target_alias} \
22741 --with-build-libsubdir=$(HOST_SUBDIR) \
22742 $(STAGEfeedback_CONFIGURE_FLAGS)
22743 @endif ld-bootstrap
22744
22745 .PHONY: configure-stageautoprofile-ld maybe-configure-stageautoprofile-ld
22746 maybe-configure-stageautoprofile-ld:
22747 @if ld-bootstrap
22748 maybe-configure-stageautoprofile-ld: configure-stageautoprofile-ld
22749 configure-stageautoprofile-ld:
22750 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
22751 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22752 @r=`${PWD_COMMAND}`; export r; \
22753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22754 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
22755 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22756 $(HOST_EXPORTS) \
22757 $(POSTSTAGE1_HOST_EXPORTS) \
22758 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
22759 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
22760 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
22761 echo Configuring stage autoprofile in $(HOST_SUBDIR)/ld; \
22762 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
22763 cd $(HOST_SUBDIR)/ld || exit 1; \
22764 case $(srcdir) in \
22765 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22766 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22767 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22768 esac; \
22769 module_srcdir=ld; \
22770 $(SHELL) $$s/$$module_srcdir/configure \
22771 --srcdir=$${topdir}/$$module_srcdir \
22772 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22773 --target=${target_alias} \
22774 --with-build-libsubdir=$(HOST_SUBDIR) \
22775 $(STAGEautoprofile_CONFIGURE_FLAGS)
22776 @endif ld-bootstrap
22777
22778 .PHONY: configure-stageautofeedback-ld maybe-configure-stageautofeedback-ld
22779 maybe-configure-stageautofeedback-ld:
22780 @if ld-bootstrap
22781 maybe-configure-stageautofeedback-ld: configure-stageautofeedback-ld
22782 configure-stageautofeedback-ld:
22783 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
22784 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22785 @r=`${PWD_COMMAND}`; export r; \
22786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22787 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
22788 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22789 $(HOST_EXPORTS) \
22790 $(POSTSTAGE1_HOST_EXPORTS) \
22791 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
22792 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
22793 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
22794 echo Configuring stage autofeedback in $(HOST_SUBDIR)/ld; \
22795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld; \
22796 cd $(HOST_SUBDIR)/ld || exit 1; \
22797 case $(srcdir) in \
22798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22799 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22801 esac; \
22802 module_srcdir=ld; \
22803 $(SHELL) $$s/$$module_srcdir/configure \
22804 --srcdir=$${topdir}/$$module_srcdir \
22805 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22806 --target=${target_alias} \
22807 --with-build-libsubdir=$(HOST_SUBDIR) \
22808 $(STAGEautofeedback_CONFIGURE_FLAGS)
22809 @endif ld-bootstrap
22810
22811
22812
22813
22814
22815 .PHONY: all-ld maybe-all-ld
22816 maybe-all-ld:
22817 @if gcc-bootstrap
22818 all-ld: stage_current
22819 @endif gcc-bootstrap
22820 @if ld
22821 TARGET-ld=all
22822 maybe-all-ld: all-ld
22823 all-ld: configure-ld
22824 @r=`${PWD_COMMAND}`; export r; \
22825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22826 $(HOST_EXPORTS) \
22827 (cd $(HOST_SUBDIR)/ld && \
22828 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22829 $(TARGET-ld))
22830 @endif ld
22831
22832
22833
22834 .PHONY: all-stage1-ld maybe-all-stage1-ld
22835 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
22836 maybe-all-stage1-ld:
22837 maybe-clean-stage1-ld:
22838 @if ld-bootstrap
22839 maybe-all-stage1-ld: all-stage1-ld
22840 all-stage1: all-stage1-ld
22841 TARGET-stage1-ld = $(TARGET-ld)
22842 all-stage1-ld: configure-stage1-ld
22843 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22844 @r=`${PWD_COMMAND}`; export r; \
22845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22846 TFLAGS="$(STAGE1_TFLAGS)"; \
22847 $(HOST_EXPORTS) \
22848 cd $(HOST_SUBDIR)/ld && \
22849 \
22850 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22851 CFLAGS="$(STAGE1_CFLAGS)" \
22852 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
22853 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22854 LIBCFLAGS="$(LIBCFLAGS)" \
22855 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22856 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22857 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22858 $(EXTRA_HOST_FLAGS) \
22859 $(STAGE1_FLAGS_TO_PASS) \
22860 TFLAGS="$(STAGE1_TFLAGS)" \
22861 $(TARGET-stage1-ld)
22862
22863 maybe-clean-stage1-ld: clean-stage1-ld
22864 clean-stage1: clean-stage1-ld
22865 clean-stage1-ld:
22866 @if [ $(current_stage) = stage1 ]; then \
22867 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22868 else \
22869 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
22870 $(MAKE) stage1-start; \
22871 fi; \
22872 cd $(HOST_SUBDIR)/ld && \
22873 $(MAKE) $(EXTRA_HOST_FLAGS) \
22874 $(STAGE1_FLAGS_TO_PASS) clean
22875 @endif ld-bootstrap
22876
22877
22878 .PHONY: all-stage2-ld maybe-all-stage2-ld
22879 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
22880 maybe-all-stage2-ld:
22881 maybe-clean-stage2-ld:
22882 @if ld-bootstrap
22883 maybe-all-stage2-ld: all-stage2-ld
22884 all-stage2: all-stage2-ld
22885 TARGET-stage2-ld = $(TARGET-ld)
22886 all-stage2-ld: configure-stage2-ld
22887 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22888 @r=`${PWD_COMMAND}`; export r; \
22889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22890 TFLAGS="$(STAGE2_TFLAGS)"; \
22891 $(HOST_EXPORTS) \
22892 $(POSTSTAGE1_HOST_EXPORTS) \
22893 cd $(HOST_SUBDIR)/ld && \
22894 \
22895 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22896 CFLAGS="$(STAGE2_CFLAGS)" \
22897 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
22898 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22899 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22900 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22901 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22902 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22903 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22904 TFLAGS="$(STAGE2_TFLAGS)" \
22905 $(TARGET-stage2-ld)
22906
22907 maybe-clean-stage2-ld: clean-stage2-ld
22908 clean-stage2: clean-stage2-ld
22909 clean-stage2-ld:
22910 @if [ $(current_stage) = stage2 ]; then \
22911 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22912 else \
22913 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
22914 $(MAKE) stage2-start; \
22915 fi; \
22916 cd $(HOST_SUBDIR)/ld && \
22917 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22918 @endif ld-bootstrap
22919
22920
22921 .PHONY: all-stage3-ld maybe-all-stage3-ld
22922 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
22923 maybe-all-stage3-ld:
22924 maybe-clean-stage3-ld:
22925 @if ld-bootstrap
22926 maybe-all-stage3-ld: all-stage3-ld
22927 all-stage3: all-stage3-ld
22928 TARGET-stage3-ld = $(TARGET-ld)
22929 all-stage3-ld: configure-stage3-ld
22930 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22931 @r=`${PWD_COMMAND}`; export r; \
22932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22933 TFLAGS="$(STAGE3_TFLAGS)"; \
22934 $(HOST_EXPORTS) \
22935 $(POSTSTAGE1_HOST_EXPORTS) \
22936 cd $(HOST_SUBDIR)/ld && \
22937 \
22938 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22939 CFLAGS="$(STAGE3_CFLAGS)" \
22940 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
22941 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22942 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22943 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22944 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22945 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22946 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22947 TFLAGS="$(STAGE3_TFLAGS)" \
22948 $(TARGET-stage3-ld)
22949
22950 maybe-clean-stage3-ld: clean-stage3-ld
22951 clean-stage3: clean-stage3-ld
22952 clean-stage3-ld:
22953 @if [ $(current_stage) = stage3 ]; then \
22954 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22955 else \
22956 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
22957 $(MAKE) stage3-start; \
22958 fi; \
22959 cd $(HOST_SUBDIR)/ld && \
22960 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22961 @endif ld-bootstrap
22962
22963
22964 .PHONY: all-stage4-ld maybe-all-stage4-ld
22965 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
22966 maybe-all-stage4-ld:
22967 maybe-clean-stage4-ld:
22968 @if ld-bootstrap
22969 maybe-all-stage4-ld: all-stage4-ld
22970 all-stage4: all-stage4-ld
22971 TARGET-stage4-ld = $(TARGET-ld)
22972 all-stage4-ld: configure-stage4-ld
22973 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22974 @r=`${PWD_COMMAND}`; export r; \
22975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22976 TFLAGS="$(STAGE4_TFLAGS)"; \
22977 $(HOST_EXPORTS) \
22978 $(POSTSTAGE1_HOST_EXPORTS) \
22979 cd $(HOST_SUBDIR)/ld && \
22980 \
22981 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22982 CFLAGS="$(STAGE4_CFLAGS)" \
22983 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
22984 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22985 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22986 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22987 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22988 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22989 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22990 TFLAGS="$(STAGE4_TFLAGS)" \
22991 $(TARGET-stage4-ld)
22992
22993 maybe-clean-stage4-ld: clean-stage4-ld
22994 clean-stage4: clean-stage4-ld
22995 clean-stage4-ld:
22996 @if [ $(current_stage) = stage4 ]; then \
22997 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
22998 else \
22999 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
23000 $(MAKE) stage4-start; \
23001 fi; \
23002 cd $(HOST_SUBDIR)/ld && \
23003 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23004 @endif ld-bootstrap
23005
23006
23007 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
23008 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
23009 maybe-all-stageprofile-ld:
23010 maybe-clean-stageprofile-ld:
23011 @if ld-bootstrap
23012 maybe-all-stageprofile-ld: all-stageprofile-ld
23013 all-stageprofile: all-stageprofile-ld
23014 TARGET-stageprofile-ld = $(TARGET-ld)
23015 all-stageprofile-ld: configure-stageprofile-ld
23016 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23017 @r=`${PWD_COMMAND}`; export r; \
23018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23019 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23020 $(HOST_EXPORTS) \
23021 $(POSTSTAGE1_HOST_EXPORTS) \
23022 cd $(HOST_SUBDIR)/ld && \
23023 \
23024 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23025 CFLAGS="$(STAGEprofile_CFLAGS)" \
23026 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
23027 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23028 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23029 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23030 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23031 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23032 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23033 TFLAGS="$(STAGEprofile_TFLAGS)" \
23034 $(TARGET-stageprofile-ld)
23035
23036 maybe-clean-stageprofile-ld: clean-stageprofile-ld
23037 clean-stageprofile: clean-stageprofile-ld
23038 clean-stageprofile-ld:
23039 @if [ $(current_stage) = stageprofile ]; then \
23040 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23041 else \
23042 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
23043 $(MAKE) stageprofile-start; \
23044 fi; \
23045 cd $(HOST_SUBDIR)/ld && \
23046 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23047 @endif ld-bootstrap
23048
23049
23050 .PHONY: all-stagetrain-ld maybe-all-stagetrain-ld
23051 .PHONY: clean-stagetrain-ld maybe-clean-stagetrain-ld
23052 maybe-all-stagetrain-ld:
23053 maybe-clean-stagetrain-ld:
23054 @if ld-bootstrap
23055 maybe-all-stagetrain-ld: all-stagetrain-ld
23056 all-stagetrain: all-stagetrain-ld
23057 TARGET-stagetrain-ld = $(TARGET-ld)
23058 all-stagetrain-ld: configure-stagetrain-ld
23059 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23060 @r=`${PWD_COMMAND}`; export r; \
23061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23062 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23063 $(HOST_EXPORTS) \
23064 $(POSTSTAGE1_HOST_EXPORTS) \
23065 cd $(HOST_SUBDIR)/ld && \
23066 \
23067 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23068 CFLAGS="$(STAGEtrain_CFLAGS)" \
23069 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
23070 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
23071 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
23072 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23073 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23074 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23075 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23076 TFLAGS="$(STAGEtrain_TFLAGS)" \
23077 $(TARGET-stagetrain-ld)
23078
23079 maybe-clean-stagetrain-ld: clean-stagetrain-ld
23080 clean-stagetrain: clean-stagetrain-ld
23081 clean-stagetrain-ld:
23082 @if [ $(current_stage) = stagetrain ]; then \
23083 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23084 else \
23085 [ -f $(HOST_SUBDIR)/stagetrain-ld/Makefile ] || exit 0; \
23086 $(MAKE) stagetrain-start; \
23087 fi; \
23088 cd $(HOST_SUBDIR)/ld && \
23089 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23090 @endif ld-bootstrap
23091
23092
23093 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
23094 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
23095 maybe-all-stagefeedback-ld:
23096 maybe-clean-stagefeedback-ld:
23097 @if ld-bootstrap
23098 maybe-all-stagefeedback-ld: all-stagefeedback-ld
23099 all-stagefeedback: all-stagefeedback-ld
23100 TARGET-stagefeedback-ld = $(TARGET-ld)
23101 all-stagefeedback-ld: configure-stagefeedback-ld
23102 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23103 @r=`${PWD_COMMAND}`; export r; \
23104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23105 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23106 $(HOST_EXPORTS) \
23107 $(POSTSTAGE1_HOST_EXPORTS) \
23108 cd $(HOST_SUBDIR)/ld && \
23109 \
23110 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23111 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23112 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
23113 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23114 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23115 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23116 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23117 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23118 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23119 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23120 $(TARGET-stagefeedback-ld)
23121
23122 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
23123 clean-stagefeedback: clean-stagefeedback-ld
23124 clean-stagefeedback-ld:
23125 @if [ $(current_stage) = stagefeedback ]; then \
23126 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23127 else \
23128 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
23129 $(MAKE) stagefeedback-start; \
23130 fi; \
23131 cd $(HOST_SUBDIR)/ld && \
23132 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23133 @endif ld-bootstrap
23134
23135
23136 .PHONY: all-stageautoprofile-ld maybe-all-stageautoprofile-ld
23137 .PHONY: clean-stageautoprofile-ld maybe-clean-stageautoprofile-ld
23138 maybe-all-stageautoprofile-ld:
23139 maybe-clean-stageautoprofile-ld:
23140 @if ld-bootstrap
23141 maybe-all-stageautoprofile-ld: all-stageautoprofile-ld
23142 all-stageautoprofile: all-stageautoprofile-ld
23143 TARGET-stageautoprofile-ld = $(TARGET-ld)
23144 all-stageautoprofile-ld: configure-stageautoprofile-ld
23145 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23146 @r=`${PWD_COMMAND}`; export r; \
23147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23148 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23149 $(HOST_EXPORTS) \
23150 $(POSTSTAGE1_HOST_EXPORTS) \
23151 cd $(HOST_SUBDIR)/ld && \
23152 $$s/gcc/config/i386/$(AUTO_PROFILE) \
23153 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23154 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
23155 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
23156 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
23157 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
23158 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23159 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23160 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23161 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23162 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
23163 $(TARGET-stageautoprofile-ld)
23164
23165 maybe-clean-stageautoprofile-ld: clean-stageautoprofile-ld
23166 clean-stageautoprofile: clean-stageautoprofile-ld
23167 clean-stageautoprofile-ld:
23168 @if [ $(current_stage) = stageautoprofile ]; then \
23169 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23170 else \
23171 [ -f $(HOST_SUBDIR)/stageautoprofile-ld/Makefile ] || exit 0; \
23172 $(MAKE) stageautoprofile-start; \
23173 fi; \
23174 cd $(HOST_SUBDIR)/ld && \
23175 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23176 @endif ld-bootstrap
23177
23178
23179 .PHONY: all-stageautofeedback-ld maybe-all-stageautofeedback-ld
23180 .PHONY: clean-stageautofeedback-ld maybe-clean-stageautofeedback-ld
23181 maybe-all-stageautofeedback-ld:
23182 maybe-clean-stageautofeedback-ld:
23183 @if ld-bootstrap
23184 maybe-all-stageautofeedback-ld: all-stageautofeedback-ld
23185 all-stageautofeedback: all-stageautofeedback-ld
23186 TARGET-stageautofeedback-ld = $(TARGET-ld)
23187 all-stageautofeedback-ld: configure-stageautofeedback-ld
23188 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23189 @r=`${PWD_COMMAND}`; export r; \
23190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23191 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23192 $(HOST_EXPORTS) \
23193 $(POSTSTAGE1_HOST_EXPORTS) \
23194 cd $(HOST_SUBDIR)/ld && \
23195 \
23196 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23197 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
23198 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
23199 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
23200 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
23201 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23202 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23203 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23204 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23205 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
23206 $(TARGET-stageautofeedback-ld)
23207
23208 maybe-clean-stageautofeedback-ld: clean-stageautofeedback-ld
23209 clean-stageautofeedback: clean-stageautofeedback-ld
23210 clean-stageautofeedback-ld:
23211 @if [ $(current_stage) = stageautofeedback ]; then \
23212 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23213 else \
23214 [ -f $(HOST_SUBDIR)/stageautofeedback-ld/Makefile ] || exit 0; \
23215 $(MAKE) stageautofeedback-start; \
23216 fi; \
23217 cd $(HOST_SUBDIR)/ld && \
23218 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23219 @endif ld-bootstrap
23220
23221
23222
23223
23224
23225 .PHONY: check-ld maybe-check-ld
23226 maybe-check-ld:
23227 @if ld
23228 maybe-check-ld: check-ld
23229
23230 check-ld:
23231 @: $(MAKE); $(unstage)
23232 @r=`${PWD_COMMAND}`; export r; \
23233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23234 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
23235 (cd $(HOST_SUBDIR)/ld && \
23236 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
23237
23238 @endif ld
23239
23240 .PHONY: install-ld maybe-install-ld
23241 maybe-install-ld:
23242 @if ld
23243 maybe-install-ld: install-ld
23244
23245 install-ld: installdirs
23246 @: $(MAKE); $(unstage)
23247 @r=`${PWD_COMMAND}`; export r; \
23248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23249 $(HOST_EXPORTS) \
23250 (cd $(HOST_SUBDIR)/ld && \
23251 $(MAKE) $(FLAGS_TO_PASS) install)
23252
23253 @endif ld
23254
23255 .PHONY: install-strip-ld maybe-install-strip-ld
23256 maybe-install-strip-ld:
23257 @if ld
23258 maybe-install-strip-ld: install-strip-ld
23259
23260 install-strip-ld: installdirs
23261 @: $(MAKE); $(unstage)
23262 @r=`${PWD_COMMAND}`; export r; \
23263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23264 $(HOST_EXPORTS) \
23265 (cd $(HOST_SUBDIR)/ld && \
23266 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23267
23268 @endif ld
23269
23270 # Other targets (info, dvi, pdf, etc.)
23271
23272 .PHONY: maybe-info-ld info-ld
23273 maybe-info-ld:
23274 @if ld
23275 maybe-info-ld: info-ld
23276
23277 info-ld: \
23278 configure-ld
23279 @[ -f ./ld/Makefile ] || exit 0; \
23280 r=`${PWD_COMMAND}`; export r; \
23281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23282 $(HOST_EXPORTS) \
23283 for flag in $(EXTRA_HOST_FLAGS) ; do \
23284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23285 done; \
23286 echo "Doing info in ld"; \
23287 (cd $(HOST_SUBDIR)/ld && \
23288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23290 "RANLIB=$${RANLIB}" \
23291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23292 info) \
23293 || exit 1
23294
23295 @endif ld
23296
23297 .PHONY: maybe-dvi-ld dvi-ld
23298 maybe-dvi-ld:
23299 @if ld
23300 maybe-dvi-ld: dvi-ld
23301
23302 dvi-ld: \
23303 configure-ld
23304 @[ -f ./ld/Makefile ] || exit 0; \
23305 r=`${PWD_COMMAND}`; export r; \
23306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23307 $(HOST_EXPORTS) \
23308 for flag in $(EXTRA_HOST_FLAGS) ; do \
23309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23310 done; \
23311 echo "Doing dvi in ld"; \
23312 (cd $(HOST_SUBDIR)/ld && \
23313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23315 "RANLIB=$${RANLIB}" \
23316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23317 dvi) \
23318 || exit 1
23319
23320 @endif ld
23321
23322 .PHONY: maybe-pdf-ld pdf-ld
23323 maybe-pdf-ld:
23324 @if ld
23325 maybe-pdf-ld: pdf-ld
23326
23327 pdf-ld: \
23328 configure-ld
23329 @[ -f ./ld/Makefile ] || exit 0; \
23330 r=`${PWD_COMMAND}`; export r; \
23331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23332 $(HOST_EXPORTS) \
23333 for flag in $(EXTRA_HOST_FLAGS) ; do \
23334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23335 done; \
23336 echo "Doing pdf in ld"; \
23337 (cd $(HOST_SUBDIR)/ld && \
23338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23340 "RANLIB=$${RANLIB}" \
23341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23342 pdf) \
23343 || exit 1
23344
23345 @endif ld
23346
23347 .PHONY: maybe-html-ld html-ld
23348 maybe-html-ld:
23349 @if ld
23350 maybe-html-ld: html-ld
23351
23352 html-ld: \
23353 configure-ld
23354 @[ -f ./ld/Makefile ] || exit 0; \
23355 r=`${PWD_COMMAND}`; export r; \
23356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23357 $(HOST_EXPORTS) \
23358 for flag in $(EXTRA_HOST_FLAGS) ; do \
23359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23360 done; \
23361 echo "Doing html in ld"; \
23362 (cd $(HOST_SUBDIR)/ld && \
23363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23365 "RANLIB=$${RANLIB}" \
23366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23367 html) \
23368 || exit 1
23369
23370 @endif ld
23371
23372 .PHONY: maybe-TAGS-ld TAGS-ld
23373 maybe-TAGS-ld:
23374 @if ld
23375 maybe-TAGS-ld: TAGS-ld
23376
23377 TAGS-ld: \
23378 configure-ld
23379 @[ -f ./ld/Makefile ] || exit 0; \
23380 r=`${PWD_COMMAND}`; export r; \
23381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23382 $(HOST_EXPORTS) \
23383 for flag in $(EXTRA_HOST_FLAGS) ; do \
23384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23385 done; \
23386 echo "Doing TAGS in ld"; \
23387 (cd $(HOST_SUBDIR)/ld && \
23388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23390 "RANLIB=$${RANLIB}" \
23391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23392 TAGS) \
23393 || exit 1
23394
23395 @endif ld
23396
23397 .PHONY: maybe-install-info-ld install-info-ld
23398 maybe-install-info-ld:
23399 @if ld
23400 maybe-install-info-ld: install-info-ld
23401
23402 install-info-ld: \
23403 configure-ld \
23404 info-ld
23405 @[ -f ./ld/Makefile ] || exit 0; \
23406 r=`${PWD_COMMAND}`; export r; \
23407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23408 $(HOST_EXPORTS) \
23409 for flag in $(EXTRA_HOST_FLAGS) ; do \
23410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23411 done; \
23412 echo "Doing install-info in ld"; \
23413 (cd $(HOST_SUBDIR)/ld && \
23414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23416 "RANLIB=$${RANLIB}" \
23417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23418 install-info) \
23419 || exit 1
23420
23421 @endif ld
23422
23423 .PHONY: maybe-install-dvi-ld install-dvi-ld
23424 maybe-install-dvi-ld:
23425 @if ld
23426 maybe-install-dvi-ld: install-dvi-ld
23427
23428 install-dvi-ld: \
23429 configure-ld \
23430 dvi-ld
23431 @[ -f ./ld/Makefile ] || exit 0; \
23432 r=`${PWD_COMMAND}`; export r; \
23433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23434 $(HOST_EXPORTS) \
23435 for flag in $(EXTRA_HOST_FLAGS) ; do \
23436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23437 done; \
23438 echo "Doing install-dvi in ld"; \
23439 (cd $(HOST_SUBDIR)/ld && \
23440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23442 "RANLIB=$${RANLIB}" \
23443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23444 install-dvi) \
23445 || exit 1
23446
23447 @endif ld
23448
23449 .PHONY: maybe-install-pdf-ld install-pdf-ld
23450 maybe-install-pdf-ld:
23451 @if ld
23452 maybe-install-pdf-ld: install-pdf-ld
23453
23454 install-pdf-ld: \
23455 configure-ld \
23456 pdf-ld
23457 @[ -f ./ld/Makefile ] || exit 0; \
23458 r=`${PWD_COMMAND}`; export r; \
23459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23460 $(HOST_EXPORTS) \
23461 for flag in $(EXTRA_HOST_FLAGS) ; do \
23462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23463 done; \
23464 echo "Doing install-pdf in ld"; \
23465 (cd $(HOST_SUBDIR)/ld && \
23466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23468 "RANLIB=$${RANLIB}" \
23469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23470 install-pdf) \
23471 || exit 1
23472
23473 @endif ld
23474
23475 .PHONY: maybe-install-html-ld install-html-ld
23476 maybe-install-html-ld:
23477 @if ld
23478 maybe-install-html-ld: install-html-ld
23479
23480 install-html-ld: \
23481 configure-ld \
23482 html-ld
23483 @[ -f ./ld/Makefile ] || exit 0; \
23484 r=`${PWD_COMMAND}`; export r; \
23485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23486 $(HOST_EXPORTS) \
23487 for flag in $(EXTRA_HOST_FLAGS) ; do \
23488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23489 done; \
23490 echo "Doing install-html in ld"; \
23491 (cd $(HOST_SUBDIR)/ld && \
23492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23494 "RANLIB=$${RANLIB}" \
23495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23496 install-html) \
23497 || exit 1
23498
23499 @endif ld
23500
23501 .PHONY: maybe-installcheck-ld installcheck-ld
23502 maybe-installcheck-ld:
23503 @if ld
23504 maybe-installcheck-ld: installcheck-ld
23505
23506 installcheck-ld: \
23507 configure-ld
23508 @[ -f ./ld/Makefile ] || exit 0; \
23509 r=`${PWD_COMMAND}`; export r; \
23510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23511 $(HOST_EXPORTS) \
23512 for flag in $(EXTRA_HOST_FLAGS) ; do \
23513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23514 done; \
23515 echo "Doing installcheck in ld"; \
23516 (cd $(HOST_SUBDIR)/ld && \
23517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23519 "RANLIB=$${RANLIB}" \
23520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23521 installcheck) \
23522 || exit 1
23523
23524 @endif ld
23525
23526 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
23527 maybe-mostlyclean-ld:
23528 @if ld
23529 maybe-mostlyclean-ld: mostlyclean-ld
23530
23531 mostlyclean-ld:
23532 @[ -f ./ld/Makefile ] || exit 0; \
23533 r=`${PWD_COMMAND}`; export r; \
23534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23535 $(HOST_EXPORTS) \
23536 for flag in $(EXTRA_HOST_FLAGS) ; do \
23537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23538 done; \
23539 echo "Doing mostlyclean in ld"; \
23540 (cd $(HOST_SUBDIR)/ld && \
23541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23543 "RANLIB=$${RANLIB}" \
23544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23545 mostlyclean) \
23546 || exit 1
23547
23548 @endif ld
23549
23550 .PHONY: maybe-clean-ld clean-ld
23551 maybe-clean-ld:
23552 @if ld
23553 maybe-clean-ld: clean-ld
23554
23555 clean-ld:
23556 @[ -f ./ld/Makefile ] || exit 0; \
23557 r=`${PWD_COMMAND}`; export r; \
23558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23559 $(HOST_EXPORTS) \
23560 for flag in $(EXTRA_HOST_FLAGS) ; do \
23561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23562 done; \
23563 echo "Doing clean in ld"; \
23564 (cd $(HOST_SUBDIR)/ld && \
23565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23567 "RANLIB=$${RANLIB}" \
23568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23569 clean) \
23570 || exit 1
23571
23572 @endif ld
23573
23574 .PHONY: maybe-distclean-ld distclean-ld
23575 maybe-distclean-ld:
23576 @if ld
23577 maybe-distclean-ld: distclean-ld
23578
23579 distclean-ld:
23580 @[ -f ./ld/Makefile ] || exit 0; \
23581 r=`${PWD_COMMAND}`; export r; \
23582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23583 $(HOST_EXPORTS) \
23584 for flag in $(EXTRA_HOST_FLAGS) ; do \
23585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23586 done; \
23587 echo "Doing distclean in ld"; \
23588 (cd $(HOST_SUBDIR)/ld && \
23589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23591 "RANLIB=$${RANLIB}" \
23592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23593 distclean) \
23594 || exit 1
23595
23596 @endif ld
23597
23598 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
23599 maybe-maintainer-clean-ld:
23600 @if ld
23601 maybe-maintainer-clean-ld: maintainer-clean-ld
23602
23603 maintainer-clean-ld:
23604 @[ -f ./ld/Makefile ] || exit 0; \
23605 r=`${PWD_COMMAND}`; export r; \
23606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23607 $(HOST_EXPORTS) \
23608 for flag in $(EXTRA_HOST_FLAGS) ; do \
23609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23610 done; \
23611 echo "Doing maintainer-clean in ld"; \
23612 (cd $(HOST_SUBDIR)/ld && \
23613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23615 "RANLIB=$${RANLIB}" \
23616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23617 maintainer-clean) \
23618 || exit 1
23619
23620 @endif ld
23621
23622
23623
23624 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
23625 maybe-configure-libbacktrace:
23626 @if gcc-bootstrap
23627 configure-libbacktrace: stage_current
23628 @endif gcc-bootstrap
23629 @if libbacktrace
23630 maybe-configure-libbacktrace: configure-libbacktrace
23631 configure-libbacktrace:
23632 @r=`${PWD_COMMAND}`; export r; \
23633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23634 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23635 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23636 $(HOST_EXPORTS) \
23637 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
23638 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
23639 case $(srcdir) in \
23640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23641 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23643 esac; \
23644 module_srcdir=libbacktrace; \
23645 $(SHELL) \
23646 $$s/$$module_srcdir/configure \
23647 --srcdir=$${topdir}/$$module_srcdir \
23648 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23649 --target=${target_alias} \
23650 || exit 1
23651 @endif libbacktrace
23652
23653
23654
23655 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
23656 maybe-configure-stage1-libbacktrace:
23657 @if libbacktrace-bootstrap
23658 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
23659 configure-stage1-libbacktrace:
23660 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23661 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23662 @r=`${PWD_COMMAND}`; export r; \
23663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23664 TFLAGS="$(STAGE1_TFLAGS)"; \
23665 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23666 $(HOST_EXPORTS) \
23667 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23668 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23669 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23670 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace; \
23671 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23672 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23673 case $(srcdir) in \
23674 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23675 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23676 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23677 esac; \
23678 module_srcdir=libbacktrace; \
23679 $(SHELL) $$s/$$module_srcdir/configure \
23680 --srcdir=$${topdir}/$$module_srcdir \
23681 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23682 --target=${target_alias} \
23683 \
23684 $(STAGE1_CONFIGURE_FLAGS)
23685 @endif libbacktrace-bootstrap
23686
23687 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
23688 maybe-configure-stage2-libbacktrace:
23689 @if libbacktrace-bootstrap
23690 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
23691 configure-stage2-libbacktrace:
23692 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23693 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23694 @r=`${PWD_COMMAND}`; export r; \
23695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23696 TFLAGS="$(STAGE2_TFLAGS)"; \
23697 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23698 $(HOST_EXPORTS) \
23699 $(POSTSTAGE1_HOST_EXPORTS) \
23700 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23701 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23702 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23703 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace; \
23704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23705 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23706 case $(srcdir) in \
23707 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23708 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23709 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23710 esac; \
23711 module_srcdir=libbacktrace; \
23712 $(SHELL) $$s/$$module_srcdir/configure \
23713 --srcdir=$${topdir}/$$module_srcdir \
23714 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23715 --target=${target_alias} \
23716 --with-build-libsubdir=$(HOST_SUBDIR) \
23717 $(STAGE2_CONFIGURE_FLAGS)
23718 @endif libbacktrace-bootstrap
23719
23720 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
23721 maybe-configure-stage3-libbacktrace:
23722 @if libbacktrace-bootstrap
23723 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
23724 configure-stage3-libbacktrace:
23725 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23726 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23727 @r=`${PWD_COMMAND}`; export r; \
23728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23729 TFLAGS="$(STAGE3_TFLAGS)"; \
23730 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23731 $(HOST_EXPORTS) \
23732 $(POSTSTAGE1_HOST_EXPORTS) \
23733 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23734 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23735 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23736 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace; \
23737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23738 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23739 case $(srcdir) in \
23740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23741 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23743 esac; \
23744 module_srcdir=libbacktrace; \
23745 $(SHELL) $$s/$$module_srcdir/configure \
23746 --srcdir=$${topdir}/$$module_srcdir \
23747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23748 --target=${target_alias} \
23749 --with-build-libsubdir=$(HOST_SUBDIR) \
23750 $(STAGE3_CONFIGURE_FLAGS)
23751 @endif libbacktrace-bootstrap
23752
23753 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
23754 maybe-configure-stage4-libbacktrace:
23755 @if libbacktrace-bootstrap
23756 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
23757 configure-stage4-libbacktrace:
23758 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23759 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23760 @r=`${PWD_COMMAND}`; export r; \
23761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23762 TFLAGS="$(STAGE4_TFLAGS)"; \
23763 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23764 $(HOST_EXPORTS) \
23765 $(POSTSTAGE1_HOST_EXPORTS) \
23766 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23767 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23768 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23769 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace; \
23770 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23771 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23772 case $(srcdir) in \
23773 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23774 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23775 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23776 esac; \
23777 module_srcdir=libbacktrace; \
23778 $(SHELL) $$s/$$module_srcdir/configure \
23779 --srcdir=$${topdir}/$$module_srcdir \
23780 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23781 --target=${target_alias} \
23782 --with-build-libsubdir=$(HOST_SUBDIR) \
23783 $(STAGE4_CONFIGURE_FLAGS)
23784 @endif libbacktrace-bootstrap
23785
23786 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
23787 maybe-configure-stageprofile-libbacktrace:
23788 @if libbacktrace-bootstrap
23789 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
23790 configure-stageprofile-libbacktrace:
23791 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23792 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23793 @r=`${PWD_COMMAND}`; export r; \
23794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23795 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23796 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23797 $(HOST_EXPORTS) \
23798 $(POSTSTAGE1_HOST_EXPORTS) \
23799 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23800 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23801 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23802 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace; \
23803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23804 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23805 case $(srcdir) in \
23806 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23807 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23808 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23809 esac; \
23810 module_srcdir=libbacktrace; \
23811 $(SHELL) $$s/$$module_srcdir/configure \
23812 --srcdir=$${topdir}/$$module_srcdir \
23813 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23814 --target=${target_alias} \
23815 --with-build-libsubdir=$(HOST_SUBDIR) \
23816 $(STAGEprofile_CONFIGURE_FLAGS)
23817 @endif libbacktrace-bootstrap
23818
23819 .PHONY: configure-stagetrain-libbacktrace maybe-configure-stagetrain-libbacktrace
23820 maybe-configure-stagetrain-libbacktrace:
23821 @if libbacktrace-bootstrap
23822 maybe-configure-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
23823 configure-stagetrain-libbacktrace:
23824 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
23825 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23826 @r=`${PWD_COMMAND}`; export r; \
23827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23828 TFLAGS="$(STAGEtrain_TFLAGS)"; \
23829 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23830 $(HOST_EXPORTS) \
23831 $(POSTSTAGE1_HOST_EXPORTS) \
23832 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
23833 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
23834 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
23835 echo Configuring stage train in $(HOST_SUBDIR)/libbacktrace; \
23836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23837 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23838 case $(srcdir) in \
23839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23840 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23842 esac; \
23843 module_srcdir=libbacktrace; \
23844 $(SHELL) $$s/$$module_srcdir/configure \
23845 --srcdir=$${topdir}/$$module_srcdir \
23846 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23847 --target=${target_alias} \
23848 --with-build-libsubdir=$(HOST_SUBDIR) \
23849 $(STAGEtrain_CONFIGURE_FLAGS)
23850 @endif libbacktrace-bootstrap
23851
23852 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
23853 maybe-configure-stagefeedback-libbacktrace:
23854 @if libbacktrace-bootstrap
23855 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
23856 configure-stagefeedback-libbacktrace:
23857 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23858 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23859 @r=`${PWD_COMMAND}`; export r; \
23860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23861 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23862 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23863 $(HOST_EXPORTS) \
23864 $(POSTSTAGE1_HOST_EXPORTS) \
23865 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23866 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23867 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23868 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace; \
23869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23870 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23871 case $(srcdir) in \
23872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23873 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23875 esac; \
23876 module_srcdir=libbacktrace; \
23877 $(SHELL) $$s/$$module_srcdir/configure \
23878 --srcdir=$${topdir}/$$module_srcdir \
23879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23880 --target=${target_alias} \
23881 --with-build-libsubdir=$(HOST_SUBDIR) \
23882 $(STAGEfeedback_CONFIGURE_FLAGS)
23883 @endif libbacktrace-bootstrap
23884
23885 .PHONY: configure-stageautoprofile-libbacktrace maybe-configure-stageautoprofile-libbacktrace
23886 maybe-configure-stageautoprofile-libbacktrace:
23887 @if libbacktrace-bootstrap
23888 maybe-configure-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
23889 configure-stageautoprofile-libbacktrace:
23890 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
23891 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23892 @r=`${PWD_COMMAND}`; export r; \
23893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23894 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
23895 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23896 $(HOST_EXPORTS) \
23897 $(POSTSTAGE1_HOST_EXPORTS) \
23898 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
23899 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
23900 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
23901 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libbacktrace; \
23902 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23903 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23904 case $(srcdir) in \
23905 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23906 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23907 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23908 esac; \
23909 module_srcdir=libbacktrace; \
23910 $(SHELL) $$s/$$module_srcdir/configure \
23911 --srcdir=$${topdir}/$$module_srcdir \
23912 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23913 --target=${target_alias} \
23914 --with-build-libsubdir=$(HOST_SUBDIR) \
23915 $(STAGEautoprofile_CONFIGURE_FLAGS)
23916 @endif libbacktrace-bootstrap
23917
23918 .PHONY: configure-stageautofeedback-libbacktrace maybe-configure-stageautofeedback-libbacktrace
23919 maybe-configure-stageautofeedback-libbacktrace:
23920 @if libbacktrace-bootstrap
23921 maybe-configure-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
23922 configure-stageautofeedback-libbacktrace:
23923 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
23924 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
23925 @r=`${PWD_COMMAND}`; export r; \
23926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23927 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
23928 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
23929 $(HOST_EXPORTS) \
23930 $(POSTSTAGE1_HOST_EXPORTS) \
23931 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
23932 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
23933 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
23934 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libbacktrace; \
23935 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace; \
23936 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
23937 case $(srcdir) in \
23938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23939 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
23940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23941 esac; \
23942 module_srcdir=libbacktrace; \
23943 $(SHELL) $$s/$$module_srcdir/configure \
23944 --srcdir=$${topdir}/$$module_srcdir \
23945 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23946 --target=${target_alias} \
23947 --with-build-libsubdir=$(HOST_SUBDIR) \
23948 $(STAGEautofeedback_CONFIGURE_FLAGS)
23949 @endif libbacktrace-bootstrap
23950
23951
23952
23953
23954
23955 .PHONY: all-libbacktrace maybe-all-libbacktrace
23956 maybe-all-libbacktrace:
23957 @if gcc-bootstrap
23958 all-libbacktrace: stage_current
23959 @endif gcc-bootstrap
23960 @if libbacktrace
23961 TARGET-libbacktrace=all
23962 maybe-all-libbacktrace: all-libbacktrace
23963 all-libbacktrace: configure-libbacktrace
23964 @r=`${PWD_COMMAND}`; export r; \
23965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23966 $(HOST_EXPORTS) \
23967 (cd $(HOST_SUBDIR)/libbacktrace && \
23968 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23969 $(TARGET-libbacktrace))
23970 @endif libbacktrace
23971
23972
23973
23974 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
23975 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
23976 maybe-all-stage1-libbacktrace:
23977 maybe-clean-stage1-libbacktrace:
23978 @if libbacktrace-bootstrap
23979 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
23980 all-stage1: all-stage1-libbacktrace
23981 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
23982 all-stage1-libbacktrace: configure-stage1-libbacktrace
23983 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23984 @r=`${PWD_COMMAND}`; export r; \
23985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23986 TFLAGS="$(STAGE1_TFLAGS)"; \
23987 $(HOST_EXPORTS) \
23988 cd $(HOST_SUBDIR)/libbacktrace && \
23989 \
23990 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23991 CFLAGS="$(STAGE1_CFLAGS)" \
23992 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
23993 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23994 LIBCFLAGS="$(LIBCFLAGS)" \
23995 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23996 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23997 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23998 $(EXTRA_HOST_FLAGS) \
23999 $(STAGE1_FLAGS_TO_PASS) \
24000 TFLAGS="$(STAGE1_TFLAGS)" \
24001 $(TARGET-stage1-libbacktrace)
24002
24003 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
24004 clean-stage1: clean-stage1-libbacktrace
24005 clean-stage1-libbacktrace:
24006 @if [ $(current_stage) = stage1 ]; then \
24007 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24008 else \
24009 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
24010 $(MAKE) stage1-start; \
24011 fi; \
24012 cd $(HOST_SUBDIR)/libbacktrace && \
24013 $(MAKE) $(EXTRA_HOST_FLAGS) \
24014 $(STAGE1_FLAGS_TO_PASS) clean
24015 @endif libbacktrace-bootstrap
24016
24017
24018 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
24019 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
24020 maybe-all-stage2-libbacktrace:
24021 maybe-clean-stage2-libbacktrace:
24022 @if libbacktrace-bootstrap
24023 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
24024 all-stage2: all-stage2-libbacktrace
24025 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
24026 all-stage2-libbacktrace: configure-stage2-libbacktrace
24027 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24028 @r=`${PWD_COMMAND}`; export r; \
24029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24030 TFLAGS="$(STAGE2_TFLAGS)"; \
24031 $(HOST_EXPORTS) \
24032 $(POSTSTAGE1_HOST_EXPORTS) \
24033 cd $(HOST_SUBDIR)/libbacktrace && \
24034 \
24035 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24036 CFLAGS="$(STAGE2_CFLAGS)" \
24037 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
24038 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
24039 LIBCFLAGS="$(STAGE2_CFLAGS)" \
24040 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24041 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24042 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24043 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24044 TFLAGS="$(STAGE2_TFLAGS)" \
24045 $(TARGET-stage2-libbacktrace)
24046
24047 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
24048 clean-stage2: clean-stage2-libbacktrace
24049 clean-stage2-libbacktrace:
24050 @if [ $(current_stage) = stage2 ]; then \
24051 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24052 else \
24053 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
24054 $(MAKE) stage2-start; \
24055 fi; \
24056 cd $(HOST_SUBDIR)/libbacktrace && \
24057 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24058 @endif libbacktrace-bootstrap
24059
24060
24061 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
24062 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
24063 maybe-all-stage3-libbacktrace:
24064 maybe-clean-stage3-libbacktrace:
24065 @if libbacktrace-bootstrap
24066 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
24067 all-stage3: all-stage3-libbacktrace
24068 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
24069 all-stage3-libbacktrace: configure-stage3-libbacktrace
24070 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24071 @r=`${PWD_COMMAND}`; export r; \
24072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24073 TFLAGS="$(STAGE3_TFLAGS)"; \
24074 $(HOST_EXPORTS) \
24075 $(POSTSTAGE1_HOST_EXPORTS) \
24076 cd $(HOST_SUBDIR)/libbacktrace && \
24077 \
24078 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24079 CFLAGS="$(STAGE3_CFLAGS)" \
24080 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
24081 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
24082 LIBCFLAGS="$(STAGE3_CFLAGS)" \
24083 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24084 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24085 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24086 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24087 TFLAGS="$(STAGE3_TFLAGS)" \
24088 $(TARGET-stage3-libbacktrace)
24089
24090 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
24091 clean-stage3: clean-stage3-libbacktrace
24092 clean-stage3-libbacktrace:
24093 @if [ $(current_stage) = stage3 ]; then \
24094 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24095 else \
24096 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
24097 $(MAKE) stage3-start; \
24098 fi; \
24099 cd $(HOST_SUBDIR)/libbacktrace && \
24100 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24101 @endif libbacktrace-bootstrap
24102
24103
24104 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
24105 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
24106 maybe-all-stage4-libbacktrace:
24107 maybe-clean-stage4-libbacktrace:
24108 @if libbacktrace-bootstrap
24109 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
24110 all-stage4: all-stage4-libbacktrace
24111 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
24112 all-stage4-libbacktrace: configure-stage4-libbacktrace
24113 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24114 @r=`${PWD_COMMAND}`; export r; \
24115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24116 TFLAGS="$(STAGE4_TFLAGS)"; \
24117 $(HOST_EXPORTS) \
24118 $(POSTSTAGE1_HOST_EXPORTS) \
24119 cd $(HOST_SUBDIR)/libbacktrace && \
24120 \
24121 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24122 CFLAGS="$(STAGE4_CFLAGS)" \
24123 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
24124 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
24125 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24126 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24127 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24128 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24129 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24130 TFLAGS="$(STAGE4_TFLAGS)" \
24131 $(TARGET-stage4-libbacktrace)
24132
24133 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
24134 clean-stage4: clean-stage4-libbacktrace
24135 clean-stage4-libbacktrace:
24136 @if [ $(current_stage) = stage4 ]; then \
24137 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24138 else \
24139 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
24140 $(MAKE) stage4-start; \
24141 fi; \
24142 cd $(HOST_SUBDIR)/libbacktrace && \
24143 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24144 @endif libbacktrace-bootstrap
24145
24146
24147 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
24148 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
24149 maybe-all-stageprofile-libbacktrace:
24150 maybe-clean-stageprofile-libbacktrace:
24151 @if libbacktrace-bootstrap
24152 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
24153 all-stageprofile: all-stageprofile-libbacktrace
24154 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
24155 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
24156 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24157 @r=`${PWD_COMMAND}`; export r; \
24158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24159 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24160 $(HOST_EXPORTS) \
24161 $(POSTSTAGE1_HOST_EXPORTS) \
24162 cd $(HOST_SUBDIR)/libbacktrace && \
24163 \
24164 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24165 CFLAGS="$(STAGEprofile_CFLAGS)" \
24166 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
24167 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
24168 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
24169 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24170 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24171 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24172 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24173 TFLAGS="$(STAGEprofile_TFLAGS)" \
24174 $(TARGET-stageprofile-libbacktrace)
24175
24176 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
24177 clean-stageprofile: clean-stageprofile-libbacktrace
24178 clean-stageprofile-libbacktrace:
24179 @if [ $(current_stage) = stageprofile ]; then \
24180 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24181 else \
24182 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
24183 $(MAKE) stageprofile-start; \
24184 fi; \
24185 cd $(HOST_SUBDIR)/libbacktrace && \
24186 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24187 @endif libbacktrace-bootstrap
24188
24189
24190 .PHONY: all-stagetrain-libbacktrace maybe-all-stagetrain-libbacktrace
24191 .PHONY: clean-stagetrain-libbacktrace maybe-clean-stagetrain-libbacktrace
24192 maybe-all-stagetrain-libbacktrace:
24193 maybe-clean-stagetrain-libbacktrace:
24194 @if libbacktrace-bootstrap
24195 maybe-all-stagetrain-libbacktrace: all-stagetrain-libbacktrace
24196 all-stagetrain: all-stagetrain-libbacktrace
24197 TARGET-stagetrain-libbacktrace = $(TARGET-libbacktrace)
24198 all-stagetrain-libbacktrace: configure-stagetrain-libbacktrace
24199 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24200 @r=`${PWD_COMMAND}`; export r; \
24201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24202 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24203 $(HOST_EXPORTS) \
24204 $(POSTSTAGE1_HOST_EXPORTS) \
24205 cd $(HOST_SUBDIR)/libbacktrace && \
24206 \
24207 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24208 CFLAGS="$(STAGEtrain_CFLAGS)" \
24209 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
24210 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
24211 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
24212 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24213 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24214 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24215 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24216 TFLAGS="$(STAGEtrain_TFLAGS)" \
24217 $(TARGET-stagetrain-libbacktrace)
24218
24219 maybe-clean-stagetrain-libbacktrace: clean-stagetrain-libbacktrace
24220 clean-stagetrain: clean-stagetrain-libbacktrace
24221 clean-stagetrain-libbacktrace:
24222 @if [ $(current_stage) = stagetrain ]; then \
24223 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24224 else \
24225 [ -f $(HOST_SUBDIR)/stagetrain-libbacktrace/Makefile ] || exit 0; \
24226 $(MAKE) stagetrain-start; \
24227 fi; \
24228 cd $(HOST_SUBDIR)/libbacktrace && \
24229 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24230 @endif libbacktrace-bootstrap
24231
24232
24233 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
24234 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
24235 maybe-all-stagefeedback-libbacktrace:
24236 maybe-clean-stagefeedback-libbacktrace:
24237 @if libbacktrace-bootstrap
24238 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
24239 all-stagefeedback: all-stagefeedback-libbacktrace
24240 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
24241 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
24242 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24243 @r=`${PWD_COMMAND}`; export r; \
24244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24245 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
24246 $(HOST_EXPORTS) \
24247 $(POSTSTAGE1_HOST_EXPORTS) \
24248 cd $(HOST_SUBDIR)/libbacktrace && \
24249 \
24250 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24251 CFLAGS="$(STAGEfeedback_CFLAGS)" \
24252 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
24253 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
24254 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
24255 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24256 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24257 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24258 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24259 TFLAGS="$(STAGEfeedback_TFLAGS)" \
24260 $(TARGET-stagefeedback-libbacktrace)
24261
24262 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
24263 clean-stagefeedback: clean-stagefeedback-libbacktrace
24264 clean-stagefeedback-libbacktrace:
24265 @if [ $(current_stage) = stagefeedback ]; then \
24266 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24267 else \
24268 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
24269 $(MAKE) stagefeedback-start; \
24270 fi; \
24271 cd $(HOST_SUBDIR)/libbacktrace && \
24272 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24273 @endif libbacktrace-bootstrap
24274
24275
24276 .PHONY: all-stageautoprofile-libbacktrace maybe-all-stageautoprofile-libbacktrace
24277 .PHONY: clean-stageautoprofile-libbacktrace maybe-clean-stageautoprofile-libbacktrace
24278 maybe-all-stageautoprofile-libbacktrace:
24279 maybe-clean-stageautoprofile-libbacktrace:
24280 @if libbacktrace-bootstrap
24281 maybe-all-stageautoprofile-libbacktrace: all-stageautoprofile-libbacktrace
24282 all-stageautoprofile: all-stageautoprofile-libbacktrace
24283 TARGET-stageautoprofile-libbacktrace = $(TARGET-libbacktrace)
24284 all-stageautoprofile-libbacktrace: configure-stageautoprofile-libbacktrace
24285 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
24286 @r=`${PWD_COMMAND}`; export r; \
24287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24288 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
24289 $(HOST_EXPORTS) \
24290 $(POSTSTAGE1_HOST_EXPORTS) \
24291 cd $(HOST_SUBDIR)/libbacktrace && \
24292 $$s/gcc/config/i386/$(AUTO_PROFILE) \
24293 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24294 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
24295 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
24296 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
24297 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
24298 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24299 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24300 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24301 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24302 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
24303 $(TARGET-stageautoprofile-libbacktrace)
24304
24305 maybe-clean-stageautoprofile-libbacktrace: clean-stageautoprofile-libbacktrace
24306 clean-stageautoprofile: clean-stageautoprofile-libbacktrace
24307 clean-stageautoprofile-libbacktrace:
24308 @if [ $(current_stage) = stageautoprofile ]; then \
24309 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24310 else \
24311 [ -f $(HOST_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
24312 $(MAKE) stageautoprofile-start; \
24313 fi; \
24314 cd $(HOST_SUBDIR)/libbacktrace && \
24315 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24316 @endif libbacktrace-bootstrap
24317
24318
24319 .PHONY: all-stageautofeedback-libbacktrace maybe-all-stageautofeedback-libbacktrace
24320 .PHONY: clean-stageautofeedback-libbacktrace maybe-clean-stageautofeedback-libbacktrace
24321 maybe-all-stageautofeedback-libbacktrace:
24322 maybe-clean-stageautofeedback-libbacktrace:
24323 @if libbacktrace-bootstrap
24324 maybe-all-stageautofeedback-libbacktrace: all-stageautofeedback-libbacktrace
24325 all-stageautofeedback: all-stageautofeedback-libbacktrace
24326 TARGET-stageautofeedback-libbacktrace = $(TARGET-libbacktrace)
24327 all-stageautofeedback-libbacktrace: configure-stageautofeedback-libbacktrace
24328 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
24329 @r=`${PWD_COMMAND}`; export r; \
24330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24331 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
24332 $(HOST_EXPORTS) \
24333 $(POSTSTAGE1_HOST_EXPORTS) \
24334 cd $(HOST_SUBDIR)/libbacktrace && \
24335 \
24336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24337 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
24338 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
24339 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
24340 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
24341 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
24342 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
24343 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
24344 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24345 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
24346 $(TARGET-stageautofeedback-libbacktrace)
24347
24348 maybe-clean-stageautofeedback-libbacktrace: clean-stageautofeedback-libbacktrace
24349 clean-stageautofeedback: clean-stageautofeedback-libbacktrace
24350 clean-stageautofeedback-libbacktrace:
24351 @if [ $(current_stage) = stageautofeedback ]; then \
24352 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
24353 else \
24354 [ -f $(HOST_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
24355 $(MAKE) stageautofeedback-start; \
24356 fi; \
24357 cd $(HOST_SUBDIR)/libbacktrace && \
24358 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
24359 @endif libbacktrace-bootstrap
24360
24361
24362
24363
24364
24365 .PHONY: check-libbacktrace maybe-check-libbacktrace
24366 maybe-check-libbacktrace:
24367 @if libbacktrace
24368 maybe-check-libbacktrace: check-libbacktrace
24369
24370 check-libbacktrace:
24371 @: $(MAKE); $(unstage)
24372 @r=`${PWD_COMMAND}`; export r; \
24373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24374 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
24375 (cd $(HOST_SUBDIR)/libbacktrace && \
24376 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
24377
24378 @endif libbacktrace
24379
24380 .PHONY: install-libbacktrace maybe-install-libbacktrace
24381 maybe-install-libbacktrace:
24382 @if libbacktrace
24383 maybe-install-libbacktrace: install-libbacktrace
24384
24385 install-libbacktrace: installdirs
24386 @: $(MAKE); $(unstage)
24387 @r=`${PWD_COMMAND}`; export r; \
24388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24389 $(HOST_EXPORTS) \
24390 (cd $(HOST_SUBDIR)/libbacktrace && \
24391 $(MAKE) $(FLAGS_TO_PASS) install)
24392
24393 @endif libbacktrace
24394
24395 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
24396 maybe-install-strip-libbacktrace:
24397 @if libbacktrace
24398 maybe-install-strip-libbacktrace: install-strip-libbacktrace
24399
24400 install-strip-libbacktrace: installdirs
24401 @: $(MAKE); $(unstage)
24402 @r=`${PWD_COMMAND}`; export r; \
24403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24404 $(HOST_EXPORTS) \
24405 (cd $(HOST_SUBDIR)/libbacktrace && \
24406 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24407
24408 @endif libbacktrace
24409
24410 # Other targets (info, dvi, pdf, etc.)
24411
24412 .PHONY: maybe-info-libbacktrace info-libbacktrace
24413 maybe-info-libbacktrace:
24414 @if libbacktrace
24415 maybe-info-libbacktrace: info-libbacktrace
24416
24417 info-libbacktrace: \
24418 configure-libbacktrace
24419 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24420 r=`${PWD_COMMAND}`; export r; \
24421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24422 $(HOST_EXPORTS) \
24423 for flag in $(EXTRA_HOST_FLAGS) ; do \
24424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24425 done; \
24426 echo "Doing info in libbacktrace"; \
24427 (cd $(HOST_SUBDIR)/libbacktrace && \
24428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24430 "RANLIB=$${RANLIB}" \
24431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24432 info) \
24433 || exit 1
24434
24435 @endif libbacktrace
24436
24437 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
24438 maybe-dvi-libbacktrace:
24439 @if libbacktrace
24440 maybe-dvi-libbacktrace: dvi-libbacktrace
24441
24442 dvi-libbacktrace: \
24443 configure-libbacktrace
24444 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24445 r=`${PWD_COMMAND}`; export r; \
24446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24447 $(HOST_EXPORTS) \
24448 for flag in $(EXTRA_HOST_FLAGS) ; do \
24449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24450 done; \
24451 echo "Doing dvi in libbacktrace"; \
24452 (cd $(HOST_SUBDIR)/libbacktrace && \
24453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24455 "RANLIB=$${RANLIB}" \
24456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24457 dvi) \
24458 || exit 1
24459
24460 @endif libbacktrace
24461
24462 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
24463 maybe-pdf-libbacktrace:
24464 @if libbacktrace
24465 maybe-pdf-libbacktrace: pdf-libbacktrace
24466
24467 pdf-libbacktrace: \
24468 configure-libbacktrace
24469 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24470 r=`${PWD_COMMAND}`; export r; \
24471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24472 $(HOST_EXPORTS) \
24473 for flag in $(EXTRA_HOST_FLAGS) ; do \
24474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24475 done; \
24476 echo "Doing pdf in libbacktrace"; \
24477 (cd $(HOST_SUBDIR)/libbacktrace && \
24478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24480 "RANLIB=$${RANLIB}" \
24481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24482 pdf) \
24483 || exit 1
24484
24485 @endif libbacktrace
24486
24487 .PHONY: maybe-html-libbacktrace html-libbacktrace
24488 maybe-html-libbacktrace:
24489 @if libbacktrace
24490 maybe-html-libbacktrace: html-libbacktrace
24491
24492 html-libbacktrace: \
24493 configure-libbacktrace
24494 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24495 r=`${PWD_COMMAND}`; export r; \
24496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24497 $(HOST_EXPORTS) \
24498 for flag in $(EXTRA_HOST_FLAGS) ; do \
24499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24500 done; \
24501 echo "Doing html in libbacktrace"; \
24502 (cd $(HOST_SUBDIR)/libbacktrace && \
24503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24505 "RANLIB=$${RANLIB}" \
24506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24507 html) \
24508 || exit 1
24509
24510 @endif libbacktrace
24511
24512 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
24513 maybe-TAGS-libbacktrace:
24514 @if libbacktrace
24515 maybe-TAGS-libbacktrace: TAGS-libbacktrace
24516
24517 TAGS-libbacktrace: \
24518 configure-libbacktrace
24519 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24520 r=`${PWD_COMMAND}`; export r; \
24521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24522 $(HOST_EXPORTS) \
24523 for flag in $(EXTRA_HOST_FLAGS) ; do \
24524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24525 done; \
24526 echo "Doing TAGS in libbacktrace"; \
24527 (cd $(HOST_SUBDIR)/libbacktrace && \
24528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24530 "RANLIB=$${RANLIB}" \
24531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24532 TAGS) \
24533 || exit 1
24534
24535 @endif libbacktrace
24536
24537 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
24538 maybe-install-info-libbacktrace:
24539 @if libbacktrace
24540 maybe-install-info-libbacktrace: install-info-libbacktrace
24541
24542 install-info-libbacktrace: \
24543 configure-libbacktrace \
24544 info-libbacktrace
24545 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24546 r=`${PWD_COMMAND}`; export r; \
24547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24548 $(HOST_EXPORTS) \
24549 for flag in $(EXTRA_HOST_FLAGS) ; do \
24550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24551 done; \
24552 echo "Doing install-info in libbacktrace"; \
24553 (cd $(HOST_SUBDIR)/libbacktrace && \
24554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24556 "RANLIB=$${RANLIB}" \
24557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24558 install-info) \
24559 || exit 1
24560
24561 @endif libbacktrace
24562
24563 .PHONY: maybe-install-dvi-libbacktrace install-dvi-libbacktrace
24564 maybe-install-dvi-libbacktrace:
24565 @if libbacktrace
24566 maybe-install-dvi-libbacktrace: install-dvi-libbacktrace
24567
24568 install-dvi-libbacktrace: \
24569 configure-libbacktrace \
24570 dvi-libbacktrace
24571 @[ -f ./libbacktrace/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 install-dvi in libbacktrace"; \
24579 (cd $(HOST_SUBDIR)/libbacktrace && \
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 install-dvi) \
24585 || exit 1
24586
24587 @endif libbacktrace
24588
24589 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
24590 maybe-install-pdf-libbacktrace:
24591 @if libbacktrace
24592 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
24593
24594 install-pdf-libbacktrace: \
24595 configure-libbacktrace \
24596 pdf-libbacktrace
24597 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24598 r=`${PWD_COMMAND}`; export r; \
24599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24600 $(HOST_EXPORTS) \
24601 for flag in $(EXTRA_HOST_FLAGS) ; do \
24602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24603 done; \
24604 echo "Doing install-pdf in libbacktrace"; \
24605 (cd $(HOST_SUBDIR)/libbacktrace && \
24606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24608 "RANLIB=$${RANLIB}" \
24609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24610 install-pdf) \
24611 || exit 1
24612
24613 @endif libbacktrace
24614
24615 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
24616 maybe-install-html-libbacktrace:
24617 @if libbacktrace
24618 maybe-install-html-libbacktrace: install-html-libbacktrace
24619
24620 install-html-libbacktrace: \
24621 configure-libbacktrace \
24622 html-libbacktrace
24623 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24624 r=`${PWD_COMMAND}`; export r; \
24625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24626 $(HOST_EXPORTS) \
24627 for flag in $(EXTRA_HOST_FLAGS) ; do \
24628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24629 done; \
24630 echo "Doing install-html in libbacktrace"; \
24631 (cd $(HOST_SUBDIR)/libbacktrace && \
24632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24634 "RANLIB=$${RANLIB}" \
24635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24636 install-html) \
24637 || exit 1
24638
24639 @endif libbacktrace
24640
24641 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
24642 maybe-installcheck-libbacktrace:
24643 @if libbacktrace
24644 maybe-installcheck-libbacktrace: installcheck-libbacktrace
24645
24646 installcheck-libbacktrace: \
24647 configure-libbacktrace
24648 @[ -f ./libbacktrace/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 installcheck in libbacktrace"; \
24656 (cd $(HOST_SUBDIR)/libbacktrace && \
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 installcheck) \
24662 || exit 1
24663
24664 @endif libbacktrace
24665
24666 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
24667 maybe-mostlyclean-libbacktrace:
24668 @if libbacktrace
24669 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
24670
24671 mostlyclean-libbacktrace:
24672 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24673 r=`${PWD_COMMAND}`; export r; \
24674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24675 $(HOST_EXPORTS) \
24676 for flag in $(EXTRA_HOST_FLAGS) ; do \
24677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24678 done; \
24679 echo "Doing mostlyclean in libbacktrace"; \
24680 (cd $(HOST_SUBDIR)/libbacktrace && \
24681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24683 "RANLIB=$${RANLIB}" \
24684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24685 mostlyclean) \
24686 || exit 1
24687
24688 @endif libbacktrace
24689
24690 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
24691 maybe-clean-libbacktrace:
24692 @if libbacktrace
24693 maybe-clean-libbacktrace: clean-libbacktrace
24694
24695 clean-libbacktrace:
24696 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24697 r=`${PWD_COMMAND}`; export r; \
24698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24699 $(HOST_EXPORTS) \
24700 for flag in $(EXTRA_HOST_FLAGS) ; do \
24701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24702 done; \
24703 echo "Doing clean in libbacktrace"; \
24704 (cd $(HOST_SUBDIR)/libbacktrace && \
24705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24707 "RANLIB=$${RANLIB}" \
24708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24709 clean) \
24710 || exit 1
24711
24712 @endif libbacktrace
24713
24714 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
24715 maybe-distclean-libbacktrace:
24716 @if libbacktrace
24717 maybe-distclean-libbacktrace: distclean-libbacktrace
24718
24719 distclean-libbacktrace:
24720 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24721 r=`${PWD_COMMAND}`; export r; \
24722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24723 $(HOST_EXPORTS) \
24724 for flag in $(EXTRA_HOST_FLAGS) ; do \
24725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24726 done; \
24727 echo "Doing distclean in libbacktrace"; \
24728 (cd $(HOST_SUBDIR)/libbacktrace && \
24729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24731 "RANLIB=$${RANLIB}" \
24732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24733 distclean) \
24734 || exit 1
24735
24736 @endif libbacktrace
24737
24738 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
24739 maybe-maintainer-clean-libbacktrace:
24740 @if libbacktrace
24741 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
24742
24743 maintainer-clean-libbacktrace:
24744 @[ -f ./libbacktrace/Makefile ] || exit 0; \
24745 r=`${PWD_COMMAND}`; export r; \
24746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24747 $(HOST_EXPORTS) \
24748 for flag in $(EXTRA_HOST_FLAGS) ; do \
24749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24750 done; \
24751 echo "Doing maintainer-clean in libbacktrace"; \
24752 (cd $(HOST_SUBDIR)/libbacktrace && \
24753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24755 "RANLIB=$${RANLIB}" \
24756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24757 maintainer-clean) \
24758 || exit 1
24759
24760 @endif libbacktrace
24761
24762
24763
24764 .PHONY: configure-libcpp maybe-configure-libcpp
24765 maybe-configure-libcpp:
24766 @if gcc-bootstrap
24767 configure-libcpp: stage_current
24768 @endif gcc-bootstrap
24769 @if libcpp
24770 maybe-configure-libcpp: configure-libcpp
24771 configure-libcpp:
24772 @r=`${PWD_COMMAND}`; export r; \
24773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24774 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24776 $(HOST_EXPORTS) \
24777 echo Configuring in $(HOST_SUBDIR)/libcpp; \
24778 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
24779 case $(srcdir) in \
24780 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24781 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24782 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24783 esac; \
24784 module_srcdir=libcpp; \
24785 $(SHELL) \
24786 $$s/$$module_srcdir/configure \
24787 --srcdir=$${topdir}/$$module_srcdir \
24788 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24789 --target=${target_alias} \
24790 || exit 1
24791 @endif libcpp
24792
24793
24794
24795 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
24796 maybe-configure-stage1-libcpp:
24797 @if libcpp-bootstrap
24798 maybe-configure-stage1-libcpp: configure-stage1-libcpp
24799 configure-stage1-libcpp:
24800 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24801 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24802 @r=`${PWD_COMMAND}`; export r; \
24803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24804 TFLAGS="$(STAGE1_TFLAGS)"; \
24805 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24806 $(HOST_EXPORTS) \
24807 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24808 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
24809 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
24810 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp; \
24811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24812 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24813 case $(srcdir) in \
24814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24815 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24817 esac; \
24818 module_srcdir=libcpp; \
24819 $(SHELL) $$s/$$module_srcdir/configure \
24820 --srcdir=$${topdir}/$$module_srcdir \
24821 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24822 --target=${target_alias} \
24823 \
24824 $(STAGE1_CONFIGURE_FLAGS)
24825 @endif libcpp-bootstrap
24826
24827 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
24828 maybe-configure-stage2-libcpp:
24829 @if libcpp-bootstrap
24830 maybe-configure-stage2-libcpp: configure-stage2-libcpp
24831 configure-stage2-libcpp:
24832 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24833 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24834 @r=`${PWD_COMMAND}`; export r; \
24835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24836 TFLAGS="$(STAGE2_TFLAGS)"; \
24837 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24838 $(HOST_EXPORTS) \
24839 $(POSTSTAGE1_HOST_EXPORTS) \
24840 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24841 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
24842 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
24843 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp; \
24844 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24845 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24846 case $(srcdir) in \
24847 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24848 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24849 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24850 esac; \
24851 module_srcdir=libcpp; \
24852 $(SHELL) $$s/$$module_srcdir/configure \
24853 --srcdir=$${topdir}/$$module_srcdir \
24854 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24855 --target=${target_alias} \
24856 --with-build-libsubdir=$(HOST_SUBDIR) \
24857 $(STAGE2_CONFIGURE_FLAGS)
24858 @endif libcpp-bootstrap
24859
24860 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
24861 maybe-configure-stage3-libcpp:
24862 @if libcpp-bootstrap
24863 maybe-configure-stage3-libcpp: configure-stage3-libcpp
24864 configure-stage3-libcpp:
24865 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24866 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24867 @r=`${PWD_COMMAND}`; export r; \
24868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24869 TFLAGS="$(STAGE3_TFLAGS)"; \
24870 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24871 $(HOST_EXPORTS) \
24872 $(POSTSTAGE1_HOST_EXPORTS) \
24873 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24874 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
24875 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
24876 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp; \
24877 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24878 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24879 case $(srcdir) in \
24880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24881 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24883 esac; \
24884 module_srcdir=libcpp; \
24885 $(SHELL) $$s/$$module_srcdir/configure \
24886 --srcdir=$${topdir}/$$module_srcdir \
24887 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24888 --target=${target_alias} \
24889 --with-build-libsubdir=$(HOST_SUBDIR) \
24890 $(STAGE3_CONFIGURE_FLAGS)
24891 @endif libcpp-bootstrap
24892
24893 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
24894 maybe-configure-stage4-libcpp:
24895 @if libcpp-bootstrap
24896 maybe-configure-stage4-libcpp: configure-stage4-libcpp
24897 configure-stage4-libcpp:
24898 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24900 @r=`${PWD_COMMAND}`; export r; \
24901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24902 TFLAGS="$(STAGE4_TFLAGS)"; \
24903 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24904 $(HOST_EXPORTS) \
24905 $(POSTSTAGE1_HOST_EXPORTS) \
24906 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24907 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
24908 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
24909 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp; \
24910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24911 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24912 case $(srcdir) in \
24913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24914 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24916 esac; \
24917 module_srcdir=libcpp; \
24918 $(SHELL) $$s/$$module_srcdir/configure \
24919 --srcdir=$${topdir}/$$module_srcdir \
24920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24921 --target=${target_alias} \
24922 --with-build-libsubdir=$(HOST_SUBDIR) \
24923 $(STAGE4_CONFIGURE_FLAGS)
24924 @endif libcpp-bootstrap
24925
24926 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
24927 maybe-configure-stageprofile-libcpp:
24928 @if libcpp-bootstrap
24929 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
24930 configure-stageprofile-libcpp:
24931 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24932 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24933 @r=`${PWD_COMMAND}`; export r; \
24934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24935 TFLAGS="$(STAGEprofile_TFLAGS)"; \
24936 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24937 $(HOST_EXPORTS) \
24938 $(POSTSTAGE1_HOST_EXPORTS) \
24939 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
24940 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
24941 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
24942 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp; \
24943 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24944 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24945 case $(srcdir) in \
24946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24947 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24949 esac; \
24950 module_srcdir=libcpp; \
24951 $(SHELL) $$s/$$module_srcdir/configure \
24952 --srcdir=$${topdir}/$$module_srcdir \
24953 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24954 --target=${target_alias} \
24955 --with-build-libsubdir=$(HOST_SUBDIR) \
24956 $(STAGEprofile_CONFIGURE_FLAGS)
24957 @endif libcpp-bootstrap
24958
24959 .PHONY: configure-stagetrain-libcpp maybe-configure-stagetrain-libcpp
24960 maybe-configure-stagetrain-libcpp:
24961 @if libcpp-bootstrap
24962 maybe-configure-stagetrain-libcpp: configure-stagetrain-libcpp
24963 configure-stagetrain-libcpp:
24964 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
24965 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24966 @r=`${PWD_COMMAND}`; export r; \
24967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24968 TFLAGS="$(STAGEtrain_TFLAGS)"; \
24969 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24970 $(HOST_EXPORTS) \
24971 $(POSTSTAGE1_HOST_EXPORTS) \
24972 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
24973 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
24974 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
24975 echo Configuring stage train in $(HOST_SUBDIR)/libcpp; \
24976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
24977 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24978 case $(srcdir) in \
24979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24980 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24982 esac; \
24983 module_srcdir=libcpp; \
24984 $(SHELL) $$s/$$module_srcdir/configure \
24985 --srcdir=$${topdir}/$$module_srcdir \
24986 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24987 --target=${target_alias} \
24988 --with-build-libsubdir=$(HOST_SUBDIR) \
24989 $(STAGEtrain_CONFIGURE_FLAGS)
24990 @endif libcpp-bootstrap
24991
24992 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
24993 maybe-configure-stagefeedback-libcpp:
24994 @if libcpp-bootstrap
24995 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
24996 configure-stagefeedback-libcpp:
24997 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24998 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24999 @r=`${PWD_COMMAND}`; export r; \
25000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25001 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25002 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25003 $(HOST_EXPORTS) \
25004 $(POSTSTAGE1_HOST_EXPORTS) \
25005 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
25006 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
25007 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
25008 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp; \
25009 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
25010 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25011 case $(srcdir) in \
25012 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25013 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25014 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25015 esac; \
25016 module_srcdir=libcpp; \
25017 $(SHELL) $$s/$$module_srcdir/configure \
25018 --srcdir=$${topdir}/$$module_srcdir \
25019 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25020 --target=${target_alias} \
25021 --with-build-libsubdir=$(HOST_SUBDIR) \
25022 $(STAGEfeedback_CONFIGURE_FLAGS)
25023 @endif libcpp-bootstrap
25024
25025 .PHONY: configure-stageautoprofile-libcpp maybe-configure-stageautoprofile-libcpp
25026 maybe-configure-stageautoprofile-libcpp:
25027 @if libcpp-bootstrap
25028 maybe-configure-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
25029 configure-stageautoprofile-libcpp:
25030 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25031 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25032 @r=`${PWD_COMMAND}`; export r; \
25033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25034 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25035 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25036 $(HOST_EXPORTS) \
25037 $(POSTSTAGE1_HOST_EXPORTS) \
25038 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
25039 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
25040 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
25041 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcpp; \
25042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
25043 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25044 case $(srcdir) in \
25045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25046 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25048 esac; \
25049 module_srcdir=libcpp; \
25050 $(SHELL) $$s/$$module_srcdir/configure \
25051 --srcdir=$${topdir}/$$module_srcdir \
25052 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25053 --target=${target_alias} \
25054 --with-build-libsubdir=$(HOST_SUBDIR) \
25055 $(STAGEautoprofile_CONFIGURE_FLAGS)
25056 @endif libcpp-bootstrap
25057
25058 .PHONY: configure-stageautofeedback-libcpp maybe-configure-stageautofeedback-libcpp
25059 maybe-configure-stageautofeedback-libcpp:
25060 @if libcpp-bootstrap
25061 maybe-configure-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
25062 configure-stageautofeedback-libcpp:
25063 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25064 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
25065 @r=`${PWD_COMMAND}`; export r; \
25066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25067 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25068 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
25069 $(HOST_EXPORTS) \
25070 $(POSTSTAGE1_HOST_EXPORTS) \
25071 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
25072 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
25073 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
25074 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcpp; \
25075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp; \
25076 cd $(HOST_SUBDIR)/libcpp || exit 1; \
25077 case $(srcdir) in \
25078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25079 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
25080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25081 esac; \
25082 module_srcdir=libcpp; \
25083 $(SHELL) $$s/$$module_srcdir/configure \
25084 --srcdir=$${topdir}/$$module_srcdir \
25085 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25086 --target=${target_alias} \
25087 --with-build-libsubdir=$(HOST_SUBDIR) \
25088 $(STAGEautofeedback_CONFIGURE_FLAGS)
25089 @endif libcpp-bootstrap
25090
25091
25092
25093
25094
25095 .PHONY: all-libcpp maybe-all-libcpp
25096 maybe-all-libcpp:
25097 @if gcc-bootstrap
25098 all-libcpp: stage_current
25099 @endif gcc-bootstrap
25100 @if libcpp
25101 TARGET-libcpp=all
25102 maybe-all-libcpp: all-libcpp
25103 all-libcpp: configure-libcpp
25104 @r=`${PWD_COMMAND}`; export r; \
25105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25106 $(HOST_EXPORTS) \
25107 (cd $(HOST_SUBDIR)/libcpp && \
25108 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25109 $(TARGET-libcpp))
25110 @endif libcpp
25111
25112
25113
25114 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
25115 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
25116 maybe-all-stage1-libcpp:
25117 maybe-clean-stage1-libcpp:
25118 @if libcpp-bootstrap
25119 maybe-all-stage1-libcpp: all-stage1-libcpp
25120 all-stage1: all-stage1-libcpp
25121 TARGET-stage1-libcpp = $(TARGET-libcpp)
25122 all-stage1-libcpp: configure-stage1-libcpp
25123 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25124 @r=`${PWD_COMMAND}`; export r; \
25125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25126 TFLAGS="$(STAGE1_TFLAGS)"; \
25127 $(HOST_EXPORTS) \
25128 cd $(HOST_SUBDIR)/libcpp && \
25129 \
25130 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25131 CFLAGS="$(STAGE1_CFLAGS)" \
25132 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
25133 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
25134 LIBCFLAGS="$(LIBCFLAGS)" \
25135 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25136 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25137 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25138 $(EXTRA_HOST_FLAGS) \
25139 $(STAGE1_FLAGS_TO_PASS) \
25140 TFLAGS="$(STAGE1_TFLAGS)" \
25141 $(TARGET-stage1-libcpp)
25142
25143 maybe-clean-stage1-libcpp: clean-stage1-libcpp
25144 clean-stage1: clean-stage1-libcpp
25145 clean-stage1-libcpp:
25146 @if [ $(current_stage) = stage1 ]; then \
25147 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25148 else \
25149 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
25150 $(MAKE) stage1-start; \
25151 fi; \
25152 cd $(HOST_SUBDIR)/libcpp && \
25153 $(MAKE) $(EXTRA_HOST_FLAGS) \
25154 $(STAGE1_FLAGS_TO_PASS) clean
25155 @endif libcpp-bootstrap
25156
25157
25158 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
25159 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
25160 maybe-all-stage2-libcpp:
25161 maybe-clean-stage2-libcpp:
25162 @if libcpp-bootstrap
25163 maybe-all-stage2-libcpp: all-stage2-libcpp
25164 all-stage2: all-stage2-libcpp
25165 TARGET-stage2-libcpp = $(TARGET-libcpp)
25166 all-stage2-libcpp: configure-stage2-libcpp
25167 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25168 @r=`${PWD_COMMAND}`; export r; \
25169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25170 TFLAGS="$(STAGE2_TFLAGS)"; \
25171 $(HOST_EXPORTS) \
25172 $(POSTSTAGE1_HOST_EXPORTS) \
25173 cd $(HOST_SUBDIR)/libcpp && \
25174 \
25175 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25176 CFLAGS="$(STAGE2_CFLAGS)" \
25177 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
25178 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
25179 LIBCFLAGS="$(STAGE2_CFLAGS)" \
25180 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25181 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25182 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25183 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25184 TFLAGS="$(STAGE2_TFLAGS)" \
25185 $(TARGET-stage2-libcpp)
25186
25187 maybe-clean-stage2-libcpp: clean-stage2-libcpp
25188 clean-stage2: clean-stage2-libcpp
25189 clean-stage2-libcpp:
25190 @if [ $(current_stage) = stage2 ]; then \
25191 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25192 else \
25193 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
25194 $(MAKE) stage2-start; \
25195 fi; \
25196 cd $(HOST_SUBDIR)/libcpp && \
25197 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25198 @endif libcpp-bootstrap
25199
25200
25201 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
25202 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
25203 maybe-all-stage3-libcpp:
25204 maybe-clean-stage3-libcpp:
25205 @if libcpp-bootstrap
25206 maybe-all-stage3-libcpp: all-stage3-libcpp
25207 all-stage3: all-stage3-libcpp
25208 TARGET-stage3-libcpp = $(TARGET-libcpp)
25209 all-stage3-libcpp: configure-stage3-libcpp
25210 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25211 @r=`${PWD_COMMAND}`; export r; \
25212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25213 TFLAGS="$(STAGE3_TFLAGS)"; \
25214 $(HOST_EXPORTS) \
25215 $(POSTSTAGE1_HOST_EXPORTS) \
25216 cd $(HOST_SUBDIR)/libcpp && \
25217 \
25218 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25219 CFLAGS="$(STAGE3_CFLAGS)" \
25220 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
25221 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
25222 LIBCFLAGS="$(STAGE3_CFLAGS)" \
25223 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25224 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25225 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25226 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25227 TFLAGS="$(STAGE3_TFLAGS)" \
25228 $(TARGET-stage3-libcpp)
25229
25230 maybe-clean-stage3-libcpp: clean-stage3-libcpp
25231 clean-stage3: clean-stage3-libcpp
25232 clean-stage3-libcpp:
25233 @if [ $(current_stage) = stage3 ]; then \
25234 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25235 else \
25236 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
25237 $(MAKE) stage3-start; \
25238 fi; \
25239 cd $(HOST_SUBDIR)/libcpp && \
25240 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25241 @endif libcpp-bootstrap
25242
25243
25244 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
25245 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
25246 maybe-all-stage4-libcpp:
25247 maybe-clean-stage4-libcpp:
25248 @if libcpp-bootstrap
25249 maybe-all-stage4-libcpp: all-stage4-libcpp
25250 all-stage4: all-stage4-libcpp
25251 TARGET-stage4-libcpp = $(TARGET-libcpp)
25252 all-stage4-libcpp: configure-stage4-libcpp
25253 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25254 @r=`${PWD_COMMAND}`; export r; \
25255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25256 TFLAGS="$(STAGE4_TFLAGS)"; \
25257 $(HOST_EXPORTS) \
25258 $(POSTSTAGE1_HOST_EXPORTS) \
25259 cd $(HOST_SUBDIR)/libcpp && \
25260 \
25261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25262 CFLAGS="$(STAGE4_CFLAGS)" \
25263 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
25264 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
25265 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25266 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25267 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25268 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25269 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25270 TFLAGS="$(STAGE4_TFLAGS)" \
25271 $(TARGET-stage4-libcpp)
25272
25273 maybe-clean-stage4-libcpp: clean-stage4-libcpp
25274 clean-stage4: clean-stage4-libcpp
25275 clean-stage4-libcpp:
25276 @if [ $(current_stage) = stage4 ]; then \
25277 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25278 else \
25279 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
25280 $(MAKE) stage4-start; \
25281 fi; \
25282 cd $(HOST_SUBDIR)/libcpp && \
25283 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25284 @endif libcpp-bootstrap
25285
25286
25287 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
25288 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
25289 maybe-all-stageprofile-libcpp:
25290 maybe-clean-stageprofile-libcpp:
25291 @if libcpp-bootstrap
25292 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
25293 all-stageprofile: all-stageprofile-libcpp
25294 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
25295 all-stageprofile-libcpp: configure-stageprofile-libcpp
25296 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25297 @r=`${PWD_COMMAND}`; export r; \
25298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25299 TFLAGS="$(STAGEprofile_TFLAGS)"; \
25300 $(HOST_EXPORTS) \
25301 $(POSTSTAGE1_HOST_EXPORTS) \
25302 cd $(HOST_SUBDIR)/libcpp && \
25303 \
25304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25305 CFLAGS="$(STAGEprofile_CFLAGS)" \
25306 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
25307 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
25308 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
25309 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25310 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25311 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25312 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25313 TFLAGS="$(STAGEprofile_TFLAGS)" \
25314 $(TARGET-stageprofile-libcpp)
25315
25316 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
25317 clean-stageprofile: clean-stageprofile-libcpp
25318 clean-stageprofile-libcpp:
25319 @if [ $(current_stage) = stageprofile ]; then \
25320 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25321 else \
25322 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
25323 $(MAKE) stageprofile-start; \
25324 fi; \
25325 cd $(HOST_SUBDIR)/libcpp && \
25326 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25327 @endif libcpp-bootstrap
25328
25329
25330 .PHONY: all-stagetrain-libcpp maybe-all-stagetrain-libcpp
25331 .PHONY: clean-stagetrain-libcpp maybe-clean-stagetrain-libcpp
25332 maybe-all-stagetrain-libcpp:
25333 maybe-clean-stagetrain-libcpp:
25334 @if libcpp-bootstrap
25335 maybe-all-stagetrain-libcpp: all-stagetrain-libcpp
25336 all-stagetrain: all-stagetrain-libcpp
25337 TARGET-stagetrain-libcpp = $(TARGET-libcpp)
25338 all-stagetrain-libcpp: configure-stagetrain-libcpp
25339 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
25340 @r=`${PWD_COMMAND}`; export r; \
25341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25342 TFLAGS="$(STAGEtrain_TFLAGS)"; \
25343 $(HOST_EXPORTS) \
25344 $(POSTSTAGE1_HOST_EXPORTS) \
25345 cd $(HOST_SUBDIR)/libcpp && \
25346 \
25347 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25348 CFLAGS="$(STAGEtrain_CFLAGS)" \
25349 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
25350 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
25351 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
25352 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25353 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25354 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25355 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25356 TFLAGS="$(STAGEtrain_TFLAGS)" \
25357 $(TARGET-stagetrain-libcpp)
25358
25359 maybe-clean-stagetrain-libcpp: clean-stagetrain-libcpp
25360 clean-stagetrain: clean-stagetrain-libcpp
25361 clean-stagetrain-libcpp:
25362 @if [ $(current_stage) = stagetrain ]; then \
25363 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25364 else \
25365 [ -f $(HOST_SUBDIR)/stagetrain-libcpp/Makefile ] || exit 0; \
25366 $(MAKE) stagetrain-start; \
25367 fi; \
25368 cd $(HOST_SUBDIR)/libcpp && \
25369 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25370 @endif libcpp-bootstrap
25371
25372
25373 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
25374 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
25375 maybe-all-stagefeedback-libcpp:
25376 maybe-clean-stagefeedback-libcpp:
25377 @if libcpp-bootstrap
25378 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
25379 all-stagefeedback: all-stagefeedback-libcpp
25380 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
25381 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
25382 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25383 @r=`${PWD_COMMAND}`; export r; \
25384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25385 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
25386 $(HOST_EXPORTS) \
25387 $(POSTSTAGE1_HOST_EXPORTS) \
25388 cd $(HOST_SUBDIR)/libcpp && \
25389 \
25390 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25391 CFLAGS="$(STAGEfeedback_CFLAGS)" \
25392 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
25393 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
25394 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
25395 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25396 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25397 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25398 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25399 TFLAGS="$(STAGEfeedback_TFLAGS)" \
25400 $(TARGET-stagefeedback-libcpp)
25401
25402 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
25403 clean-stagefeedback: clean-stagefeedback-libcpp
25404 clean-stagefeedback-libcpp:
25405 @if [ $(current_stage) = stagefeedback ]; then \
25406 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25407 else \
25408 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
25409 $(MAKE) stagefeedback-start; \
25410 fi; \
25411 cd $(HOST_SUBDIR)/libcpp && \
25412 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25413 @endif libcpp-bootstrap
25414
25415
25416 .PHONY: all-stageautoprofile-libcpp maybe-all-stageautoprofile-libcpp
25417 .PHONY: clean-stageautoprofile-libcpp maybe-clean-stageautoprofile-libcpp
25418 maybe-all-stageautoprofile-libcpp:
25419 maybe-clean-stageautoprofile-libcpp:
25420 @if libcpp-bootstrap
25421 maybe-all-stageautoprofile-libcpp: all-stageautoprofile-libcpp
25422 all-stageautoprofile: all-stageautoprofile-libcpp
25423 TARGET-stageautoprofile-libcpp = $(TARGET-libcpp)
25424 all-stageautoprofile-libcpp: configure-stageautoprofile-libcpp
25425 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
25426 @r=`${PWD_COMMAND}`; export r; \
25427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25428 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
25429 $(HOST_EXPORTS) \
25430 $(POSTSTAGE1_HOST_EXPORTS) \
25431 cd $(HOST_SUBDIR)/libcpp && \
25432 $$s/gcc/config/i386/$(AUTO_PROFILE) \
25433 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25434 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
25435 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
25436 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
25437 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
25438 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
25439 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
25440 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
25441 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25442 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
25443 $(TARGET-stageautoprofile-libcpp)
25444
25445 maybe-clean-stageautoprofile-libcpp: clean-stageautoprofile-libcpp
25446 clean-stageautoprofile: clean-stageautoprofile-libcpp
25447 clean-stageautoprofile-libcpp:
25448 @if [ $(current_stage) = stageautoprofile ]; then \
25449 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25450 else \
25451 [ -f $(HOST_SUBDIR)/stageautoprofile-libcpp/Makefile ] || exit 0; \
25452 $(MAKE) stageautoprofile-start; \
25453 fi; \
25454 cd $(HOST_SUBDIR)/libcpp && \
25455 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25456 @endif libcpp-bootstrap
25457
25458
25459 .PHONY: all-stageautofeedback-libcpp maybe-all-stageautofeedback-libcpp
25460 .PHONY: clean-stageautofeedback-libcpp maybe-clean-stageautofeedback-libcpp
25461 maybe-all-stageautofeedback-libcpp:
25462 maybe-clean-stageautofeedback-libcpp:
25463 @if libcpp-bootstrap
25464 maybe-all-stageautofeedback-libcpp: all-stageautofeedback-libcpp
25465 all-stageautofeedback: all-stageautofeedback-libcpp
25466 TARGET-stageautofeedback-libcpp = $(TARGET-libcpp)
25467 all-stageautofeedback-libcpp: configure-stageautofeedback-libcpp
25468 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
25469 @r=`${PWD_COMMAND}`; export r; \
25470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25471 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
25472 $(HOST_EXPORTS) \
25473 $(POSTSTAGE1_HOST_EXPORTS) \
25474 cd $(HOST_SUBDIR)/libcpp && \
25475 \
25476 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25477 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
25478 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
25479 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
25480 LIBCFLAGS="$(STAGEautofeedback_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="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
25486 $(TARGET-stageautofeedback-libcpp)
25487
25488 maybe-clean-stageautofeedback-libcpp: clean-stageautofeedback-libcpp
25489 clean-stageautofeedback: clean-stageautofeedback-libcpp
25490 clean-stageautofeedback-libcpp:
25491 @if [ $(current_stage) = stageautofeedback ]; then \
25492 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
25493 else \
25494 [ -f $(HOST_SUBDIR)/stageautofeedback-libcpp/Makefile ] || exit 0; \
25495 $(MAKE) stageautofeedback-start; \
25496 fi; \
25497 cd $(HOST_SUBDIR)/libcpp && \
25498 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
25499 @endif libcpp-bootstrap
25500
25501
25502
25503
25504
25505 .PHONY: check-libcpp maybe-check-libcpp
25506 maybe-check-libcpp:
25507 @if libcpp
25508 maybe-check-libcpp: check-libcpp
25509
25510 check-libcpp:
25511 @: $(MAKE); $(unstage)
25512 @r=`${PWD_COMMAND}`; export r; \
25513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25514 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
25515 (cd $(HOST_SUBDIR)/libcpp && \
25516 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
25517
25518 @endif libcpp
25519
25520 .PHONY: install-libcpp maybe-install-libcpp
25521 maybe-install-libcpp:
25522 @if libcpp
25523 maybe-install-libcpp: install-libcpp
25524
25525 install-libcpp: installdirs
25526 @: $(MAKE); $(unstage)
25527 @r=`${PWD_COMMAND}`; export r; \
25528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25529 $(HOST_EXPORTS) \
25530 (cd $(HOST_SUBDIR)/libcpp && \
25531 $(MAKE) $(FLAGS_TO_PASS) install)
25532
25533 @endif libcpp
25534
25535 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
25536 maybe-install-strip-libcpp:
25537 @if libcpp
25538 maybe-install-strip-libcpp: install-strip-libcpp
25539
25540 install-strip-libcpp: installdirs
25541 @: $(MAKE); $(unstage)
25542 @r=`${PWD_COMMAND}`; export r; \
25543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25544 $(HOST_EXPORTS) \
25545 (cd $(HOST_SUBDIR)/libcpp && \
25546 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25547
25548 @endif libcpp
25549
25550 # Other targets (info, dvi, pdf, etc.)
25551
25552 .PHONY: maybe-info-libcpp info-libcpp
25553 maybe-info-libcpp:
25554 @if libcpp
25555 maybe-info-libcpp: info-libcpp
25556
25557 info-libcpp: \
25558 configure-libcpp
25559 @[ -f ./libcpp/Makefile ] || exit 0; \
25560 r=`${PWD_COMMAND}`; export r; \
25561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25562 $(HOST_EXPORTS) \
25563 for flag in $(EXTRA_HOST_FLAGS) ; do \
25564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25565 done; \
25566 echo "Doing info in libcpp"; \
25567 (cd $(HOST_SUBDIR)/libcpp && \
25568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25570 "RANLIB=$${RANLIB}" \
25571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25572 info) \
25573 || exit 1
25574
25575 @endif libcpp
25576
25577 .PHONY: maybe-dvi-libcpp dvi-libcpp
25578 maybe-dvi-libcpp:
25579 @if libcpp
25580 maybe-dvi-libcpp: dvi-libcpp
25581
25582 dvi-libcpp: \
25583 configure-libcpp
25584 @[ -f ./libcpp/Makefile ] || exit 0; \
25585 r=`${PWD_COMMAND}`; export r; \
25586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25587 $(HOST_EXPORTS) \
25588 for flag in $(EXTRA_HOST_FLAGS) ; do \
25589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25590 done; \
25591 echo "Doing dvi in libcpp"; \
25592 (cd $(HOST_SUBDIR)/libcpp && \
25593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25595 "RANLIB=$${RANLIB}" \
25596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25597 dvi) \
25598 || exit 1
25599
25600 @endif libcpp
25601
25602 .PHONY: maybe-pdf-libcpp pdf-libcpp
25603 maybe-pdf-libcpp:
25604 @if libcpp
25605 maybe-pdf-libcpp: pdf-libcpp
25606
25607 pdf-libcpp: \
25608 configure-libcpp
25609 @[ -f ./libcpp/Makefile ] || exit 0; \
25610 r=`${PWD_COMMAND}`; export r; \
25611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25612 $(HOST_EXPORTS) \
25613 for flag in $(EXTRA_HOST_FLAGS) ; do \
25614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25615 done; \
25616 echo "Doing pdf in libcpp"; \
25617 (cd $(HOST_SUBDIR)/libcpp && \
25618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25620 "RANLIB=$${RANLIB}" \
25621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25622 pdf) \
25623 || exit 1
25624
25625 @endif libcpp
25626
25627 .PHONY: maybe-html-libcpp html-libcpp
25628 maybe-html-libcpp:
25629 @if libcpp
25630 maybe-html-libcpp: html-libcpp
25631
25632 html-libcpp: \
25633 configure-libcpp
25634 @[ -f ./libcpp/Makefile ] || exit 0; \
25635 r=`${PWD_COMMAND}`; export r; \
25636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25637 $(HOST_EXPORTS) \
25638 for flag in $(EXTRA_HOST_FLAGS) ; do \
25639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25640 done; \
25641 echo "Doing html in libcpp"; \
25642 (cd $(HOST_SUBDIR)/libcpp && \
25643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25645 "RANLIB=$${RANLIB}" \
25646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25647 html) \
25648 || exit 1
25649
25650 @endif libcpp
25651
25652 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
25653 maybe-TAGS-libcpp:
25654 @if libcpp
25655 maybe-TAGS-libcpp: TAGS-libcpp
25656
25657 TAGS-libcpp: \
25658 configure-libcpp
25659 @[ -f ./libcpp/Makefile ] || exit 0; \
25660 r=`${PWD_COMMAND}`; export r; \
25661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25662 $(HOST_EXPORTS) \
25663 for flag in $(EXTRA_HOST_FLAGS) ; do \
25664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25665 done; \
25666 echo "Doing TAGS in libcpp"; \
25667 (cd $(HOST_SUBDIR)/libcpp && \
25668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25670 "RANLIB=$${RANLIB}" \
25671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25672 TAGS) \
25673 || exit 1
25674
25675 @endif libcpp
25676
25677 .PHONY: maybe-install-info-libcpp install-info-libcpp
25678 maybe-install-info-libcpp:
25679 @if libcpp
25680 maybe-install-info-libcpp: install-info-libcpp
25681
25682 install-info-libcpp: \
25683 configure-libcpp \
25684 info-libcpp
25685 @[ -f ./libcpp/Makefile ] || exit 0; \
25686 r=`${PWD_COMMAND}`; export r; \
25687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25688 $(HOST_EXPORTS) \
25689 for flag in $(EXTRA_HOST_FLAGS) ; do \
25690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25691 done; \
25692 echo "Doing install-info in libcpp"; \
25693 (cd $(HOST_SUBDIR)/libcpp && \
25694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25696 "RANLIB=$${RANLIB}" \
25697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25698 install-info) \
25699 || exit 1
25700
25701 @endif libcpp
25702
25703 .PHONY: maybe-install-dvi-libcpp install-dvi-libcpp
25704 maybe-install-dvi-libcpp:
25705 @if libcpp
25706 maybe-install-dvi-libcpp: install-dvi-libcpp
25707
25708 install-dvi-libcpp: \
25709 configure-libcpp \
25710 dvi-libcpp
25711 @[ -f ./libcpp/Makefile ] || exit 0; \
25712 r=`${PWD_COMMAND}`; export r; \
25713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25714 $(HOST_EXPORTS) \
25715 for flag in $(EXTRA_HOST_FLAGS) ; do \
25716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25717 done; \
25718 echo "Doing install-dvi in libcpp"; \
25719 (cd $(HOST_SUBDIR)/libcpp && \
25720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25722 "RANLIB=$${RANLIB}" \
25723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25724 install-dvi) \
25725 || exit 1
25726
25727 @endif libcpp
25728
25729 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
25730 maybe-install-pdf-libcpp:
25731 @if libcpp
25732 maybe-install-pdf-libcpp: install-pdf-libcpp
25733
25734 install-pdf-libcpp: \
25735 configure-libcpp \
25736 pdf-libcpp
25737 @[ -f ./libcpp/Makefile ] || exit 0; \
25738 r=`${PWD_COMMAND}`; export r; \
25739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25740 $(HOST_EXPORTS) \
25741 for flag in $(EXTRA_HOST_FLAGS) ; do \
25742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25743 done; \
25744 echo "Doing install-pdf in libcpp"; \
25745 (cd $(HOST_SUBDIR)/libcpp && \
25746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25748 "RANLIB=$${RANLIB}" \
25749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25750 install-pdf) \
25751 || exit 1
25752
25753 @endif libcpp
25754
25755 .PHONY: maybe-install-html-libcpp install-html-libcpp
25756 maybe-install-html-libcpp:
25757 @if libcpp
25758 maybe-install-html-libcpp: install-html-libcpp
25759
25760 install-html-libcpp: \
25761 configure-libcpp \
25762 html-libcpp
25763 @[ -f ./libcpp/Makefile ] || exit 0; \
25764 r=`${PWD_COMMAND}`; export r; \
25765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25766 $(HOST_EXPORTS) \
25767 for flag in $(EXTRA_HOST_FLAGS) ; do \
25768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25769 done; \
25770 echo "Doing install-html in libcpp"; \
25771 (cd $(HOST_SUBDIR)/libcpp && \
25772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25774 "RANLIB=$${RANLIB}" \
25775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25776 install-html) \
25777 || exit 1
25778
25779 @endif libcpp
25780
25781 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
25782 maybe-installcheck-libcpp:
25783 @if libcpp
25784 maybe-installcheck-libcpp: installcheck-libcpp
25785
25786 installcheck-libcpp: \
25787 configure-libcpp
25788 @[ -f ./libcpp/Makefile ] || exit 0; \
25789 r=`${PWD_COMMAND}`; export r; \
25790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25791 $(HOST_EXPORTS) \
25792 for flag in $(EXTRA_HOST_FLAGS) ; do \
25793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25794 done; \
25795 echo "Doing installcheck in libcpp"; \
25796 (cd $(HOST_SUBDIR)/libcpp && \
25797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25799 "RANLIB=$${RANLIB}" \
25800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25801 installcheck) \
25802 || exit 1
25803
25804 @endif libcpp
25805
25806 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
25807 maybe-mostlyclean-libcpp:
25808 @if libcpp
25809 maybe-mostlyclean-libcpp: mostlyclean-libcpp
25810
25811 mostlyclean-libcpp:
25812 @[ -f ./libcpp/Makefile ] || exit 0; \
25813 r=`${PWD_COMMAND}`; export r; \
25814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25815 $(HOST_EXPORTS) \
25816 for flag in $(EXTRA_HOST_FLAGS) ; do \
25817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25818 done; \
25819 echo "Doing mostlyclean in libcpp"; \
25820 (cd $(HOST_SUBDIR)/libcpp && \
25821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25823 "RANLIB=$${RANLIB}" \
25824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25825 mostlyclean) \
25826 || exit 1
25827
25828 @endif libcpp
25829
25830 .PHONY: maybe-clean-libcpp clean-libcpp
25831 maybe-clean-libcpp:
25832 @if libcpp
25833 maybe-clean-libcpp: clean-libcpp
25834
25835 clean-libcpp:
25836 @[ -f ./libcpp/Makefile ] || exit 0; \
25837 r=`${PWD_COMMAND}`; export r; \
25838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25839 $(HOST_EXPORTS) \
25840 for flag in $(EXTRA_HOST_FLAGS) ; do \
25841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25842 done; \
25843 echo "Doing clean in libcpp"; \
25844 (cd $(HOST_SUBDIR)/libcpp && \
25845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25847 "RANLIB=$${RANLIB}" \
25848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25849 clean) \
25850 || exit 1
25851
25852 @endif libcpp
25853
25854 .PHONY: maybe-distclean-libcpp distclean-libcpp
25855 maybe-distclean-libcpp:
25856 @if libcpp
25857 maybe-distclean-libcpp: distclean-libcpp
25858
25859 distclean-libcpp:
25860 @[ -f ./libcpp/Makefile ] || exit 0; \
25861 r=`${PWD_COMMAND}`; export r; \
25862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25863 $(HOST_EXPORTS) \
25864 for flag in $(EXTRA_HOST_FLAGS) ; do \
25865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25866 done; \
25867 echo "Doing distclean in libcpp"; \
25868 (cd $(HOST_SUBDIR)/libcpp && \
25869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25871 "RANLIB=$${RANLIB}" \
25872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25873 distclean) \
25874 || exit 1
25875
25876 @endif libcpp
25877
25878 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
25879 maybe-maintainer-clean-libcpp:
25880 @if libcpp
25881 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
25882
25883 maintainer-clean-libcpp:
25884 @[ -f ./libcpp/Makefile ] || exit 0; \
25885 r=`${PWD_COMMAND}`; export r; \
25886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25887 $(HOST_EXPORTS) \
25888 for flag in $(EXTRA_HOST_FLAGS) ; do \
25889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25890 done; \
25891 echo "Doing maintainer-clean in libcpp"; \
25892 (cd $(HOST_SUBDIR)/libcpp && \
25893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25895 "RANLIB=$${RANLIB}" \
25896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25897 maintainer-clean) \
25898 || exit 1
25899
25900 @endif libcpp
25901
25902
25903
25904 .PHONY: configure-libcody maybe-configure-libcody
25905 maybe-configure-libcody:
25906 @if gcc-bootstrap
25907 configure-libcody: stage_current
25908 @endif gcc-bootstrap
25909 @if libcody
25910 maybe-configure-libcody: configure-libcody
25911 configure-libcody:
25912 @r=`${PWD_COMMAND}`; export r; \
25913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25914 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
25915 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
25916 $(HOST_EXPORTS) \
25917 echo Configuring in $(HOST_SUBDIR)/libcody; \
25918 cd "$(HOST_SUBDIR)/libcody" || exit 1; \
25919 case $(srcdir) in \
25920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25921 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
25922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25923 esac; \
25924 module_srcdir=libcody; \
25925 $(SHELL) \
25926 $$s/$$module_srcdir/configure \
25927 --srcdir=$${topdir}/$$module_srcdir \
25928 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25929 --target=${target_alias} \
25930 || exit 1
25931 @endif libcody
25932
25933
25934
25935 .PHONY: configure-stage1-libcody maybe-configure-stage1-libcody
25936 maybe-configure-stage1-libcody:
25937 @if libcody-bootstrap
25938 maybe-configure-stage1-libcody: configure-stage1-libcody
25939 configure-stage1-libcody:
25940 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25941 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
25942 @r=`${PWD_COMMAND}`; export r; \
25943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25944 TFLAGS="$(STAGE1_TFLAGS)"; \
25945 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
25946 $(HOST_EXPORTS) \
25947 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
25948 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
25949 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
25950 echo Configuring stage 1 in $(HOST_SUBDIR)/libcody; \
25951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
25952 cd $(HOST_SUBDIR)/libcody || exit 1; \
25953 case $(srcdir) in \
25954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25955 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
25956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25957 esac; \
25958 module_srcdir=libcody; \
25959 $(SHELL) $$s/$$module_srcdir/configure \
25960 --srcdir=$${topdir}/$$module_srcdir \
25961 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25962 --target=${target_alias} \
25963 \
25964 $(STAGE1_CONFIGURE_FLAGS)
25965 @endif libcody-bootstrap
25966
25967 .PHONY: configure-stage2-libcody maybe-configure-stage2-libcody
25968 maybe-configure-stage2-libcody:
25969 @if libcody-bootstrap
25970 maybe-configure-stage2-libcody: configure-stage2-libcody
25971 configure-stage2-libcody:
25972 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25973 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
25974 @r=`${PWD_COMMAND}`; export r; \
25975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25976 TFLAGS="$(STAGE2_TFLAGS)"; \
25977 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
25978 $(HOST_EXPORTS) \
25979 $(POSTSTAGE1_HOST_EXPORTS) \
25980 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
25981 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
25982 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
25983 echo Configuring stage 2 in $(HOST_SUBDIR)/libcody; \
25984 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
25985 cd $(HOST_SUBDIR)/libcody || exit 1; \
25986 case $(srcdir) in \
25987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25988 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
25989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25990 esac; \
25991 module_srcdir=libcody; \
25992 $(SHELL) $$s/$$module_srcdir/configure \
25993 --srcdir=$${topdir}/$$module_srcdir \
25994 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25995 --target=${target_alias} \
25996 --with-build-libsubdir=$(HOST_SUBDIR) \
25997 $(STAGE2_CONFIGURE_FLAGS)
25998 @endif libcody-bootstrap
25999
26000 .PHONY: configure-stage3-libcody maybe-configure-stage3-libcody
26001 maybe-configure-stage3-libcody:
26002 @if libcody-bootstrap
26003 maybe-configure-stage3-libcody: configure-stage3-libcody
26004 configure-stage3-libcody:
26005 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26006 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26007 @r=`${PWD_COMMAND}`; export r; \
26008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26009 TFLAGS="$(STAGE3_TFLAGS)"; \
26010 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26011 $(HOST_EXPORTS) \
26012 $(POSTSTAGE1_HOST_EXPORTS) \
26013 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26014 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26015 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26016 echo Configuring stage 3 in $(HOST_SUBDIR)/libcody; \
26017 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26018 cd $(HOST_SUBDIR)/libcody || exit 1; \
26019 case $(srcdir) in \
26020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26021 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26023 esac; \
26024 module_srcdir=libcody; \
26025 $(SHELL) $$s/$$module_srcdir/configure \
26026 --srcdir=$${topdir}/$$module_srcdir \
26027 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26028 --target=${target_alias} \
26029 --with-build-libsubdir=$(HOST_SUBDIR) \
26030 $(STAGE3_CONFIGURE_FLAGS)
26031 @endif libcody-bootstrap
26032
26033 .PHONY: configure-stage4-libcody maybe-configure-stage4-libcody
26034 maybe-configure-stage4-libcody:
26035 @if libcody-bootstrap
26036 maybe-configure-stage4-libcody: configure-stage4-libcody
26037 configure-stage4-libcody:
26038 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26039 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26040 @r=`${PWD_COMMAND}`; export r; \
26041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26042 TFLAGS="$(STAGE4_TFLAGS)"; \
26043 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26044 $(HOST_EXPORTS) \
26045 $(POSTSTAGE1_HOST_EXPORTS) \
26046 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26047 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26048 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26049 echo Configuring stage 4 in $(HOST_SUBDIR)/libcody; \
26050 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26051 cd $(HOST_SUBDIR)/libcody || exit 1; \
26052 case $(srcdir) in \
26053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26054 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26056 esac; \
26057 module_srcdir=libcody; \
26058 $(SHELL) $$s/$$module_srcdir/configure \
26059 --srcdir=$${topdir}/$$module_srcdir \
26060 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26061 --target=${target_alias} \
26062 --with-build-libsubdir=$(HOST_SUBDIR) \
26063 $(STAGE4_CONFIGURE_FLAGS)
26064 @endif libcody-bootstrap
26065
26066 .PHONY: configure-stageprofile-libcody maybe-configure-stageprofile-libcody
26067 maybe-configure-stageprofile-libcody:
26068 @if libcody-bootstrap
26069 maybe-configure-stageprofile-libcody: configure-stageprofile-libcody
26070 configure-stageprofile-libcody:
26071 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26072 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26073 @r=`${PWD_COMMAND}`; export r; \
26074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26075 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26076 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26077 $(HOST_EXPORTS) \
26078 $(POSTSTAGE1_HOST_EXPORTS) \
26079 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26080 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26081 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26082 echo Configuring stage profile in $(HOST_SUBDIR)/libcody; \
26083 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26084 cd $(HOST_SUBDIR)/libcody || exit 1; \
26085 case $(srcdir) in \
26086 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26087 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26088 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26089 esac; \
26090 module_srcdir=libcody; \
26091 $(SHELL) $$s/$$module_srcdir/configure \
26092 --srcdir=$${topdir}/$$module_srcdir \
26093 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26094 --target=${target_alias} \
26095 --with-build-libsubdir=$(HOST_SUBDIR) \
26096 $(STAGEprofile_CONFIGURE_FLAGS)
26097 @endif libcody-bootstrap
26098
26099 .PHONY: configure-stagetrain-libcody maybe-configure-stagetrain-libcody
26100 maybe-configure-stagetrain-libcody:
26101 @if libcody-bootstrap
26102 maybe-configure-stagetrain-libcody: configure-stagetrain-libcody
26103 configure-stagetrain-libcody:
26104 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26105 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26106 @r=`${PWD_COMMAND}`; export r; \
26107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26108 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26109 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26110 $(HOST_EXPORTS) \
26111 $(POSTSTAGE1_HOST_EXPORTS) \
26112 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
26113 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
26114 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
26115 echo Configuring stage train in $(HOST_SUBDIR)/libcody; \
26116 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26117 cd $(HOST_SUBDIR)/libcody || exit 1; \
26118 case $(srcdir) in \
26119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26120 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26122 esac; \
26123 module_srcdir=libcody; \
26124 $(SHELL) $$s/$$module_srcdir/configure \
26125 --srcdir=$${topdir}/$$module_srcdir \
26126 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26127 --target=${target_alias} \
26128 --with-build-libsubdir=$(HOST_SUBDIR) \
26129 $(STAGEtrain_CONFIGURE_FLAGS)
26130 @endif libcody-bootstrap
26131
26132 .PHONY: configure-stagefeedback-libcody maybe-configure-stagefeedback-libcody
26133 maybe-configure-stagefeedback-libcody:
26134 @if libcody-bootstrap
26135 maybe-configure-stagefeedback-libcody: configure-stagefeedback-libcody
26136 configure-stagefeedback-libcody:
26137 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26138 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26139 @r=`${PWD_COMMAND}`; export r; \
26140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26141 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26142 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26143 $(HOST_EXPORTS) \
26144 $(POSTSTAGE1_HOST_EXPORTS) \
26145 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26146 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26147 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26148 echo Configuring stage feedback in $(HOST_SUBDIR)/libcody; \
26149 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26150 cd $(HOST_SUBDIR)/libcody || exit 1; \
26151 case $(srcdir) in \
26152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26153 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26155 esac; \
26156 module_srcdir=libcody; \
26157 $(SHELL) $$s/$$module_srcdir/configure \
26158 --srcdir=$${topdir}/$$module_srcdir \
26159 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26160 --target=${target_alias} \
26161 --with-build-libsubdir=$(HOST_SUBDIR) \
26162 $(STAGEfeedback_CONFIGURE_FLAGS)
26163 @endif libcody-bootstrap
26164
26165 .PHONY: configure-stageautoprofile-libcody maybe-configure-stageautoprofile-libcody
26166 maybe-configure-stageautoprofile-libcody:
26167 @if libcody-bootstrap
26168 maybe-configure-stageautoprofile-libcody: configure-stageautoprofile-libcody
26169 configure-stageautoprofile-libcody:
26170 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26171 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26172 @r=`${PWD_COMMAND}`; export r; \
26173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26174 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26175 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26176 $(HOST_EXPORTS) \
26177 $(POSTSTAGE1_HOST_EXPORTS) \
26178 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
26179 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
26180 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
26181 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libcody; \
26182 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26183 cd $(HOST_SUBDIR)/libcody || exit 1; \
26184 case $(srcdir) in \
26185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26186 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26188 esac; \
26189 module_srcdir=libcody; \
26190 $(SHELL) $$s/$$module_srcdir/configure \
26191 --srcdir=$${topdir}/$$module_srcdir \
26192 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26193 --target=${target_alias} \
26194 --with-build-libsubdir=$(HOST_SUBDIR) \
26195 $(STAGEautoprofile_CONFIGURE_FLAGS)
26196 @endif libcody-bootstrap
26197
26198 .PHONY: configure-stageautofeedback-libcody maybe-configure-stageautofeedback-libcody
26199 maybe-configure-stageautofeedback-libcody:
26200 @if libcody-bootstrap
26201 maybe-configure-stageautofeedback-libcody: configure-stageautofeedback-libcody
26202 configure-stageautofeedback-libcody:
26203 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26204 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody
26205 @r=`${PWD_COMMAND}`; export r; \
26206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26207 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26208 test ! -f $(HOST_SUBDIR)/libcody/Makefile || exit 0; \
26209 $(HOST_EXPORTS) \
26210 $(POSTSTAGE1_HOST_EXPORTS) \
26211 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
26212 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
26213 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
26214 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libcody; \
26215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcody; \
26216 cd $(HOST_SUBDIR)/libcody || exit 1; \
26217 case $(srcdir) in \
26218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26219 *) topdir=`echo $(HOST_SUBDIR)/libcody/ | \
26220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26221 esac; \
26222 module_srcdir=libcody; \
26223 $(SHELL) $$s/$$module_srcdir/configure \
26224 --srcdir=$${topdir}/$$module_srcdir \
26225 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26226 --target=${target_alias} \
26227 --with-build-libsubdir=$(HOST_SUBDIR) \
26228 $(STAGEautofeedback_CONFIGURE_FLAGS)
26229 @endif libcody-bootstrap
26230
26231
26232
26233
26234
26235 .PHONY: all-libcody maybe-all-libcody
26236 maybe-all-libcody:
26237 @if gcc-bootstrap
26238 all-libcody: stage_current
26239 @endif gcc-bootstrap
26240 @if libcody
26241 TARGET-libcody=all
26242 maybe-all-libcody: all-libcody
26243 all-libcody: configure-libcody
26244 @r=`${PWD_COMMAND}`; export r; \
26245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26246 $(HOST_EXPORTS) \
26247 (cd $(HOST_SUBDIR)/libcody && \
26248 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26249 $(TARGET-libcody))
26250 @endif libcody
26251
26252
26253
26254 .PHONY: all-stage1-libcody maybe-all-stage1-libcody
26255 .PHONY: clean-stage1-libcody maybe-clean-stage1-libcody
26256 maybe-all-stage1-libcody:
26257 maybe-clean-stage1-libcody:
26258 @if libcody-bootstrap
26259 maybe-all-stage1-libcody: all-stage1-libcody
26260 all-stage1: all-stage1-libcody
26261 TARGET-stage1-libcody = $(TARGET-libcody)
26262 all-stage1-libcody: configure-stage1-libcody
26263 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26264 @r=`${PWD_COMMAND}`; export r; \
26265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26266 TFLAGS="$(STAGE1_TFLAGS)"; \
26267 $(HOST_EXPORTS) \
26268 cd $(HOST_SUBDIR)/libcody && \
26269 \
26270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26271 CFLAGS="$(STAGE1_CFLAGS)" \
26272 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
26273 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26274 LIBCFLAGS="$(LIBCFLAGS)" \
26275 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26276 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26277 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26278 $(EXTRA_HOST_FLAGS) \
26279 $(STAGE1_FLAGS_TO_PASS) \
26280 TFLAGS="$(STAGE1_TFLAGS)" \
26281 $(TARGET-stage1-libcody)
26282
26283 maybe-clean-stage1-libcody: clean-stage1-libcody
26284 clean-stage1: clean-stage1-libcody
26285 clean-stage1-libcody:
26286 @if [ $(current_stage) = stage1 ]; then \
26287 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
26288 else \
26289 [ -f $(HOST_SUBDIR)/stage1-libcody/Makefile ] || exit 0; \
26290 $(MAKE) stage1-start; \
26291 fi; \
26292 cd $(HOST_SUBDIR)/libcody && \
26293 $(MAKE) $(EXTRA_HOST_FLAGS) \
26294 $(STAGE1_FLAGS_TO_PASS) clean
26295 @endif libcody-bootstrap
26296
26297
26298 .PHONY: all-stage2-libcody maybe-all-stage2-libcody
26299 .PHONY: clean-stage2-libcody maybe-clean-stage2-libcody
26300 maybe-all-stage2-libcody:
26301 maybe-clean-stage2-libcody:
26302 @if libcody-bootstrap
26303 maybe-all-stage2-libcody: all-stage2-libcody
26304 all-stage2: all-stage2-libcody
26305 TARGET-stage2-libcody = $(TARGET-libcody)
26306 all-stage2-libcody: configure-stage2-libcody
26307 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26308 @r=`${PWD_COMMAND}`; export r; \
26309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26310 TFLAGS="$(STAGE2_TFLAGS)"; \
26311 $(HOST_EXPORTS) \
26312 $(POSTSTAGE1_HOST_EXPORTS) \
26313 cd $(HOST_SUBDIR)/libcody && \
26314 \
26315 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26316 CFLAGS="$(STAGE2_CFLAGS)" \
26317 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
26318 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26319 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26320 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26321 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26322 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26323 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26324 TFLAGS="$(STAGE2_TFLAGS)" \
26325 $(TARGET-stage2-libcody)
26326
26327 maybe-clean-stage2-libcody: clean-stage2-libcody
26328 clean-stage2: clean-stage2-libcody
26329 clean-stage2-libcody:
26330 @if [ $(current_stage) = stage2 ]; then \
26331 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
26332 else \
26333 [ -f $(HOST_SUBDIR)/stage2-libcody/Makefile ] || exit 0; \
26334 $(MAKE) stage2-start; \
26335 fi; \
26336 cd $(HOST_SUBDIR)/libcody && \
26337 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26338 @endif libcody-bootstrap
26339
26340
26341 .PHONY: all-stage3-libcody maybe-all-stage3-libcody
26342 .PHONY: clean-stage3-libcody maybe-clean-stage3-libcody
26343 maybe-all-stage3-libcody:
26344 maybe-clean-stage3-libcody:
26345 @if libcody-bootstrap
26346 maybe-all-stage3-libcody: all-stage3-libcody
26347 all-stage3: all-stage3-libcody
26348 TARGET-stage3-libcody = $(TARGET-libcody)
26349 all-stage3-libcody: configure-stage3-libcody
26350 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26351 @r=`${PWD_COMMAND}`; export r; \
26352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26353 TFLAGS="$(STAGE3_TFLAGS)"; \
26354 $(HOST_EXPORTS) \
26355 $(POSTSTAGE1_HOST_EXPORTS) \
26356 cd $(HOST_SUBDIR)/libcody && \
26357 \
26358 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26359 CFLAGS="$(STAGE3_CFLAGS)" \
26360 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
26361 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26362 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26363 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26364 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26365 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26366 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26367 TFLAGS="$(STAGE3_TFLAGS)" \
26368 $(TARGET-stage3-libcody)
26369
26370 maybe-clean-stage3-libcody: clean-stage3-libcody
26371 clean-stage3: clean-stage3-libcody
26372 clean-stage3-libcody:
26373 @if [ $(current_stage) = stage3 ]; then \
26374 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
26375 else \
26376 [ -f $(HOST_SUBDIR)/stage3-libcody/Makefile ] || exit 0; \
26377 $(MAKE) stage3-start; \
26378 fi; \
26379 cd $(HOST_SUBDIR)/libcody && \
26380 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26381 @endif libcody-bootstrap
26382
26383
26384 .PHONY: all-stage4-libcody maybe-all-stage4-libcody
26385 .PHONY: clean-stage4-libcody maybe-clean-stage4-libcody
26386 maybe-all-stage4-libcody:
26387 maybe-clean-stage4-libcody:
26388 @if libcody-bootstrap
26389 maybe-all-stage4-libcody: all-stage4-libcody
26390 all-stage4: all-stage4-libcody
26391 TARGET-stage4-libcody = $(TARGET-libcody)
26392 all-stage4-libcody: configure-stage4-libcody
26393 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26394 @r=`${PWD_COMMAND}`; export r; \
26395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26396 TFLAGS="$(STAGE4_TFLAGS)"; \
26397 $(HOST_EXPORTS) \
26398 $(POSTSTAGE1_HOST_EXPORTS) \
26399 cd $(HOST_SUBDIR)/libcody && \
26400 \
26401 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26402 CFLAGS="$(STAGE4_CFLAGS)" \
26403 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
26404 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26405 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26406 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26407 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26408 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26409 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26410 TFLAGS="$(STAGE4_TFLAGS)" \
26411 $(TARGET-stage4-libcody)
26412
26413 maybe-clean-stage4-libcody: clean-stage4-libcody
26414 clean-stage4: clean-stage4-libcody
26415 clean-stage4-libcody:
26416 @if [ $(current_stage) = stage4 ]; then \
26417 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
26418 else \
26419 [ -f $(HOST_SUBDIR)/stage4-libcody/Makefile ] || exit 0; \
26420 $(MAKE) stage4-start; \
26421 fi; \
26422 cd $(HOST_SUBDIR)/libcody && \
26423 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26424 @endif libcody-bootstrap
26425
26426
26427 .PHONY: all-stageprofile-libcody maybe-all-stageprofile-libcody
26428 .PHONY: clean-stageprofile-libcody maybe-clean-stageprofile-libcody
26429 maybe-all-stageprofile-libcody:
26430 maybe-clean-stageprofile-libcody:
26431 @if libcody-bootstrap
26432 maybe-all-stageprofile-libcody: all-stageprofile-libcody
26433 all-stageprofile: all-stageprofile-libcody
26434 TARGET-stageprofile-libcody = $(TARGET-libcody)
26435 all-stageprofile-libcody: configure-stageprofile-libcody
26436 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26437 @r=`${PWD_COMMAND}`; export r; \
26438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26439 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26440 $(HOST_EXPORTS) \
26441 $(POSTSTAGE1_HOST_EXPORTS) \
26442 cd $(HOST_SUBDIR)/libcody && \
26443 \
26444 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26445 CFLAGS="$(STAGEprofile_CFLAGS)" \
26446 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
26447 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26448 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26449 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26450 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26451 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26452 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26453 TFLAGS="$(STAGEprofile_TFLAGS)" \
26454 $(TARGET-stageprofile-libcody)
26455
26456 maybe-clean-stageprofile-libcody: clean-stageprofile-libcody
26457 clean-stageprofile: clean-stageprofile-libcody
26458 clean-stageprofile-libcody:
26459 @if [ $(current_stage) = stageprofile ]; then \
26460 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
26461 else \
26462 [ -f $(HOST_SUBDIR)/stageprofile-libcody/Makefile ] || exit 0; \
26463 $(MAKE) stageprofile-start; \
26464 fi; \
26465 cd $(HOST_SUBDIR)/libcody && \
26466 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26467 @endif libcody-bootstrap
26468
26469
26470 .PHONY: all-stagetrain-libcody maybe-all-stagetrain-libcody
26471 .PHONY: clean-stagetrain-libcody maybe-clean-stagetrain-libcody
26472 maybe-all-stagetrain-libcody:
26473 maybe-clean-stagetrain-libcody:
26474 @if libcody-bootstrap
26475 maybe-all-stagetrain-libcody: all-stagetrain-libcody
26476 all-stagetrain: all-stagetrain-libcody
26477 TARGET-stagetrain-libcody = $(TARGET-libcody)
26478 all-stagetrain-libcody: configure-stagetrain-libcody
26479 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
26480 @r=`${PWD_COMMAND}`; export r; \
26481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26482 TFLAGS="$(STAGEtrain_TFLAGS)"; \
26483 $(HOST_EXPORTS) \
26484 $(POSTSTAGE1_HOST_EXPORTS) \
26485 cd $(HOST_SUBDIR)/libcody && \
26486 \
26487 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26488 CFLAGS="$(STAGEtrain_CFLAGS)" \
26489 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
26490 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
26491 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
26492 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26493 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26494 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26495 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26496 TFLAGS="$(STAGEtrain_TFLAGS)" \
26497 $(TARGET-stagetrain-libcody)
26498
26499 maybe-clean-stagetrain-libcody: clean-stagetrain-libcody
26500 clean-stagetrain: clean-stagetrain-libcody
26501 clean-stagetrain-libcody:
26502 @if [ $(current_stage) = stagetrain ]; then \
26503 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
26504 else \
26505 [ -f $(HOST_SUBDIR)/stagetrain-libcody/Makefile ] || exit 0; \
26506 $(MAKE) stagetrain-start; \
26507 fi; \
26508 cd $(HOST_SUBDIR)/libcody && \
26509 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26510 @endif libcody-bootstrap
26511
26512
26513 .PHONY: all-stagefeedback-libcody maybe-all-stagefeedback-libcody
26514 .PHONY: clean-stagefeedback-libcody maybe-clean-stagefeedback-libcody
26515 maybe-all-stagefeedback-libcody:
26516 maybe-clean-stagefeedback-libcody:
26517 @if libcody-bootstrap
26518 maybe-all-stagefeedback-libcody: all-stagefeedback-libcody
26519 all-stagefeedback: all-stagefeedback-libcody
26520 TARGET-stagefeedback-libcody = $(TARGET-libcody)
26521 all-stagefeedback-libcody: configure-stagefeedback-libcody
26522 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26523 @r=`${PWD_COMMAND}`; export r; \
26524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26525 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26526 $(HOST_EXPORTS) \
26527 $(POSTSTAGE1_HOST_EXPORTS) \
26528 cd $(HOST_SUBDIR)/libcody && \
26529 \
26530 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26531 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26532 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
26533 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26534 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26535 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26536 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26537 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26538 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26539 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26540 $(TARGET-stagefeedback-libcody)
26541
26542 maybe-clean-stagefeedback-libcody: clean-stagefeedback-libcody
26543 clean-stagefeedback: clean-stagefeedback-libcody
26544 clean-stagefeedback-libcody:
26545 @if [ $(current_stage) = stagefeedback ]; then \
26546 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
26547 else \
26548 [ -f $(HOST_SUBDIR)/stagefeedback-libcody/Makefile ] || exit 0; \
26549 $(MAKE) stagefeedback-start; \
26550 fi; \
26551 cd $(HOST_SUBDIR)/libcody && \
26552 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26553 @endif libcody-bootstrap
26554
26555
26556 .PHONY: all-stageautoprofile-libcody maybe-all-stageautoprofile-libcody
26557 .PHONY: clean-stageautoprofile-libcody maybe-clean-stageautoprofile-libcody
26558 maybe-all-stageautoprofile-libcody:
26559 maybe-clean-stageautoprofile-libcody:
26560 @if libcody-bootstrap
26561 maybe-all-stageautoprofile-libcody: all-stageautoprofile-libcody
26562 all-stageautoprofile: all-stageautoprofile-libcody
26563 TARGET-stageautoprofile-libcody = $(TARGET-libcody)
26564 all-stageautoprofile-libcody: configure-stageautoprofile-libcody
26565 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
26566 @r=`${PWD_COMMAND}`; export r; \
26567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26568 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
26569 $(HOST_EXPORTS) \
26570 $(POSTSTAGE1_HOST_EXPORTS) \
26571 cd $(HOST_SUBDIR)/libcody && \
26572 $$s/gcc/config/i386/$(AUTO_PROFILE) \
26573 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26574 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
26575 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
26576 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
26577 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
26578 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26581 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26582 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
26583 $(TARGET-stageautoprofile-libcody)
26584
26585 maybe-clean-stageautoprofile-libcody: clean-stageautoprofile-libcody
26586 clean-stageautoprofile: clean-stageautoprofile-libcody
26587 clean-stageautoprofile-libcody:
26588 @if [ $(current_stage) = stageautoprofile ]; then \
26589 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
26590 else \
26591 [ -f $(HOST_SUBDIR)/stageautoprofile-libcody/Makefile ] || exit 0; \
26592 $(MAKE) stageautoprofile-start; \
26593 fi; \
26594 cd $(HOST_SUBDIR)/libcody && \
26595 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26596 @endif libcody-bootstrap
26597
26598
26599 .PHONY: all-stageautofeedback-libcody maybe-all-stageautofeedback-libcody
26600 .PHONY: clean-stageautofeedback-libcody maybe-clean-stageautofeedback-libcody
26601 maybe-all-stageautofeedback-libcody:
26602 maybe-clean-stageautofeedback-libcody:
26603 @if libcody-bootstrap
26604 maybe-all-stageautofeedback-libcody: all-stageautofeedback-libcody
26605 all-stageautofeedback: all-stageautofeedback-libcody
26606 TARGET-stageautofeedback-libcody = $(TARGET-libcody)
26607 all-stageautofeedback-libcody: configure-stageautofeedback-libcody
26608 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
26609 @r=`${PWD_COMMAND}`; export r; \
26610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26611 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
26612 $(HOST_EXPORTS) \
26613 $(POSTSTAGE1_HOST_EXPORTS) \
26614 cd $(HOST_SUBDIR)/libcody && \
26615 \
26616 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26617 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
26618 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
26619 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
26620 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
26621 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26622 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26623 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26624 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26625 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
26626 $(TARGET-stageautofeedback-libcody)
26627
26628 maybe-clean-stageautofeedback-libcody: clean-stageautofeedback-libcody
26629 clean-stageautofeedback: clean-stageautofeedback-libcody
26630 clean-stageautofeedback-libcody:
26631 @if [ $(current_stage) = stageautofeedback ]; then \
26632 [ -f $(HOST_SUBDIR)/libcody/Makefile ] || exit 0; \
26633 else \
26634 [ -f $(HOST_SUBDIR)/stageautofeedback-libcody/Makefile ] || exit 0; \
26635 $(MAKE) stageautofeedback-start; \
26636 fi; \
26637 cd $(HOST_SUBDIR)/libcody && \
26638 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26639 @endif libcody-bootstrap
26640
26641
26642
26643
26644
26645 .PHONY: check-libcody maybe-check-libcody
26646 maybe-check-libcody:
26647 @if libcody
26648 maybe-check-libcody: check-libcody
26649
26650 check-libcody:
26651 @: $(MAKE); $(unstage)
26652 @r=`${PWD_COMMAND}`; export r; \
26653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26654 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
26655 (cd $(HOST_SUBDIR)/libcody && \
26656 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
26657
26658 @endif libcody
26659
26660 .PHONY: install-libcody maybe-install-libcody
26661 maybe-install-libcody:
26662 @if libcody
26663 maybe-install-libcody: install-libcody
26664
26665 install-libcody:
26666
26667 @endif libcody
26668
26669 .PHONY: install-strip-libcody maybe-install-strip-libcody
26670 maybe-install-strip-libcody:
26671 @if libcody
26672 maybe-install-strip-libcody: install-strip-libcody
26673
26674 install-strip-libcody:
26675
26676 @endif libcody
26677
26678 # Other targets (info, dvi, pdf, etc.)
26679
26680 .PHONY: maybe-info-libcody info-libcody
26681 maybe-info-libcody:
26682 @if libcody
26683 maybe-info-libcody: info-libcody
26684
26685 # libcody doesn't support info.
26686 info-libcody:
26687
26688 @endif libcody
26689
26690 .PHONY: maybe-dvi-libcody dvi-libcody
26691 maybe-dvi-libcody:
26692 @if libcody
26693 maybe-dvi-libcody: dvi-libcody
26694
26695 # libcody doesn't support dvi.
26696 dvi-libcody:
26697
26698 @endif libcody
26699
26700 .PHONY: maybe-pdf-libcody pdf-libcody
26701 maybe-pdf-libcody:
26702 @if libcody
26703 maybe-pdf-libcody: pdf-libcody
26704
26705 # libcody doesn't support pdf.
26706 pdf-libcody:
26707
26708 @endif libcody
26709
26710 .PHONY: maybe-html-libcody html-libcody
26711 maybe-html-libcody:
26712 @if libcody
26713 maybe-html-libcody: html-libcody
26714
26715 # libcody doesn't support html.
26716 html-libcody:
26717
26718 @endif libcody
26719
26720 .PHONY: maybe-TAGS-libcody TAGS-libcody
26721 maybe-TAGS-libcody:
26722 @if libcody
26723 maybe-TAGS-libcody: TAGS-libcody
26724
26725 # libcody doesn't support TAGS.
26726 TAGS-libcody:
26727
26728 @endif libcody
26729
26730 .PHONY: maybe-install-info-libcody install-info-libcody
26731 maybe-install-info-libcody:
26732 @if libcody
26733 maybe-install-info-libcody: install-info-libcody
26734
26735 # libcody doesn't support install-info.
26736 install-info-libcody:
26737
26738 @endif libcody
26739
26740 .PHONY: maybe-install-dvi-libcody install-dvi-libcody
26741 maybe-install-dvi-libcody:
26742 @if libcody
26743 maybe-install-dvi-libcody: install-dvi-libcody
26744
26745 # libcody doesn't support install-dvi.
26746 install-dvi-libcody:
26747
26748 @endif libcody
26749
26750 .PHONY: maybe-install-pdf-libcody install-pdf-libcody
26751 maybe-install-pdf-libcody:
26752 @if libcody
26753 maybe-install-pdf-libcody: install-pdf-libcody
26754
26755 # libcody doesn't support install-pdf.
26756 install-pdf-libcody:
26757
26758 @endif libcody
26759
26760 .PHONY: maybe-install-html-libcody install-html-libcody
26761 maybe-install-html-libcody:
26762 @if libcody
26763 maybe-install-html-libcody: install-html-libcody
26764
26765 # libcody doesn't support install-html.
26766 install-html-libcody:
26767
26768 @endif libcody
26769
26770 .PHONY: maybe-installcheck-libcody installcheck-libcody
26771 maybe-installcheck-libcody:
26772 @if libcody
26773 maybe-installcheck-libcody: installcheck-libcody
26774
26775 installcheck-libcody: \
26776 configure-libcody
26777 @[ -f ./libcody/Makefile ] || exit 0; \
26778 r=`${PWD_COMMAND}`; export r; \
26779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26780 $(HOST_EXPORTS) \
26781 for flag in $(EXTRA_HOST_FLAGS) ; do \
26782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26783 done; \
26784 echo "Doing installcheck in libcody"; \
26785 (cd $(HOST_SUBDIR)/libcody && \
26786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26788 "RANLIB=$${RANLIB}" \
26789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26790 installcheck) \
26791 || exit 1
26792
26793 @endif libcody
26794
26795 .PHONY: maybe-mostlyclean-libcody mostlyclean-libcody
26796 maybe-mostlyclean-libcody:
26797 @if libcody
26798 maybe-mostlyclean-libcody: mostlyclean-libcody
26799
26800 mostlyclean-libcody:
26801 @[ -f ./libcody/Makefile ] || exit 0; \
26802 r=`${PWD_COMMAND}`; export r; \
26803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26804 $(HOST_EXPORTS) \
26805 for flag in $(EXTRA_HOST_FLAGS) ; do \
26806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26807 done; \
26808 echo "Doing mostlyclean in libcody"; \
26809 (cd $(HOST_SUBDIR)/libcody && \
26810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26812 "RANLIB=$${RANLIB}" \
26813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26814 mostlyclean) \
26815 || exit 1
26816
26817 @endif libcody
26818
26819 .PHONY: maybe-clean-libcody clean-libcody
26820 maybe-clean-libcody:
26821 @if libcody
26822 maybe-clean-libcody: clean-libcody
26823
26824 clean-libcody:
26825 @[ -f ./libcody/Makefile ] || exit 0; \
26826 r=`${PWD_COMMAND}`; export r; \
26827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26828 $(HOST_EXPORTS) \
26829 for flag in $(EXTRA_HOST_FLAGS) ; do \
26830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26831 done; \
26832 echo "Doing clean in libcody"; \
26833 (cd $(HOST_SUBDIR)/libcody && \
26834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26836 "RANLIB=$${RANLIB}" \
26837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26838 clean) \
26839 || exit 1
26840
26841 @endif libcody
26842
26843 .PHONY: maybe-distclean-libcody distclean-libcody
26844 maybe-distclean-libcody:
26845 @if libcody
26846 maybe-distclean-libcody: distclean-libcody
26847
26848 distclean-libcody:
26849 @[ -f ./libcody/Makefile ] || exit 0; \
26850 r=`${PWD_COMMAND}`; export r; \
26851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26852 $(HOST_EXPORTS) \
26853 for flag in $(EXTRA_HOST_FLAGS) ; do \
26854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26855 done; \
26856 echo "Doing distclean in libcody"; \
26857 (cd $(HOST_SUBDIR)/libcody && \
26858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26860 "RANLIB=$${RANLIB}" \
26861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26862 distclean) \
26863 || exit 1
26864
26865 @endif libcody
26866
26867 .PHONY: maybe-maintainer-clean-libcody maintainer-clean-libcody
26868 maybe-maintainer-clean-libcody:
26869 @if libcody
26870 maybe-maintainer-clean-libcody: maintainer-clean-libcody
26871
26872 maintainer-clean-libcody:
26873 @[ -f ./libcody/Makefile ] || exit 0; \
26874 r=`${PWD_COMMAND}`; export r; \
26875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26876 $(HOST_EXPORTS) \
26877 for flag in $(EXTRA_HOST_FLAGS) ; do \
26878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26879 done; \
26880 echo "Doing maintainer-clean in libcody"; \
26881 (cd $(HOST_SUBDIR)/libcody && \
26882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26884 "RANLIB=$${RANLIB}" \
26885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26886 maintainer-clean) \
26887 || exit 1
26888
26889 @endif libcody
26890
26891
26892
26893 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
26894 maybe-configure-libdecnumber:
26895 @if gcc-bootstrap
26896 configure-libdecnumber: stage_current
26897 @endif gcc-bootstrap
26898 @if libdecnumber
26899 maybe-configure-libdecnumber: configure-libdecnumber
26900 configure-libdecnumber:
26901 @r=`${PWD_COMMAND}`; export r; \
26902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26903 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
26905 $(HOST_EXPORTS) \
26906 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
26907 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
26908 case $(srcdir) in \
26909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26910 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26912 esac; \
26913 module_srcdir=libdecnumber; \
26914 $(SHELL) \
26915 $$s/$$module_srcdir/configure \
26916 --srcdir=$${topdir}/$$module_srcdir \
26917 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26918 --target=${target_alias} \
26919 || exit 1
26920 @endif libdecnumber
26921
26922
26923
26924 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
26925 maybe-configure-stage1-libdecnumber:
26926 @if libdecnumber-bootstrap
26927 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
26928 configure-stage1-libdecnumber:
26929 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26930 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26931 @r=`${PWD_COMMAND}`; export r; \
26932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26933 TFLAGS="$(STAGE1_TFLAGS)"; \
26934 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26935 $(HOST_EXPORTS) \
26936 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26937 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26938 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26939 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber; \
26940 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
26941 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26942 case $(srcdir) in \
26943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26944 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26946 esac; \
26947 module_srcdir=libdecnumber; \
26948 $(SHELL) $$s/$$module_srcdir/configure \
26949 --srcdir=$${topdir}/$$module_srcdir \
26950 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26951 --target=${target_alias} \
26952 \
26953 $(STAGE1_CONFIGURE_FLAGS)
26954 @endif libdecnumber-bootstrap
26955
26956 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
26957 maybe-configure-stage2-libdecnumber:
26958 @if libdecnumber-bootstrap
26959 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
26960 configure-stage2-libdecnumber:
26961 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26962 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26963 @r=`${PWD_COMMAND}`; export r; \
26964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26965 TFLAGS="$(STAGE2_TFLAGS)"; \
26966 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
26967 $(HOST_EXPORTS) \
26968 $(POSTSTAGE1_HOST_EXPORTS) \
26969 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26970 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26971 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26972 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber; \
26973 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
26974 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
26975 case $(srcdir) in \
26976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26977 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
26978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26979 esac; \
26980 module_srcdir=libdecnumber; \
26981 $(SHELL) $$s/$$module_srcdir/configure \
26982 --srcdir=$${topdir}/$$module_srcdir \
26983 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26984 --target=${target_alias} \
26985 --with-build-libsubdir=$(HOST_SUBDIR) \
26986 $(STAGE2_CONFIGURE_FLAGS)
26987 @endif libdecnumber-bootstrap
26988
26989 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
26990 maybe-configure-stage3-libdecnumber:
26991 @if libdecnumber-bootstrap
26992 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
26993 configure-stage3-libdecnumber:
26994 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26995 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
26996 @r=`${PWD_COMMAND}`; export r; \
26997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26998 TFLAGS="$(STAGE3_TFLAGS)"; \
26999 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27000 $(HOST_EXPORTS) \
27001 $(POSTSTAGE1_HOST_EXPORTS) \
27002 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
27003 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
27004 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
27005 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber; \
27006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27007 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27008 case $(srcdir) in \
27009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27010 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27012 esac; \
27013 module_srcdir=libdecnumber; \
27014 $(SHELL) $$s/$$module_srcdir/configure \
27015 --srcdir=$${topdir}/$$module_srcdir \
27016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27017 --target=${target_alias} \
27018 --with-build-libsubdir=$(HOST_SUBDIR) \
27019 $(STAGE3_CONFIGURE_FLAGS)
27020 @endif libdecnumber-bootstrap
27021
27022 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
27023 maybe-configure-stage4-libdecnumber:
27024 @if libdecnumber-bootstrap
27025 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
27026 configure-stage4-libdecnumber:
27027 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27028 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27029 @r=`${PWD_COMMAND}`; export r; \
27030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27031 TFLAGS="$(STAGE4_TFLAGS)"; \
27032 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27033 $(HOST_EXPORTS) \
27034 $(POSTSTAGE1_HOST_EXPORTS) \
27035 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
27036 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
27037 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
27038 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber; \
27039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27040 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27041 case $(srcdir) in \
27042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27043 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27045 esac; \
27046 module_srcdir=libdecnumber; \
27047 $(SHELL) $$s/$$module_srcdir/configure \
27048 --srcdir=$${topdir}/$$module_srcdir \
27049 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27050 --target=${target_alias} \
27051 --with-build-libsubdir=$(HOST_SUBDIR) \
27052 $(STAGE4_CONFIGURE_FLAGS)
27053 @endif libdecnumber-bootstrap
27054
27055 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
27056 maybe-configure-stageprofile-libdecnumber:
27057 @if libdecnumber-bootstrap
27058 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
27059 configure-stageprofile-libdecnumber:
27060 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27061 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27062 @r=`${PWD_COMMAND}`; export r; \
27063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27064 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27065 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27066 $(HOST_EXPORTS) \
27067 $(POSTSTAGE1_HOST_EXPORTS) \
27068 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
27069 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
27070 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
27071 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber; \
27072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27073 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27074 case $(srcdir) in \
27075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27076 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27078 esac; \
27079 module_srcdir=libdecnumber; \
27080 $(SHELL) $$s/$$module_srcdir/configure \
27081 --srcdir=$${topdir}/$$module_srcdir \
27082 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27083 --target=${target_alias} \
27084 --with-build-libsubdir=$(HOST_SUBDIR) \
27085 $(STAGEprofile_CONFIGURE_FLAGS)
27086 @endif libdecnumber-bootstrap
27087
27088 .PHONY: configure-stagetrain-libdecnumber maybe-configure-stagetrain-libdecnumber
27089 maybe-configure-stagetrain-libdecnumber:
27090 @if libdecnumber-bootstrap
27091 maybe-configure-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
27092 configure-stagetrain-libdecnumber:
27093 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27094 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27095 @r=`${PWD_COMMAND}`; export r; \
27096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27097 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27098 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27099 $(HOST_EXPORTS) \
27100 $(POSTSTAGE1_HOST_EXPORTS) \
27101 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
27102 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
27103 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
27104 echo Configuring stage train in $(HOST_SUBDIR)/libdecnumber; \
27105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27106 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27107 case $(srcdir) in \
27108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27109 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27111 esac; \
27112 module_srcdir=libdecnumber; \
27113 $(SHELL) $$s/$$module_srcdir/configure \
27114 --srcdir=$${topdir}/$$module_srcdir \
27115 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27116 --target=${target_alias} \
27117 --with-build-libsubdir=$(HOST_SUBDIR) \
27118 $(STAGEtrain_CONFIGURE_FLAGS)
27119 @endif libdecnumber-bootstrap
27120
27121 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
27122 maybe-configure-stagefeedback-libdecnumber:
27123 @if libdecnumber-bootstrap
27124 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
27125 configure-stagefeedback-libdecnumber:
27126 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27127 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27128 @r=`${PWD_COMMAND}`; export r; \
27129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27130 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27131 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27132 $(HOST_EXPORTS) \
27133 $(POSTSTAGE1_HOST_EXPORTS) \
27134 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
27135 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
27136 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
27137 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber; \
27138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27139 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27140 case $(srcdir) in \
27141 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27142 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27143 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27144 esac; \
27145 module_srcdir=libdecnumber; \
27146 $(SHELL) $$s/$$module_srcdir/configure \
27147 --srcdir=$${topdir}/$$module_srcdir \
27148 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27149 --target=${target_alias} \
27150 --with-build-libsubdir=$(HOST_SUBDIR) \
27151 $(STAGEfeedback_CONFIGURE_FLAGS)
27152 @endif libdecnumber-bootstrap
27153
27154 .PHONY: configure-stageautoprofile-libdecnumber maybe-configure-stageautoprofile-libdecnumber
27155 maybe-configure-stageautoprofile-libdecnumber:
27156 @if libdecnumber-bootstrap
27157 maybe-configure-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
27158 configure-stageautoprofile-libdecnumber:
27159 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27160 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27161 @r=`${PWD_COMMAND}`; export r; \
27162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27163 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27164 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27165 $(HOST_EXPORTS) \
27166 $(POSTSTAGE1_HOST_EXPORTS) \
27167 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
27168 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
27169 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
27170 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libdecnumber; \
27171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27172 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27173 case $(srcdir) in \
27174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27175 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27177 esac; \
27178 module_srcdir=libdecnumber; \
27179 $(SHELL) $$s/$$module_srcdir/configure \
27180 --srcdir=$${topdir}/$$module_srcdir \
27181 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27182 --target=${target_alias} \
27183 --with-build-libsubdir=$(HOST_SUBDIR) \
27184 $(STAGEautoprofile_CONFIGURE_FLAGS)
27185 @endif libdecnumber-bootstrap
27186
27187 .PHONY: configure-stageautofeedback-libdecnumber maybe-configure-stageautofeedback-libdecnumber
27188 maybe-configure-stageautofeedback-libdecnumber:
27189 @if libdecnumber-bootstrap
27190 maybe-configure-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
27191 configure-stageautofeedback-libdecnumber:
27192 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27193 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
27194 @r=`${PWD_COMMAND}`; export r; \
27195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27196 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27197 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
27198 $(HOST_EXPORTS) \
27199 $(POSTSTAGE1_HOST_EXPORTS) \
27200 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
27201 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
27202 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
27203 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libdecnumber; \
27204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber; \
27205 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
27206 case $(srcdir) in \
27207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27208 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
27209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27210 esac; \
27211 module_srcdir=libdecnumber; \
27212 $(SHELL) $$s/$$module_srcdir/configure \
27213 --srcdir=$${topdir}/$$module_srcdir \
27214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27215 --target=${target_alias} \
27216 --with-build-libsubdir=$(HOST_SUBDIR) \
27217 $(STAGEautofeedback_CONFIGURE_FLAGS)
27218 @endif libdecnumber-bootstrap
27219
27220
27221
27222
27223
27224 .PHONY: all-libdecnumber maybe-all-libdecnumber
27225 maybe-all-libdecnumber:
27226 @if gcc-bootstrap
27227 all-libdecnumber: stage_current
27228 @endif gcc-bootstrap
27229 @if libdecnumber
27230 TARGET-libdecnumber=all
27231 maybe-all-libdecnumber: all-libdecnumber
27232 all-libdecnumber: configure-libdecnumber
27233 @r=`${PWD_COMMAND}`; export r; \
27234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27235 $(HOST_EXPORTS) \
27236 (cd $(HOST_SUBDIR)/libdecnumber && \
27237 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27238 $(TARGET-libdecnumber))
27239 @endif libdecnumber
27240
27241
27242
27243 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
27244 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
27245 maybe-all-stage1-libdecnumber:
27246 maybe-clean-stage1-libdecnumber:
27247 @if libdecnumber-bootstrap
27248 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
27249 all-stage1: all-stage1-libdecnumber
27250 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
27251 all-stage1-libdecnumber: configure-stage1-libdecnumber
27252 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
27253 @r=`${PWD_COMMAND}`; export r; \
27254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27255 TFLAGS="$(STAGE1_TFLAGS)"; \
27256 $(HOST_EXPORTS) \
27257 cd $(HOST_SUBDIR)/libdecnumber && \
27258 \
27259 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27260 CFLAGS="$(STAGE1_CFLAGS)" \
27261 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
27262 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
27263 LIBCFLAGS="$(LIBCFLAGS)" \
27264 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27265 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27266 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27267 $(EXTRA_HOST_FLAGS) \
27268 $(STAGE1_FLAGS_TO_PASS) \
27269 TFLAGS="$(STAGE1_TFLAGS)" \
27270 $(TARGET-stage1-libdecnumber)
27271
27272 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
27273 clean-stage1: clean-stage1-libdecnumber
27274 clean-stage1-libdecnumber:
27275 @if [ $(current_stage) = stage1 ]; then \
27276 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27277 else \
27278 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
27279 $(MAKE) stage1-start; \
27280 fi; \
27281 cd $(HOST_SUBDIR)/libdecnumber && \
27282 $(MAKE) $(EXTRA_HOST_FLAGS) \
27283 $(STAGE1_FLAGS_TO_PASS) clean
27284 @endif libdecnumber-bootstrap
27285
27286
27287 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
27288 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
27289 maybe-all-stage2-libdecnumber:
27290 maybe-clean-stage2-libdecnumber:
27291 @if libdecnumber-bootstrap
27292 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
27293 all-stage2: all-stage2-libdecnumber
27294 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
27295 all-stage2-libdecnumber: configure-stage2-libdecnumber
27296 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
27297 @r=`${PWD_COMMAND}`; export r; \
27298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27299 TFLAGS="$(STAGE2_TFLAGS)"; \
27300 $(HOST_EXPORTS) \
27301 $(POSTSTAGE1_HOST_EXPORTS) \
27302 cd $(HOST_SUBDIR)/libdecnumber && \
27303 \
27304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27305 CFLAGS="$(STAGE2_CFLAGS)" \
27306 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
27307 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
27308 LIBCFLAGS="$(STAGE2_CFLAGS)" \
27309 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27310 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27311 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27312 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27313 TFLAGS="$(STAGE2_TFLAGS)" \
27314 $(TARGET-stage2-libdecnumber)
27315
27316 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
27317 clean-stage2: clean-stage2-libdecnumber
27318 clean-stage2-libdecnumber:
27319 @if [ $(current_stage) = stage2 ]; then \
27320 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27321 else \
27322 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
27323 $(MAKE) stage2-start; \
27324 fi; \
27325 cd $(HOST_SUBDIR)/libdecnumber && \
27326 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27327 @endif libdecnumber-bootstrap
27328
27329
27330 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
27331 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
27332 maybe-all-stage3-libdecnumber:
27333 maybe-clean-stage3-libdecnumber:
27334 @if libdecnumber-bootstrap
27335 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
27336 all-stage3: all-stage3-libdecnumber
27337 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
27338 all-stage3-libdecnumber: configure-stage3-libdecnumber
27339 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27340 @r=`${PWD_COMMAND}`; export r; \
27341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27342 TFLAGS="$(STAGE3_TFLAGS)"; \
27343 $(HOST_EXPORTS) \
27344 $(POSTSTAGE1_HOST_EXPORTS) \
27345 cd $(HOST_SUBDIR)/libdecnumber && \
27346 \
27347 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27348 CFLAGS="$(STAGE3_CFLAGS)" \
27349 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
27350 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27351 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27352 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27353 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27354 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27355 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27356 TFLAGS="$(STAGE3_TFLAGS)" \
27357 $(TARGET-stage3-libdecnumber)
27358
27359 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
27360 clean-stage3: clean-stage3-libdecnumber
27361 clean-stage3-libdecnumber:
27362 @if [ $(current_stage) = stage3 ]; then \
27363 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27364 else \
27365 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
27366 $(MAKE) stage3-start; \
27367 fi; \
27368 cd $(HOST_SUBDIR)/libdecnumber && \
27369 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27370 @endif libdecnumber-bootstrap
27371
27372
27373 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
27374 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
27375 maybe-all-stage4-libdecnumber:
27376 maybe-clean-stage4-libdecnumber:
27377 @if libdecnumber-bootstrap
27378 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
27379 all-stage4: all-stage4-libdecnumber
27380 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
27381 all-stage4-libdecnumber: configure-stage4-libdecnumber
27382 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27383 @r=`${PWD_COMMAND}`; export r; \
27384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27385 TFLAGS="$(STAGE4_TFLAGS)"; \
27386 $(HOST_EXPORTS) \
27387 $(POSTSTAGE1_HOST_EXPORTS) \
27388 cd $(HOST_SUBDIR)/libdecnumber && \
27389 \
27390 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27391 CFLAGS="$(STAGE4_CFLAGS)" \
27392 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
27393 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27394 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27395 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27396 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27397 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27398 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27399 TFLAGS="$(STAGE4_TFLAGS)" \
27400 $(TARGET-stage4-libdecnumber)
27401
27402 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
27403 clean-stage4: clean-stage4-libdecnumber
27404 clean-stage4-libdecnumber:
27405 @if [ $(current_stage) = stage4 ]; then \
27406 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27407 else \
27408 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
27409 $(MAKE) stage4-start; \
27410 fi; \
27411 cd $(HOST_SUBDIR)/libdecnumber && \
27412 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27413 @endif libdecnumber-bootstrap
27414
27415
27416 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
27417 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
27418 maybe-all-stageprofile-libdecnumber:
27419 maybe-clean-stageprofile-libdecnumber:
27420 @if libdecnumber-bootstrap
27421 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
27422 all-stageprofile: all-stageprofile-libdecnumber
27423 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
27424 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
27425 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27426 @r=`${PWD_COMMAND}`; export r; \
27427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27428 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27429 $(HOST_EXPORTS) \
27430 $(POSTSTAGE1_HOST_EXPORTS) \
27431 cd $(HOST_SUBDIR)/libdecnumber && \
27432 \
27433 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27434 CFLAGS="$(STAGEprofile_CFLAGS)" \
27435 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
27436 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27437 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27438 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27439 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27440 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27441 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27442 TFLAGS="$(STAGEprofile_TFLAGS)" \
27443 $(TARGET-stageprofile-libdecnumber)
27444
27445 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
27446 clean-stageprofile: clean-stageprofile-libdecnumber
27447 clean-stageprofile-libdecnumber:
27448 @if [ $(current_stage) = stageprofile ]; then \
27449 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27450 else \
27451 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
27452 $(MAKE) stageprofile-start; \
27453 fi; \
27454 cd $(HOST_SUBDIR)/libdecnumber && \
27455 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27456 @endif libdecnumber-bootstrap
27457
27458
27459 .PHONY: all-stagetrain-libdecnumber maybe-all-stagetrain-libdecnumber
27460 .PHONY: clean-stagetrain-libdecnumber maybe-clean-stagetrain-libdecnumber
27461 maybe-all-stagetrain-libdecnumber:
27462 maybe-clean-stagetrain-libdecnumber:
27463 @if libdecnumber-bootstrap
27464 maybe-all-stagetrain-libdecnumber: all-stagetrain-libdecnumber
27465 all-stagetrain: all-stagetrain-libdecnumber
27466 TARGET-stagetrain-libdecnumber = $(TARGET-libdecnumber)
27467 all-stagetrain-libdecnumber: configure-stagetrain-libdecnumber
27468 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
27469 @r=`${PWD_COMMAND}`; export r; \
27470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27471 TFLAGS="$(STAGEtrain_TFLAGS)"; \
27472 $(HOST_EXPORTS) \
27473 $(POSTSTAGE1_HOST_EXPORTS) \
27474 cd $(HOST_SUBDIR)/libdecnumber && \
27475 \
27476 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27477 CFLAGS="$(STAGEtrain_CFLAGS)" \
27478 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
27479 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
27480 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
27481 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27482 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27483 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27484 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27485 TFLAGS="$(STAGEtrain_TFLAGS)" \
27486 $(TARGET-stagetrain-libdecnumber)
27487
27488 maybe-clean-stagetrain-libdecnumber: clean-stagetrain-libdecnumber
27489 clean-stagetrain: clean-stagetrain-libdecnumber
27490 clean-stagetrain-libdecnumber:
27491 @if [ $(current_stage) = stagetrain ]; then \
27492 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27493 else \
27494 [ -f $(HOST_SUBDIR)/stagetrain-libdecnumber/Makefile ] || exit 0; \
27495 $(MAKE) stagetrain-start; \
27496 fi; \
27497 cd $(HOST_SUBDIR)/libdecnumber && \
27498 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27499 @endif libdecnumber-bootstrap
27500
27501
27502 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
27503 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
27504 maybe-all-stagefeedback-libdecnumber:
27505 maybe-clean-stagefeedback-libdecnumber:
27506 @if libdecnumber-bootstrap
27507 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
27508 all-stagefeedback: all-stagefeedback-libdecnumber
27509 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
27510 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
27511 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27512 @r=`${PWD_COMMAND}`; export r; \
27513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27514 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27515 $(HOST_EXPORTS) \
27516 $(POSTSTAGE1_HOST_EXPORTS) \
27517 cd $(HOST_SUBDIR)/libdecnumber && \
27518 \
27519 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27520 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27521 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
27522 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27523 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27524 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27525 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27526 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27527 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27528 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27529 $(TARGET-stagefeedback-libdecnumber)
27530
27531 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
27532 clean-stagefeedback: clean-stagefeedback-libdecnumber
27533 clean-stagefeedback-libdecnumber:
27534 @if [ $(current_stage) = stagefeedback ]; then \
27535 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27536 else \
27537 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
27538 $(MAKE) stagefeedback-start; \
27539 fi; \
27540 cd $(HOST_SUBDIR)/libdecnumber && \
27541 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27542 @endif libdecnumber-bootstrap
27543
27544
27545 .PHONY: all-stageautoprofile-libdecnumber maybe-all-stageautoprofile-libdecnumber
27546 .PHONY: clean-stageautoprofile-libdecnumber maybe-clean-stageautoprofile-libdecnumber
27547 maybe-all-stageautoprofile-libdecnumber:
27548 maybe-clean-stageautoprofile-libdecnumber:
27549 @if libdecnumber-bootstrap
27550 maybe-all-stageautoprofile-libdecnumber: all-stageautoprofile-libdecnumber
27551 all-stageautoprofile: all-stageautoprofile-libdecnumber
27552 TARGET-stageautoprofile-libdecnumber = $(TARGET-libdecnumber)
27553 all-stageautoprofile-libdecnumber: configure-stageautoprofile-libdecnumber
27554 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
27555 @r=`${PWD_COMMAND}`; export r; \
27556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27557 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
27558 $(HOST_EXPORTS) \
27559 $(POSTSTAGE1_HOST_EXPORTS) \
27560 cd $(HOST_SUBDIR)/libdecnumber && \
27561 $$s/gcc/config/i386/$(AUTO_PROFILE) \
27562 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27563 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
27564 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
27565 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
27566 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
27567 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27568 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27569 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27570 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27571 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
27572 $(TARGET-stageautoprofile-libdecnumber)
27573
27574 maybe-clean-stageautoprofile-libdecnumber: clean-stageautoprofile-libdecnumber
27575 clean-stageautoprofile: clean-stageautoprofile-libdecnumber
27576 clean-stageautoprofile-libdecnumber:
27577 @if [ $(current_stage) = stageautoprofile ]; then \
27578 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27579 else \
27580 [ -f $(HOST_SUBDIR)/stageautoprofile-libdecnumber/Makefile ] || exit 0; \
27581 $(MAKE) stageautoprofile-start; \
27582 fi; \
27583 cd $(HOST_SUBDIR)/libdecnumber && \
27584 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27585 @endif libdecnumber-bootstrap
27586
27587
27588 .PHONY: all-stageautofeedback-libdecnumber maybe-all-stageautofeedback-libdecnumber
27589 .PHONY: clean-stageautofeedback-libdecnumber maybe-clean-stageautofeedback-libdecnumber
27590 maybe-all-stageautofeedback-libdecnumber:
27591 maybe-clean-stageautofeedback-libdecnumber:
27592 @if libdecnumber-bootstrap
27593 maybe-all-stageautofeedback-libdecnumber: all-stageautofeedback-libdecnumber
27594 all-stageautofeedback: all-stageautofeedback-libdecnumber
27595 TARGET-stageautofeedback-libdecnumber = $(TARGET-libdecnumber)
27596 all-stageautofeedback-libdecnumber: configure-stageautofeedback-libdecnumber
27597 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
27598 @r=`${PWD_COMMAND}`; export r; \
27599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27600 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
27601 $(HOST_EXPORTS) \
27602 $(POSTSTAGE1_HOST_EXPORTS) \
27603 cd $(HOST_SUBDIR)/libdecnumber && \
27604 \
27605 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27606 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
27607 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
27608 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
27609 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
27610 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27611 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27612 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27613 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27614 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
27615 $(TARGET-stageautofeedback-libdecnumber)
27616
27617 maybe-clean-stageautofeedback-libdecnumber: clean-stageautofeedback-libdecnumber
27618 clean-stageautofeedback: clean-stageautofeedback-libdecnumber
27619 clean-stageautofeedback-libdecnumber:
27620 @if [ $(current_stage) = stageautofeedback ]; then \
27621 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
27622 else \
27623 [ -f $(HOST_SUBDIR)/stageautofeedback-libdecnumber/Makefile ] || exit 0; \
27624 $(MAKE) stageautofeedback-start; \
27625 fi; \
27626 cd $(HOST_SUBDIR)/libdecnumber && \
27627 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27628 @endif libdecnumber-bootstrap
27629
27630
27631
27632
27633
27634 .PHONY: check-libdecnumber maybe-check-libdecnumber
27635 maybe-check-libdecnumber:
27636 @if libdecnumber
27637 maybe-check-libdecnumber: check-libdecnumber
27638
27639 check-libdecnumber:
27640 @: $(MAKE); $(unstage)
27641 @r=`${PWD_COMMAND}`; export r; \
27642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27643 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
27644 (cd $(HOST_SUBDIR)/libdecnumber && \
27645 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
27646
27647 @endif libdecnumber
27648
27649 .PHONY: install-libdecnumber maybe-install-libdecnumber
27650 maybe-install-libdecnumber:
27651 @if libdecnumber
27652 maybe-install-libdecnumber: install-libdecnumber
27653
27654 install-libdecnumber: installdirs
27655 @: $(MAKE); $(unstage)
27656 @r=`${PWD_COMMAND}`; export r; \
27657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27658 $(HOST_EXPORTS) \
27659 (cd $(HOST_SUBDIR)/libdecnumber && \
27660 $(MAKE) $(FLAGS_TO_PASS) install)
27661
27662 @endif libdecnumber
27663
27664 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
27665 maybe-install-strip-libdecnumber:
27666 @if libdecnumber
27667 maybe-install-strip-libdecnumber: install-strip-libdecnumber
27668
27669 install-strip-libdecnumber: installdirs
27670 @: $(MAKE); $(unstage)
27671 @r=`${PWD_COMMAND}`; export r; \
27672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27673 $(HOST_EXPORTS) \
27674 (cd $(HOST_SUBDIR)/libdecnumber && \
27675 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27676
27677 @endif libdecnumber
27678
27679 # Other targets (info, dvi, pdf, etc.)
27680
27681 .PHONY: maybe-info-libdecnumber info-libdecnumber
27682 maybe-info-libdecnumber:
27683 @if libdecnumber
27684 maybe-info-libdecnumber: info-libdecnumber
27685
27686 info-libdecnumber: \
27687 configure-libdecnumber
27688 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27689 r=`${PWD_COMMAND}`; export r; \
27690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27691 $(HOST_EXPORTS) \
27692 for flag in $(EXTRA_HOST_FLAGS) ; do \
27693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27694 done; \
27695 echo "Doing info in libdecnumber"; \
27696 (cd $(HOST_SUBDIR)/libdecnumber && \
27697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27699 "RANLIB=$${RANLIB}" \
27700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27701 info) \
27702 || exit 1
27703
27704 @endif libdecnumber
27705
27706 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
27707 maybe-dvi-libdecnumber:
27708 @if libdecnumber
27709 maybe-dvi-libdecnumber: dvi-libdecnumber
27710
27711 dvi-libdecnumber: \
27712 configure-libdecnumber
27713 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27714 r=`${PWD_COMMAND}`; export r; \
27715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27716 $(HOST_EXPORTS) \
27717 for flag in $(EXTRA_HOST_FLAGS) ; do \
27718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27719 done; \
27720 echo "Doing dvi in libdecnumber"; \
27721 (cd $(HOST_SUBDIR)/libdecnumber && \
27722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27724 "RANLIB=$${RANLIB}" \
27725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27726 dvi) \
27727 || exit 1
27728
27729 @endif libdecnumber
27730
27731 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
27732 maybe-pdf-libdecnumber:
27733 @if libdecnumber
27734 maybe-pdf-libdecnumber: pdf-libdecnumber
27735
27736 pdf-libdecnumber: \
27737 configure-libdecnumber
27738 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27739 r=`${PWD_COMMAND}`; export r; \
27740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27741 $(HOST_EXPORTS) \
27742 for flag in $(EXTRA_HOST_FLAGS) ; do \
27743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27744 done; \
27745 echo "Doing pdf in libdecnumber"; \
27746 (cd $(HOST_SUBDIR)/libdecnumber && \
27747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27749 "RANLIB=$${RANLIB}" \
27750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27751 pdf) \
27752 || exit 1
27753
27754 @endif libdecnumber
27755
27756 .PHONY: maybe-html-libdecnumber html-libdecnumber
27757 maybe-html-libdecnumber:
27758 @if libdecnumber
27759 maybe-html-libdecnumber: html-libdecnumber
27760
27761 html-libdecnumber: \
27762 configure-libdecnumber
27763 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27764 r=`${PWD_COMMAND}`; export r; \
27765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27766 $(HOST_EXPORTS) \
27767 for flag in $(EXTRA_HOST_FLAGS) ; do \
27768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27769 done; \
27770 echo "Doing html in libdecnumber"; \
27771 (cd $(HOST_SUBDIR)/libdecnumber && \
27772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27774 "RANLIB=$${RANLIB}" \
27775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27776 html) \
27777 || exit 1
27778
27779 @endif libdecnumber
27780
27781 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
27782 maybe-TAGS-libdecnumber:
27783 @if libdecnumber
27784 maybe-TAGS-libdecnumber: TAGS-libdecnumber
27785
27786 # libdecnumber doesn't support TAGS.
27787 TAGS-libdecnumber:
27788
27789 @endif libdecnumber
27790
27791 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
27792 maybe-install-info-libdecnumber:
27793 @if libdecnumber
27794 maybe-install-info-libdecnumber: install-info-libdecnumber
27795
27796 install-info-libdecnumber: \
27797 configure-libdecnumber \
27798 info-libdecnumber
27799 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27800 r=`${PWD_COMMAND}`; export r; \
27801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27802 $(HOST_EXPORTS) \
27803 for flag in $(EXTRA_HOST_FLAGS) ; do \
27804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27805 done; \
27806 echo "Doing install-info in libdecnumber"; \
27807 (cd $(HOST_SUBDIR)/libdecnumber && \
27808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27810 "RANLIB=$${RANLIB}" \
27811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27812 install-info) \
27813 || exit 1
27814
27815 @endif libdecnumber
27816
27817 .PHONY: maybe-install-dvi-libdecnumber install-dvi-libdecnumber
27818 maybe-install-dvi-libdecnumber:
27819 @if libdecnumber
27820 maybe-install-dvi-libdecnumber: install-dvi-libdecnumber
27821
27822 install-dvi-libdecnumber: \
27823 configure-libdecnumber \
27824 dvi-libdecnumber
27825 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27826 r=`${PWD_COMMAND}`; export r; \
27827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27828 $(HOST_EXPORTS) \
27829 for flag in $(EXTRA_HOST_FLAGS) ; do \
27830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27831 done; \
27832 echo "Doing install-dvi in libdecnumber"; \
27833 (cd $(HOST_SUBDIR)/libdecnumber && \
27834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27836 "RANLIB=$${RANLIB}" \
27837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27838 install-dvi) \
27839 || exit 1
27840
27841 @endif libdecnumber
27842
27843 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
27844 maybe-install-pdf-libdecnumber:
27845 @if libdecnumber
27846 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
27847
27848 install-pdf-libdecnumber: \
27849 configure-libdecnumber \
27850 pdf-libdecnumber
27851 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27852 r=`${PWD_COMMAND}`; export r; \
27853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27854 $(HOST_EXPORTS) \
27855 for flag in $(EXTRA_HOST_FLAGS) ; do \
27856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27857 done; \
27858 echo "Doing install-pdf in libdecnumber"; \
27859 (cd $(HOST_SUBDIR)/libdecnumber && \
27860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27862 "RANLIB=$${RANLIB}" \
27863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27864 install-pdf) \
27865 || exit 1
27866
27867 @endif libdecnumber
27868
27869 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
27870 maybe-install-html-libdecnumber:
27871 @if libdecnumber
27872 maybe-install-html-libdecnumber: install-html-libdecnumber
27873
27874 install-html-libdecnumber: \
27875 configure-libdecnumber \
27876 html-libdecnumber
27877 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27878 r=`${PWD_COMMAND}`; export r; \
27879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27880 $(HOST_EXPORTS) \
27881 for flag in $(EXTRA_HOST_FLAGS) ; do \
27882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27883 done; \
27884 echo "Doing install-html in libdecnumber"; \
27885 (cd $(HOST_SUBDIR)/libdecnumber && \
27886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27888 "RANLIB=$${RANLIB}" \
27889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27890 install-html) \
27891 || exit 1
27892
27893 @endif libdecnumber
27894
27895 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
27896 maybe-installcheck-libdecnumber:
27897 @if libdecnumber
27898 maybe-installcheck-libdecnumber: installcheck-libdecnumber
27899
27900 installcheck-libdecnumber: \
27901 configure-libdecnumber
27902 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27903 r=`${PWD_COMMAND}`; export r; \
27904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27905 $(HOST_EXPORTS) \
27906 for flag in $(EXTRA_HOST_FLAGS) ; do \
27907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27908 done; \
27909 echo "Doing installcheck in libdecnumber"; \
27910 (cd $(HOST_SUBDIR)/libdecnumber && \
27911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27913 "RANLIB=$${RANLIB}" \
27914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27915 installcheck) \
27916 || exit 1
27917
27918 @endif libdecnumber
27919
27920 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
27921 maybe-mostlyclean-libdecnumber:
27922 @if libdecnumber
27923 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
27924
27925 mostlyclean-libdecnumber:
27926 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27927 r=`${PWD_COMMAND}`; export r; \
27928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27929 $(HOST_EXPORTS) \
27930 for flag in $(EXTRA_HOST_FLAGS) ; do \
27931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27932 done; \
27933 echo "Doing mostlyclean in libdecnumber"; \
27934 (cd $(HOST_SUBDIR)/libdecnumber && \
27935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27937 "RANLIB=$${RANLIB}" \
27938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27939 mostlyclean) \
27940 || exit 1
27941
27942 @endif libdecnumber
27943
27944 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
27945 maybe-clean-libdecnumber:
27946 @if libdecnumber
27947 maybe-clean-libdecnumber: clean-libdecnumber
27948
27949 clean-libdecnumber:
27950 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27951 r=`${PWD_COMMAND}`; export r; \
27952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27953 $(HOST_EXPORTS) \
27954 for flag in $(EXTRA_HOST_FLAGS) ; do \
27955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27956 done; \
27957 echo "Doing clean in libdecnumber"; \
27958 (cd $(HOST_SUBDIR)/libdecnumber && \
27959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27961 "RANLIB=$${RANLIB}" \
27962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27963 clean) \
27964 || exit 1
27965
27966 @endif libdecnumber
27967
27968 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
27969 maybe-distclean-libdecnumber:
27970 @if libdecnumber
27971 maybe-distclean-libdecnumber: distclean-libdecnumber
27972
27973 distclean-libdecnumber:
27974 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27975 r=`${PWD_COMMAND}`; export r; \
27976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27977 $(HOST_EXPORTS) \
27978 for flag in $(EXTRA_HOST_FLAGS) ; do \
27979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27980 done; \
27981 echo "Doing distclean in libdecnumber"; \
27982 (cd $(HOST_SUBDIR)/libdecnumber && \
27983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27985 "RANLIB=$${RANLIB}" \
27986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27987 distclean) \
27988 || exit 1
27989
27990 @endif libdecnumber
27991
27992 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
27993 maybe-maintainer-clean-libdecnumber:
27994 @if libdecnumber
27995 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
27996
27997 maintainer-clean-libdecnumber:
27998 @[ -f ./libdecnumber/Makefile ] || exit 0; \
27999 r=`${PWD_COMMAND}`; export r; \
28000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28001 $(HOST_EXPORTS) \
28002 for flag in $(EXTRA_HOST_FLAGS) ; do \
28003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28004 done; \
28005 echo "Doing maintainer-clean in libdecnumber"; \
28006 (cd $(HOST_SUBDIR)/libdecnumber && \
28007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28009 "RANLIB=$${RANLIB}" \
28010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28011 maintainer-clean) \
28012 || exit 1
28013
28014 @endif libdecnumber
28015
28016
28017
28018 .PHONY: configure-libgui maybe-configure-libgui
28019 maybe-configure-libgui:
28020 @if gcc-bootstrap
28021 configure-libgui: stage_current
28022 @endif gcc-bootstrap
28023 @if libgui
28024 maybe-configure-libgui: configure-libgui
28025 configure-libgui:
28026 @: $(MAKE); $(unstage)
28027 @r=`${PWD_COMMAND}`; export r; \
28028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28029 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
28030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui; \
28031 $(HOST_EXPORTS) \
28032 echo Configuring in $(HOST_SUBDIR)/libgui; \
28033 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
28034 case $(srcdir) in \
28035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28036 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
28037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28038 esac; \
28039 module_srcdir=libgui; \
28040 $(SHELL) \
28041 $$s/$$module_srcdir/configure \
28042 --srcdir=$${topdir}/$$module_srcdir \
28043 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28044 --target=${target_alias} \
28045 || exit 1
28046 @endif libgui
28047
28048
28049
28050
28051
28052 .PHONY: all-libgui maybe-all-libgui
28053 maybe-all-libgui:
28054 @if gcc-bootstrap
28055 all-libgui: stage_current
28056 @endif gcc-bootstrap
28057 @if libgui
28058 TARGET-libgui=all
28059 maybe-all-libgui: all-libgui
28060 all-libgui: configure-libgui
28061 @: $(MAKE); $(unstage)
28062 @r=`${PWD_COMMAND}`; export r; \
28063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28064 $(HOST_EXPORTS) \
28065 (cd $(HOST_SUBDIR)/libgui && \
28066 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28067 $(TARGET-libgui))
28068 @endif libgui
28069
28070
28071
28072
28073 .PHONY: check-libgui maybe-check-libgui
28074 maybe-check-libgui:
28075 @if libgui
28076 maybe-check-libgui: check-libgui
28077
28078 check-libgui:
28079 @: $(MAKE); $(unstage)
28080 @r=`${PWD_COMMAND}`; export r; \
28081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28082 $(HOST_EXPORTS) \
28083 (cd $(HOST_SUBDIR)/libgui && \
28084 $(MAKE) $(FLAGS_TO_PASS) check)
28085
28086 @endif libgui
28087
28088 .PHONY: install-libgui maybe-install-libgui
28089 maybe-install-libgui:
28090 @if libgui
28091 maybe-install-libgui: install-libgui
28092
28093 install-libgui: installdirs
28094 @: $(MAKE); $(unstage)
28095 @r=`${PWD_COMMAND}`; export r; \
28096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28097 $(HOST_EXPORTS) \
28098 (cd $(HOST_SUBDIR)/libgui && \
28099 $(MAKE) $(FLAGS_TO_PASS) install)
28100
28101 @endif libgui
28102
28103 .PHONY: install-strip-libgui maybe-install-strip-libgui
28104 maybe-install-strip-libgui:
28105 @if libgui
28106 maybe-install-strip-libgui: install-strip-libgui
28107
28108 install-strip-libgui: installdirs
28109 @: $(MAKE); $(unstage)
28110 @r=`${PWD_COMMAND}`; export r; \
28111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28112 $(HOST_EXPORTS) \
28113 (cd $(HOST_SUBDIR)/libgui && \
28114 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28115
28116 @endif libgui
28117
28118 # Other targets (info, dvi, pdf, etc.)
28119
28120 .PHONY: maybe-info-libgui info-libgui
28121 maybe-info-libgui:
28122 @if libgui
28123 maybe-info-libgui: info-libgui
28124
28125 info-libgui: \
28126 configure-libgui
28127 @: $(MAKE); $(unstage)
28128 @[ -f ./libgui/Makefile ] || exit 0; \
28129 r=`${PWD_COMMAND}`; export r; \
28130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28131 $(HOST_EXPORTS) \
28132 for flag in $(EXTRA_HOST_FLAGS) ; do \
28133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28134 done; \
28135 echo "Doing info in libgui"; \
28136 (cd $(HOST_SUBDIR)/libgui && \
28137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28139 "RANLIB=$${RANLIB}" \
28140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28141 info) \
28142 || exit 1
28143
28144 @endif libgui
28145
28146 .PHONY: maybe-dvi-libgui dvi-libgui
28147 maybe-dvi-libgui:
28148 @if libgui
28149 maybe-dvi-libgui: dvi-libgui
28150
28151 dvi-libgui: \
28152 configure-libgui
28153 @: $(MAKE); $(unstage)
28154 @[ -f ./libgui/Makefile ] || exit 0; \
28155 r=`${PWD_COMMAND}`; export r; \
28156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28157 $(HOST_EXPORTS) \
28158 for flag in $(EXTRA_HOST_FLAGS) ; do \
28159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28160 done; \
28161 echo "Doing dvi in libgui"; \
28162 (cd $(HOST_SUBDIR)/libgui && \
28163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28165 "RANLIB=$${RANLIB}" \
28166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28167 dvi) \
28168 || exit 1
28169
28170 @endif libgui
28171
28172 .PHONY: maybe-pdf-libgui pdf-libgui
28173 maybe-pdf-libgui:
28174 @if libgui
28175 maybe-pdf-libgui: pdf-libgui
28176
28177 pdf-libgui: \
28178 configure-libgui
28179 @: $(MAKE); $(unstage)
28180 @[ -f ./libgui/Makefile ] || exit 0; \
28181 r=`${PWD_COMMAND}`; export r; \
28182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28183 $(HOST_EXPORTS) \
28184 for flag in $(EXTRA_HOST_FLAGS) ; do \
28185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28186 done; \
28187 echo "Doing pdf in libgui"; \
28188 (cd $(HOST_SUBDIR)/libgui && \
28189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28191 "RANLIB=$${RANLIB}" \
28192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28193 pdf) \
28194 || exit 1
28195
28196 @endif libgui
28197
28198 .PHONY: maybe-html-libgui html-libgui
28199 maybe-html-libgui:
28200 @if libgui
28201 maybe-html-libgui: html-libgui
28202
28203 html-libgui: \
28204 configure-libgui
28205 @: $(MAKE); $(unstage)
28206 @[ -f ./libgui/Makefile ] || exit 0; \
28207 r=`${PWD_COMMAND}`; export r; \
28208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28209 $(HOST_EXPORTS) \
28210 for flag in $(EXTRA_HOST_FLAGS) ; do \
28211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28212 done; \
28213 echo "Doing html in libgui"; \
28214 (cd $(HOST_SUBDIR)/libgui && \
28215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28217 "RANLIB=$${RANLIB}" \
28218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28219 html) \
28220 || exit 1
28221
28222 @endif libgui
28223
28224 .PHONY: maybe-TAGS-libgui TAGS-libgui
28225 maybe-TAGS-libgui:
28226 @if libgui
28227 maybe-TAGS-libgui: TAGS-libgui
28228
28229 TAGS-libgui: \
28230 configure-libgui
28231 @: $(MAKE); $(unstage)
28232 @[ -f ./libgui/Makefile ] || exit 0; \
28233 r=`${PWD_COMMAND}`; export r; \
28234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28235 $(HOST_EXPORTS) \
28236 for flag in $(EXTRA_HOST_FLAGS) ; do \
28237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28238 done; \
28239 echo "Doing TAGS in libgui"; \
28240 (cd $(HOST_SUBDIR)/libgui && \
28241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28243 "RANLIB=$${RANLIB}" \
28244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28245 TAGS) \
28246 || exit 1
28247
28248 @endif libgui
28249
28250 .PHONY: maybe-install-info-libgui install-info-libgui
28251 maybe-install-info-libgui:
28252 @if libgui
28253 maybe-install-info-libgui: install-info-libgui
28254
28255 install-info-libgui: \
28256 configure-libgui \
28257 info-libgui
28258 @: $(MAKE); $(unstage)
28259 @[ -f ./libgui/Makefile ] || exit 0; \
28260 r=`${PWD_COMMAND}`; export r; \
28261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28262 $(HOST_EXPORTS) \
28263 for flag in $(EXTRA_HOST_FLAGS) ; do \
28264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28265 done; \
28266 echo "Doing install-info in libgui"; \
28267 (cd $(HOST_SUBDIR)/libgui && \
28268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28270 "RANLIB=$${RANLIB}" \
28271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28272 install-info) \
28273 || exit 1
28274
28275 @endif libgui
28276
28277 .PHONY: maybe-install-dvi-libgui install-dvi-libgui
28278 maybe-install-dvi-libgui:
28279 @if libgui
28280 maybe-install-dvi-libgui: install-dvi-libgui
28281
28282 install-dvi-libgui: \
28283 configure-libgui \
28284 dvi-libgui
28285 @: $(MAKE); $(unstage)
28286 @[ -f ./libgui/Makefile ] || exit 0; \
28287 r=`${PWD_COMMAND}`; export r; \
28288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28289 $(HOST_EXPORTS) \
28290 for flag in $(EXTRA_HOST_FLAGS) ; do \
28291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28292 done; \
28293 echo "Doing install-dvi in libgui"; \
28294 (cd $(HOST_SUBDIR)/libgui && \
28295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28297 "RANLIB=$${RANLIB}" \
28298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28299 install-dvi) \
28300 || exit 1
28301
28302 @endif libgui
28303
28304 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
28305 maybe-install-pdf-libgui:
28306 @if libgui
28307 maybe-install-pdf-libgui: install-pdf-libgui
28308
28309 install-pdf-libgui: \
28310 configure-libgui \
28311 pdf-libgui
28312 @: $(MAKE); $(unstage)
28313 @[ -f ./libgui/Makefile ] || exit 0; \
28314 r=`${PWD_COMMAND}`; export r; \
28315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28316 $(HOST_EXPORTS) \
28317 for flag in $(EXTRA_HOST_FLAGS) ; do \
28318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28319 done; \
28320 echo "Doing install-pdf in libgui"; \
28321 (cd $(HOST_SUBDIR)/libgui && \
28322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28324 "RANLIB=$${RANLIB}" \
28325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28326 install-pdf) \
28327 || exit 1
28328
28329 @endif libgui
28330
28331 .PHONY: maybe-install-html-libgui install-html-libgui
28332 maybe-install-html-libgui:
28333 @if libgui
28334 maybe-install-html-libgui: install-html-libgui
28335
28336 install-html-libgui: \
28337 configure-libgui \
28338 html-libgui
28339 @: $(MAKE); $(unstage)
28340 @[ -f ./libgui/Makefile ] || exit 0; \
28341 r=`${PWD_COMMAND}`; export r; \
28342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28343 $(HOST_EXPORTS) \
28344 for flag in $(EXTRA_HOST_FLAGS) ; do \
28345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28346 done; \
28347 echo "Doing install-html in libgui"; \
28348 (cd $(HOST_SUBDIR)/libgui && \
28349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28351 "RANLIB=$${RANLIB}" \
28352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28353 install-html) \
28354 || exit 1
28355
28356 @endif libgui
28357
28358 .PHONY: maybe-installcheck-libgui installcheck-libgui
28359 maybe-installcheck-libgui:
28360 @if libgui
28361 maybe-installcheck-libgui: installcheck-libgui
28362
28363 installcheck-libgui: \
28364 configure-libgui
28365 @: $(MAKE); $(unstage)
28366 @[ -f ./libgui/Makefile ] || exit 0; \
28367 r=`${PWD_COMMAND}`; export r; \
28368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28369 $(HOST_EXPORTS) \
28370 for flag in $(EXTRA_HOST_FLAGS) ; do \
28371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28372 done; \
28373 echo "Doing installcheck in libgui"; \
28374 (cd $(HOST_SUBDIR)/libgui && \
28375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28377 "RANLIB=$${RANLIB}" \
28378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28379 installcheck) \
28380 || exit 1
28381
28382 @endif libgui
28383
28384 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
28385 maybe-mostlyclean-libgui:
28386 @if libgui
28387 maybe-mostlyclean-libgui: mostlyclean-libgui
28388
28389 mostlyclean-libgui:
28390 @: $(MAKE); $(unstage)
28391 @[ -f ./libgui/Makefile ] || exit 0; \
28392 r=`${PWD_COMMAND}`; export r; \
28393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28394 $(HOST_EXPORTS) \
28395 for flag in $(EXTRA_HOST_FLAGS) ; do \
28396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28397 done; \
28398 echo "Doing mostlyclean in libgui"; \
28399 (cd $(HOST_SUBDIR)/libgui && \
28400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28402 "RANLIB=$${RANLIB}" \
28403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28404 mostlyclean) \
28405 || exit 1
28406
28407 @endif libgui
28408
28409 .PHONY: maybe-clean-libgui clean-libgui
28410 maybe-clean-libgui:
28411 @if libgui
28412 maybe-clean-libgui: clean-libgui
28413
28414 clean-libgui:
28415 @: $(MAKE); $(unstage)
28416 @[ -f ./libgui/Makefile ] || exit 0; \
28417 r=`${PWD_COMMAND}`; export r; \
28418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28419 $(HOST_EXPORTS) \
28420 for flag in $(EXTRA_HOST_FLAGS) ; do \
28421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28422 done; \
28423 echo "Doing clean in libgui"; \
28424 (cd $(HOST_SUBDIR)/libgui && \
28425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28427 "RANLIB=$${RANLIB}" \
28428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28429 clean) \
28430 || exit 1
28431
28432 @endif libgui
28433
28434 .PHONY: maybe-distclean-libgui distclean-libgui
28435 maybe-distclean-libgui:
28436 @if libgui
28437 maybe-distclean-libgui: distclean-libgui
28438
28439 distclean-libgui:
28440 @: $(MAKE); $(unstage)
28441 @[ -f ./libgui/Makefile ] || exit 0; \
28442 r=`${PWD_COMMAND}`; export r; \
28443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28444 $(HOST_EXPORTS) \
28445 for flag in $(EXTRA_HOST_FLAGS) ; do \
28446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28447 done; \
28448 echo "Doing distclean in libgui"; \
28449 (cd $(HOST_SUBDIR)/libgui && \
28450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28452 "RANLIB=$${RANLIB}" \
28453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28454 distclean) \
28455 || exit 1
28456
28457 @endif libgui
28458
28459 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
28460 maybe-maintainer-clean-libgui:
28461 @if libgui
28462 maybe-maintainer-clean-libgui: maintainer-clean-libgui
28463
28464 maintainer-clean-libgui:
28465 @: $(MAKE); $(unstage)
28466 @[ -f ./libgui/Makefile ] || exit 0; \
28467 r=`${PWD_COMMAND}`; export r; \
28468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28469 $(HOST_EXPORTS) \
28470 for flag in $(EXTRA_HOST_FLAGS) ; do \
28471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28472 done; \
28473 echo "Doing maintainer-clean in libgui"; \
28474 (cd $(HOST_SUBDIR)/libgui && \
28475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28477 "RANLIB=$${RANLIB}" \
28478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28479 maintainer-clean) \
28480 || exit 1
28481
28482 @endif libgui
28483
28484
28485
28486 .PHONY: configure-libiberty maybe-configure-libiberty
28487 maybe-configure-libiberty:
28488 @if gcc-bootstrap
28489 configure-libiberty: stage_current
28490 @endif gcc-bootstrap
28491 @if libiberty
28492 maybe-configure-libiberty: configure-libiberty
28493 configure-libiberty:
28494 @r=`${PWD_COMMAND}`; export r; \
28495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28496 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28497 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
28498 $(HOST_EXPORTS) \
28499 echo Configuring in $(HOST_SUBDIR)/libiberty; \
28500 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
28501 case $(srcdir) in \
28502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28503 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28505 esac; \
28506 module_srcdir=libiberty; \
28507 $(SHELL) \
28508 $$s/$$module_srcdir/configure \
28509 --srcdir=$${topdir}/$$module_srcdir \
28510 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28511 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
28512 || exit 1
28513 @endif libiberty
28514
28515
28516
28517 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
28518 maybe-configure-stage1-libiberty:
28519 @if libiberty-bootstrap
28520 maybe-configure-stage1-libiberty: configure-stage1-libiberty
28521 configure-stage1-libiberty:
28522 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28523 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28524 @r=`${PWD_COMMAND}`; export r; \
28525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28526 TFLAGS="$(STAGE1_TFLAGS)"; \
28527 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28528 $(HOST_EXPORTS) \
28529 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
28530 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
28531 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
28532 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty; \
28533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
28534 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28535 case $(srcdir) in \
28536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28537 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28539 esac; \
28540 module_srcdir=libiberty; \
28541 $(SHELL) $$s/$$module_srcdir/configure \
28542 --srcdir=$${topdir}/$$module_srcdir \
28543 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28544 --target=${target_alias} \
28545 \
28546 $(STAGE1_CONFIGURE_FLAGS) \
28547 @extra_host_libiberty_configure_flags@
28548 @endif libiberty-bootstrap
28549
28550 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
28551 maybe-configure-stage2-libiberty:
28552 @if libiberty-bootstrap
28553 maybe-configure-stage2-libiberty: configure-stage2-libiberty
28554 configure-stage2-libiberty:
28555 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28556 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28557 @r=`${PWD_COMMAND}`; export r; \
28558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28559 TFLAGS="$(STAGE2_TFLAGS)"; \
28560 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28561 $(HOST_EXPORTS) \
28562 $(POSTSTAGE1_HOST_EXPORTS) \
28563 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
28564 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
28565 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
28566 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty; \
28567 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
28568 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28569 case $(srcdir) in \
28570 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28571 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28572 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28573 esac; \
28574 module_srcdir=libiberty; \
28575 $(SHELL) $$s/$$module_srcdir/configure \
28576 --srcdir=$${topdir}/$$module_srcdir \
28577 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28578 --target=${target_alias} \
28579 --with-build-libsubdir=$(HOST_SUBDIR) \
28580 $(STAGE2_CONFIGURE_FLAGS) \
28581 @extra_host_libiberty_configure_flags@
28582 @endif libiberty-bootstrap
28583
28584 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
28585 maybe-configure-stage3-libiberty:
28586 @if libiberty-bootstrap
28587 maybe-configure-stage3-libiberty: configure-stage3-libiberty
28588 configure-stage3-libiberty:
28589 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28590 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28591 @r=`${PWD_COMMAND}`; export r; \
28592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28593 TFLAGS="$(STAGE3_TFLAGS)"; \
28594 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28595 $(HOST_EXPORTS) \
28596 $(POSTSTAGE1_HOST_EXPORTS) \
28597 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
28598 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
28599 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
28600 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty; \
28601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
28602 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28603 case $(srcdir) in \
28604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28605 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28607 esac; \
28608 module_srcdir=libiberty; \
28609 $(SHELL) $$s/$$module_srcdir/configure \
28610 --srcdir=$${topdir}/$$module_srcdir \
28611 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28612 --target=${target_alias} \
28613 --with-build-libsubdir=$(HOST_SUBDIR) \
28614 $(STAGE3_CONFIGURE_FLAGS) \
28615 @extra_host_libiberty_configure_flags@
28616 @endif libiberty-bootstrap
28617
28618 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
28619 maybe-configure-stage4-libiberty:
28620 @if libiberty-bootstrap
28621 maybe-configure-stage4-libiberty: configure-stage4-libiberty
28622 configure-stage4-libiberty:
28623 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28624 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28625 @r=`${PWD_COMMAND}`; export r; \
28626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28627 TFLAGS="$(STAGE4_TFLAGS)"; \
28628 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28629 $(HOST_EXPORTS) \
28630 $(POSTSTAGE1_HOST_EXPORTS) \
28631 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
28632 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
28633 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
28634 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty; \
28635 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
28636 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28637 case $(srcdir) in \
28638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28639 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28641 esac; \
28642 module_srcdir=libiberty; \
28643 $(SHELL) $$s/$$module_srcdir/configure \
28644 --srcdir=$${topdir}/$$module_srcdir \
28645 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28646 --target=${target_alias} \
28647 --with-build-libsubdir=$(HOST_SUBDIR) \
28648 $(STAGE4_CONFIGURE_FLAGS) \
28649 @extra_host_libiberty_configure_flags@
28650 @endif libiberty-bootstrap
28651
28652 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
28653 maybe-configure-stageprofile-libiberty:
28654 @if libiberty-bootstrap
28655 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
28656 configure-stageprofile-libiberty:
28657 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
28658 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28659 @r=`${PWD_COMMAND}`; export r; \
28660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28661 TFLAGS="$(STAGEprofile_TFLAGS)"; \
28662 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28663 $(HOST_EXPORTS) \
28664 $(POSTSTAGE1_HOST_EXPORTS) \
28665 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
28666 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
28667 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
28668 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty; \
28669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
28670 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28671 case $(srcdir) in \
28672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28673 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28675 esac; \
28676 module_srcdir=libiberty; \
28677 $(SHELL) $$s/$$module_srcdir/configure \
28678 --srcdir=$${topdir}/$$module_srcdir \
28679 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28680 --target=${target_alias} \
28681 --with-build-libsubdir=$(HOST_SUBDIR) \
28682 $(STAGEprofile_CONFIGURE_FLAGS) \
28683 @extra_host_libiberty_configure_flags@
28684 @endif libiberty-bootstrap
28685
28686 .PHONY: configure-stagetrain-libiberty maybe-configure-stagetrain-libiberty
28687 maybe-configure-stagetrain-libiberty:
28688 @if libiberty-bootstrap
28689 maybe-configure-stagetrain-libiberty: configure-stagetrain-libiberty
28690 configure-stagetrain-libiberty:
28691 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
28692 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28693 @r=`${PWD_COMMAND}`; export r; \
28694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28695 TFLAGS="$(STAGEtrain_TFLAGS)"; \
28696 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28697 $(HOST_EXPORTS) \
28698 $(POSTSTAGE1_HOST_EXPORTS) \
28699 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
28700 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
28701 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
28702 echo Configuring stage train in $(HOST_SUBDIR)/libiberty; \
28703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
28704 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28705 case $(srcdir) in \
28706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28707 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28709 esac; \
28710 module_srcdir=libiberty; \
28711 $(SHELL) $$s/$$module_srcdir/configure \
28712 --srcdir=$${topdir}/$$module_srcdir \
28713 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28714 --target=${target_alias} \
28715 --with-build-libsubdir=$(HOST_SUBDIR) \
28716 $(STAGEtrain_CONFIGURE_FLAGS) \
28717 @extra_host_libiberty_configure_flags@
28718 @endif libiberty-bootstrap
28719
28720 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
28721 maybe-configure-stagefeedback-libiberty:
28722 @if libiberty-bootstrap
28723 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
28724 configure-stagefeedback-libiberty:
28725 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
28726 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28727 @r=`${PWD_COMMAND}`; export r; \
28728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28729 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
28730 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28731 $(HOST_EXPORTS) \
28732 $(POSTSTAGE1_HOST_EXPORTS) \
28733 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
28734 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
28735 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
28736 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty; \
28737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
28738 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28739 case $(srcdir) in \
28740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28741 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28743 esac; \
28744 module_srcdir=libiberty; \
28745 $(SHELL) $$s/$$module_srcdir/configure \
28746 --srcdir=$${topdir}/$$module_srcdir \
28747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28748 --target=${target_alias} \
28749 --with-build-libsubdir=$(HOST_SUBDIR) \
28750 $(STAGEfeedback_CONFIGURE_FLAGS) \
28751 @extra_host_libiberty_configure_flags@
28752 @endif libiberty-bootstrap
28753
28754 .PHONY: configure-stageautoprofile-libiberty maybe-configure-stageautoprofile-libiberty
28755 maybe-configure-stageautoprofile-libiberty:
28756 @if libiberty-bootstrap
28757 maybe-configure-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
28758 configure-stageautoprofile-libiberty:
28759 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
28760 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28761 @r=`${PWD_COMMAND}`; export r; \
28762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28763 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
28764 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28765 $(HOST_EXPORTS) \
28766 $(POSTSTAGE1_HOST_EXPORTS) \
28767 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
28768 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
28769 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
28770 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty; \
28771 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
28772 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28773 case $(srcdir) in \
28774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28775 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28777 esac; \
28778 module_srcdir=libiberty; \
28779 $(SHELL) $$s/$$module_srcdir/configure \
28780 --srcdir=$${topdir}/$$module_srcdir \
28781 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28782 --target=${target_alias} \
28783 --with-build-libsubdir=$(HOST_SUBDIR) \
28784 $(STAGEautoprofile_CONFIGURE_FLAGS) \
28785 @extra_host_libiberty_configure_flags@
28786 @endif libiberty-bootstrap
28787
28788 .PHONY: configure-stageautofeedback-libiberty maybe-configure-stageautofeedback-libiberty
28789 maybe-configure-stageautofeedback-libiberty:
28790 @if libiberty-bootstrap
28791 maybe-configure-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
28792 configure-stageautofeedback-libiberty:
28793 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
28794 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
28795 @r=`${PWD_COMMAND}`; export r; \
28796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28797 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
28798 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
28799 $(HOST_EXPORTS) \
28800 $(POSTSTAGE1_HOST_EXPORTS) \
28801 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
28802 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
28803 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
28804 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty; \
28805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty; \
28806 cd $(HOST_SUBDIR)/libiberty || exit 1; \
28807 case $(srcdir) in \
28808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28809 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
28810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28811 esac; \
28812 module_srcdir=libiberty; \
28813 $(SHELL) $$s/$$module_srcdir/configure \
28814 --srcdir=$${topdir}/$$module_srcdir \
28815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28816 --target=${target_alias} \
28817 --with-build-libsubdir=$(HOST_SUBDIR) \
28818 $(STAGEautofeedback_CONFIGURE_FLAGS) \
28819 @extra_host_libiberty_configure_flags@
28820 @endif libiberty-bootstrap
28821
28822
28823
28824
28825
28826 .PHONY: all-libiberty maybe-all-libiberty
28827 maybe-all-libiberty:
28828 @if gcc-bootstrap
28829 all-libiberty: stage_current
28830 @endif gcc-bootstrap
28831 @if libiberty
28832 TARGET-libiberty=all
28833 maybe-all-libiberty: all-libiberty
28834 all-libiberty: configure-libiberty
28835 @r=`${PWD_COMMAND}`; export r; \
28836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28837 $(HOST_EXPORTS) \
28838 (cd $(HOST_SUBDIR)/libiberty && \
28839 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28840 $(TARGET-libiberty))
28841 @endif libiberty
28842
28843
28844
28845 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
28846 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
28847 maybe-all-stage1-libiberty:
28848 maybe-clean-stage1-libiberty:
28849 @if libiberty-bootstrap
28850 maybe-all-stage1-libiberty: all-stage1-libiberty
28851 all-stage1: all-stage1-libiberty
28852 TARGET-stage1-libiberty = $(TARGET-libiberty)
28853 all-stage1-libiberty: configure-stage1-libiberty
28854 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
28855 @r=`${PWD_COMMAND}`; export r; \
28856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28857 TFLAGS="$(STAGE1_TFLAGS)"; \
28858 $(HOST_EXPORTS) \
28859 cd $(HOST_SUBDIR)/libiberty && \
28860 \
28861 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28862 CFLAGS="$(STAGE1_CFLAGS)" \
28863 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
28864 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
28865 LIBCFLAGS="$(LIBCFLAGS)" \
28866 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28867 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28868 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28869 $(EXTRA_HOST_FLAGS) \
28870 $(STAGE1_FLAGS_TO_PASS) \
28871 TFLAGS="$(STAGE1_TFLAGS)" \
28872 $(TARGET-stage1-libiberty)
28873
28874 maybe-clean-stage1-libiberty: clean-stage1-libiberty
28875 clean-stage1: clean-stage1-libiberty
28876 clean-stage1-libiberty:
28877 @if [ $(current_stage) = stage1 ]; then \
28878 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28879 else \
28880 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
28881 $(MAKE) stage1-start; \
28882 fi; \
28883 cd $(HOST_SUBDIR)/libiberty && \
28884 $(MAKE) $(EXTRA_HOST_FLAGS) \
28885 $(STAGE1_FLAGS_TO_PASS) clean
28886 @endif libiberty-bootstrap
28887
28888
28889 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
28890 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
28891 maybe-all-stage2-libiberty:
28892 maybe-clean-stage2-libiberty:
28893 @if libiberty-bootstrap
28894 maybe-all-stage2-libiberty: all-stage2-libiberty
28895 all-stage2: all-stage2-libiberty
28896 TARGET-stage2-libiberty = $(TARGET-libiberty)
28897 all-stage2-libiberty: configure-stage2-libiberty
28898 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
28899 @r=`${PWD_COMMAND}`; export r; \
28900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28901 TFLAGS="$(STAGE2_TFLAGS)"; \
28902 $(HOST_EXPORTS) \
28903 $(POSTSTAGE1_HOST_EXPORTS) \
28904 cd $(HOST_SUBDIR)/libiberty && \
28905 \
28906 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28907 CFLAGS="$(STAGE2_CFLAGS)" \
28908 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
28909 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
28910 LIBCFLAGS="$(STAGE2_CFLAGS)" \
28911 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28912 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28913 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28914 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28915 TFLAGS="$(STAGE2_TFLAGS)" \
28916 $(TARGET-stage2-libiberty)
28917
28918 maybe-clean-stage2-libiberty: clean-stage2-libiberty
28919 clean-stage2: clean-stage2-libiberty
28920 clean-stage2-libiberty:
28921 @if [ $(current_stage) = stage2 ]; then \
28922 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28923 else \
28924 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
28925 $(MAKE) stage2-start; \
28926 fi; \
28927 cd $(HOST_SUBDIR)/libiberty && \
28928 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
28929 @endif libiberty-bootstrap
28930
28931
28932 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
28933 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
28934 maybe-all-stage3-libiberty:
28935 maybe-clean-stage3-libiberty:
28936 @if libiberty-bootstrap
28937 maybe-all-stage3-libiberty: all-stage3-libiberty
28938 all-stage3: all-stage3-libiberty
28939 TARGET-stage3-libiberty = $(TARGET-libiberty)
28940 all-stage3-libiberty: configure-stage3-libiberty
28941 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
28942 @r=`${PWD_COMMAND}`; export r; \
28943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28944 TFLAGS="$(STAGE3_TFLAGS)"; \
28945 $(HOST_EXPORTS) \
28946 $(POSTSTAGE1_HOST_EXPORTS) \
28947 cd $(HOST_SUBDIR)/libiberty && \
28948 \
28949 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28950 CFLAGS="$(STAGE3_CFLAGS)" \
28951 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
28952 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
28953 LIBCFLAGS="$(STAGE3_CFLAGS)" \
28954 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28955 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28956 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
28957 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
28958 TFLAGS="$(STAGE3_TFLAGS)" \
28959 $(TARGET-stage3-libiberty)
28960
28961 maybe-clean-stage3-libiberty: clean-stage3-libiberty
28962 clean-stage3: clean-stage3-libiberty
28963 clean-stage3-libiberty:
28964 @if [ $(current_stage) = stage3 ]; then \
28965 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
28966 else \
28967 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
28968 $(MAKE) stage3-start; \
28969 fi; \
28970 cd $(HOST_SUBDIR)/libiberty && \
28971 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
28972 @endif libiberty-bootstrap
28973
28974
28975 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
28976 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
28977 maybe-all-stage4-libiberty:
28978 maybe-clean-stage4-libiberty:
28979 @if libiberty-bootstrap
28980 maybe-all-stage4-libiberty: all-stage4-libiberty
28981 all-stage4: all-stage4-libiberty
28982 TARGET-stage4-libiberty = $(TARGET-libiberty)
28983 all-stage4-libiberty: configure-stage4-libiberty
28984 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
28985 @r=`${PWD_COMMAND}`; export r; \
28986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28987 TFLAGS="$(STAGE4_TFLAGS)"; \
28988 $(HOST_EXPORTS) \
28989 $(POSTSTAGE1_HOST_EXPORTS) \
28990 cd $(HOST_SUBDIR)/libiberty && \
28991 \
28992 $(MAKE) $(BASE_FLAGS_TO_PASS) \
28993 CFLAGS="$(STAGE4_CFLAGS)" \
28994 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
28995 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
28996 LIBCFLAGS="$(STAGE4_CFLAGS)" \
28997 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
28998 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
28999 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29000 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29001 TFLAGS="$(STAGE4_TFLAGS)" \
29002 $(TARGET-stage4-libiberty)
29003
29004 maybe-clean-stage4-libiberty: clean-stage4-libiberty
29005 clean-stage4: clean-stage4-libiberty
29006 clean-stage4-libiberty:
29007 @if [ $(current_stage) = stage4 ]; then \
29008 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29009 else \
29010 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
29011 $(MAKE) stage4-start; \
29012 fi; \
29013 cd $(HOST_SUBDIR)/libiberty && \
29014 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29015 @endif libiberty-bootstrap
29016
29017
29018 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
29019 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
29020 maybe-all-stageprofile-libiberty:
29021 maybe-clean-stageprofile-libiberty:
29022 @if libiberty-bootstrap
29023 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
29024 all-stageprofile: all-stageprofile-libiberty
29025 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
29026 all-stageprofile-libiberty: configure-stageprofile-libiberty
29027 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29028 @r=`${PWD_COMMAND}`; export r; \
29029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29030 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29031 $(HOST_EXPORTS) \
29032 $(POSTSTAGE1_HOST_EXPORTS) \
29033 cd $(HOST_SUBDIR)/libiberty && \
29034 \
29035 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29036 CFLAGS="$(STAGEprofile_CFLAGS)" \
29037 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
29038 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
29039 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
29040 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29041 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29042 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29043 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29044 TFLAGS="$(STAGEprofile_TFLAGS)" \
29045 $(TARGET-stageprofile-libiberty)
29046
29047 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
29048 clean-stageprofile: clean-stageprofile-libiberty
29049 clean-stageprofile-libiberty:
29050 @if [ $(current_stage) = stageprofile ]; then \
29051 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29052 else \
29053 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
29054 $(MAKE) stageprofile-start; \
29055 fi; \
29056 cd $(HOST_SUBDIR)/libiberty && \
29057 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29058 @endif libiberty-bootstrap
29059
29060
29061 .PHONY: all-stagetrain-libiberty maybe-all-stagetrain-libiberty
29062 .PHONY: clean-stagetrain-libiberty maybe-clean-stagetrain-libiberty
29063 maybe-all-stagetrain-libiberty:
29064 maybe-clean-stagetrain-libiberty:
29065 @if libiberty-bootstrap
29066 maybe-all-stagetrain-libiberty: all-stagetrain-libiberty
29067 all-stagetrain: all-stagetrain-libiberty
29068 TARGET-stagetrain-libiberty = $(TARGET-libiberty)
29069 all-stagetrain-libiberty: configure-stagetrain-libiberty
29070 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29071 @r=`${PWD_COMMAND}`; export r; \
29072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29073 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29074 $(HOST_EXPORTS) \
29075 $(POSTSTAGE1_HOST_EXPORTS) \
29076 cd $(HOST_SUBDIR)/libiberty && \
29077 \
29078 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29079 CFLAGS="$(STAGEtrain_CFLAGS)" \
29080 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
29081 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
29082 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
29083 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29084 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29085 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29086 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29087 TFLAGS="$(STAGEtrain_TFLAGS)" \
29088 $(TARGET-stagetrain-libiberty)
29089
29090 maybe-clean-stagetrain-libiberty: clean-stagetrain-libiberty
29091 clean-stagetrain: clean-stagetrain-libiberty
29092 clean-stagetrain-libiberty:
29093 @if [ $(current_stage) = stagetrain ]; then \
29094 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29095 else \
29096 [ -f $(HOST_SUBDIR)/stagetrain-libiberty/Makefile ] || exit 0; \
29097 $(MAKE) stagetrain-start; \
29098 fi; \
29099 cd $(HOST_SUBDIR)/libiberty && \
29100 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29101 @endif libiberty-bootstrap
29102
29103
29104 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
29105 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
29106 maybe-all-stagefeedback-libiberty:
29107 maybe-clean-stagefeedback-libiberty:
29108 @if libiberty-bootstrap
29109 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
29110 all-stagefeedback: all-stagefeedback-libiberty
29111 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
29112 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
29113 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29114 @r=`${PWD_COMMAND}`; export r; \
29115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29116 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29117 $(HOST_EXPORTS) \
29118 $(POSTSTAGE1_HOST_EXPORTS) \
29119 cd $(HOST_SUBDIR)/libiberty && \
29120 \
29121 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29122 CFLAGS="$(STAGEfeedback_CFLAGS)" \
29123 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
29124 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
29125 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
29126 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29127 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29128 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29129 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29130 TFLAGS="$(STAGEfeedback_TFLAGS)" \
29131 $(TARGET-stagefeedback-libiberty)
29132
29133 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
29134 clean-stagefeedback: clean-stagefeedback-libiberty
29135 clean-stagefeedback-libiberty:
29136 @if [ $(current_stage) = stagefeedback ]; then \
29137 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29138 else \
29139 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
29140 $(MAKE) stagefeedback-start; \
29141 fi; \
29142 cd $(HOST_SUBDIR)/libiberty && \
29143 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29144 @endif libiberty-bootstrap
29145
29146
29147 .PHONY: all-stageautoprofile-libiberty maybe-all-stageautoprofile-libiberty
29148 .PHONY: clean-stageautoprofile-libiberty maybe-clean-stageautoprofile-libiberty
29149 maybe-all-stageautoprofile-libiberty:
29150 maybe-clean-stageautoprofile-libiberty:
29151 @if libiberty-bootstrap
29152 maybe-all-stageautoprofile-libiberty: all-stageautoprofile-libiberty
29153 all-stageautoprofile: all-stageautoprofile-libiberty
29154 TARGET-stageautoprofile-libiberty = $(TARGET-libiberty)
29155 all-stageautoprofile-libiberty: configure-stageautoprofile-libiberty
29156 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29157 @r=`${PWD_COMMAND}`; export r; \
29158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29159 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29160 $(HOST_EXPORTS) \
29161 $(POSTSTAGE1_HOST_EXPORTS) \
29162 cd $(HOST_SUBDIR)/libiberty && \
29163 $$s/gcc/config/i386/$(AUTO_PROFILE) \
29164 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29165 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
29166 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
29167 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
29168 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
29169 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29170 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29171 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29172 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29173 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
29174 $(TARGET-stageautoprofile-libiberty)
29175
29176 maybe-clean-stageautoprofile-libiberty: clean-stageautoprofile-libiberty
29177 clean-stageautoprofile: clean-stageautoprofile-libiberty
29178 clean-stageautoprofile-libiberty:
29179 @if [ $(current_stage) = stageautoprofile ]; then \
29180 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29181 else \
29182 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty/Makefile ] || exit 0; \
29183 $(MAKE) stageautoprofile-start; \
29184 fi; \
29185 cd $(HOST_SUBDIR)/libiberty && \
29186 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29187 @endif libiberty-bootstrap
29188
29189
29190 .PHONY: all-stageautofeedback-libiberty maybe-all-stageautofeedback-libiberty
29191 .PHONY: clean-stageautofeedback-libiberty maybe-clean-stageautofeedback-libiberty
29192 maybe-all-stageautofeedback-libiberty:
29193 maybe-clean-stageautofeedback-libiberty:
29194 @if libiberty-bootstrap
29195 maybe-all-stageautofeedback-libiberty: all-stageautofeedback-libiberty
29196 all-stageautofeedback: all-stageautofeedback-libiberty
29197 TARGET-stageautofeedback-libiberty = $(TARGET-libiberty)
29198 all-stageautofeedback-libiberty: configure-stageautofeedback-libiberty
29199 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29200 @r=`${PWD_COMMAND}`; export r; \
29201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29202 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29203 $(HOST_EXPORTS) \
29204 $(POSTSTAGE1_HOST_EXPORTS) \
29205 cd $(HOST_SUBDIR)/libiberty && \
29206 \
29207 $(MAKE) $(BASE_FLAGS_TO_PASS) \
29208 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
29209 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
29210 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
29211 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
29212 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
29213 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
29214 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
29215 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
29216 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
29217 $(TARGET-stageautofeedback-libiberty)
29218
29219 maybe-clean-stageautofeedback-libiberty: clean-stageautofeedback-libiberty
29220 clean-stageautofeedback: clean-stageautofeedback-libiberty
29221 clean-stageautofeedback-libiberty:
29222 @if [ $(current_stage) = stageautofeedback ]; then \
29223 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
29224 else \
29225 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty/Makefile ] || exit 0; \
29226 $(MAKE) stageautofeedback-start; \
29227 fi; \
29228 cd $(HOST_SUBDIR)/libiberty && \
29229 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
29230 @endif libiberty-bootstrap
29231
29232
29233
29234
29235
29236 .PHONY: check-libiberty maybe-check-libiberty
29237 maybe-check-libiberty:
29238 @if libiberty
29239 maybe-check-libiberty: check-libiberty
29240
29241 check-libiberty:
29242 @: $(MAKE); $(unstage)
29243 @r=`${PWD_COMMAND}`; export r; \
29244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29245 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
29246 (cd $(HOST_SUBDIR)/libiberty && \
29247 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
29248
29249 @endif libiberty
29250
29251 .PHONY: install-libiberty maybe-install-libiberty
29252 maybe-install-libiberty:
29253 @if libiberty
29254 maybe-install-libiberty: install-libiberty
29255
29256 install-libiberty: installdirs
29257 @: $(MAKE); $(unstage)
29258 @r=`${PWD_COMMAND}`; export r; \
29259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29260 $(HOST_EXPORTS) \
29261 (cd $(HOST_SUBDIR)/libiberty && \
29262 $(MAKE) $(FLAGS_TO_PASS) install)
29263
29264 @endif libiberty
29265
29266 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
29267 maybe-install-strip-libiberty:
29268 @if libiberty
29269 maybe-install-strip-libiberty: install-strip-libiberty
29270
29271 install-strip-libiberty: installdirs
29272 @: $(MAKE); $(unstage)
29273 @r=`${PWD_COMMAND}`; export r; \
29274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29275 $(HOST_EXPORTS) \
29276 (cd $(HOST_SUBDIR)/libiberty && \
29277 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29278
29279 @endif libiberty
29280
29281 # Other targets (info, dvi, pdf, etc.)
29282
29283 .PHONY: maybe-info-libiberty info-libiberty
29284 maybe-info-libiberty:
29285 @if libiberty
29286 maybe-info-libiberty: info-libiberty
29287
29288 info-libiberty: \
29289 configure-libiberty
29290 @[ -f ./libiberty/Makefile ] || exit 0; \
29291 r=`${PWD_COMMAND}`; export r; \
29292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29293 $(HOST_EXPORTS) \
29294 for flag in $(EXTRA_HOST_FLAGS) ; do \
29295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29296 done; \
29297 echo "Doing info in libiberty"; \
29298 (cd $(HOST_SUBDIR)/libiberty && \
29299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29301 "RANLIB=$${RANLIB}" \
29302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29303 info) \
29304 || exit 1
29305
29306 @endif libiberty
29307
29308 .PHONY: maybe-dvi-libiberty dvi-libiberty
29309 maybe-dvi-libiberty:
29310 @if libiberty
29311 maybe-dvi-libiberty: dvi-libiberty
29312
29313 dvi-libiberty: \
29314 configure-libiberty
29315 @[ -f ./libiberty/Makefile ] || exit 0; \
29316 r=`${PWD_COMMAND}`; export r; \
29317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29318 $(HOST_EXPORTS) \
29319 for flag in $(EXTRA_HOST_FLAGS) ; do \
29320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29321 done; \
29322 echo "Doing dvi in libiberty"; \
29323 (cd $(HOST_SUBDIR)/libiberty && \
29324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29326 "RANLIB=$${RANLIB}" \
29327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29328 dvi) \
29329 || exit 1
29330
29331 @endif libiberty
29332
29333 .PHONY: maybe-pdf-libiberty pdf-libiberty
29334 maybe-pdf-libiberty:
29335 @if libiberty
29336 maybe-pdf-libiberty: pdf-libiberty
29337
29338 pdf-libiberty: \
29339 configure-libiberty
29340 @[ -f ./libiberty/Makefile ] || exit 0; \
29341 r=`${PWD_COMMAND}`; export r; \
29342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29343 $(HOST_EXPORTS) \
29344 for flag in $(EXTRA_HOST_FLAGS) ; do \
29345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29346 done; \
29347 echo "Doing pdf in libiberty"; \
29348 (cd $(HOST_SUBDIR)/libiberty && \
29349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29351 "RANLIB=$${RANLIB}" \
29352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29353 pdf) \
29354 || exit 1
29355
29356 @endif libiberty
29357
29358 .PHONY: maybe-html-libiberty html-libiberty
29359 maybe-html-libiberty:
29360 @if libiberty
29361 maybe-html-libiberty: html-libiberty
29362
29363 html-libiberty: \
29364 configure-libiberty
29365 @[ -f ./libiberty/Makefile ] || exit 0; \
29366 r=`${PWD_COMMAND}`; export r; \
29367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29368 $(HOST_EXPORTS) \
29369 for flag in $(EXTRA_HOST_FLAGS) ; do \
29370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29371 done; \
29372 echo "Doing html in libiberty"; \
29373 (cd $(HOST_SUBDIR)/libiberty && \
29374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29376 "RANLIB=$${RANLIB}" \
29377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29378 html) \
29379 || exit 1
29380
29381 @endif libiberty
29382
29383 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
29384 maybe-TAGS-libiberty:
29385 @if libiberty
29386 maybe-TAGS-libiberty: TAGS-libiberty
29387
29388 TAGS-libiberty: \
29389 configure-libiberty
29390 @[ -f ./libiberty/Makefile ] || exit 0; \
29391 r=`${PWD_COMMAND}`; export r; \
29392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29393 $(HOST_EXPORTS) \
29394 for flag in $(EXTRA_HOST_FLAGS) ; do \
29395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29396 done; \
29397 echo "Doing TAGS in libiberty"; \
29398 (cd $(HOST_SUBDIR)/libiberty && \
29399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29401 "RANLIB=$${RANLIB}" \
29402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29403 TAGS) \
29404 || exit 1
29405
29406 @endif libiberty
29407
29408 .PHONY: maybe-install-info-libiberty install-info-libiberty
29409 maybe-install-info-libiberty:
29410 @if libiberty
29411 maybe-install-info-libiberty: install-info-libiberty
29412
29413 install-info-libiberty: \
29414 configure-libiberty \
29415 info-libiberty
29416 @[ -f ./libiberty/Makefile ] || exit 0; \
29417 r=`${PWD_COMMAND}`; export r; \
29418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29419 $(HOST_EXPORTS) \
29420 for flag in $(EXTRA_HOST_FLAGS) ; do \
29421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29422 done; \
29423 echo "Doing install-info in libiberty"; \
29424 (cd $(HOST_SUBDIR)/libiberty && \
29425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29427 "RANLIB=$${RANLIB}" \
29428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29429 install-info) \
29430 || exit 1
29431
29432 @endif libiberty
29433
29434 .PHONY: maybe-install-dvi-libiberty install-dvi-libiberty
29435 maybe-install-dvi-libiberty:
29436 @if libiberty
29437 maybe-install-dvi-libiberty: install-dvi-libiberty
29438
29439 install-dvi-libiberty: \
29440 configure-libiberty \
29441 dvi-libiberty
29442 @[ -f ./libiberty/Makefile ] || exit 0; \
29443 r=`${PWD_COMMAND}`; export r; \
29444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29445 $(HOST_EXPORTS) \
29446 for flag in $(EXTRA_HOST_FLAGS) ; do \
29447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29448 done; \
29449 echo "Doing install-dvi in libiberty"; \
29450 (cd $(HOST_SUBDIR)/libiberty && \
29451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29453 "RANLIB=$${RANLIB}" \
29454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29455 install-dvi) \
29456 || exit 1
29457
29458 @endif libiberty
29459
29460 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
29461 maybe-install-pdf-libiberty:
29462 @if libiberty
29463 maybe-install-pdf-libiberty: install-pdf-libiberty
29464
29465 install-pdf-libiberty: \
29466 configure-libiberty \
29467 pdf-libiberty
29468 @[ -f ./libiberty/Makefile ] || exit 0; \
29469 r=`${PWD_COMMAND}`; export r; \
29470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29471 $(HOST_EXPORTS) \
29472 for flag in $(EXTRA_HOST_FLAGS) ; do \
29473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29474 done; \
29475 echo "Doing install-pdf in libiberty"; \
29476 (cd $(HOST_SUBDIR)/libiberty && \
29477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29479 "RANLIB=$${RANLIB}" \
29480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29481 install-pdf) \
29482 || exit 1
29483
29484 @endif libiberty
29485
29486 .PHONY: maybe-install-html-libiberty install-html-libiberty
29487 maybe-install-html-libiberty:
29488 @if libiberty
29489 maybe-install-html-libiberty: install-html-libiberty
29490
29491 install-html-libiberty: \
29492 configure-libiberty \
29493 html-libiberty
29494 @[ -f ./libiberty/Makefile ] || exit 0; \
29495 r=`${PWD_COMMAND}`; export r; \
29496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29497 $(HOST_EXPORTS) \
29498 for flag in $(EXTRA_HOST_FLAGS) ; do \
29499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29500 done; \
29501 echo "Doing install-html in libiberty"; \
29502 (cd $(HOST_SUBDIR)/libiberty && \
29503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29505 "RANLIB=$${RANLIB}" \
29506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29507 install-html) \
29508 || exit 1
29509
29510 @endif libiberty
29511
29512 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
29513 maybe-installcheck-libiberty:
29514 @if libiberty
29515 maybe-installcheck-libiberty: installcheck-libiberty
29516
29517 installcheck-libiberty: \
29518 configure-libiberty
29519 @[ -f ./libiberty/Makefile ] || exit 0; \
29520 r=`${PWD_COMMAND}`; export r; \
29521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29522 $(HOST_EXPORTS) \
29523 for flag in $(EXTRA_HOST_FLAGS) ; do \
29524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29525 done; \
29526 echo "Doing installcheck in libiberty"; \
29527 (cd $(HOST_SUBDIR)/libiberty && \
29528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29530 "RANLIB=$${RANLIB}" \
29531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29532 installcheck) \
29533 || exit 1
29534
29535 @endif libiberty
29536
29537 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
29538 maybe-mostlyclean-libiberty:
29539 @if libiberty
29540 maybe-mostlyclean-libiberty: mostlyclean-libiberty
29541
29542 mostlyclean-libiberty:
29543 @[ -f ./libiberty/Makefile ] || exit 0; \
29544 r=`${PWD_COMMAND}`; export r; \
29545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29546 $(HOST_EXPORTS) \
29547 for flag in $(EXTRA_HOST_FLAGS) ; do \
29548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29549 done; \
29550 echo "Doing mostlyclean in libiberty"; \
29551 (cd $(HOST_SUBDIR)/libiberty && \
29552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29554 "RANLIB=$${RANLIB}" \
29555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29556 mostlyclean) \
29557 || exit 1
29558
29559 @endif libiberty
29560
29561 .PHONY: maybe-clean-libiberty clean-libiberty
29562 maybe-clean-libiberty:
29563 @if libiberty
29564 maybe-clean-libiberty: clean-libiberty
29565
29566 clean-libiberty:
29567 @[ -f ./libiberty/Makefile ] || exit 0; \
29568 r=`${PWD_COMMAND}`; export r; \
29569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29570 $(HOST_EXPORTS) \
29571 for flag in $(EXTRA_HOST_FLAGS) ; do \
29572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29573 done; \
29574 echo "Doing clean in libiberty"; \
29575 (cd $(HOST_SUBDIR)/libiberty && \
29576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29578 "RANLIB=$${RANLIB}" \
29579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29580 clean) \
29581 || exit 1
29582
29583 @endif libiberty
29584
29585 .PHONY: maybe-distclean-libiberty distclean-libiberty
29586 maybe-distclean-libiberty:
29587 @if libiberty
29588 maybe-distclean-libiberty: distclean-libiberty
29589
29590 distclean-libiberty:
29591 @[ -f ./libiberty/Makefile ] || exit 0; \
29592 r=`${PWD_COMMAND}`; export r; \
29593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29594 $(HOST_EXPORTS) \
29595 for flag in $(EXTRA_HOST_FLAGS) ; do \
29596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29597 done; \
29598 echo "Doing distclean in libiberty"; \
29599 (cd $(HOST_SUBDIR)/libiberty && \
29600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29602 "RANLIB=$${RANLIB}" \
29603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29604 distclean) \
29605 || exit 1
29606
29607 @endif libiberty
29608
29609 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
29610 maybe-maintainer-clean-libiberty:
29611 @if libiberty
29612 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
29613
29614 maintainer-clean-libiberty:
29615 @[ -f ./libiberty/Makefile ] || exit 0; \
29616 r=`${PWD_COMMAND}`; export r; \
29617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29618 $(HOST_EXPORTS) \
29619 for flag in $(EXTRA_HOST_FLAGS) ; do \
29620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29621 done; \
29622 echo "Doing maintainer-clean in libiberty"; \
29623 (cd $(HOST_SUBDIR)/libiberty && \
29624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29626 "RANLIB=$${RANLIB}" \
29627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29628 maintainer-clean) \
29629 || exit 1
29630
29631 @endif libiberty
29632
29633
29634
29635 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
29636 maybe-configure-libiberty-linker-plugin:
29637 @if gcc-bootstrap
29638 configure-libiberty-linker-plugin: stage_current
29639 @endif gcc-bootstrap
29640 @if libiberty-linker-plugin
29641 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
29642 configure-libiberty-linker-plugin:
29643 @r=`${PWD_COMMAND}`; export r; \
29644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29645 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29647 $(HOST_EXPORTS) \
29648 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29649 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
29650 case $(srcdir) in \
29651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29652 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29654 esac; \
29655 module_srcdir=libiberty; \
29656 $(SHELL) \
29657 $$s/$$module_srcdir/configure \
29658 --srcdir=$${topdir}/$$module_srcdir \
29659 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29660 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
29661 || exit 1
29662 @endif libiberty-linker-plugin
29663
29664
29665
29666 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
29667 maybe-configure-stage1-libiberty-linker-plugin:
29668 @if libiberty-linker-plugin-bootstrap
29669 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
29670 configure-stage1-libiberty-linker-plugin:
29671 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
29672 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
29673 @r=`${PWD_COMMAND}`; export r; \
29674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29675 TFLAGS="$(STAGE1_TFLAGS)"; \
29676 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29677 $(HOST_EXPORTS) \
29678 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
29679 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
29680 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
29681 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29683 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
29684 case $(srcdir) in \
29685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29686 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29688 esac; \
29689 module_srcdir=libiberty; \
29690 $(SHELL) $$s/$$module_srcdir/configure \
29691 --srcdir=$${topdir}/$$module_srcdir \
29692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29693 --target=${target_alias} \
29694 \
29695 $(STAGE1_CONFIGURE_FLAGS) \
29696 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
29697 @endif libiberty-linker-plugin-bootstrap
29698
29699 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
29700 maybe-configure-stage2-libiberty-linker-plugin:
29701 @if libiberty-linker-plugin-bootstrap
29702 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
29703 configure-stage2-libiberty-linker-plugin:
29704 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
29705 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
29706 @r=`${PWD_COMMAND}`; export r; \
29707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29708 TFLAGS="$(STAGE2_TFLAGS)"; \
29709 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29710 $(HOST_EXPORTS) \
29711 $(POSTSTAGE1_HOST_EXPORTS) \
29712 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
29713 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
29714 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
29715 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29716 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29717 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
29718 case $(srcdir) in \
29719 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29720 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29721 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29722 esac; \
29723 module_srcdir=libiberty; \
29724 $(SHELL) $$s/$$module_srcdir/configure \
29725 --srcdir=$${topdir}/$$module_srcdir \
29726 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29727 --target=${target_alias} \
29728 --with-build-libsubdir=$(HOST_SUBDIR) \
29729 $(STAGE2_CONFIGURE_FLAGS) \
29730 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
29731 @endif libiberty-linker-plugin-bootstrap
29732
29733 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
29734 maybe-configure-stage3-libiberty-linker-plugin:
29735 @if libiberty-linker-plugin-bootstrap
29736 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
29737 configure-stage3-libiberty-linker-plugin:
29738 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
29739 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
29740 @r=`${PWD_COMMAND}`; export r; \
29741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29742 TFLAGS="$(STAGE3_TFLAGS)"; \
29743 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29744 $(HOST_EXPORTS) \
29745 $(POSTSTAGE1_HOST_EXPORTS) \
29746 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
29747 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
29748 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
29749 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29750 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29751 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
29752 case $(srcdir) in \
29753 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29754 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29755 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29756 esac; \
29757 module_srcdir=libiberty; \
29758 $(SHELL) $$s/$$module_srcdir/configure \
29759 --srcdir=$${topdir}/$$module_srcdir \
29760 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29761 --target=${target_alias} \
29762 --with-build-libsubdir=$(HOST_SUBDIR) \
29763 $(STAGE3_CONFIGURE_FLAGS) \
29764 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
29765 @endif libiberty-linker-plugin-bootstrap
29766
29767 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
29768 maybe-configure-stage4-libiberty-linker-plugin:
29769 @if libiberty-linker-plugin-bootstrap
29770 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
29771 configure-stage4-libiberty-linker-plugin:
29772 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
29773 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
29774 @r=`${PWD_COMMAND}`; export r; \
29775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29776 TFLAGS="$(STAGE4_TFLAGS)"; \
29777 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29778 $(HOST_EXPORTS) \
29779 $(POSTSTAGE1_HOST_EXPORTS) \
29780 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
29781 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
29782 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
29783 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29785 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
29786 case $(srcdir) in \
29787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29788 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29790 esac; \
29791 module_srcdir=libiberty; \
29792 $(SHELL) $$s/$$module_srcdir/configure \
29793 --srcdir=$${topdir}/$$module_srcdir \
29794 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29795 --target=${target_alias} \
29796 --with-build-libsubdir=$(HOST_SUBDIR) \
29797 $(STAGE4_CONFIGURE_FLAGS) \
29798 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
29799 @endif libiberty-linker-plugin-bootstrap
29800
29801 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
29802 maybe-configure-stageprofile-libiberty-linker-plugin:
29803 @if libiberty-linker-plugin-bootstrap
29804 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
29805 configure-stageprofile-libiberty-linker-plugin:
29806 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
29807 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
29808 @r=`${PWD_COMMAND}`; export r; \
29809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29810 TFLAGS="$(STAGEprofile_TFLAGS)"; \
29811 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29812 $(HOST_EXPORTS) \
29813 $(POSTSTAGE1_HOST_EXPORTS) \
29814 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
29815 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
29816 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
29817 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29818 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29819 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
29820 case $(srcdir) in \
29821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29822 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29824 esac; \
29825 module_srcdir=libiberty; \
29826 $(SHELL) $$s/$$module_srcdir/configure \
29827 --srcdir=$${topdir}/$$module_srcdir \
29828 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29829 --target=${target_alias} \
29830 --with-build-libsubdir=$(HOST_SUBDIR) \
29831 $(STAGEprofile_CONFIGURE_FLAGS) \
29832 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
29833 @endif libiberty-linker-plugin-bootstrap
29834
29835 .PHONY: configure-stagetrain-libiberty-linker-plugin maybe-configure-stagetrain-libiberty-linker-plugin
29836 maybe-configure-stagetrain-libiberty-linker-plugin:
29837 @if libiberty-linker-plugin-bootstrap
29838 maybe-configure-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
29839 configure-stagetrain-libiberty-linker-plugin:
29840 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
29841 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
29842 @r=`${PWD_COMMAND}`; export r; \
29843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29844 TFLAGS="$(STAGEtrain_TFLAGS)"; \
29845 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29846 $(HOST_EXPORTS) \
29847 $(POSTSTAGE1_HOST_EXPORTS) \
29848 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
29849 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
29850 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
29851 echo Configuring stage train in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29853 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
29854 case $(srcdir) in \
29855 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29856 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29857 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29858 esac; \
29859 module_srcdir=libiberty; \
29860 $(SHELL) $$s/$$module_srcdir/configure \
29861 --srcdir=$${topdir}/$$module_srcdir \
29862 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29863 --target=${target_alias} \
29864 --with-build-libsubdir=$(HOST_SUBDIR) \
29865 $(STAGEtrain_CONFIGURE_FLAGS) \
29866 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
29867 @endif libiberty-linker-plugin-bootstrap
29868
29869 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
29870 maybe-configure-stagefeedback-libiberty-linker-plugin:
29871 @if libiberty-linker-plugin-bootstrap
29872 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
29873 configure-stagefeedback-libiberty-linker-plugin:
29874 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
29875 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
29876 @r=`${PWD_COMMAND}`; export r; \
29877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29878 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
29879 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29880 $(HOST_EXPORTS) \
29881 $(POSTSTAGE1_HOST_EXPORTS) \
29882 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
29883 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
29884 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
29885 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29886 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29887 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
29888 case $(srcdir) in \
29889 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29890 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29891 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29892 esac; \
29893 module_srcdir=libiberty; \
29894 $(SHELL) $$s/$$module_srcdir/configure \
29895 --srcdir=$${topdir}/$$module_srcdir \
29896 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29897 --target=${target_alias} \
29898 --with-build-libsubdir=$(HOST_SUBDIR) \
29899 $(STAGEfeedback_CONFIGURE_FLAGS) \
29900 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
29901 @endif libiberty-linker-plugin-bootstrap
29902
29903 .PHONY: configure-stageautoprofile-libiberty-linker-plugin maybe-configure-stageautoprofile-libiberty-linker-plugin
29904 maybe-configure-stageautoprofile-libiberty-linker-plugin:
29905 @if libiberty-linker-plugin-bootstrap
29906 maybe-configure-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
29907 configure-stageautoprofile-libiberty-linker-plugin:
29908 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
29909 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
29910 @r=`${PWD_COMMAND}`; export r; \
29911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29912 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
29913 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29914 $(HOST_EXPORTS) \
29915 $(POSTSTAGE1_HOST_EXPORTS) \
29916 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
29917 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
29918 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
29919 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29921 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
29922 case $(srcdir) in \
29923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29924 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29926 esac; \
29927 module_srcdir=libiberty; \
29928 $(SHELL) $$s/$$module_srcdir/configure \
29929 --srcdir=$${topdir}/$$module_srcdir \
29930 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29931 --target=${target_alias} \
29932 --with-build-libsubdir=$(HOST_SUBDIR) \
29933 $(STAGEautoprofile_CONFIGURE_FLAGS) \
29934 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
29935 @endif libiberty-linker-plugin-bootstrap
29936
29937 .PHONY: configure-stageautofeedback-libiberty-linker-plugin maybe-configure-stageautofeedback-libiberty-linker-plugin
29938 maybe-configure-stageautofeedback-libiberty-linker-plugin:
29939 @if libiberty-linker-plugin-bootstrap
29940 maybe-configure-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
29941 configure-stageautofeedback-libiberty-linker-plugin:
29942 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
29943 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
29944 @r=`${PWD_COMMAND}`; export r; \
29945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29946 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
29947 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
29948 $(HOST_EXPORTS) \
29949 $(POSTSTAGE1_HOST_EXPORTS) \
29950 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
29951 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
29952 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
29953 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiberty-linker-plugin; \
29954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin; \
29955 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
29956 case $(srcdir) in \
29957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29958 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
29959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29960 esac; \
29961 module_srcdir=libiberty; \
29962 $(SHELL) $$s/$$module_srcdir/configure \
29963 --srcdir=$${topdir}/$$module_srcdir \
29964 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29965 --target=${target_alias} \
29966 --with-build-libsubdir=$(HOST_SUBDIR) \
29967 $(STAGEautofeedback_CONFIGURE_FLAGS) \
29968 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
29969 @endif libiberty-linker-plugin-bootstrap
29970
29971
29972
29973
29974
29975 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
29976 maybe-all-libiberty-linker-plugin:
29977 @if gcc-bootstrap
29978 all-libiberty-linker-plugin: stage_current
29979 @endif gcc-bootstrap
29980 @if libiberty-linker-plugin
29981 TARGET-libiberty-linker-plugin=all
29982 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
29983 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
29984 @r=`${PWD_COMMAND}`; export r; \
29985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29986 $(HOST_EXPORTS) \
29987 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
29988 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
29989 $(TARGET-libiberty-linker-plugin))
29990 @endif libiberty-linker-plugin
29991
29992
29993
29994 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
29995 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
29996 maybe-all-stage1-libiberty-linker-plugin:
29997 maybe-clean-stage1-libiberty-linker-plugin:
29998 @if libiberty-linker-plugin-bootstrap
29999 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
30000 all-stage1: all-stage1-libiberty-linker-plugin
30001 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30002 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
30003 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30004 @r=`${PWD_COMMAND}`; export r; \
30005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30006 TFLAGS="$(STAGE1_TFLAGS)"; \
30007 $(HOST_EXPORTS) \
30008 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30009 \
30010 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30011 CFLAGS="$(STAGE1_CFLAGS)" \
30012 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
30013 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30014 LIBCFLAGS="$(LIBCFLAGS)" \
30015 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30016 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30017 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30018 $(EXTRA_HOST_FLAGS) \
30019 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30020 TFLAGS="$(STAGE1_TFLAGS)" \
30021 $(TARGET-stage1-libiberty-linker-plugin)
30022
30023 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
30024 clean-stage1: clean-stage1-libiberty-linker-plugin
30025 clean-stage1-libiberty-linker-plugin:
30026 @if [ $(current_stage) = stage1 ]; then \
30027 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30028 else \
30029 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
30030 $(MAKE) stage1-start; \
30031 fi; \
30032 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30033 $(MAKE) $(EXTRA_HOST_FLAGS) \
30034 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30035 @endif libiberty-linker-plugin-bootstrap
30036
30037
30038 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
30039 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
30040 maybe-all-stage2-libiberty-linker-plugin:
30041 maybe-clean-stage2-libiberty-linker-plugin:
30042 @if libiberty-linker-plugin-bootstrap
30043 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
30044 all-stage2: all-stage2-libiberty-linker-plugin
30045 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30046 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
30047 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30048 @r=`${PWD_COMMAND}`; export r; \
30049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30050 TFLAGS="$(STAGE2_TFLAGS)"; \
30051 $(HOST_EXPORTS) \
30052 $(POSTSTAGE1_HOST_EXPORTS) \
30053 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30054 \
30055 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30056 CFLAGS="$(STAGE2_CFLAGS)" \
30057 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
30058 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30059 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30060 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30061 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30062 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30063 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30064 TFLAGS="$(STAGE2_TFLAGS)" \
30065 $(TARGET-stage2-libiberty-linker-plugin)
30066
30067 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
30068 clean-stage2: clean-stage2-libiberty-linker-plugin
30069 clean-stage2-libiberty-linker-plugin:
30070 @if [ $(current_stage) = stage2 ]; then \
30071 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30072 else \
30073 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
30074 $(MAKE) stage2-start; \
30075 fi; \
30076 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30077 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30078 @endif libiberty-linker-plugin-bootstrap
30079
30080
30081 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
30082 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
30083 maybe-all-stage3-libiberty-linker-plugin:
30084 maybe-clean-stage3-libiberty-linker-plugin:
30085 @if libiberty-linker-plugin-bootstrap
30086 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
30087 all-stage3: all-stage3-libiberty-linker-plugin
30088 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30089 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
30090 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30091 @r=`${PWD_COMMAND}`; export r; \
30092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30093 TFLAGS="$(STAGE3_TFLAGS)"; \
30094 $(HOST_EXPORTS) \
30095 $(POSTSTAGE1_HOST_EXPORTS) \
30096 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30097 \
30098 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30099 CFLAGS="$(STAGE3_CFLAGS)" \
30100 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
30101 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30102 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30103 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30104 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30105 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30106 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30107 TFLAGS="$(STAGE3_TFLAGS)" \
30108 $(TARGET-stage3-libiberty-linker-plugin)
30109
30110 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
30111 clean-stage3: clean-stage3-libiberty-linker-plugin
30112 clean-stage3-libiberty-linker-plugin:
30113 @if [ $(current_stage) = stage3 ]; then \
30114 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30115 else \
30116 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
30117 $(MAKE) stage3-start; \
30118 fi; \
30119 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30120 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30121 @endif libiberty-linker-plugin-bootstrap
30122
30123
30124 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
30125 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
30126 maybe-all-stage4-libiberty-linker-plugin:
30127 maybe-clean-stage4-libiberty-linker-plugin:
30128 @if libiberty-linker-plugin-bootstrap
30129 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
30130 all-stage4: all-stage4-libiberty-linker-plugin
30131 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30132 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
30133 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30134 @r=`${PWD_COMMAND}`; export r; \
30135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30136 TFLAGS="$(STAGE4_TFLAGS)"; \
30137 $(HOST_EXPORTS) \
30138 $(POSTSTAGE1_HOST_EXPORTS) \
30139 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30140 \
30141 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30142 CFLAGS="$(STAGE4_CFLAGS)" \
30143 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
30144 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30145 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30146 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30147 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30148 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30149 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30150 TFLAGS="$(STAGE4_TFLAGS)" \
30151 $(TARGET-stage4-libiberty-linker-plugin)
30152
30153 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
30154 clean-stage4: clean-stage4-libiberty-linker-plugin
30155 clean-stage4-libiberty-linker-plugin:
30156 @if [ $(current_stage) = stage4 ]; then \
30157 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30158 else \
30159 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
30160 $(MAKE) stage4-start; \
30161 fi; \
30162 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30163 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30164 @endif libiberty-linker-plugin-bootstrap
30165
30166
30167 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
30168 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
30169 maybe-all-stageprofile-libiberty-linker-plugin:
30170 maybe-clean-stageprofile-libiberty-linker-plugin:
30171 @if libiberty-linker-plugin-bootstrap
30172 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
30173 all-stageprofile: all-stageprofile-libiberty-linker-plugin
30174 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30175 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
30176 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30177 @r=`${PWD_COMMAND}`; export r; \
30178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30179 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30180 $(HOST_EXPORTS) \
30181 $(POSTSTAGE1_HOST_EXPORTS) \
30182 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30183 \
30184 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30185 CFLAGS="$(STAGEprofile_CFLAGS)" \
30186 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
30187 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30188 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30192 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30193 TFLAGS="$(STAGEprofile_TFLAGS)" \
30194 $(TARGET-stageprofile-libiberty-linker-plugin)
30195
30196 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
30197 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
30198 clean-stageprofile-libiberty-linker-plugin:
30199 @if [ $(current_stage) = stageprofile ]; then \
30200 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30201 else \
30202 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
30203 $(MAKE) stageprofile-start; \
30204 fi; \
30205 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30206 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30207 @endif libiberty-linker-plugin-bootstrap
30208
30209
30210 .PHONY: all-stagetrain-libiberty-linker-plugin maybe-all-stagetrain-libiberty-linker-plugin
30211 .PHONY: clean-stagetrain-libiberty-linker-plugin maybe-clean-stagetrain-libiberty-linker-plugin
30212 maybe-all-stagetrain-libiberty-linker-plugin:
30213 maybe-clean-stagetrain-libiberty-linker-plugin:
30214 @if libiberty-linker-plugin-bootstrap
30215 maybe-all-stagetrain-libiberty-linker-plugin: all-stagetrain-libiberty-linker-plugin
30216 all-stagetrain: all-stagetrain-libiberty-linker-plugin
30217 TARGET-stagetrain-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30218 all-stagetrain-libiberty-linker-plugin: configure-stagetrain-libiberty-linker-plugin
30219 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
30220 @r=`${PWD_COMMAND}`; export r; \
30221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30222 TFLAGS="$(STAGEtrain_TFLAGS)"; \
30223 $(HOST_EXPORTS) \
30224 $(POSTSTAGE1_HOST_EXPORTS) \
30225 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30226 \
30227 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30228 CFLAGS="$(STAGEtrain_CFLAGS)" \
30229 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
30230 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
30231 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
30232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30235 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30236 TFLAGS="$(STAGEtrain_TFLAGS)" \
30237 $(TARGET-stagetrain-libiberty-linker-plugin)
30238
30239 maybe-clean-stagetrain-libiberty-linker-plugin: clean-stagetrain-libiberty-linker-plugin
30240 clean-stagetrain: clean-stagetrain-libiberty-linker-plugin
30241 clean-stagetrain-libiberty-linker-plugin:
30242 @if [ $(current_stage) = stagetrain ]; then \
30243 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30244 else \
30245 [ -f $(HOST_SUBDIR)/stagetrain-libiberty-linker-plugin/Makefile ] || exit 0; \
30246 $(MAKE) stagetrain-start; \
30247 fi; \
30248 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30249 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30250 @endif libiberty-linker-plugin-bootstrap
30251
30252
30253 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
30254 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
30255 maybe-all-stagefeedback-libiberty-linker-plugin:
30256 maybe-clean-stagefeedback-libiberty-linker-plugin:
30257 @if libiberty-linker-plugin-bootstrap
30258 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
30259 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
30260 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30261 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
30262 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30263 @r=`${PWD_COMMAND}`; export r; \
30264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30265 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30266 $(HOST_EXPORTS) \
30267 $(POSTSTAGE1_HOST_EXPORTS) \
30268 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30269 \
30270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30271 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30272 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
30273 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30274 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30275 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30276 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30277 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30278 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30279 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30280 $(TARGET-stagefeedback-libiberty-linker-plugin)
30281
30282 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
30283 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
30284 clean-stagefeedback-libiberty-linker-plugin:
30285 @if [ $(current_stage) = stagefeedback ]; then \
30286 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30287 else \
30288 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
30289 $(MAKE) stagefeedback-start; \
30290 fi; \
30291 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30292 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30293 @endif libiberty-linker-plugin-bootstrap
30294
30295
30296 .PHONY: all-stageautoprofile-libiberty-linker-plugin maybe-all-stageautoprofile-libiberty-linker-plugin
30297 .PHONY: clean-stageautoprofile-libiberty-linker-plugin maybe-clean-stageautoprofile-libiberty-linker-plugin
30298 maybe-all-stageautoprofile-libiberty-linker-plugin:
30299 maybe-clean-stageautoprofile-libiberty-linker-plugin:
30300 @if libiberty-linker-plugin-bootstrap
30301 maybe-all-stageautoprofile-libiberty-linker-plugin: all-stageautoprofile-libiberty-linker-plugin
30302 all-stageautoprofile: all-stageautoprofile-libiberty-linker-plugin
30303 TARGET-stageautoprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30304 all-stageautoprofile-libiberty-linker-plugin: configure-stageautoprofile-libiberty-linker-plugin
30305 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
30306 @r=`${PWD_COMMAND}`; export r; \
30307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30308 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
30309 $(HOST_EXPORTS) \
30310 $(POSTSTAGE1_HOST_EXPORTS) \
30311 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30312 $$s/gcc/config/i386/$(AUTO_PROFILE) \
30313 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30314 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
30315 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
30316 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
30317 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
30318 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30319 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30320 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30321 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30322 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
30323 $(TARGET-stageautoprofile-libiberty-linker-plugin)
30324
30325 maybe-clean-stageautoprofile-libiberty-linker-plugin: clean-stageautoprofile-libiberty-linker-plugin
30326 clean-stageautoprofile: clean-stageautoprofile-libiberty-linker-plugin
30327 clean-stageautoprofile-libiberty-linker-plugin:
30328 @if [ $(current_stage) = stageautoprofile ]; then \
30329 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30330 else \
30331 [ -f $(HOST_SUBDIR)/stageautoprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
30332 $(MAKE) stageautoprofile-start; \
30333 fi; \
30334 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30335 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30336 @endif libiberty-linker-plugin-bootstrap
30337
30338
30339 .PHONY: all-stageautofeedback-libiberty-linker-plugin maybe-all-stageautofeedback-libiberty-linker-plugin
30340 .PHONY: clean-stageautofeedback-libiberty-linker-plugin maybe-clean-stageautofeedback-libiberty-linker-plugin
30341 maybe-all-stageautofeedback-libiberty-linker-plugin:
30342 maybe-clean-stageautofeedback-libiberty-linker-plugin:
30343 @if libiberty-linker-plugin-bootstrap
30344 maybe-all-stageautofeedback-libiberty-linker-plugin: all-stageautofeedback-libiberty-linker-plugin
30345 all-stageautofeedback: all-stageautofeedback-libiberty-linker-plugin
30346 TARGET-stageautofeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
30347 all-stageautofeedback-libiberty-linker-plugin: configure-stageautofeedback-libiberty-linker-plugin
30348 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
30349 @r=`${PWD_COMMAND}`; export r; \
30350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30351 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
30352 $(HOST_EXPORTS) \
30353 $(POSTSTAGE1_HOST_EXPORTS) \
30354 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30355 \
30356 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30357 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
30358 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
30359 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
30360 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
30361 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30362 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30363 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30364 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30365 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
30366 $(TARGET-stageautofeedback-libiberty-linker-plugin)
30367
30368 maybe-clean-stageautofeedback-libiberty-linker-plugin: clean-stageautofeedback-libiberty-linker-plugin
30369 clean-stageautofeedback: clean-stageautofeedback-libiberty-linker-plugin
30370 clean-stageautofeedback-libiberty-linker-plugin:
30371 @if [ $(current_stage) = stageautofeedback ]; then \
30372 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
30373 else \
30374 [ -f $(HOST_SUBDIR)/stageautofeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
30375 $(MAKE) stageautofeedback-start; \
30376 fi; \
30377 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30378 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30379 @endif libiberty-linker-plugin-bootstrap
30380
30381
30382
30383
30384
30385 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
30386 maybe-check-libiberty-linker-plugin:
30387 @if libiberty-linker-plugin
30388 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
30389
30390 check-libiberty-linker-plugin:
30391 @: $(MAKE); $(unstage)
30392 @r=`${PWD_COMMAND}`; export r; \
30393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30394 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
30395 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30396 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
30397
30398 @endif libiberty-linker-plugin
30399
30400 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
30401 maybe-install-libiberty-linker-plugin:
30402 @if libiberty-linker-plugin
30403 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
30404
30405 install-libiberty-linker-plugin: installdirs
30406 @: $(MAKE); $(unstage)
30407 @r=`${PWD_COMMAND}`; export r; \
30408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30409 $(HOST_EXPORTS) \
30410 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30411 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
30412
30413 @endif libiberty-linker-plugin
30414
30415 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
30416 maybe-install-strip-libiberty-linker-plugin:
30417 @if libiberty-linker-plugin
30418 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
30419
30420 install-strip-libiberty-linker-plugin: installdirs
30421 @: $(MAKE); $(unstage)
30422 @r=`${PWD_COMMAND}`; export r; \
30423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30424 $(HOST_EXPORTS) \
30425 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30426 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
30427
30428 @endif libiberty-linker-plugin
30429
30430 # Other targets (info, dvi, pdf, etc.)
30431
30432 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
30433 maybe-info-libiberty-linker-plugin:
30434 @if libiberty-linker-plugin
30435 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
30436
30437 info-libiberty-linker-plugin: \
30438 configure-libiberty-linker-plugin
30439 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30440 r=`${PWD_COMMAND}`; export r; \
30441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30442 $(HOST_EXPORTS) \
30443 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30445 done; \
30446 echo "Doing info in libiberty-linker-plugin"; \
30447 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30450 "RANLIB=$${RANLIB}" \
30451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30452 info) \
30453 || exit 1
30454
30455 @endif libiberty-linker-plugin
30456
30457 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
30458 maybe-dvi-libiberty-linker-plugin:
30459 @if libiberty-linker-plugin
30460 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
30461
30462 dvi-libiberty-linker-plugin: \
30463 configure-libiberty-linker-plugin
30464 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30465 r=`${PWD_COMMAND}`; export r; \
30466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30467 $(HOST_EXPORTS) \
30468 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30470 done; \
30471 echo "Doing dvi in libiberty-linker-plugin"; \
30472 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30475 "RANLIB=$${RANLIB}" \
30476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30477 dvi) \
30478 || exit 1
30479
30480 @endif libiberty-linker-plugin
30481
30482 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
30483 maybe-pdf-libiberty-linker-plugin:
30484 @if libiberty-linker-plugin
30485 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
30486
30487 pdf-libiberty-linker-plugin: \
30488 configure-libiberty-linker-plugin
30489 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30490 r=`${PWD_COMMAND}`; export r; \
30491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30492 $(HOST_EXPORTS) \
30493 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30495 done; \
30496 echo "Doing pdf in libiberty-linker-plugin"; \
30497 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30500 "RANLIB=$${RANLIB}" \
30501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30502 pdf) \
30503 || exit 1
30504
30505 @endif libiberty-linker-plugin
30506
30507 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
30508 maybe-html-libiberty-linker-plugin:
30509 @if libiberty-linker-plugin
30510 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
30511
30512 html-libiberty-linker-plugin: \
30513 configure-libiberty-linker-plugin
30514 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30515 r=`${PWD_COMMAND}`; export r; \
30516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30517 $(HOST_EXPORTS) \
30518 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30520 done; \
30521 echo "Doing html in libiberty-linker-plugin"; \
30522 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30525 "RANLIB=$${RANLIB}" \
30526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30527 html) \
30528 || exit 1
30529
30530 @endif libiberty-linker-plugin
30531
30532 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
30533 maybe-TAGS-libiberty-linker-plugin:
30534 @if libiberty-linker-plugin
30535 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
30536
30537 TAGS-libiberty-linker-plugin: \
30538 configure-libiberty-linker-plugin
30539 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30540 r=`${PWD_COMMAND}`; export r; \
30541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30542 $(HOST_EXPORTS) \
30543 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30545 done; \
30546 echo "Doing TAGS in libiberty-linker-plugin"; \
30547 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30550 "RANLIB=$${RANLIB}" \
30551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30552 TAGS) \
30553 || exit 1
30554
30555 @endif libiberty-linker-plugin
30556
30557 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
30558 maybe-install-info-libiberty-linker-plugin:
30559 @if libiberty-linker-plugin
30560 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
30561
30562 install-info-libiberty-linker-plugin: \
30563 configure-libiberty-linker-plugin \
30564 info-libiberty-linker-plugin
30565 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30566 r=`${PWD_COMMAND}`; export r; \
30567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30568 $(HOST_EXPORTS) \
30569 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30571 done; \
30572 echo "Doing install-info in libiberty-linker-plugin"; \
30573 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30576 "RANLIB=$${RANLIB}" \
30577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30578 install-info) \
30579 || exit 1
30580
30581 @endif libiberty-linker-plugin
30582
30583 .PHONY: maybe-install-dvi-libiberty-linker-plugin install-dvi-libiberty-linker-plugin
30584 maybe-install-dvi-libiberty-linker-plugin:
30585 @if libiberty-linker-plugin
30586 maybe-install-dvi-libiberty-linker-plugin: install-dvi-libiberty-linker-plugin
30587
30588 install-dvi-libiberty-linker-plugin: \
30589 configure-libiberty-linker-plugin \
30590 dvi-libiberty-linker-plugin
30591 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30592 r=`${PWD_COMMAND}`; export r; \
30593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30594 $(HOST_EXPORTS) \
30595 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30597 done; \
30598 echo "Doing install-dvi in libiberty-linker-plugin"; \
30599 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30602 "RANLIB=$${RANLIB}" \
30603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30604 install-dvi) \
30605 || exit 1
30606
30607 @endif libiberty-linker-plugin
30608
30609 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
30610 maybe-install-pdf-libiberty-linker-plugin:
30611 @if libiberty-linker-plugin
30612 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
30613
30614 install-pdf-libiberty-linker-plugin: \
30615 configure-libiberty-linker-plugin \
30616 pdf-libiberty-linker-plugin
30617 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30618 r=`${PWD_COMMAND}`; export r; \
30619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30620 $(HOST_EXPORTS) \
30621 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30623 done; \
30624 echo "Doing install-pdf in libiberty-linker-plugin"; \
30625 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30628 "RANLIB=$${RANLIB}" \
30629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30630 install-pdf) \
30631 || exit 1
30632
30633 @endif libiberty-linker-plugin
30634
30635 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
30636 maybe-install-html-libiberty-linker-plugin:
30637 @if libiberty-linker-plugin
30638 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
30639
30640 install-html-libiberty-linker-plugin: \
30641 configure-libiberty-linker-plugin \
30642 html-libiberty-linker-plugin
30643 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30644 r=`${PWD_COMMAND}`; export r; \
30645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30646 $(HOST_EXPORTS) \
30647 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30649 done; \
30650 echo "Doing install-html in libiberty-linker-plugin"; \
30651 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30654 "RANLIB=$${RANLIB}" \
30655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30656 install-html) \
30657 || exit 1
30658
30659 @endif libiberty-linker-plugin
30660
30661 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
30662 maybe-installcheck-libiberty-linker-plugin:
30663 @if libiberty-linker-plugin
30664 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
30665
30666 installcheck-libiberty-linker-plugin: \
30667 configure-libiberty-linker-plugin
30668 @[ -f ./libiberty-linker-plugin/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) @extra_linker_plugin_flags@; do \
30673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30674 done; \
30675 echo "Doing installcheck in libiberty-linker-plugin"; \
30676 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
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 installcheck) \
30682 || exit 1
30683
30684 @endif libiberty-linker-plugin
30685
30686 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
30687 maybe-mostlyclean-libiberty-linker-plugin:
30688 @if libiberty-linker-plugin
30689 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
30690
30691 mostlyclean-libiberty-linker-plugin:
30692 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30693 r=`${PWD_COMMAND}`; export r; \
30694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30695 $(HOST_EXPORTS) \
30696 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30698 done; \
30699 echo "Doing mostlyclean in libiberty-linker-plugin"; \
30700 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30703 "RANLIB=$${RANLIB}" \
30704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30705 mostlyclean) \
30706 || exit 1
30707
30708 @endif libiberty-linker-plugin
30709
30710 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
30711 maybe-clean-libiberty-linker-plugin:
30712 @if libiberty-linker-plugin
30713 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
30714
30715 clean-libiberty-linker-plugin:
30716 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30717 r=`${PWD_COMMAND}`; export r; \
30718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30719 $(HOST_EXPORTS) \
30720 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30722 done; \
30723 echo "Doing clean in libiberty-linker-plugin"; \
30724 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30727 "RANLIB=$${RANLIB}" \
30728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30729 clean) \
30730 || exit 1
30731
30732 @endif libiberty-linker-plugin
30733
30734 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
30735 maybe-distclean-libiberty-linker-plugin:
30736 @if libiberty-linker-plugin
30737 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
30738
30739 distclean-libiberty-linker-plugin:
30740 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30741 r=`${PWD_COMMAND}`; export r; \
30742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30743 $(HOST_EXPORTS) \
30744 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30746 done; \
30747 echo "Doing distclean in libiberty-linker-plugin"; \
30748 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30751 "RANLIB=$${RANLIB}" \
30752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30753 distclean) \
30754 || exit 1
30755
30756 @endif libiberty-linker-plugin
30757
30758 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
30759 maybe-maintainer-clean-libiberty-linker-plugin:
30760 @if libiberty-linker-plugin
30761 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
30762
30763 maintainer-clean-libiberty-linker-plugin:
30764 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
30765 r=`${PWD_COMMAND}`; export r; \
30766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30767 $(HOST_EXPORTS) \
30768 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
30769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30770 done; \
30771 echo "Doing maintainer-clean in libiberty-linker-plugin"; \
30772 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
30773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30775 "RANLIB=$${RANLIB}" \
30776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30777 maintainer-clean) \
30778 || exit 1
30779
30780 @endif libiberty-linker-plugin
30781
30782
30783
30784 .PHONY: configure-libiconv maybe-configure-libiconv
30785 maybe-configure-libiconv:
30786 @if gcc-bootstrap
30787 configure-libiconv: stage_current
30788 @endif gcc-bootstrap
30789 @if libiconv
30790 maybe-configure-libiconv: configure-libiconv
30791 configure-libiconv:
30792 @r=`${PWD_COMMAND}`; export r; \
30793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30794 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30796 $(HOST_EXPORTS) \
30797 echo Configuring in $(HOST_SUBDIR)/libiconv; \
30798 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
30799 case $(srcdir) in \
30800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30801 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30803 esac; \
30804 module_srcdir=libiconv; \
30805 $(SHELL) \
30806 $$s/$$module_srcdir/configure \
30807 --srcdir=$${topdir}/$$module_srcdir \
30808 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30809 --target=${target_alias} --disable-shared \
30810 || exit 1
30811 @endif libiconv
30812
30813
30814
30815 .PHONY: configure-stage1-libiconv maybe-configure-stage1-libiconv
30816 maybe-configure-stage1-libiconv:
30817 @if libiconv-bootstrap
30818 maybe-configure-stage1-libiconv: configure-stage1-libiconv
30819 configure-stage1-libiconv:
30820 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30821 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
30822 @r=`${PWD_COMMAND}`; export r; \
30823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30824 TFLAGS="$(STAGE1_TFLAGS)"; \
30825 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30826 $(HOST_EXPORTS) \
30827 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
30828 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
30829 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
30830 echo Configuring stage 1 in $(HOST_SUBDIR)/libiconv; \
30831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30832 cd $(HOST_SUBDIR)/libiconv || exit 1; \
30833 case $(srcdir) in \
30834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30835 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30837 esac; \
30838 module_srcdir=libiconv; \
30839 $(SHELL) $$s/$$module_srcdir/configure \
30840 --srcdir=$${topdir}/$$module_srcdir \
30841 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30842 --target=${target_alias} \
30843 \
30844 $(STAGE1_CONFIGURE_FLAGS) \
30845 --disable-shared
30846 @endif libiconv-bootstrap
30847
30848 .PHONY: configure-stage2-libiconv maybe-configure-stage2-libiconv
30849 maybe-configure-stage2-libiconv:
30850 @if libiconv-bootstrap
30851 maybe-configure-stage2-libiconv: configure-stage2-libiconv
30852 configure-stage2-libiconv:
30853 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30854 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
30855 @r=`${PWD_COMMAND}`; export r; \
30856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30857 TFLAGS="$(STAGE2_TFLAGS)"; \
30858 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30859 $(HOST_EXPORTS) \
30860 $(POSTSTAGE1_HOST_EXPORTS) \
30861 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
30862 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
30863 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
30864 echo Configuring stage 2 in $(HOST_SUBDIR)/libiconv; \
30865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30866 cd $(HOST_SUBDIR)/libiconv || exit 1; \
30867 case $(srcdir) in \
30868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30869 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30871 esac; \
30872 module_srcdir=libiconv; \
30873 $(SHELL) $$s/$$module_srcdir/configure \
30874 --srcdir=$${topdir}/$$module_srcdir \
30875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30876 --target=${target_alias} \
30877 --with-build-libsubdir=$(HOST_SUBDIR) \
30878 $(STAGE2_CONFIGURE_FLAGS) \
30879 --disable-shared
30880 @endif libiconv-bootstrap
30881
30882 .PHONY: configure-stage3-libiconv maybe-configure-stage3-libiconv
30883 maybe-configure-stage3-libiconv:
30884 @if libiconv-bootstrap
30885 maybe-configure-stage3-libiconv: configure-stage3-libiconv
30886 configure-stage3-libiconv:
30887 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
30889 @r=`${PWD_COMMAND}`; export r; \
30890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30891 TFLAGS="$(STAGE3_TFLAGS)"; \
30892 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30893 $(HOST_EXPORTS) \
30894 $(POSTSTAGE1_HOST_EXPORTS) \
30895 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
30896 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30897 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30898 echo Configuring stage 3 in $(HOST_SUBDIR)/libiconv; \
30899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30900 cd $(HOST_SUBDIR)/libiconv || exit 1; \
30901 case $(srcdir) in \
30902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30903 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30905 esac; \
30906 module_srcdir=libiconv; \
30907 $(SHELL) $$s/$$module_srcdir/configure \
30908 --srcdir=$${topdir}/$$module_srcdir \
30909 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30910 --target=${target_alias} \
30911 --with-build-libsubdir=$(HOST_SUBDIR) \
30912 $(STAGE3_CONFIGURE_FLAGS) \
30913 --disable-shared
30914 @endif libiconv-bootstrap
30915
30916 .PHONY: configure-stage4-libiconv maybe-configure-stage4-libiconv
30917 maybe-configure-stage4-libiconv:
30918 @if libiconv-bootstrap
30919 maybe-configure-stage4-libiconv: configure-stage4-libiconv
30920 configure-stage4-libiconv:
30921 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
30923 @r=`${PWD_COMMAND}`; export r; \
30924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30925 TFLAGS="$(STAGE4_TFLAGS)"; \
30926 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30927 $(HOST_EXPORTS) \
30928 $(POSTSTAGE1_HOST_EXPORTS) \
30929 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30930 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30931 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30932 echo Configuring stage 4 in $(HOST_SUBDIR)/libiconv; \
30933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30934 cd $(HOST_SUBDIR)/libiconv || exit 1; \
30935 case $(srcdir) in \
30936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30937 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30939 esac; \
30940 module_srcdir=libiconv; \
30941 $(SHELL) $$s/$$module_srcdir/configure \
30942 --srcdir=$${topdir}/$$module_srcdir \
30943 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30944 --target=${target_alias} \
30945 --with-build-libsubdir=$(HOST_SUBDIR) \
30946 $(STAGE4_CONFIGURE_FLAGS) \
30947 --disable-shared
30948 @endif libiconv-bootstrap
30949
30950 .PHONY: configure-stageprofile-libiconv maybe-configure-stageprofile-libiconv
30951 maybe-configure-stageprofile-libiconv:
30952 @if libiconv-bootstrap
30953 maybe-configure-stageprofile-libiconv: configure-stageprofile-libiconv
30954 configure-stageprofile-libiconv:
30955 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30956 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
30957 @r=`${PWD_COMMAND}`; export r; \
30958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30959 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30960 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30961 $(HOST_EXPORTS) \
30962 $(POSTSTAGE1_HOST_EXPORTS) \
30963 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30964 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30965 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30966 echo Configuring stage profile in $(HOST_SUBDIR)/libiconv; \
30967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
30968 cd $(HOST_SUBDIR)/libiconv || exit 1; \
30969 case $(srcdir) in \
30970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30971 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
30972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30973 esac; \
30974 module_srcdir=libiconv; \
30975 $(SHELL) $$s/$$module_srcdir/configure \
30976 --srcdir=$${topdir}/$$module_srcdir \
30977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30978 --target=${target_alias} \
30979 --with-build-libsubdir=$(HOST_SUBDIR) \
30980 $(STAGEprofile_CONFIGURE_FLAGS) \
30981 --disable-shared
30982 @endif libiconv-bootstrap
30983
30984 .PHONY: configure-stagetrain-libiconv maybe-configure-stagetrain-libiconv
30985 maybe-configure-stagetrain-libiconv:
30986 @if libiconv-bootstrap
30987 maybe-configure-stagetrain-libiconv: configure-stagetrain-libiconv
30988 configure-stagetrain-libiconv:
30989 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
30990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
30991 @r=`${PWD_COMMAND}`; export r; \
30992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30993 TFLAGS="$(STAGEtrain_TFLAGS)"; \
30994 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
30995 $(HOST_EXPORTS) \
30996 $(POSTSTAGE1_HOST_EXPORTS) \
30997 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
30998 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
30999 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
31000 echo Configuring stage train in $(HOST_SUBDIR)/libiconv; \
31001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
31002 cd $(HOST_SUBDIR)/libiconv || exit 1; \
31003 case $(srcdir) in \
31004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31005 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
31006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31007 esac; \
31008 module_srcdir=libiconv; \
31009 $(SHELL) $$s/$$module_srcdir/configure \
31010 --srcdir=$${topdir}/$$module_srcdir \
31011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31012 --target=${target_alias} \
31013 --with-build-libsubdir=$(HOST_SUBDIR) \
31014 $(STAGEtrain_CONFIGURE_FLAGS) \
31015 --disable-shared
31016 @endif libiconv-bootstrap
31017
31018 .PHONY: configure-stagefeedback-libiconv maybe-configure-stagefeedback-libiconv
31019 maybe-configure-stagefeedback-libiconv:
31020 @if libiconv-bootstrap
31021 maybe-configure-stagefeedback-libiconv: configure-stagefeedback-libiconv
31022 configure-stagefeedback-libiconv:
31023 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31024 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
31025 @r=`${PWD_COMMAND}`; export r; \
31026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31027 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31028 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
31029 $(HOST_EXPORTS) \
31030 $(POSTSTAGE1_HOST_EXPORTS) \
31031 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
31032 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
31033 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
31034 echo Configuring stage feedback in $(HOST_SUBDIR)/libiconv; \
31035 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
31036 cd $(HOST_SUBDIR)/libiconv || exit 1; \
31037 case $(srcdir) in \
31038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31039 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
31040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31041 esac; \
31042 module_srcdir=libiconv; \
31043 $(SHELL) $$s/$$module_srcdir/configure \
31044 --srcdir=$${topdir}/$$module_srcdir \
31045 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31046 --target=${target_alias} \
31047 --with-build-libsubdir=$(HOST_SUBDIR) \
31048 $(STAGEfeedback_CONFIGURE_FLAGS) \
31049 --disable-shared
31050 @endif libiconv-bootstrap
31051
31052 .PHONY: configure-stageautoprofile-libiconv maybe-configure-stageautoprofile-libiconv
31053 maybe-configure-stageautoprofile-libiconv:
31054 @if libiconv-bootstrap
31055 maybe-configure-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
31056 configure-stageautoprofile-libiconv:
31057 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
31058 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
31059 @r=`${PWD_COMMAND}`; export r; \
31060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31061 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
31062 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
31063 $(HOST_EXPORTS) \
31064 $(POSTSTAGE1_HOST_EXPORTS) \
31065 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
31066 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
31067 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
31068 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libiconv; \
31069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
31070 cd $(HOST_SUBDIR)/libiconv || exit 1; \
31071 case $(srcdir) in \
31072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31073 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
31074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31075 esac; \
31076 module_srcdir=libiconv; \
31077 $(SHELL) $$s/$$module_srcdir/configure \
31078 --srcdir=$${topdir}/$$module_srcdir \
31079 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31080 --target=${target_alias} \
31081 --with-build-libsubdir=$(HOST_SUBDIR) \
31082 $(STAGEautoprofile_CONFIGURE_FLAGS) \
31083 --disable-shared
31084 @endif libiconv-bootstrap
31085
31086 .PHONY: configure-stageautofeedback-libiconv maybe-configure-stageautofeedback-libiconv
31087 maybe-configure-stageautofeedback-libiconv:
31088 @if libiconv-bootstrap
31089 maybe-configure-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
31090 configure-stageautofeedback-libiconv:
31091 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
31092 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv
31093 @r=`${PWD_COMMAND}`; export r; \
31094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31095 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
31096 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
31097 $(HOST_EXPORTS) \
31098 $(POSTSTAGE1_HOST_EXPORTS) \
31099 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
31100 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
31101 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
31102 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libiconv; \
31103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv; \
31104 cd $(HOST_SUBDIR)/libiconv || exit 1; \
31105 case $(srcdir) in \
31106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31107 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
31108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31109 esac; \
31110 module_srcdir=libiconv; \
31111 $(SHELL) $$s/$$module_srcdir/configure \
31112 --srcdir=$${topdir}/$$module_srcdir \
31113 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31114 --target=${target_alias} \
31115 --with-build-libsubdir=$(HOST_SUBDIR) \
31116 $(STAGEautofeedback_CONFIGURE_FLAGS) \
31117 --disable-shared
31118 @endif libiconv-bootstrap
31119
31120
31121
31122
31123
31124 .PHONY: all-libiconv maybe-all-libiconv
31125 maybe-all-libiconv:
31126 @if gcc-bootstrap
31127 all-libiconv: stage_current
31128 @endif gcc-bootstrap
31129 @if libiconv
31130 TARGET-libiconv=all
31131 maybe-all-libiconv: all-libiconv
31132 all-libiconv: configure-libiconv
31133 @r=`${PWD_COMMAND}`; export r; \
31134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31135 $(HOST_EXPORTS) \
31136 (cd $(HOST_SUBDIR)/libiconv && \
31137 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31138 $(TARGET-libiconv))
31139 @endif libiconv
31140
31141
31142
31143 .PHONY: all-stage1-libiconv maybe-all-stage1-libiconv
31144 .PHONY: clean-stage1-libiconv maybe-clean-stage1-libiconv
31145 maybe-all-stage1-libiconv:
31146 maybe-clean-stage1-libiconv:
31147 @if libiconv-bootstrap
31148 maybe-all-stage1-libiconv: all-stage1-libiconv
31149 all-stage1: all-stage1-libiconv
31150 TARGET-stage1-libiconv = $(TARGET-libiconv)
31151 all-stage1-libiconv: configure-stage1-libiconv
31152 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31153 @r=`${PWD_COMMAND}`; export r; \
31154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31155 TFLAGS="$(STAGE1_TFLAGS)"; \
31156 $(HOST_EXPORTS) \
31157 cd $(HOST_SUBDIR)/libiconv && \
31158 \
31159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31160 CFLAGS="$(STAGE1_CFLAGS)" \
31161 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
31162 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
31163 LIBCFLAGS="$(LIBCFLAGS)" \
31164 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31165 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31166 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31167 $(EXTRA_HOST_FLAGS) \
31168 $(STAGE1_FLAGS_TO_PASS) \
31169 TFLAGS="$(STAGE1_TFLAGS)" \
31170 $(TARGET-stage1-libiconv)
31171
31172 maybe-clean-stage1-libiconv: clean-stage1-libiconv
31173 clean-stage1: clean-stage1-libiconv
31174 clean-stage1-libiconv:
31175 @if [ $(current_stage) = stage1 ]; then \
31176 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31177 else \
31178 [ -f $(HOST_SUBDIR)/stage1-libiconv/Makefile ] || exit 0; \
31179 $(MAKE) stage1-start; \
31180 fi; \
31181 cd $(HOST_SUBDIR)/libiconv && \
31182 $(MAKE) $(EXTRA_HOST_FLAGS) \
31183 $(STAGE1_FLAGS_TO_PASS) clean
31184 @endif libiconv-bootstrap
31185
31186
31187 .PHONY: all-stage2-libiconv maybe-all-stage2-libiconv
31188 .PHONY: clean-stage2-libiconv maybe-clean-stage2-libiconv
31189 maybe-all-stage2-libiconv:
31190 maybe-clean-stage2-libiconv:
31191 @if libiconv-bootstrap
31192 maybe-all-stage2-libiconv: all-stage2-libiconv
31193 all-stage2: all-stage2-libiconv
31194 TARGET-stage2-libiconv = $(TARGET-libiconv)
31195 all-stage2-libiconv: configure-stage2-libiconv
31196 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31197 @r=`${PWD_COMMAND}`; export r; \
31198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31199 TFLAGS="$(STAGE2_TFLAGS)"; \
31200 $(HOST_EXPORTS) \
31201 $(POSTSTAGE1_HOST_EXPORTS) \
31202 cd $(HOST_SUBDIR)/libiconv && \
31203 \
31204 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31205 CFLAGS="$(STAGE2_CFLAGS)" \
31206 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
31207 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
31208 LIBCFLAGS="$(STAGE2_CFLAGS)" \
31209 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31210 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31211 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31212 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31213 TFLAGS="$(STAGE2_TFLAGS)" \
31214 $(TARGET-stage2-libiconv)
31215
31216 maybe-clean-stage2-libiconv: clean-stage2-libiconv
31217 clean-stage2: clean-stage2-libiconv
31218 clean-stage2-libiconv:
31219 @if [ $(current_stage) = stage2 ]; then \
31220 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31221 else \
31222 [ -f $(HOST_SUBDIR)/stage2-libiconv/Makefile ] || exit 0; \
31223 $(MAKE) stage2-start; \
31224 fi; \
31225 cd $(HOST_SUBDIR)/libiconv && \
31226 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31227 @endif libiconv-bootstrap
31228
31229
31230 .PHONY: all-stage3-libiconv maybe-all-stage3-libiconv
31231 .PHONY: clean-stage3-libiconv maybe-clean-stage3-libiconv
31232 maybe-all-stage3-libiconv:
31233 maybe-clean-stage3-libiconv:
31234 @if libiconv-bootstrap
31235 maybe-all-stage3-libiconv: all-stage3-libiconv
31236 all-stage3: all-stage3-libiconv
31237 TARGET-stage3-libiconv = $(TARGET-libiconv)
31238 all-stage3-libiconv: configure-stage3-libiconv
31239 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31240 @r=`${PWD_COMMAND}`; export r; \
31241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31242 TFLAGS="$(STAGE3_TFLAGS)"; \
31243 $(HOST_EXPORTS) \
31244 $(POSTSTAGE1_HOST_EXPORTS) \
31245 cd $(HOST_SUBDIR)/libiconv && \
31246 \
31247 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31248 CFLAGS="$(STAGE3_CFLAGS)" \
31249 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
31250 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
31251 LIBCFLAGS="$(STAGE3_CFLAGS)" \
31252 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31253 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31254 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31255 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31256 TFLAGS="$(STAGE3_TFLAGS)" \
31257 $(TARGET-stage3-libiconv)
31258
31259 maybe-clean-stage3-libiconv: clean-stage3-libiconv
31260 clean-stage3: clean-stage3-libiconv
31261 clean-stage3-libiconv:
31262 @if [ $(current_stage) = stage3 ]; then \
31263 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31264 else \
31265 [ -f $(HOST_SUBDIR)/stage3-libiconv/Makefile ] || exit 0; \
31266 $(MAKE) stage3-start; \
31267 fi; \
31268 cd $(HOST_SUBDIR)/libiconv && \
31269 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31270 @endif libiconv-bootstrap
31271
31272
31273 .PHONY: all-stage4-libiconv maybe-all-stage4-libiconv
31274 .PHONY: clean-stage4-libiconv maybe-clean-stage4-libiconv
31275 maybe-all-stage4-libiconv:
31276 maybe-clean-stage4-libiconv:
31277 @if libiconv-bootstrap
31278 maybe-all-stage4-libiconv: all-stage4-libiconv
31279 all-stage4: all-stage4-libiconv
31280 TARGET-stage4-libiconv = $(TARGET-libiconv)
31281 all-stage4-libiconv: configure-stage4-libiconv
31282 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31283 @r=`${PWD_COMMAND}`; export r; \
31284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31285 TFLAGS="$(STAGE4_TFLAGS)"; \
31286 $(HOST_EXPORTS) \
31287 $(POSTSTAGE1_HOST_EXPORTS) \
31288 cd $(HOST_SUBDIR)/libiconv && \
31289 \
31290 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31291 CFLAGS="$(STAGE4_CFLAGS)" \
31292 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
31293 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
31294 LIBCFLAGS="$(STAGE4_CFLAGS)" \
31295 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31296 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31297 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31298 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31299 TFLAGS="$(STAGE4_TFLAGS)" \
31300 $(TARGET-stage4-libiconv)
31301
31302 maybe-clean-stage4-libiconv: clean-stage4-libiconv
31303 clean-stage4: clean-stage4-libiconv
31304 clean-stage4-libiconv:
31305 @if [ $(current_stage) = stage4 ]; then \
31306 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31307 else \
31308 [ -f $(HOST_SUBDIR)/stage4-libiconv/Makefile ] || exit 0; \
31309 $(MAKE) stage4-start; \
31310 fi; \
31311 cd $(HOST_SUBDIR)/libiconv && \
31312 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31313 @endif libiconv-bootstrap
31314
31315
31316 .PHONY: all-stageprofile-libiconv maybe-all-stageprofile-libiconv
31317 .PHONY: clean-stageprofile-libiconv maybe-clean-stageprofile-libiconv
31318 maybe-all-stageprofile-libiconv:
31319 maybe-clean-stageprofile-libiconv:
31320 @if libiconv-bootstrap
31321 maybe-all-stageprofile-libiconv: all-stageprofile-libiconv
31322 all-stageprofile: all-stageprofile-libiconv
31323 TARGET-stageprofile-libiconv = $(TARGET-libiconv)
31324 all-stageprofile-libiconv: configure-stageprofile-libiconv
31325 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31326 @r=`${PWD_COMMAND}`; export r; \
31327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31328 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31329 $(HOST_EXPORTS) \
31330 $(POSTSTAGE1_HOST_EXPORTS) \
31331 cd $(HOST_SUBDIR)/libiconv && \
31332 \
31333 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31334 CFLAGS="$(STAGEprofile_CFLAGS)" \
31335 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
31336 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
31337 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
31338 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31339 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31340 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31341 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31342 TFLAGS="$(STAGEprofile_TFLAGS)" \
31343 $(TARGET-stageprofile-libiconv)
31344
31345 maybe-clean-stageprofile-libiconv: clean-stageprofile-libiconv
31346 clean-stageprofile: clean-stageprofile-libiconv
31347 clean-stageprofile-libiconv:
31348 @if [ $(current_stage) = stageprofile ]; then \
31349 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31350 else \
31351 [ -f $(HOST_SUBDIR)/stageprofile-libiconv/Makefile ] || exit 0; \
31352 $(MAKE) stageprofile-start; \
31353 fi; \
31354 cd $(HOST_SUBDIR)/libiconv && \
31355 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31356 @endif libiconv-bootstrap
31357
31358
31359 .PHONY: all-stagetrain-libiconv maybe-all-stagetrain-libiconv
31360 .PHONY: clean-stagetrain-libiconv maybe-clean-stagetrain-libiconv
31361 maybe-all-stagetrain-libiconv:
31362 maybe-clean-stagetrain-libiconv:
31363 @if libiconv-bootstrap
31364 maybe-all-stagetrain-libiconv: all-stagetrain-libiconv
31365 all-stagetrain: all-stagetrain-libiconv
31366 TARGET-stagetrain-libiconv = $(TARGET-libiconv)
31367 all-stagetrain-libiconv: configure-stagetrain-libiconv
31368 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
31369 @r=`${PWD_COMMAND}`; export r; \
31370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31371 TFLAGS="$(STAGEtrain_TFLAGS)"; \
31372 $(HOST_EXPORTS) \
31373 $(POSTSTAGE1_HOST_EXPORTS) \
31374 cd $(HOST_SUBDIR)/libiconv && \
31375 \
31376 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31377 CFLAGS="$(STAGEtrain_CFLAGS)" \
31378 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
31379 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
31380 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
31381 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31382 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31383 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31384 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31385 TFLAGS="$(STAGEtrain_TFLAGS)" \
31386 $(TARGET-stagetrain-libiconv)
31387
31388 maybe-clean-stagetrain-libiconv: clean-stagetrain-libiconv
31389 clean-stagetrain: clean-stagetrain-libiconv
31390 clean-stagetrain-libiconv:
31391 @if [ $(current_stage) = stagetrain ]; then \
31392 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31393 else \
31394 [ -f $(HOST_SUBDIR)/stagetrain-libiconv/Makefile ] || exit 0; \
31395 $(MAKE) stagetrain-start; \
31396 fi; \
31397 cd $(HOST_SUBDIR)/libiconv && \
31398 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31399 @endif libiconv-bootstrap
31400
31401
31402 .PHONY: all-stagefeedback-libiconv maybe-all-stagefeedback-libiconv
31403 .PHONY: clean-stagefeedback-libiconv maybe-clean-stagefeedback-libiconv
31404 maybe-all-stagefeedback-libiconv:
31405 maybe-clean-stagefeedback-libiconv:
31406 @if libiconv-bootstrap
31407 maybe-all-stagefeedback-libiconv: all-stagefeedback-libiconv
31408 all-stagefeedback: all-stagefeedback-libiconv
31409 TARGET-stagefeedback-libiconv = $(TARGET-libiconv)
31410 all-stagefeedback-libiconv: configure-stagefeedback-libiconv
31411 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31412 @r=`${PWD_COMMAND}`; export r; \
31413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31414 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31415 $(HOST_EXPORTS) \
31416 $(POSTSTAGE1_HOST_EXPORTS) \
31417 cd $(HOST_SUBDIR)/libiconv && \
31418 \
31419 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31420 CFLAGS="$(STAGEfeedback_CFLAGS)" \
31421 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
31422 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
31423 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
31424 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31425 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31426 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31427 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31428 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31429 $(TARGET-stagefeedback-libiconv)
31430
31431 maybe-clean-stagefeedback-libiconv: clean-stagefeedback-libiconv
31432 clean-stagefeedback: clean-stagefeedback-libiconv
31433 clean-stagefeedback-libiconv:
31434 @if [ $(current_stage) = stagefeedback ]; then \
31435 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31436 else \
31437 [ -f $(HOST_SUBDIR)/stagefeedback-libiconv/Makefile ] || exit 0; \
31438 $(MAKE) stagefeedback-start; \
31439 fi; \
31440 cd $(HOST_SUBDIR)/libiconv && \
31441 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31442 @endif libiconv-bootstrap
31443
31444
31445 .PHONY: all-stageautoprofile-libiconv maybe-all-stageautoprofile-libiconv
31446 .PHONY: clean-stageautoprofile-libiconv maybe-clean-stageautoprofile-libiconv
31447 maybe-all-stageautoprofile-libiconv:
31448 maybe-clean-stageautoprofile-libiconv:
31449 @if libiconv-bootstrap
31450 maybe-all-stageautoprofile-libiconv: all-stageautoprofile-libiconv
31451 all-stageautoprofile: all-stageautoprofile-libiconv
31452 TARGET-stageautoprofile-libiconv = $(TARGET-libiconv)
31453 all-stageautoprofile-libiconv: configure-stageautoprofile-libiconv
31454 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
31455 @r=`${PWD_COMMAND}`; export r; \
31456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31457 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
31458 $(HOST_EXPORTS) \
31459 $(POSTSTAGE1_HOST_EXPORTS) \
31460 cd $(HOST_SUBDIR)/libiconv && \
31461 $$s/gcc/config/i386/$(AUTO_PROFILE) \
31462 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31463 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
31464 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
31465 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
31466 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
31467 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31468 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31469 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31470 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31471 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
31472 $(TARGET-stageautoprofile-libiconv)
31473
31474 maybe-clean-stageautoprofile-libiconv: clean-stageautoprofile-libiconv
31475 clean-stageautoprofile: clean-stageautoprofile-libiconv
31476 clean-stageautoprofile-libiconv:
31477 @if [ $(current_stage) = stageautoprofile ]; then \
31478 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31479 else \
31480 [ -f $(HOST_SUBDIR)/stageautoprofile-libiconv/Makefile ] || exit 0; \
31481 $(MAKE) stageautoprofile-start; \
31482 fi; \
31483 cd $(HOST_SUBDIR)/libiconv && \
31484 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31485 @endif libiconv-bootstrap
31486
31487
31488 .PHONY: all-stageautofeedback-libiconv maybe-all-stageautofeedback-libiconv
31489 .PHONY: clean-stageautofeedback-libiconv maybe-clean-stageautofeedback-libiconv
31490 maybe-all-stageautofeedback-libiconv:
31491 maybe-clean-stageautofeedback-libiconv:
31492 @if libiconv-bootstrap
31493 maybe-all-stageautofeedback-libiconv: all-stageautofeedback-libiconv
31494 all-stageautofeedback: all-stageautofeedback-libiconv
31495 TARGET-stageautofeedback-libiconv = $(TARGET-libiconv)
31496 all-stageautofeedback-libiconv: configure-stageautofeedback-libiconv
31497 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
31498 @r=`${PWD_COMMAND}`; export r; \
31499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31500 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
31501 $(HOST_EXPORTS) \
31502 $(POSTSTAGE1_HOST_EXPORTS) \
31503 cd $(HOST_SUBDIR)/libiconv && \
31504 \
31505 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31506 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
31507 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
31508 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
31509 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
31510 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31511 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31512 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31513 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31514 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
31515 $(TARGET-stageautofeedback-libiconv)
31516
31517 maybe-clean-stageautofeedback-libiconv: clean-stageautofeedback-libiconv
31518 clean-stageautofeedback: clean-stageautofeedback-libiconv
31519 clean-stageautofeedback-libiconv:
31520 @if [ $(current_stage) = stageautofeedback ]; then \
31521 [ -f $(HOST_SUBDIR)/libiconv/Makefile ] || exit 0; \
31522 else \
31523 [ -f $(HOST_SUBDIR)/stageautofeedback-libiconv/Makefile ] || exit 0; \
31524 $(MAKE) stageautofeedback-start; \
31525 fi; \
31526 cd $(HOST_SUBDIR)/libiconv && \
31527 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31528 @endif libiconv-bootstrap
31529
31530
31531
31532
31533
31534 .PHONY: check-libiconv maybe-check-libiconv
31535 maybe-check-libiconv:
31536 @if libiconv
31537 maybe-check-libiconv: check-libiconv
31538
31539 check-libiconv:
31540 @: $(MAKE); $(unstage)
31541 @r=`${PWD_COMMAND}`; export r; \
31542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31543 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
31544 (cd $(HOST_SUBDIR)/libiconv && \
31545 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
31546
31547 @endif libiconv
31548
31549 .PHONY: install-libiconv maybe-install-libiconv
31550 maybe-install-libiconv:
31551 @if libiconv
31552 maybe-install-libiconv: install-libiconv
31553
31554 install-libiconv:
31555
31556 @endif libiconv
31557
31558 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
31559 maybe-install-strip-libiconv:
31560 @if libiconv
31561 maybe-install-strip-libiconv: install-strip-libiconv
31562
31563 install-strip-libiconv:
31564
31565 @endif libiconv
31566
31567 # Other targets (info, dvi, pdf, etc.)
31568
31569 .PHONY: maybe-info-libiconv info-libiconv
31570 maybe-info-libiconv:
31571 @if libiconv
31572 maybe-info-libiconv: info-libiconv
31573
31574 # libiconv doesn't support info.
31575 info-libiconv:
31576
31577 @endif libiconv
31578
31579 .PHONY: maybe-dvi-libiconv dvi-libiconv
31580 maybe-dvi-libiconv:
31581 @if libiconv
31582 maybe-dvi-libiconv: dvi-libiconv
31583
31584 dvi-libiconv: \
31585 configure-libiconv
31586 @[ -f ./libiconv/Makefile ] || exit 0; \
31587 r=`${PWD_COMMAND}`; export r; \
31588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31589 $(HOST_EXPORTS) \
31590 for flag in $(EXTRA_HOST_FLAGS) ; do \
31591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31592 done; \
31593 echo "Doing dvi in libiconv"; \
31594 (cd $(HOST_SUBDIR)/libiconv && \
31595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31597 "RANLIB=$${RANLIB}" \
31598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31599 dvi) \
31600 || exit 1
31601
31602 @endif libiconv
31603
31604 .PHONY: maybe-pdf-libiconv pdf-libiconv
31605 maybe-pdf-libiconv:
31606 @if libiconv
31607 maybe-pdf-libiconv: pdf-libiconv
31608
31609 # libiconv doesn't support pdf.
31610 pdf-libiconv:
31611
31612 @endif libiconv
31613
31614 .PHONY: maybe-html-libiconv html-libiconv
31615 maybe-html-libiconv:
31616 @if libiconv
31617 maybe-html-libiconv: html-libiconv
31618
31619 # libiconv doesn't support html.
31620 html-libiconv:
31621
31622 @endif libiconv
31623
31624 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
31625 maybe-TAGS-libiconv:
31626 @if libiconv
31627 maybe-TAGS-libiconv: TAGS-libiconv
31628
31629 TAGS-libiconv: \
31630 configure-libiconv
31631 @[ -f ./libiconv/Makefile ] || exit 0; \
31632 r=`${PWD_COMMAND}`; export r; \
31633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31634 $(HOST_EXPORTS) \
31635 for flag in $(EXTRA_HOST_FLAGS) ; do \
31636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31637 done; \
31638 echo "Doing TAGS in libiconv"; \
31639 (cd $(HOST_SUBDIR)/libiconv && \
31640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31642 "RANLIB=$${RANLIB}" \
31643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31644 TAGS) \
31645 || exit 1
31646
31647 @endif libiconv
31648
31649 .PHONY: maybe-install-info-libiconv install-info-libiconv
31650 maybe-install-info-libiconv:
31651 @if libiconv
31652 maybe-install-info-libiconv: install-info-libiconv
31653
31654 # libiconv doesn't support install-info.
31655 install-info-libiconv:
31656
31657 @endif libiconv
31658
31659 .PHONY: maybe-install-dvi-libiconv install-dvi-libiconv
31660 maybe-install-dvi-libiconv:
31661 @if libiconv
31662 maybe-install-dvi-libiconv: install-dvi-libiconv
31663
31664 install-dvi-libiconv: \
31665 configure-libiconv \
31666 dvi-libiconv
31667 @[ -f ./libiconv/Makefile ] || exit 0; \
31668 r=`${PWD_COMMAND}`; export r; \
31669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31670 $(HOST_EXPORTS) \
31671 for flag in $(EXTRA_HOST_FLAGS) ; do \
31672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31673 done; \
31674 echo "Doing install-dvi in libiconv"; \
31675 (cd $(HOST_SUBDIR)/libiconv && \
31676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31678 "RANLIB=$${RANLIB}" \
31679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31680 install-dvi) \
31681 || exit 1
31682
31683 @endif libiconv
31684
31685 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
31686 maybe-install-pdf-libiconv:
31687 @if libiconv
31688 maybe-install-pdf-libiconv: install-pdf-libiconv
31689
31690 # libiconv doesn't support install-pdf.
31691 install-pdf-libiconv:
31692
31693 @endif libiconv
31694
31695 .PHONY: maybe-install-html-libiconv install-html-libiconv
31696 maybe-install-html-libiconv:
31697 @if libiconv
31698 maybe-install-html-libiconv: install-html-libiconv
31699
31700 # libiconv doesn't support install-html.
31701 install-html-libiconv:
31702
31703 @endif libiconv
31704
31705 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
31706 maybe-installcheck-libiconv:
31707 @if libiconv
31708 maybe-installcheck-libiconv: installcheck-libiconv
31709
31710 installcheck-libiconv: \
31711 configure-libiconv
31712 @[ -f ./libiconv/Makefile ] || exit 0; \
31713 r=`${PWD_COMMAND}`; export r; \
31714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31715 $(HOST_EXPORTS) \
31716 for flag in $(EXTRA_HOST_FLAGS) ; do \
31717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31718 done; \
31719 echo "Doing installcheck in libiconv"; \
31720 (cd $(HOST_SUBDIR)/libiconv && \
31721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31723 "RANLIB=$${RANLIB}" \
31724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31725 installcheck) \
31726 || exit 1
31727
31728 @endif libiconv
31729
31730 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
31731 maybe-mostlyclean-libiconv:
31732 @if libiconv
31733 maybe-mostlyclean-libiconv: mostlyclean-libiconv
31734
31735 mostlyclean-libiconv:
31736 @[ -f ./libiconv/Makefile ] || exit 0; \
31737 r=`${PWD_COMMAND}`; export r; \
31738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31739 $(HOST_EXPORTS) \
31740 for flag in $(EXTRA_HOST_FLAGS) ; do \
31741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31742 done; \
31743 echo "Doing mostlyclean in libiconv"; \
31744 (cd $(HOST_SUBDIR)/libiconv && \
31745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31747 "RANLIB=$${RANLIB}" \
31748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31749 mostlyclean) \
31750 || exit 1
31751
31752 @endif libiconv
31753
31754 .PHONY: maybe-clean-libiconv clean-libiconv
31755 maybe-clean-libiconv:
31756 @if libiconv
31757 maybe-clean-libiconv: clean-libiconv
31758
31759 clean-libiconv:
31760 @[ -f ./libiconv/Makefile ] || exit 0; \
31761 r=`${PWD_COMMAND}`; export r; \
31762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31763 $(HOST_EXPORTS) \
31764 for flag in $(EXTRA_HOST_FLAGS) ; do \
31765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31766 done; \
31767 echo "Doing clean in libiconv"; \
31768 (cd $(HOST_SUBDIR)/libiconv && \
31769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31771 "RANLIB=$${RANLIB}" \
31772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31773 clean) \
31774 || exit 1
31775
31776 @endif libiconv
31777
31778 .PHONY: maybe-distclean-libiconv distclean-libiconv
31779 maybe-distclean-libiconv:
31780 @if libiconv
31781 maybe-distclean-libiconv: distclean-libiconv
31782
31783 distclean-libiconv:
31784 @[ -f ./libiconv/Makefile ] || exit 0; \
31785 r=`${PWD_COMMAND}`; export r; \
31786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31787 $(HOST_EXPORTS) \
31788 for flag in $(EXTRA_HOST_FLAGS) ; do \
31789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31790 done; \
31791 echo "Doing distclean in libiconv"; \
31792 (cd $(HOST_SUBDIR)/libiconv && \
31793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31795 "RANLIB=$${RANLIB}" \
31796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31797 distclean) \
31798 || exit 1
31799
31800 @endif libiconv
31801
31802 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
31803 maybe-maintainer-clean-libiconv:
31804 @if libiconv
31805 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
31806
31807 maintainer-clean-libiconv:
31808 @[ -f ./libiconv/Makefile ] || exit 0; \
31809 r=`${PWD_COMMAND}`; export r; \
31810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31811 $(HOST_EXPORTS) \
31812 for flag in $(EXTRA_HOST_FLAGS) ; do \
31813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31814 done; \
31815 echo "Doing maintainer-clean in libiconv"; \
31816 (cd $(HOST_SUBDIR)/libiconv && \
31817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31819 "RANLIB=$${RANLIB}" \
31820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31821 maintainer-clean) \
31822 || exit 1
31823
31824 @endif libiconv
31825
31826
31827
31828 .PHONY: configure-m4 maybe-configure-m4
31829 maybe-configure-m4:
31830 @if gcc-bootstrap
31831 configure-m4: stage_current
31832 @endif gcc-bootstrap
31833 @if m4
31834 maybe-configure-m4: configure-m4
31835 configure-m4:
31836 @: $(MAKE); $(unstage)
31837 @r=`${PWD_COMMAND}`; export r; \
31838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31839 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
31840 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4; \
31841 $(HOST_EXPORTS) \
31842 echo Configuring in $(HOST_SUBDIR)/m4; \
31843 cd "$(HOST_SUBDIR)/m4" || exit 1; \
31844 case $(srcdir) in \
31845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31846 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
31847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31848 esac; \
31849 module_srcdir=m4; \
31850 $(SHELL) \
31851 $$s/$$module_srcdir/configure \
31852 --srcdir=$${topdir}/$$module_srcdir \
31853 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31854 --target=${target_alias} \
31855 || exit 1
31856 @endif m4
31857
31858
31859
31860
31861
31862 .PHONY: all-m4 maybe-all-m4
31863 maybe-all-m4:
31864 @if gcc-bootstrap
31865 all-m4: stage_current
31866 @endif gcc-bootstrap
31867 @if m4
31868 TARGET-m4=all
31869 maybe-all-m4: all-m4
31870 all-m4: configure-m4
31871 @: $(MAKE); $(unstage)
31872 @r=`${PWD_COMMAND}`; export r; \
31873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31874 $(HOST_EXPORTS) \
31875 (cd $(HOST_SUBDIR)/m4 && \
31876 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31877 $(TARGET-m4))
31878 @endif m4
31879
31880
31881
31882
31883 .PHONY: check-m4 maybe-check-m4
31884 maybe-check-m4:
31885 @if m4
31886 maybe-check-m4: check-m4
31887
31888 check-m4:
31889 @: $(MAKE); $(unstage)
31890 @r=`${PWD_COMMAND}`; export r; \
31891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31892 $(HOST_EXPORTS) \
31893 (cd $(HOST_SUBDIR)/m4 && \
31894 $(MAKE) $(FLAGS_TO_PASS) check)
31895
31896 @endif m4
31897
31898 .PHONY: install-m4 maybe-install-m4
31899 maybe-install-m4:
31900 @if m4
31901 maybe-install-m4: install-m4
31902
31903 install-m4: installdirs
31904 @: $(MAKE); $(unstage)
31905 @r=`${PWD_COMMAND}`; export r; \
31906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31907 $(HOST_EXPORTS) \
31908 (cd $(HOST_SUBDIR)/m4 && \
31909 $(MAKE) $(FLAGS_TO_PASS) install)
31910
31911 @endif m4
31912
31913 .PHONY: install-strip-m4 maybe-install-strip-m4
31914 maybe-install-strip-m4:
31915 @if m4
31916 maybe-install-strip-m4: install-strip-m4
31917
31918 install-strip-m4: installdirs
31919 @: $(MAKE); $(unstage)
31920 @r=`${PWD_COMMAND}`; export r; \
31921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31922 $(HOST_EXPORTS) \
31923 (cd $(HOST_SUBDIR)/m4 && \
31924 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31925
31926 @endif m4
31927
31928 # Other targets (info, dvi, pdf, etc.)
31929
31930 .PHONY: maybe-info-m4 info-m4
31931 maybe-info-m4:
31932 @if m4
31933 maybe-info-m4: info-m4
31934
31935 info-m4: \
31936 configure-m4
31937 @: $(MAKE); $(unstage)
31938 @[ -f ./m4/Makefile ] || exit 0; \
31939 r=`${PWD_COMMAND}`; export r; \
31940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31941 $(HOST_EXPORTS) \
31942 for flag in $(EXTRA_HOST_FLAGS) ; do \
31943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31944 done; \
31945 echo "Doing info in m4"; \
31946 (cd $(HOST_SUBDIR)/m4 && \
31947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31949 "RANLIB=$${RANLIB}" \
31950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31951 info) \
31952 || exit 1
31953
31954 @endif m4
31955
31956 .PHONY: maybe-dvi-m4 dvi-m4
31957 maybe-dvi-m4:
31958 @if m4
31959 maybe-dvi-m4: dvi-m4
31960
31961 dvi-m4: \
31962 configure-m4
31963 @: $(MAKE); $(unstage)
31964 @[ -f ./m4/Makefile ] || exit 0; \
31965 r=`${PWD_COMMAND}`; export r; \
31966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31967 $(HOST_EXPORTS) \
31968 for flag in $(EXTRA_HOST_FLAGS) ; do \
31969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31970 done; \
31971 echo "Doing dvi in m4"; \
31972 (cd $(HOST_SUBDIR)/m4 && \
31973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31975 "RANLIB=$${RANLIB}" \
31976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31977 dvi) \
31978 || exit 1
31979
31980 @endif m4
31981
31982 .PHONY: maybe-pdf-m4 pdf-m4
31983 maybe-pdf-m4:
31984 @if m4
31985 maybe-pdf-m4: pdf-m4
31986
31987 pdf-m4: \
31988 configure-m4
31989 @: $(MAKE); $(unstage)
31990 @[ -f ./m4/Makefile ] || exit 0; \
31991 r=`${PWD_COMMAND}`; export r; \
31992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31993 $(HOST_EXPORTS) \
31994 for flag in $(EXTRA_HOST_FLAGS) ; do \
31995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31996 done; \
31997 echo "Doing pdf in m4"; \
31998 (cd $(HOST_SUBDIR)/m4 && \
31999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32001 "RANLIB=$${RANLIB}" \
32002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32003 pdf) \
32004 || exit 1
32005
32006 @endif m4
32007
32008 .PHONY: maybe-html-m4 html-m4
32009 maybe-html-m4:
32010 @if m4
32011 maybe-html-m4: html-m4
32012
32013 html-m4: \
32014 configure-m4
32015 @: $(MAKE); $(unstage)
32016 @[ -f ./m4/Makefile ] || exit 0; \
32017 r=`${PWD_COMMAND}`; export r; \
32018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32019 $(HOST_EXPORTS) \
32020 for flag in $(EXTRA_HOST_FLAGS) ; do \
32021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32022 done; \
32023 echo "Doing html in m4"; \
32024 (cd $(HOST_SUBDIR)/m4 && \
32025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32027 "RANLIB=$${RANLIB}" \
32028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32029 html) \
32030 || exit 1
32031
32032 @endif m4
32033
32034 .PHONY: maybe-TAGS-m4 TAGS-m4
32035 maybe-TAGS-m4:
32036 @if m4
32037 maybe-TAGS-m4: TAGS-m4
32038
32039 TAGS-m4: \
32040 configure-m4
32041 @: $(MAKE); $(unstage)
32042 @[ -f ./m4/Makefile ] || exit 0; \
32043 r=`${PWD_COMMAND}`; export r; \
32044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32045 $(HOST_EXPORTS) \
32046 for flag in $(EXTRA_HOST_FLAGS) ; do \
32047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32048 done; \
32049 echo "Doing TAGS in m4"; \
32050 (cd $(HOST_SUBDIR)/m4 && \
32051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32053 "RANLIB=$${RANLIB}" \
32054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32055 TAGS) \
32056 || exit 1
32057
32058 @endif m4
32059
32060 .PHONY: maybe-install-info-m4 install-info-m4
32061 maybe-install-info-m4:
32062 @if m4
32063 maybe-install-info-m4: install-info-m4
32064
32065 install-info-m4: \
32066 configure-m4 \
32067 info-m4
32068 @: $(MAKE); $(unstage)
32069 @[ -f ./m4/Makefile ] || exit 0; \
32070 r=`${PWD_COMMAND}`; export r; \
32071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32072 $(HOST_EXPORTS) \
32073 for flag in $(EXTRA_HOST_FLAGS) ; do \
32074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32075 done; \
32076 echo "Doing install-info in m4"; \
32077 (cd $(HOST_SUBDIR)/m4 && \
32078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32080 "RANLIB=$${RANLIB}" \
32081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32082 install-info) \
32083 || exit 1
32084
32085 @endif m4
32086
32087 .PHONY: maybe-install-dvi-m4 install-dvi-m4
32088 maybe-install-dvi-m4:
32089 @if m4
32090 maybe-install-dvi-m4: install-dvi-m4
32091
32092 install-dvi-m4: \
32093 configure-m4 \
32094 dvi-m4
32095 @: $(MAKE); $(unstage)
32096 @[ -f ./m4/Makefile ] || exit 0; \
32097 r=`${PWD_COMMAND}`; export r; \
32098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32099 $(HOST_EXPORTS) \
32100 for flag in $(EXTRA_HOST_FLAGS) ; do \
32101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32102 done; \
32103 echo "Doing install-dvi in m4"; \
32104 (cd $(HOST_SUBDIR)/m4 && \
32105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32107 "RANLIB=$${RANLIB}" \
32108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32109 install-dvi) \
32110 || exit 1
32111
32112 @endif m4
32113
32114 .PHONY: maybe-install-pdf-m4 install-pdf-m4
32115 maybe-install-pdf-m4:
32116 @if m4
32117 maybe-install-pdf-m4: install-pdf-m4
32118
32119 install-pdf-m4: \
32120 configure-m4 \
32121 pdf-m4
32122 @: $(MAKE); $(unstage)
32123 @[ -f ./m4/Makefile ] || exit 0; \
32124 r=`${PWD_COMMAND}`; export r; \
32125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32126 $(HOST_EXPORTS) \
32127 for flag in $(EXTRA_HOST_FLAGS) ; do \
32128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32129 done; \
32130 echo "Doing install-pdf in m4"; \
32131 (cd $(HOST_SUBDIR)/m4 && \
32132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32134 "RANLIB=$${RANLIB}" \
32135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32136 install-pdf) \
32137 || exit 1
32138
32139 @endif m4
32140
32141 .PHONY: maybe-install-html-m4 install-html-m4
32142 maybe-install-html-m4:
32143 @if m4
32144 maybe-install-html-m4: install-html-m4
32145
32146 install-html-m4: \
32147 configure-m4 \
32148 html-m4
32149 @: $(MAKE); $(unstage)
32150 @[ -f ./m4/Makefile ] || exit 0; \
32151 r=`${PWD_COMMAND}`; export r; \
32152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32153 $(HOST_EXPORTS) \
32154 for flag in $(EXTRA_HOST_FLAGS) ; do \
32155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32156 done; \
32157 echo "Doing install-html in m4"; \
32158 (cd $(HOST_SUBDIR)/m4 && \
32159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32161 "RANLIB=$${RANLIB}" \
32162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32163 install-html) \
32164 || exit 1
32165
32166 @endif m4
32167
32168 .PHONY: maybe-installcheck-m4 installcheck-m4
32169 maybe-installcheck-m4:
32170 @if m4
32171 maybe-installcheck-m4: installcheck-m4
32172
32173 installcheck-m4: \
32174 configure-m4
32175 @: $(MAKE); $(unstage)
32176 @[ -f ./m4/Makefile ] || exit 0; \
32177 r=`${PWD_COMMAND}`; export r; \
32178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32179 $(HOST_EXPORTS) \
32180 for flag in $(EXTRA_HOST_FLAGS) ; do \
32181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32182 done; \
32183 echo "Doing installcheck in m4"; \
32184 (cd $(HOST_SUBDIR)/m4 && \
32185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32187 "RANLIB=$${RANLIB}" \
32188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32189 installcheck) \
32190 || exit 1
32191
32192 @endif m4
32193
32194 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
32195 maybe-mostlyclean-m4:
32196 @if m4
32197 maybe-mostlyclean-m4: mostlyclean-m4
32198
32199 mostlyclean-m4:
32200 @: $(MAKE); $(unstage)
32201 @[ -f ./m4/Makefile ] || exit 0; \
32202 r=`${PWD_COMMAND}`; export r; \
32203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32204 $(HOST_EXPORTS) \
32205 for flag in $(EXTRA_HOST_FLAGS) ; do \
32206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32207 done; \
32208 echo "Doing mostlyclean in m4"; \
32209 (cd $(HOST_SUBDIR)/m4 && \
32210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32212 "RANLIB=$${RANLIB}" \
32213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32214 mostlyclean) \
32215 || exit 1
32216
32217 @endif m4
32218
32219 .PHONY: maybe-clean-m4 clean-m4
32220 maybe-clean-m4:
32221 @if m4
32222 maybe-clean-m4: clean-m4
32223
32224 clean-m4:
32225 @: $(MAKE); $(unstage)
32226 @[ -f ./m4/Makefile ] || exit 0; \
32227 r=`${PWD_COMMAND}`; export r; \
32228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32229 $(HOST_EXPORTS) \
32230 for flag in $(EXTRA_HOST_FLAGS) ; do \
32231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32232 done; \
32233 echo "Doing clean in m4"; \
32234 (cd $(HOST_SUBDIR)/m4 && \
32235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32237 "RANLIB=$${RANLIB}" \
32238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32239 clean) \
32240 || exit 1
32241
32242 @endif m4
32243
32244 .PHONY: maybe-distclean-m4 distclean-m4
32245 maybe-distclean-m4:
32246 @if m4
32247 maybe-distclean-m4: distclean-m4
32248
32249 distclean-m4:
32250 @: $(MAKE); $(unstage)
32251 @[ -f ./m4/Makefile ] || exit 0; \
32252 r=`${PWD_COMMAND}`; export r; \
32253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32254 $(HOST_EXPORTS) \
32255 for flag in $(EXTRA_HOST_FLAGS) ; do \
32256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32257 done; \
32258 echo "Doing distclean in m4"; \
32259 (cd $(HOST_SUBDIR)/m4 && \
32260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32262 "RANLIB=$${RANLIB}" \
32263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32264 distclean) \
32265 || exit 1
32266
32267 @endif m4
32268
32269 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
32270 maybe-maintainer-clean-m4:
32271 @if m4
32272 maybe-maintainer-clean-m4: maintainer-clean-m4
32273
32274 maintainer-clean-m4:
32275 @: $(MAKE); $(unstage)
32276 @[ -f ./m4/Makefile ] || exit 0; \
32277 r=`${PWD_COMMAND}`; export r; \
32278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32279 $(HOST_EXPORTS) \
32280 for flag in $(EXTRA_HOST_FLAGS) ; do \
32281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32282 done; \
32283 echo "Doing maintainer-clean in m4"; \
32284 (cd $(HOST_SUBDIR)/m4 && \
32285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32287 "RANLIB=$${RANLIB}" \
32288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32289 maintainer-clean) \
32290 || exit 1
32291
32292 @endif m4
32293
32294
32295
32296 .PHONY: configure-readline maybe-configure-readline
32297 maybe-configure-readline:
32298 @if gcc-bootstrap
32299 configure-readline: stage_current
32300 @endif gcc-bootstrap
32301 @if readline
32302 maybe-configure-readline: configure-readline
32303 configure-readline:
32304 @: $(MAKE); $(unstage)
32305 @r=`${PWD_COMMAND}`; export r; \
32306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32307 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
32308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline; \
32309 $(HOST_EXPORTS) \
32310 echo Configuring in $(HOST_SUBDIR)/readline; \
32311 cd "$(HOST_SUBDIR)/readline" || exit 1; \
32312 case $(srcdir) in \
32313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32314 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
32315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32316 esac; \
32317 module_srcdir=readline; \
32318 $(SHELL) \
32319 $$s/$$module_srcdir/configure \
32320 --srcdir=$${topdir}/$$module_srcdir \
32321 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32322 --target=${target_alias} \
32323 || exit 1
32324 @endif readline
32325
32326
32327
32328
32329
32330 .PHONY: all-readline maybe-all-readline
32331 maybe-all-readline:
32332 @if gcc-bootstrap
32333 all-readline: stage_current
32334 @endif gcc-bootstrap
32335 @if readline
32336 TARGET-readline=all
32337 maybe-all-readline: all-readline
32338 all-readline: configure-readline
32339 @: $(MAKE); $(unstage)
32340 @r=`${PWD_COMMAND}`; export r; \
32341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32342 $(HOST_EXPORTS) \
32343 (cd $(HOST_SUBDIR)/readline && \
32344 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32345 $(TARGET-readline))
32346 @endif readline
32347
32348
32349
32350
32351 .PHONY: check-readline maybe-check-readline
32352 maybe-check-readline:
32353 @if readline
32354 maybe-check-readline: check-readline
32355
32356 check-readline:
32357 @: $(MAKE); $(unstage)
32358 @r=`${PWD_COMMAND}`; export r; \
32359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32360 $(HOST_EXPORTS) \
32361 (cd $(HOST_SUBDIR)/readline && \
32362 $(MAKE) $(FLAGS_TO_PASS) check)
32363
32364 @endif readline
32365
32366 .PHONY: install-readline maybe-install-readline
32367 maybe-install-readline:
32368 @if readline
32369 maybe-install-readline: install-readline
32370
32371 install-readline: installdirs
32372 @: $(MAKE); $(unstage)
32373 @r=`${PWD_COMMAND}`; export r; \
32374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32375 $(HOST_EXPORTS) \
32376 (cd $(HOST_SUBDIR)/readline && \
32377 $(MAKE) $(FLAGS_TO_PASS) install)
32378
32379 @endif readline
32380
32381 .PHONY: install-strip-readline maybe-install-strip-readline
32382 maybe-install-strip-readline:
32383 @if readline
32384 maybe-install-strip-readline: install-strip-readline
32385
32386 install-strip-readline: installdirs
32387 @: $(MAKE); $(unstage)
32388 @r=`${PWD_COMMAND}`; export r; \
32389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32390 $(HOST_EXPORTS) \
32391 (cd $(HOST_SUBDIR)/readline && \
32392 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32393
32394 @endif readline
32395
32396 # Other targets (info, dvi, pdf, etc.)
32397
32398 .PHONY: maybe-info-readline info-readline
32399 maybe-info-readline:
32400 @if readline
32401 maybe-info-readline: info-readline
32402
32403 info-readline: \
32404 configure-readline
32405 @: $(MAKE); $(unstage)
32406 @[ -f ./readline/Makefile ] || exit 0; \
32407 r=`${PWD_COMMAND}`; export r; \
32408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32409 $(HOST_EXPORTS) \
32410 for flag in $(EXTRA_HOST_FLAGS) ; do \
32411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32412 done; \
32413 echo "Doing info in readline"; \
32414 (cd $(HOST_SUBDIR)/readline && \
32415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32417 "RANLIB=$${RANLIB}" \
32418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32419 info) \
32420 || exit 1
32421
32422 @endif readline
32423
32424 .PHONY: maybe-dvi-readline dvi-readline
32425 maybe-dvi-readline:
32426 @if readline
32427 maybe-dvi-readline: dvi-readline
32428
32429 dvi-readline: \
32430 configure-readline
32431 @: $(MAKE); $(unstage)
32432 @[ -f ./readline/Makefile ] || exit 0; \
32433 r=`${PWD_COMMAND}`; export r; \
32434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32435 $(HOST_EXPORTS) \
32436 for flag in $(EXTRA_HOST_FLAGS) ; do \
32437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32438 done; \
32439 echo "Doing dvi in readline"; \
32440 (cd $(HOST_SUBDIR)/readline && \
32441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32443 "RANLIB=$${RANLIB}" \
32444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32445 dvi) \
32446 || exit 1
32447
32448 @endif readline
32449
32450 .PHONY: maybe-pdf-readline pdf-readline
32451 maybe-pdf-readline:
32452 @if readline
32453 maybe-pdf-readline: pdf-readline
32454
32455 pdf-readline: \
32456 configure-readline
32457 @: $(MAKE); $(unstage)
32458 @[ -f ./readline/Makefile ] || exit 0; \
32459 r=`${PWD_COMMAND}`; export r; \
32460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32461 $(HOST_EXPORTS) \
32462 for flag in $(EXTRA_HOST_FLAGS) ; do \
32463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32464 done; \
32465 echo "Doing pdf in readline"; \
32466 (cd $(HOST_SUBDIR)/readline && \
32467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32469 "RANLIB=$${RANLIB}" \
32470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32471 pdf) \
32472 || exit 1
32473
32474 @endif readline
32475
32476 .PHONY: maybe-html-readline html-readline
32477 maybe-html-readline:
32478 @if readline
32479 maybe-html-readline: html-readline
32480
32481 html-readline: \
32482 configure-readline
32483 @: $(MAKE); $(unstage)
32484 @[ -f ./readline/Makefile ] || exit 0; \
32485 r=`${PWD_COMMAND}`; export r; \
32486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32487 $(HOST_EXPORTS) \
32488 for flag in $(EXTRA_HOST_FLAGS) ; do \
32489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32490 done; \
32491 echo "Doing html in readline"; \
32492 (cd $(HOST_SUBDIR)/readline && \
32493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32495 "RANLIB=$${RANLIB}" \
32496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32497 html) \
32498 || exit 1
32499
32500 @endif readline
32501
32502 .PHONY: maybe-TAGS-readline TAGS-readline
32503 maybe-TAGS-readline:
32504 @if readline
32505 maybe-TAGS-readline: TAGS-readline
32506
32507 TAGS-readline: \
32508 configure-readline
32509 @: $(MAKE); $(unstage)
32510 @[ -f ./readline/Makefile ] || exit 0; \
32511 r=`${PWD_COMMAND}`; export r; \
32512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32513 $(HOST_EXPORTS) \
32514 for flag in $(EXTRA_HOST_FLAGS) ; do \
32515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32516 done; \
32517 echo "Doing TAGS in readline"; \
32518 (cd $(HOST_SUBDIR)/readline && \
32519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32521 "RANLIB=$${RANLIB}" \
32522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32523 TAGS) \
32524 || exit 1
32525
32526 @endif readline
32527
32528 .PHONY: maybe-install-info-readline install-info-readline
32529 maybe-install-info-readline:
32530 @if readline
32531 maybe-install-info-readline: install-info-readline
32532
32533 install-info-readline: \
32534 configure-readline \
32535 info-readline
32536 @: $(MAKE); $(unstage)
32537 @[ -f ./readline/Makefile ] || exit 0; \
32538 r=`${PWD_COMMAND}`; export r; \
32539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32540 $(HOST_EXPORTS) \
32541 for flag in $(EXTRA_HOST_FLAGS) ; do \
32542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32543 done; \
32544 echo "Doing install-info in readline"; \
32545 (cd $(HOST_SUBDIR)/readline && \
32546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32548 "RANLIB=$${RANLIB}" \
32549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32550 install-info) \
32551 || exit 1
32552
32553 @endif readline
32554
32555 .PHONY: maybe-install-dvi-readline install-dvi-readline
32556 maybe-install-dvi-readline:
32557 @if readline
32558 maybe-install-dvi-readline: install-dvi-readline
32559
32560 install-dvi-readline: \
32561 configure-readline \
32562 dvi-readline
32563 @: $(MAKE); $(unstage)
32564 @[ -f ./readline/Makefile ] || exit 0; \
32565 r=`${PWD_COMMAND}`; export r; \
32566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32567 $(HOST_EXPORTS) \
32568 for flag in $(EXTRA_HOST_FLAGS) ; do \
32569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32570 done; \
32571 echo "Doing install-dvi in readline"; \
32572 (cd $(HOST_SUBDIR)/readline && \
32573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32575 "RANLIB=$${RANLIB}" \
32576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32577 install-dvi) \
32578 || exit 1
32579
32580 @endif readline
32581
32582 .PHONY: maybe-install-pdf-readline install-pdf-readline
32583 maybe-install-pdf-readline:
32584 @if readline
32585 maybe-install-pdf-readline: install-pdf-readline
32586
32587 install-pdf-readline: \
32588 configure-readline \
32589 pdf-readline
32590 @: $(MAKE); $(unstage)
32591 @[ -f ./readline/Makefile ] || exit 0; \
32592 r=`${PWD_COMMAND}`; export r; \
32593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32594 $(HOST_EXPORTS) \
32595 for flag in $(EXTRA_HOST_FLAGS) ; do \
32596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32597 done; \
32598 echo "Doing install-pdf in readline"; \
32599 (cd $(HOST_SUBDIR)/readline && \
32600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32602 "RANLIB=$${RANLIB}" \
32603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32604 install-pdf) \
32605 || exit 1
32606
32607 @endif readline
32608
32609 .PHONY: maybe-install-html-readline install-html-readline
32610 maybe-install-html-readline:
32611 @if readline
32612 maybe-install-html-readline: install-html-readline
32613
32614 install-html-readline: \
32615 configure-readline \
32616 html-readline
32617 @: $(MAKE); $(unstage)
32618 @[ -f ./readline/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 install-html in readline"; \
32626 (cd $(HOST_SUBDIR)/readline && \
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 install-html) \
32632 || exit 1
32633
32634 @endif readline
32635
32636 .PHONY: maybe-installcheck-readline installcheck-readline
32637 maybe-installcheck-readline:
32638 @if readline
32639 maybe-installcheck-readline: installcheck-readline
32640
32641 installcheck-readline: \
32642 configure-readline
32643 @: $(MAKE); $(unstage)
32644 @[ -f ./readline/Makefile ] || exit 0; \
32645 r=`${PWD_COMMAND}`; export r; \
32646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32647 $(HOST_EXPORTS) \
32648 for flag in $(EXTRA_HOST_FLAGS) ; do \
32649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32650 done; \
32651 echo "Doing installcheck in readline"; \
32652 (cd $(HOST_SUBDIR)/readline && \
32653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32655 "RANLIB=$${RANLIB}" \
32656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32657 installcheck) \
32658 || exit 1
32659
32660 @endif readline
32661
32662 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
32663 maybe-mostlyclean-readline:
32664 @if readline
32665 maybe-mostlyclean-readline: mostlyclean-readline
32666
32667 mostlyclean-readline:
32668 @: $(MAKE); $(unstage)
32669 @[ -f ./readline/Makefile ] || exit 0; \
32670 r=`${PWD_COMMAND}`; export r; \
32671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32672 $(HOST_EXPORTS) \
32673 for flag in $(EXTRA_HOST_FLAGS) ; do \
32674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32675 done; \
32676 echo "Doing mostlyclean in readline"; \
32677 (cd $(HOST_SUBDIR)/readline && \
32678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32680 "RANLIB=$${RANLIB}" \
32681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32682 mostlyclean) \
32683 || exit 1
32684
32685 @endif readline
32686
32687 .PHONY: maybe-clean-readline clean-readline
32688 maybe-clean-readline:
32689 @if readline
32690 maybe-clean-readline: clean-readline
32691
32692 clean-readline:
32693 @: $(MAKE); $(unstage)
32694 @[ -f ./readline/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 clean in readline"; \
32702 (cd $(HOST_SUBDIR)/readline && \
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 clean) \
32708 || exit 1
32709
32710 @endif readline
32711
32712 .PHONY: maybe-distclean-readline distclean-readline
32713 maybe-distclean-readline:
32714 @if readline
32715 maybe-distclean-readline: distclean-readline
32716
32717 distclean-readline:
32718 @: $(MAKE); $(unstage)
32719 @[ -f ./readline/Makefile ] || exit 0; \
32720 r=`${PWD_COMMAND}`; export r; \
32721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32722 $(HOST_EXPORTS) \
32723 for flag in $(EXTRA_HOST_FLAGS) ; do \
32724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32725 done; \
32726 echo "Doing distclean in readline"; \
32727 (cd $(HOST_SUBDIR)/readline && \
32728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32730 "RANLIB=$${RANLIB}" \
32731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32732 distclean) \
32733 || exit 1
32734
32735 @endif readline
32736
32737 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
32738 maybe-maintainer-clean-readline:
32739 @if readline
32740 maybe-maintainer-clean-readline: maintainer-clean-readline
32741
32742 maintainer-clean-readline:
32743 @: $(MAKE); $(unstage)
32744 @[ -f ./readline/Makefile ] || exit 0; \
32745 r=`${PWD_COMMAND}`; export r; \
32746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32747 $(HOST_EXPORTS) \
32748 for flag in $(EXTRA_HOST_FLAGS) ; do \
32749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32750 done; \
32751 echo "Doing maintainer-clean in readline"; \
32752 (cd $(HOST_SUBDIR)/readline && \
32753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32755 "RANLIB=$${RANLIB}" \
32756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32757 maintainer-clean) \
32758 || exit 1
32759
32760 @endif readline
32761
32762
32763
32764 .PHONY: configure-sid maybe-configure-sid
32765 maybe-configure-sid:
32766 @if gcc-bootstrap
32767 configure-sid: stage_current
32768 @endif gcc-bootstrap
32769 @if sid
32770 maybe-configure-sid: configure-sid
32771 configure-sid:
32772 @: $(MAKE); $(unstage)
32773 @r=`${PWD_COMMAND}`; export r; \
32774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32775 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
32776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid; \
32777 $(HOST_EXPORTS) \
32778 echo Configuring in $(HOST_SUBDIR)/sid; \
32779 cd "$(HOST_SUBDIR)/sid" || exit 1; \
32780 case $(srcdir) in \
32781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32782 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
32783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32784 esac; \
32785 module_srcdir=sid; \
32786 $(SHELL) \
32787 $$s/$$module_srcdir/configure \
32788 --srcdir=$${topdir}/$$module_srcdir \
32789 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32790 --target=${target_alias} \
32791 || exit 1
32792 @endif sid
32793
32794
32795
32796
32797
32798 .PHONY: all-sid maybe-all-sid
32799 maybe-all-sid:
32800 @if gcc-bootstrap
32801 all-sid: stage_current
32802 @endif gcc-bootstrap
32803 @if sid
32804 TARGET-sid=all
32805 maybe-all-sid: all-sid
32806 all-sid: configure-sid
32807 @: $(MAKE); $(unstage)
32808 @r=`${PWD_COMMAND}`; export r; \
32809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32810 $(HOST_EXPORTS) \
32811 (cd $(HOST_SUBDIR)/sid && \
32812 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
32813 $(TARGET-sid))
32814 @endif sid
32815
32816
32817
32818
32819 .PHONY: check-sid maybe-check-sid
32820 maybe-check-sid:
32821 @if sid
32822 maybe-check-sid: check-sid
32823
32824 check-sid:
32825 @: $(MAKE); $(unstage)
32826 @r=`${PWD_COMMAND}`; export r; \
32827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32828 $(HOST_EXPORTS) \
32829 (cd $(HOST_SUBDIR)/sid && \
32830 $(MAKE) $(FLAGS_TO_PASS) check)
32831
32832 @endif sid
32833
32834 .PHONY: install-sid maybe-install-sid
32835 maybe-install-sid:
32836 @if sid
32837 maybe-install-sid: install-sid
32838
32839 install-sid: installdirs
32840 @: $(MAKE); $(unstage)
32841 @r=`${PWD_COMMAND}`; export r; \
32842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32843 $(HOST_EXPORTS) \
32844 (cd $(HOST_SUBDIR)/sid && \
32845 $(MAKE) $(FLAGS_TO_PASS) install)
32846
32847 @endif sid
32848
32849 .PHONY: install-strip-sid maybe-install-strip-sid
32850 maybe-install-strip-sid:
32851 @if sid
32852 maybe-install-strip-sid: install-strip-sid
32853
32854 install-strip-sid: installdirs
32855 @: $(MAKE); $(unstage)
32856 @r=`${PWD_COMMAND}`; export r; \
32857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32858 $(HOST_EXPORTS) \
32859 (cd $(HOST_SUBDIR)/sid && \
32860 $(MAKE) $(FLAGS_TO_PASS) install-strip)
32861
32862 @endif sid
32863
32864 # Other targets (info, dvi, pdf, etc.)
32865
32866 .PHONY: maybe-info-sid info-sid
32867 maybe-info-sid:
32868 @if sid
32869 maybe-info-sid: info-sid
32870
32871 info-sid: \
32872 configure-sid
32873 @: $(MAKE); $(unstage)
32874 @[ -f ./sid/Makefile ] || exit 0; \
32875 r=`${PWD_COMMAND}`; export r; \
32876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32877 $(HOST_EXPORTS) \
32878 for flag in $(EXTRA_HOST_FLAGS) ; do \
32879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32880 done; \
32881 echo "Doing info in sid"; \
32882 (cd $(HOST_SUBDIR)/sid && \
32883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32885 "RANLIB=$${RANLIB}" \
32886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32887 info) \
32888 || exit 1
32889
32890 @endif sid
32891
32892 .PHONY: maybe-dvi-sid dvi-sid
32893 maybe-dvi-sid:
32894 @if sid
32895 maybe-dvi-sid: dvi-sid
32896
32897 dvi-sid: \
32898 configure-sid
32899 @: $(MAKE); $(unstage)
32900 @[ -f ./sid/Makefile ] || exit 0; \
32901 r=`${PWD_COMMAND}`; export r; \
32902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32903 $(HOST_EXPORTS) \
32904 for flag in $(EXTRA_HOST_FLAGS) ; do \
32905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32906 done; \
32907 echo "Doing dvi in sid"; \
32908 (cd $(HOST_SUBDIR)/sid && \
32909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32911 "RANLIB=$${RANLIB}" \
32912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32913 dvi) \
32914 || exit 1
32915
32916 @endif sid
32917
32918 .PHONY: maybe-pdf-sid pdf-sid
32919 maybe-pdf-sid:
32920 @if sid
32921 maybe-pdf-sid: pdf-sid
32922
32923 pdf-sid: \
32924 configure-sid
32925 @: $(MAKE); $(unstage)
32926 @[ -f ./sid/Makefile ] || exit 0; \
32927 r=`${PWD_COMMAND}`; export r; \
32928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32929 $(HOST_EXPORTS) \
32930 for flag in $(EXTRA_HOST_FLAGS) ; do \
32931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32932 done; \
32933 echo "Doing pdf in sid"; \
32934 (cd $(HOST_SUBDIR)/sid && \
32935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32937 "RANLIB=$${RANLIB}" \
32938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32939 pdf) \
32940 || exit 1
32941
32942 @endif sid
32943
32944 .PHONY: maybe-html-sid html-sid
32945 maybe-html-sid:
32946 @if sid
32947 maybe-html-sid: html-sid
32948
32949 html-sid: \
32950 configure-sid
32951 @: $(MAKE); $(unstage)
32952 @[ -f ./sid/Makefile ] || exit 0; \
32953 r=`${PWD_COMMAND}`; export r; \
32954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32955 $(HOST_EXPORTS) \
32956 for flag in $(EXTRA_HOST_FLAGS) ; do \
32957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32958 done; \
32959 echo "Doing html in sid"; \
32960 (cd $(HOST_SUBDIR)/sid && \
32961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32963 "RANLIB=$${RANLIB}" \
32964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32965 html) \
32966 || exit 1
32967
32968 @endif sid
32969
32970 .PHONY: maybe-TAGS-sid TAGS-sid
32971 maybe-TAGS-sid:
32972 @if sid
32973 maybe-TAGS-sid: TAGS-sid
32974
32975 TAGS-sid: \
32976 configure-sid
32977 @: $(MAKE); $(unstage)
32978 @[ -f ./sid/Makefile ] || exit 0; \
32979 r=`${PWD_COMMAND}`; export r; \
32980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32981 $(HOST_EXPORTS) \
32982 for flag in $(EXTRA_HOST_FLAGS) ; do \
32983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32984 done; \
32985 echo "Doing TAGS in sid"; \
32986 (cd $(HOST_SUBDIR)/sid && \
32987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32989 "RANLIB=$${RANLIB}" \
32990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32991 TAGS) \
32992 || exit 1
32993
32994 @endif sid
32995
32996 .PHONY: maybe-install-info-sid install-info-sid
32997 maybe-install-info-sid:
32998 @if sid
32999 maybe-install-info-sid: install-info-sid
33000
33001 install-info-sid: \
33002 configure-sid \
33003 info-sid
33004 @: $(MAKE); $(unstage)
33005 @[ -f ./sid/Makefile ] || exit 0; \
33006 r=`${PWD_COMMAND}`; export r; \
33007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33008 $(HOST_EXPORTS) \
33009 for flag in $(EXTRA_HOST_FLAGS) ; do \
33010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33011 done; \
33012 echo "Doing install-info in sid"; \
33013 (cd $(HOST_SUBDIR)/sid && \
33014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33016 "RANLIB=$${RANLIB}" \
33017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33018 install-info) \
33019 || exit 1
33020
33021 @endif sid
33022
33023 .PHONY: maybe-install-dvi-sid install-dvi-sid
33024 maybe-install-dvi-sid:
33025 @if sid
33026 maybe-install-dvi-sid: install-dvi-sid
33027
33028 install-dvi-sid: \
33029 configure-sid \
33030 dvi-sid
33031 @: $(MAKE); $(unstage)
33032 @[ -f ./sid/Makefile ] || exit 0; \
33033 r=`${PWD_COMMAND}`; export r; \
33034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33035 $(HOST_EXPORTS) \
33036 for flag in $(EXTRA_HOST_FLAGS) ; do \
33037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33038 done; \
33039 echo "Doing install-dvi in sid"; \
33040 (cd $(HOST_SUBDIR)/sid && \
33041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33043 "RANLIB=$${RANLIB}" \
33044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33045 install-dvi) \
33046 || exit 1
33047
33048 @endif sid
33049
33050 .PHONY: maybe-install-pdf-sid install-pdf-sid
33051 maybe-install-pdf-sid:
33052 @if sid
33053 maybe-install-pdf-sid: install-pdf-sid
33054
33055 install-pdf-sid: \
33056 configure-sid \
33057 pdf-sid
33058 @: $(MAKE); $(unstage)
33059 @[ -f ./sid/Makefile ] || exit 0; \
33060 r=`${PWD_COMMAND}`; export r; \
33061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33062 $(HOST_EXPORTS) \
33063 for flag in $(EXTRA_HOST_FLAGS) ; do \
33064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33065 done; \
33066 echo "Doing install-pdf in sid"; \
33067 (cd $(HOST_SUBDIR)/sid && \
33068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33070 "RANLIB=$${RANLIB}" \
33071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33072 install-pdf) \
33073 || exit 1
33074
33075 @endif sid
33076
33077 .PHONY: maybe-install-html-sid install-html-sid
33078 maybe-install-html-sid:
33079 @if sid
33080 maybe-install-html-sid: install-html-sid
33081
33082 install-html-sid: \
33083 configure-sid \
33084 html-sid
33085 @: $(MAKE); $(unstage)
33086 @[ -f ./sid/Makefile ] || exit 0; \
33087 r=`${PWD_COMMAND}`; export r; \
33088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33089 $(HOST_EXPORTS) \
33090 for flag in $(EXTRA_HOST_FLAGS) ; do \
33091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33092 done; \
33093 echo "Doing install-html in sid"; \
33094 (cd $(HOST_SUBDIR)/sid && \
33095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33097 "RANLIB=$${RANLIB}" \
33098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33099 install-html) \
33100 || exit 1
33101
33102 @endif sid
33103
33104 .PHONY: maybe-installcheck-sid installcheck-sid
33105 maybe-installcheck-sid:
33106 @if sid
33107 maybe-installcheck-sid: installcheck-sid
33108
33109 installcheck-sid: \
33110 configure-sid
33111 @: $(MAKE); $(unstage)
33112 @[ -f ./sid/Makefile ] || exit 0; \
33113 r=`${PWD_COMMAND}`; export r; \
33114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33115 $(HOST_EXPORTS) \
33116 for flag in $(EXTRA_HOST_FLAGS) ; do \
33117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33118 done; \
33119 echo "Doing installcheck in sid"; \
33120 (cd $(HOST_SUBDIR)/sid && \
33121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33123 "RANLIB=$${RANLIB}" \
33124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33125 installcheck) \
33126 || exit 1
33127
33128 @endif sid
33129
33130 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
33131 maybe-mostlyclean-sid:
33132 @if sid
33133 maybe-mostlyclean-sid: mostlyclean-sid
33134
33135 mostlyclean-sid:
33136 @: $(MAKE); $(unstage)
33137 @[ -f ./sid/Makefile ] || exit 0; \
33138 r=`${PWD_COMMAND}`; export r; \
33139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33140 $(HOST_EXPORTS) \
33141 for flag in $(EXTRA_HOST_FLAGS) ; do \
33142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33143 done; \
33144 echo "Doing mostlyclean in sid"; \
33145 (cd $(HOST_SUBDIR)/sid && \
33146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33148 "RANLIB=$${RANLIB}" \
33149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33150 mostlyclean) \
33151 || exit 1
33152
33153 @endif sid
33154
33155 .PHONY: maybe-clean-sid clean-sid
33156 maybe-clean-sid:
33157 @if sid
33158 maybe-clean-sid: clean-sid
33159
33160 clean-sid:
33161 @: $(MAKE); $(unstage)
33162 @[ -f ./sid/Makefile ] || exit 0; \
33163 r=`${PWD_COMMAND}`; export r; \
33164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33165 $(HOST_EXPORTS) \
33166 for flag in $(EXTRA_HOST_FLAGS) ; do \
33167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33168 done; \
33169 echo "Doing clean in sid"; \
33170 (cd $(HOST_SUBDIR)/sid && \
33171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33173 "RANLIB=$${RANLIB}" \
33174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33175 clean) \
33176 || exit 1
33177
33178 @endif sid
33179
33180 .PHONY: maybe-distclean-sid distclean-sid
33181 maybe-distclean-sid:
33182 @if sid
33183 maybe-distclean-sid: distclean-sid
33184
33185 distclean-sid:
33186 @: $(MAKE); $(unstage)
33187 @[ -f ./sid/Makefile ] || exit 0; \
33188 r=`${PWD_COMMAND}`; export r; \
33189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33190 $(HOST_EXPORTS) \
33191 for flag in $(EXTRA_HOST_FLAGS) ; do \
33192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33193 done; \
33194 echo "Doing distclean in sid"; \
33195 (cd $(HOST_SUBDIR)/sid && \
33196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33198 "RANLIB=$${RANLIB}" \
33199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33200 distclean) \
33201 || exit 1
33202
33203 @endif sid
33204
33205 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
33206 maybe-maintainer-clean-sid:
33207 @if sid
33208 maybe-maintainer-clean-sid: maintainer-clean-sid
33209
33210 maintainer-clean-sid:
33211 @: $(MAKE); $(unstage)
33212 @[ -f ./sid/Makefile ] || exit 0; \
33213 r=`${PWD_COMMAND}`; export r; \
33214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33215 $(HOST_EXPORTS) \
33216 for flag in $(EXTRA_HOST_FLAGS) ; do \
33217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33218 done; \
33219 echo "Doing maintainer-clean in sid"; \
33220 (cd $(HOST_SUBDIR)/sid && \
33221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33223 "RANLIB=$${RANLIB}" \
33224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33225 maintainer-clean) \
33226 || exit 1
33227
33228 @endif sid
33229
33230
33231
33232 .PHONY: configure-sim maybe-configure-sim
33233 maybe-configure-sim:
33234 @if gcc-bootstrap
33235 configure-sim: stage_current
33236 @endif gcc-bootstrap
33237 @if sim
33238 maybe-configure-sim: configure-sim
33239 configure-sim:
33240 @: $(MAKE); $(unstage)
33241 @r=`${PWD_COMMAND}`; export r; \
33242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33243 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
33244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim; \
33245 $(HOST_EXPORTS) \
33246 echo Configuring in $(HOST_SUBDIR)/sim; \
33247 cd "$(HOST_SUBDIR)/sim" || exit 1; \
33248 case $(srcdir) in \
33249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33250 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
33251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33252 esac; \
33253 module_srcdir=sim; \
33254 $(SHELL) \
33255 $$s/$$module_srcdir/configure \
33256 --srcdir=$${topdir}/$$module_srcdir \
33257 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33258 --target=${target_alias} \
33259 || exit 1
33260 @endif sim
33261
33262
33263
33264
33265
33266 .PHONY: all-sim maybe-all-sim
33267 maybe-all-sim:
33268 @if gcc-bootstrap
33269 all-sim: stage_current
33270 @endif gcc-bootstrap
33271 @if sim
33272 TARGET-sim=all
33273 maybe-all-sim: all-sim
33274 all-sim: configure-sim
33275 @: $(MAKE); $(unstage)
33276 @r=`${PWD_COMMAND}`; export r; \
33277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33278 $(HOST_EXPORTS) \
33279 (cd $(HOST_SUBDIR)/sim && \
33280 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33281 $(TARGET-sim))
33282 @endif sim
33283
33284
33285
33286
33287 .PHONY: check-sim maybe-check-sim
33288 maybe-check-sim:
33289 @if sim
33290 maybe-check-sim: check-sim
33291
33292 check-sim:
33293 @: $(MAKE); $(unstage)
33294 @r=`${PWD_COMMAND}`; export r; \
33295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33296 $(HOST_EXPORTS) \
33297 (cd $(HOST_SUBDIR)/sim && \
33298 $(MAKE) $(FLAGS_TO_PASS) check)
33299
33300 @endif sim
33301
33302 .PHONY: install-sim maybe-install-sim
33303 maybe-install-sim:
33304 @if sim
33305 maybe-install-sim: install-sim
33306
33307 install-sim: installdirs
33308 @: $(MAKE); $(unstage)
33309 @r=`${PWD_COMMAND}`; export r; \
33310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33311 $(HOST_EXPORTS) \
33312 (cd $(HOST_SUBDIR)/sim && \
33313 $(MAKE) $(FLAGS_TO_PASS) install)
33314
33315 @endif sim
33316
33317 .PHONY: install-strip-sim maybe-install-strip-sim
33318 maybe-install-strip-sim:
33319 @if sim
33320 maybe-install-strip-sim: install-strip-sim
33321
33322 install-strip-sim: installdirs
33323 @: $(MAKE); $(unstage)
33324 @r=`${PWD_COMMAND}`; export r; \
33325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33326 $(HOST_EXPORTS) \
33327 (cd $(HOST_SUBDIR)/sim && \
33328 $(MAKE) $(FLAGS_TO_PASS) install-strip)
33329
33330 @endif sim
33331
33332 # Other targets (info, dvi, pdf, etc.)
33333
33334 .PHONY: maybe-info-sim info-sim
33335 maybe-info-sim:
33336 @if sim
33337 maybe-info-sim: info-sim
33338
33339 info-sim: \
33340 configure-sim
33341 @: $(MAKE); $(unstage)
33342 @[ -f ./sim/Makefile ] || exit 0; \
33343 r=`${PWD_COMMAND}`; export r; \
33344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33345 $(HOST_EXPORTS) \
33346 for flag in $(EXTRA_HOST_FLAGS) ; do \
33347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33348 done; \
33349 echo "Doing info in sim"; \
33350 (cd $(HOST_SUBDIR)/sim && \
33351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33353 "RANLIB=$${RANLIB}" \
33354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33355 info) \
33356 || exit 1
33357
33358 @endif sim
33359
33360 .PHONY: maybe-dvi-sim dvi-sim
33361 maybe-dvi-sim:
33362 @if sim
33363 maybe-dvi-sim: dvi-sim
33364
33365 dvi-sim: \
33366 configure-sim
33367 @: $(MAKE); $(unstage)
33368 @[ -f ./sim/Makefile ] || exit 0; \
33369 r=`${PWD_COMMAND}`; export r; \
33370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33371 $(HOST_EXPORTS) \
33372 for flag in $(EXTRA_HOST_FLAGS) ; do \
33373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33374 done; \
33375 echo "Doing dvi in sim"; \
33376 (cd $(HOST_SUBDIR)/sim && \
33377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33379 "RANLIB=$${RANLIB}" \
33380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33381 dvi) \
33382 || exit 1
33383
33384 @endif sim
33385
33386 .PHONY: maybe-pdf-sim pdf-sim
33387 maybe-pdf-sim:
33388 @if sim
33389 maybe-pdf-sim: pdf-sim
33390
33391 pdf-sim: \
33392 configure-sim
33393 @: $(MAKE); $(unstage)
33394 @[ -f ./sim/Makefile ] || exit 0; \
33395 r=`${PWD_COMMAND}`; export r; \
33396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33397 $(HOST_EXPORTS) \
33398 for flag in $(EXTRA_HOST_FLAGS) ; do \
33399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33400 done; \
33401 echo "Doing pdf in sim"; \
33402 (cd $(HOST_SUBDIR)/sim && \
33403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33405 "RANLIB=$${RANLIB}" \
33406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33407 pdf) \
33408 || exit 1
33409
33410 @endif sim
33411
33412 .PHONY: maybe-html-sim html-sim
33413 maybe-html-sim:
33414 @if sim
33415 maybe-html-sim: html-sim
33416
33417 html-sim: \
33418 configure-sim
33419 @: $(MAKE); $(unstage)
33420 @[ -f ./sim/Makefile ] || exit 0; \
33421 r=`${PWD_COMMAND}`; export r; \
33422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33423 $(HOST_EXPORTS) \
33424 for flag in $(EXTRA_HOST_FLAGS) ; do \
33425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33426 done; \
33427 echo "Doing html in sim"; \
33428 (cd $(HOST_SUBDIR)/sim && \
33429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33431 "RANLIB=$${RANLIB}" \
33432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33433 html) \
33434 || exit 1
33435
33436 @endif sim
33437
33438 .PHONY: maybe-TAGS-sim TAGS-sim
33439 maybe-TAGS-sim:
33440 @if sim
33441 maybe-TAGS-sim: TAGS-sim
33442
33443 TAGS-sim: \
33444 configure-sim
33445 @: $(MAKE); $(unstage)
33446 @[ -f ./sim/Makefile ] || exit 0; \
33447 r=`${PWD_COMMAND}`; export r; \
33448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33449 $(HOST_EXPORTS) \
33450 for flag in $(EXTRA_HOST_FLAGS) ; do \
33451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33452 done; \
33453 echo "Doing TAGS in sim"; \
33454 (cd $(HOST_SUBDIR)/sim && \
33455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33457 "RANLIB=$${RANLIB}" \
33458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33459 TAGS) \
33460 || exit 1
33461
33462 @endif sim
33463
33464 .PHONY: maybe-install-info-sim install-info-sim
33465 maybe-install-info-sim:
33466 @if sim
33467 maybe-install-info-sim: install-info-sim
33468
33469 install-info-sim: \
33470 configure-sim \
33471 info-sim
33472 @: $(MAKE); $(unstage)
33473 @[ -f ./sim/Makefile ] || exit 0; \
33474 r=`${PWD_COMMAND}`; export r; \
33475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33476 $(HOST_EXPORTS) \
33477 for flag in $(EXTRA_HOST_FLAGS) ; do \
33478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33479 done; \
33480 echo "Doing install-info in sim"; \
33481 (cd $(HOST_SUBDIR)/sim && \
33482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33484 "RANLIB=$${RANLIB}" \
33485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33486 install-info) \
33487 || exit 1
33488
33489 @endif sim
33490
33491 .PHONY: maybe-install-dvi-sim install-dvi-sim
33492 maybe-install-dvi-sim:
33493 @if sim
33494 maybe-install-dvi-sim: install-dvi-sim
33495
33496 install-dvi-sim: \
33497 configure-sim \
33498 dvi-sim
33499 @: $(MAKE); $(unstage)
33500 @[ -f ./sim/Makefile ] || exit 0; \
33501 r=`${PWD_COMMAND}`; export r; \
33502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33503 $(HOST_EXPORTS) \
33504 for flag in $(EXTRA_HOST_FLAGS) ; do \
33505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33506 done; \
33507 echo "Doing install-dvi in sim"; \
33508 (cd $(HOST_SUBDIR)/sim && \
33509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33511 "RANLIB=$${RANLIB}" \
33512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33513 install-dvi) \
33514 || exit 1
33515
33516 @endif sim
33517
33518 .PHONY: maybe-install-pdf-sim install-pdf-sim
33519 maybe-install-pdf-sim:
33520 @if sim
33521 maybe-install-pdf-sim: install-pdf-sim
33522
33523 install-pdf-sim: \
33524 configure-sim \
33525 pdf-sim
33526 @: $(MAKE); $(unstage)
33527 @[ -f ./sim/Makefile ] || exit 0; \
33528 r=`${PWD_COMMAND}`; export r; \
33529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33530 $(HOST_EXPORTS) \
33531 for flag in $(EXTRA_HOST_FLAGS) ; do \
33532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33533 done; \
33534 echo "Doing install-pdf in sim"; \
33535 (cd $(HOST_SUBDIR)/sim && \
33536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33538 "RANLIB=$${RANLIB}" \
33539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33540 install-pdf) \
33541 || exit 1
33542
33543 @endif sim
33544
33545 .PHONY: maybe-install-html-sim install-html-sim
33546 maybe-install-html-sim:
33547 @if sim
33548 maybe-install-html-sim: install-html-sim
33549
33550 install-html-sim: \
33551 configure-sim \
33552 html-sim
33553 @: $(MAKE); $(unstage)
33554 @[ -f ./sim/Makefile ] || exit 0; \
33555 r=`${PWD_COMMAND}`; export r; \
33556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33557 $(HOST_EXPORTS) \
33558 for flag in $(EXTRA_HOST_FLAGS) ; do \
33559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33560 done; \
33561 echo "Doing install-html in sim"; \
33562 (cd $(HOST_SUBDIR)/sim && \
33563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33565 "RANLIB=$${RANLIB}" \
33566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33567 install-html) \
33568 || exit 1
33569
33570 @endif sim
33571
33572 .PHONY: maybe-installcheck-sim installcheck-sim
33573 maybe-installcheck-sim:
33574 @if sim
33575 maybe-installcheck-sim: installcheck-sim
33576
33577 installcheck-sim: \
33578 configure-sim
33579 @: $(MAKE); $(unstage)
33580 @[ -f ./sim/Makefile ] || exit 0; \
33581 r=`${PWD_COMMAND}`; export r; \
33582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33583 $(HOST_EXPORTS) \
33584 for flag in $(EXTRA_HOST_FLAGS) ; do \
33585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33586 done; \
33587 echo "Doing installcheck in sim"; \
33588 (cd $(HOST_SUBDIR)/sim && \
33589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33591 "RANLIB=$${RANLIB}" \
33592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33593 installcheck) \
33594 || exit 1
33595
33596 @endif sim
33597
33598 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
33599 maybe-mostlyclean-sim:
33600 @if sim
33601 maybe-mostlyclean-sim: mostlyclean-sim
33602
33603 mostlyclean-sim:
33604 @: $(MAKE); $(unstage)
33605 @[ -f ./sim/Makefile ] || exit 0; \
33606 r=`${PWD_COMMAND}`; export r; \
33607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33608 $(HOST_EXPORTS) \
33609 for flag in $(EXTRA_HOST_FLAGS) ; do \
33610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33611 done; \
33612 echo "Doing mostlyclean in sim"; \
33613 (cd $(HOST_SUBDIR)/sim && \
33614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33616 "RANLIB=$${RANLIB}" \
33617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33618 mostlyclean) \
33619 || exit 1
33620
33621 @endif sim
33622
33623 .PHONY: maybe-clean-sim clean-sim
33624 maybe-clean-sim:
33625 @if sim
33626 maybe-clean-sim: clean-sim
33627
33628 clean-sim:
33629 @: $(MAKE); $(unstage)
33630 @[ -f ./sim/Makefile ] || exit 0; \
33631 r=`${PWD_COMMAND}`; export r; \
33632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33633 $(HOST_EXPORTS) \
33634 for flag in $(EXTRA_HOST_FLAGS) ; do \
33635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33636 done; \
33637 echo "Doing clean in sim"; \
33638 (cd $(HOST_SUBDIR)/sim && \
33639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33641 "RANLIB=$${RANLIB}" \
33642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33643 clean) \
33644 || exit 1
33645
33646 @endif sim
33647
33648 .PHONY: maybe-distclean-sim distclean-sim
33649 maybe-distclean-sim:
33650 @if sim
33651 maybe-distclean-sim: distclean-sim
33652
33653 distclean-sim:
33654 @: $(MAKE); $(unstage)
33655 @[ -f ./sim/Makefile ] || exit 0; \
33656 r=`${PWD_COMMAND}`; export r; \
33657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33658 $(HOST_EXPORTS) \
33659 for flag in $(EXTRA_HOST_FLAGS) ; do \
33660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33661 done; \
33662 echo "Doing distclean in sim"; \
33663 (cd $(HOST_SUBDIR)/sim && \
33664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33666 "RANLIB=$${RANLIB}" \
33667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33668 distclean) \
33669 || exit 1
33670
33671 @endif sim
33672
33673 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
33674 maybe-maintainer-clean-sim:
33675 @if sim
33676 maybe-maintainer-clean-sim: maintainer-clean-sim
33677
33678 maintainer-clean-sim:
33679 @: $(MAKE); $(unstage)
33680 @[ -f ./sim/Makefile ] || exit 0; \
33681 r=`${PWD_COMMAND}`; export r; \
33682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33683 $(HOST_EXPORTS) \
33684 for flag in $(EXTRA_HOST_FLAGS) ; do \
33685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33686 done; \
33687 echo "Doing maintainer-clean in sim"; \
33688 (cd $(HOST_SUBDIR)/sim && \
33689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33691 "RANLIB=$${RANLIB}" \
33692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33693 maintainer-clean) \
33694 || exit 1
33695
33696 @endif sim
33697
33698
33699
33700 .PHONY: configure-texinfo maybe-configure-texinfo
33701 maybe-configure-texinfo:
33702 @if gcc-bootstrap
33703 configure-texinfo: stage_current
33704 @endif gcc-bootstrap
33705 @if texinfo
33706 maybe-configure-texinfo: configure-texinfo
33707 configure-texinfo:
33708 @: $(MAKE); $(unstage)
33709 @r=`${PWD_COMMAND}`; export r; \
33710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33711 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
33712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo; \
33713 $(HOST_EXPORTS) \
33714 echo Configuring in $(HOST_SUBDIR)/texinfo; \
33715 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
33716 case $(srcdir) in \
33717 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33718 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
33719 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33720 esac; \
33721 module_srcdir=texinfo; \
33722 $(SHELL) \
33723 $$s/$$module_srcdir/configure \
33724 --srcdir=$${topdir}/$$module_srcdir \
33725 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33726 --target=${target_alias} \
33727 || exit 1
33728 @endif texinfo
33729
33730
33731
33732
33733
33734 .PHONY: all-texinfo maybe-all-texinfo
33735 maybe-all-texinfo:
33736 @if gcc-bootstrap
33737 all-texinfo: stage_current
33738 @endif gcc-bootstrap
33739 @if texinfo
33740 TARGET-texinfo=all
33741 maybe-all-texinfo: all-texinfo
33742 all-texinfo: configure-texinfo
33743 @: $(MAKE); $(unstage)
33744 @r=`${PWD_COMMAND}`; export r; \
33745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33746 $(HOST_EXPORTS) \
33747 (cd $(HOST_SUBDIR)/texinfo && \
33748 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
33749 $(TARGET-texinfo))
33750 @endif texinfo
33751
33752
33753
33754
33755 .PHONY: check-texinfo maybe-check-texinfo
33756 maybe-check-texinfo:
33757 @if texinfo
33758 maybe-check-texinfo: check-texinfo
33759
33760 check-texinfo:
33761 @: $(MAKE); $(unstage)
33762 @r=`${PWD_COMMAND}`; export r; \
33763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33764 $(HOST_EXPORTS) \
33765 (cd $(HOST_SUBDIR)/texinfo && \
33766 $(MAKE) $(FLAGS_TO_PASS) check)
33767
33768 @endif texinfo
33769
33770 .PHONY: install-texinfo maybe-install-texinfo
33771 maybe-install-texinfo:
33772 @if texinfo
33773 maybe-install-texinfo: install-texinfo
33774
33775 install-texinfo:
33776
33777 @endif texinfo
33778
33779 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
33780 maybe-install-strip-texinfo:
33781 @if texinfo
33782 maybe-install-strip-texinfo: install-strip-texinfo
33783
33784 install-strip-texinfo:
33785
33786 @endif texinfo
33787
33788 # Other targets (info, dvi, pdf, etc.)
33789
33790 .PHONY: maybe-info-texinfo info-texinfo
33791 maybe-info-texinfo:
33792 @if texinfo
33793 maybe-info-texinfo: info-texinfo
33794
33795 info-texinfo: \
33796 configure-texinfo
33797 @: $(MAKE); $(unstage)
33798 @[ -f ./texinfo/Makefile ] || exit 0; \
33799 r=`${PWD_COMMAND}`; export r; \
33800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33801 $(HOST_EXPORTS) \
33802 for flag in $(EXTRA_HOST_FLAGS) ; do \
33803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33804 done; \
33805 echo "Doing info in texinfo"; \
33806 (cd $(HOST_SUBDIR)/texinfo && \
33807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33809 "RANLIB=$${RANLIB}" \
33810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33811 info) \
33812 || exit 1
33813
33814 @endif texinfo
33815
33816 .PHONY: maybe-dvi-texinfo dvi-texinfo
33817 maybe-dvi-texinfo:
33818 @if texinfo
33819 maybe-dvi-texinfo: dvi-texinfo
33820
33821 dvi-texinfo: \
33822 configure-texinfo
33823 @: $(MAKE); $(unstage)
33824 @[ -f ./texinfo/Makefile ] || exit 0; \
33825 r=`${PWD_COMMAND}`; export r; \
33826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33827 $(HOST_EXPORTS) \
33828 for flag in $(EXTRA_HOST_FLAGS) ; do \
33829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33830 done; \
33831 echo "Doing dvi in texinfo"; \
33832 (cd $(HOST_SUBDIR)/texinfo && \
33833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33835 "RANLIB=$${RANLIB}" \
33836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33837 dvi) \
33838 || exit 1
33839
33840 @endif texinfo
33841
33842 .PHONY: maybe-pdf-texinfo pdf-texinfo
33843 maybe-pdf-texinfo:
33844 @if texinfo
33845 maybe-pdf-texinfo: pdf-texinfo
33846
33847 pdf-texinfo: \
33848 configure-texinfo
33849 @: $(MAKE); $(unstage)
33850 @[ -f ./texinfo/Makefile ] || exit 0; \
33851 r=`${PWD_COMMAND}`; export r; \
33852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33853 $(HOST_EXPORTS) \
33854 for flag in $(EXTRA_HOST_FLAGS) ; do \
33855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33856 done; \
33857 echo "Doing pdf in texinfo"; \
33858 (cd $(HOST_SUBDIR)/texinfo && \
33859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33861 "RANLIB=$${RANLIB}" \
33862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33863 pdf) \
33864 || exit 1
33865
33866 @endif texinfo
33867
33868 .PHONY: maybe-html-texinfo html-texinfo
33869 maybe-html-texinfo:
33870 @if texinfo
33871 maybe-html-texinfo: html-texinfo
33872
33873 html-texinfo: \
33874 configure-texinfo
33875 @: $(MAKE); $(unstage)
33876 @[ -f ./texinfo/Makefile ] || exit 0; \
33877 r=`${PWD_COMMAND}`; export r; \
33878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33879 $(HOST_EXPORTS) \
33880 for flag in $(EXTRA_HOST_FLAGS) ; do \
33881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33882 done; \
33883 echo "Doing html in texinfo"; \
33884 (cd $(HOST_SUBDIR)/texinfo && \
33885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33887 "RANLIB=$${RANLIB}" \
33888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33889 html) \
33890 || exit 1
33891
33892 @endif texinfo
33893
33894 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
33895 maybe-TAGS-texinfo:
33896 @if texinfo
33897 maybe-TAGS-texinfo: TAGS-texinfo
33898
33899 TAGS-texinfo: \
33900 configure-texinfo
33901 @: $(MAKE); $(unstage)
33902 @[ -f ./texinfo/Makefile ] || exit 0; \
33903 r=`${PWD_COMMAND}`; export r; \
33904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33905 $(HOST_EXPORTS) \
33906 for flag in $(EXTRA_HOST_FLAGS) ; do \
33907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33908 done; \
33909 echo "Doing TAGS in texinfo"; \
33910 (cd $(HOST_SUBDIR)/texinfo && \
33911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33913 "RANLIB=$${RANLIB}" \
33914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33915 TAGS) \
33916 || exit 1
33917
33918 @endif texinfo
33919
33920 .PHONY: maybe-install-info-texinfo install-info-texinfo
33921 maybe-install-info-texinfo:
33922 @if texinfo
33923 maybe-install-info-texinfo: install-info-texinfo
33924
33925 install-info-texinfo: \
33926 configure-texinfo \
33927 info-texinfo
33928 @: $(MAKE); $(unstage)
33929 @[ -f ./texinfo/Makefile ] || exit 0; \
33930 r=`${PWD_COMMAND}`; export r; \
33931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33932 $(HOST_EXPORTS) \
33933 for flag in $(EXTRA_HOST_FLAGS) ; do \
33934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33935 done; \
33936 echo "Doing install-info in texinfo"; \
33937 (cd $(HOST_SUBDIR)/texinfo && \
33938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33940 "RANLIB=$${RANLIB}" \
33941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33942 install-info) \
33943 || exit 1
33944
33945 @endif texinfo
33946
33947 .PHONY: maybe-install-dvi-texinfo install-dvi-texinfo
33948 maybe-install-dvi-texinfo:
33949 @if texinfo
33950 maybe-install-dvi-texinfo: install-dvi-texinfo
33951
33952 install-dvi-texinfo: \
33953 configure-texinfo \
33954 dvi-texinfo
33955 @: $(MAKE); $(unstage)
33956 @[ -f ./texinfo/Makefile ] || exit 0; \
33957 r=`${PWD_COMMAND}`; export r; \
33958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33959 $(HOST_EXPORTS) \
33960 for flag in $(EXTRA_HOST_FLAGS) ; do \
33961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33962 done; \
33963 echo "Doing install-dvi in texinfo"; \
33964 (cd $(HOST_SUBDIR)/texinfo && \
33965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33967 "RANLIB=$${RANLIB}" \
33968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33969 install-dvi) \
33970 || exit 1
33971
33972 @endif texinfo
33973
33974 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
33975 maybe-install-pdf-texinfo:
33976 @if texinfo
33977 maybe-install-pdf-texinfo: install-pdf-texinfo
33978
33979 install-pdf-texinfo: \
33980 configure-texinfo \
33981 pdf-texinfo
33982 @: $(MAKE); $(unstage)
33983 @[ -f ./texinfo/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 install-pdf in texinfo"; \
33991 (cd $(HOST_SUBDIR)/texinfo && \
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 install-pdf) \
33997 || exit 1
33998
33999 @endif texinfo
34000
34001 .PHONY: maybe-install-html-texinfo install-html-texinfo
34002 maybe-install-html-texinfo:
34003 @if texinfo
34004 maybe-install-html-texinfo: install-html-texinfo
34005
34006 install-html-texinfo: \
34007 configure-texinfo \
34008 html-texinfo
34009 @: $(MAKE); $(unstage)
34010 @[ -f ./texinfo/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-html in texinfo"; \
34018 (cd $(HOST_SUBDIR)/texinfo && \
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-html) \
34024 || exit 1
34025
34026 @endif texinfo
34027
34028 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
34029 maybe-installcheck-texinfo:
34030 @if texinfo
34031 maybe-installcheck-texinfo: installcheck-texinfo
34032
34033 installcheck-texinfo: \
34034 configure-texinfo
34035 @: $(MAKE); $(unstage)
34036 @[ -f ./texinfo/Makefile ] || exit 0; \
34037 r=`${PWD_COMMAND}`; export r; \
34038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34039 $(HOST_EXPORTS) \
34040 for flag in $(EXTRA_HOST_FLAGS) ; do \
34041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34042 done; \
34043 echo "Doing installcheck in texinfo"; \
34044 (cd $(HOST_SUBDIR)/texinfo && \
34045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34047 "RANLIB=$${RANLIB}" \
34048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34049 installcheck) \
34050 || exit 1
34051
34052 @endif texinfo
34053
34054 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
34055 maybe-mostlyclean-texinfo:
34056 @if texinfo
34057 maybe-mostlyclean-texinfo: mostlyclean-texinfo
34058
34059 mostlyclean-texinfo:
34060 @: $(MAKE); $(unstage)
34061 @[ -f ./texinfo/Makefile ] || exit 0; \
34062 r=`${PWD_COMMAND}`; export r; \
34063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34064 $(HOST_EXPORTS) \
34065 for flag in $(EXTRA_HOST_FLAGS) ; do \
34066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34067 done; \
34068 echo "Doing mostlyclean in texinfo"; \
34069 (cd $(HOST_SUBDIR)/texinfo && \
34070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34072 "RANLIB=$${RANLIB}" \
34073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34074 mostlyclean) \
34075 || exit 1
34076
34077 @endif texinfo
34078
34079 .PHONY: maybe-clean-texinfo clean-texinfo
34080 maybe-clean-texinfo:
34081 @if texinfo
34082 maybe-clean-texinfo: clean-texinfo
34083
34084 clean-texinfo:
34085 @: $(MAKE); $(unstage)
34086 @[ -f ./texinfo/Makefile ] || exit 0; \
34087 r=`${PWD_COMMAND}`; export r; \
34088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34089 $(HOST_EXPORTS) \
34090 for flag in $(EXTRA_HOST_FLAGS) ; do \
34091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34092 done; \
34093 echo "Doing clean in texinfo"; \
34094 (cd $(HOST_SUBDIR)/texinfo && \
34095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34097 "RANLIB=$${RANLIB}" \
34098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34099 clean) \
34100 || exit 1
34101
34102 @endif texinfo
34103
34104 .PHONY: maybe-distclean-texinfo distclean-texinfo
34105 maybe-distclean-texinfo:
34106 @if texinfo
34107 maybe-distclean-texinfo: distclean-texinfo
34108
34109 distclean-texinfo:
34110 @: $(MAKE); $(unstage)
34111 @[ -f ./texinfo/Makefile ] || exit 0; \
34112 r=`${PWD_COMMAND}`; export r; \
34113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34114 $(HOST_EXPORTS) \
34115 for flag in $(EXTRA_HOST_FLAGS) ; do \
34116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34117 done; \
34118 echo "Doing distclean in texinfo"; \
34119 (cd $(HOST_SUBDIR)/texinfo && \
34120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34122 "RANLIB=$${RANLIB}" \
34123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34124 distclean) \
34125 || exit 1
34126
34127 @endif texinfo
34128
34129 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
34130 maybe-maintainer-clean-texinfo:
34131 @if texinfo
34132 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
34133
34134 maintainer-clean-texinfo:
34135 @: $(MAKE); $(unstage)
34136 @[ -f ./texinfo/Makefile ] || exit 0; \
34137 r=`${PWD_COMMAND}`; export r; \
34138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34139 $(HOST_EXPORTS) \
34140 for flag in $(EXTRA_HOST_FLAGS) ; do \
34141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34142 done; \
34143 echo "Doing maintainer-clean in texinfo"; \
34144 (cd $(HOST_SUBDIR)/texinfo && \
34145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34147 "RANLIB=$${RANLIB}" \
34148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34149 maintainer-clean) \
34150 || exit 1
34151
34152 @endif texinfo
34153
34154
34155
34156 .PHONY: configure-zlib maybe-configure-zlib
34157 maybe-configure-zlib:
34158 @if gcc-bootstrap
34159 configure-zlib: stage_current
34160 @endif gcc-bootstrap
34161 @if zlib
34162 maybe-configure-zlib: configure-zlib
34163 configure-zlib:
34164 @r=`${PWD_COMMAND}`; export r; \
34165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34166 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34167 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34168 $(HOST_EXPORTS) \
34169 echo Configuring in $(HOST_SUBDIR)/zlib; \
34170 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
34171 case $(srcdir) in \
34172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34173 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34175 esac; \
34176 module_srcdir=zlib; \
34177 $(SHELL) \
34178 $$s/$$module_srcdir/configure \
34179 --srcdir=$${topdir}/$$module_srcdir \
34180 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34181 --target=${target_alias} @extra_host_zlib_configure_flags@ \
34182 || exit 1
34183 @endif zlib
34184
34185
34186
34187 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
34188 maybe-configure-stage1-zlib:
34189 @if zlib-bootstrap
34190 maybe-configure-stage1-zlib: configure-stage1-zlib
34191 configure-stage1-zlib:
34192 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34193 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34194 @r=`${PWD_COMMAND}`; export r; \
34195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34196 TFLAGS="$(STAGE1_TFLAGS)"; \
34197 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34198 $(HOST_EXPORTS) \
34199 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
34200 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
34201 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
34202 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib; \
34203 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34204 cd $(HOST_SUBDIR)/zlib || exit 1; \
34205 case $(srcdir) in \
34206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34207 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34209 esac; \
34210 module_srcdir=zlib; \
34211 $(SHELL) $$s/$$module_srcdir/configure \
34212 --srcdir=$${topdir}/$$module_srcdir \
34213 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34214 --target=${target_alias} \
34215 \
34216 $(STAGE1_CONFIGURE_FLAGS) \
34217 @extra_host_zlib_configure_flags@
34218 @endif zlib-bootstrap
34219
34220 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
34221 maybe-configure-stage2-zlib:
34222 @if zlib-bootstrap
34223 maybe-configure-stage2-zlib: configure-stage2-zlib
34224 configure-stage2-zlib:
34225 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34227 @r=`${PWD_COMMAND}`; export r; \
34228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34229 TFLAGS="$(STAGE2_TFLAGS)"; \
34230 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34231 $(HOST_EXPORTS) \
34232 $(POSTSTAGE1_HOST_EXPORTS) \
34233 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
34234 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
34235 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
34236 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib; \
34237 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34238 cd $(HOST_SUBDIR)/zlib || exit 1; \
34239 case $(srcdir) in \
34240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34241 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34243 esac; \
34244 module_srcdir=zlib; \
34245 $(SHELL) $$s/$$module_srcdir/configure \
34246 --srcdir=$${topdir}/$$module_srcdir \
34247 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34248 --target=${target_alias} \
34249 --with-build-libsubdir=$(HOST_SUBDIR) \
34250 $(STAGE2_CONFIGURE_FLAGS) \
34251 @extra_host_zlib_configure_flags@
34252 @endif zlib-bootstrap
34253
34254 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
34255 maybe-configure-stage3-zlib:
34256 @if zlib-bootstrap
34257 maybe-configure-stage3-zlib: configure-stage3-zlib
34258 configure-stage3-zlib:
34259 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34260 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34261 @r=`${PWD_COMMAND}`; export r; \
34262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34263 TFLAGS="$(STAGE3_TFLAGS)"; \
34264 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34265 $(HOST_EXPORTS) \
34266 $(POSTSTAGE1_HOST_EXPORTS) \
34267 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
34268 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
34269 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
34270 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib; \
34271 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34272 cd $(HOST_SUBDIR)/zlib || exit 1; \
34273 case $(srcdir) in \
34274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34275 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34277 esac; \
34278 module_srcdir=zlib; \
34279 $(SHELL) $$s/$$module_srcdir/configure \
34280 --srcdir=$${topdir}/$$module_srcdir \
34281 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34282 --target=${target_alias} \
34283 --with-build-libsubdir=$(HOST_SUBDIR) \
34284 $(STAGE3_CONFIGURE_FLAGS) \
34285 @extra_host_zlib_configure_flags@
34286 @endif zlib-bootstrap
34287
34288 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
34289 maybe-configure-stage4-zlib:
34290 @if zlib-bootstrap
34291 maybe-configure-stage4-zlib: configure-stage4-zlib
34292 configure-stage4-zlib:
34293 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34294 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34295 @r=`${PWD_COMMAND}`; export r; \
34296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34297 TFLAGS="$(STAGE4_TFLAGS)"; \
34298 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34299 $(HOST_EXPORTS) \
34300 $(POSTSTAGE1_HOST_EXPORTS) \
34301 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
34302 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
34303 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
34304 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib; \
34305 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34306 cd $(HOST_SUBDIR)/zlib || exit 1; \
34307 case $(srcdir) in \
34308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34309 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34311 esac; \
34312 module_srcdir=zlib; \
34313 $(SHELL) $$s/$$module_srcdir/configure \
34314 --srcdir=$${topdir}/$$module_srcdir \
34315 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34316 --target=${target_alias} \
34317 --with-build-libsubdir=$(HOST_SUBDIR) \
34318 $(STAGE4_CONFIGURE_FLAGS) \
34319 @extra_host_zlib_configure_flags@
34320 @endif zlib-bootstrap
34321
34322 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
34323 maybe-configure-stageprofile-zlib:
34324 @if zlib-bootstrap
34325 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
34326 configure-stageprofile-zlib:
34327 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34328 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34329 @r=`${PWD_COMMAND}`; export r; \
34330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34331 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34332 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34333 $(HOST_EXPORTS) \
34334 $(POSTSTAGE1_HOST_EXPORTS) \
34335 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
34336 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
34337 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
34338 echo Configuring stage profile in $(HOST_SUBDIR)/zlib; \
34339 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34340 cd $(HOST_SUBDIR)/zlib || exit 1; \
34341 case $(srcdir) in \
34342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34343 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34345 esac; \
34346 module_srcdir=zlib; \
34347 $(SHELL) $$s/$$module_srcdir/configure \
34348 --srcdir=$${topdir}/$$module_srcdir \
34349 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34350 --target=${target_alias} \
34351 --with-build-libsubdir=$(HOST_SUBDIR) \
34352 $(STAGEprofile_CONFIGURE_FLAGS) \
34353 @extra_host_zlib_configure_flags@
34354 @endif zlib-bootstrap
34355
34356 .PHONY: configure-stagetrain-zlib maybe-configure-stagetrain-zlib
34357 maybe-configure-stagetrain-zlib:
34358 @if zlib-bootstrap
34359 maybe-configure-stagetrain-zlib: configure-stagetrain-zlib
34360 configure-stagetrain-zlib:
34361 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
34362 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34363 @r=`${PWD_COMMAND}`; export r; \
34364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34365 TFLAGS="$(STAGEtrain_TFLAGS)"; \
34366 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34367 $(HOST_EXPORTS) \
34368 $(POSTSTAGE1_HOST_EXPORTS) \
34369 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
34370 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
34371 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
34372 echo Configuring stage train in $(HOST_SUBDIR)/zlib; \
34373 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34374 cd $(HOST_SUBDIR)/zlib || exit 1; \
34375 case $(srcdir) in \
34376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34377 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34379 esac; \
34380 module_srcdir=zlib; \
34381 $(SHELL) $$s/$$module_srcdir/configure \
34382 --srcdir=$${topdir}/$$module_srcdir \
34383 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34384 --target=${target_alias} \
34385 --with-build-libsubdir=$(HOST_SUBDIR) \
34386 $(STAGEtrain_CONFIGURE_FLAGS) \
34387 @extra_host_zlib_configure_flags@
34388 @endif zlib-bootstrap
34389
34390 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
34391 maybe-configure-stagefeedback-zlib:
34392 @if zlib-bootstrap
34393 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
34394 configure-stagefeedback-zlib:
34395 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34396 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34397 @r=`${PWD_COMMAND}`; export r; \
34398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34399 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34400 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34401 $(HOST_EXPORTS) \
34402 $(POSTSTAGE1_HOST_EXPORTS) \
34403 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
34404 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
34405 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
34406 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib; \
34407 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34408 cd $(HOST_SUBDIR)/zlib || exit 1; \
34409 case $(srcdir) in \
34410 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34411 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34412 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34413 esac; \
34414 module_srcdir=zlib; \
34415 $(SHELL) $$s/$$module_srcdir/configure \
34416 --srcdir=$${topdir}/$$module_srcdir \
34417 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34418 --target=${target_alias} \
34419 --with-build-libsubdir=$(HOST_SUBDIR) \
34420 $(STAGEfeedback_CONFIGURE_FLAGS) \
34421 @extra_host_zlib_configure_flags@
34422 @endif zlib-bootstrap
34423
34424 .PHONY: configure-stageautoprofile-zlib maybe-configure-stageautoprofile-zlib
34425 maybe-configure-stageautoprofile-zlib:
34426 @if zlib-bootstrap
34427 maybe-configure-stageautoprofile-zlib: configure-stageautoprofile-zlib
34428 configure-stageautoprofile-zlib:
34429 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
34430 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34431 @r=`${PWD_COMMAND}`; export r; \
34432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34433 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
34434 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34435 $(HOST_EXPORTS) \
34436 $(POSTSTAGE1_HOST_EXPORTS) \
34437 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
34438 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
34439 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
34440 echo Configuring stage autoprofile in $(HOST_SUBDIR)/zlib; \
34441 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34442 cd $(HOST_SUBDIR)/zlib || exit 1; \
34443 case $(srcdir) in \
34444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34445 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34447 esac; \
34448 module_srcdir=zlib; \
34449 $(SHELL) $$s/$$module_srcdir/configure \
34450 --srcdir=$${topdir}/$$module_srcdir \
34451 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34452 --target=${target_alias} \
34453 --with-build-libsubdir=$(HOST_SUBDIR) \
34454 $(STAGEautoprofile_CONFIGURE_FLAGS) \
34455 @extra_host_zlib_configure_flags@
34456 @endif zlib-bootstrap
34457
34458 .PHONY: configure-stageautofeedback-zlib maybe-configure-stageautofeedback-zlib
34459 maybe-configure-stageautofeedback-zlib:
34460 @if zlib-bootstrap
34461 maybe-configure-stageautofeedback-zlib: configure-stageautofeedback-zlib
34462 configure-stageautofeedback-zlib:
34463 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
34464 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
34465 @r=`${PWD_COMMAND}`; export r; \
34466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34467 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
34468 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
34469 $(HOST_EXPORTS) \
34470 $(POSTSTAGE1_HOST_EXPORTS) \
34471 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
34472 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
34473 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
34474 echo Configuring stage autofeedback in $(HOST_SUBDIR)/zlib; \
34475 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib; \
34476 cd $(HOST_SUBDIR)/zlib || exit 1; \
34477 case $(srcdir) in \
34478 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34479 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34480 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34481 esac; \
34482 module_srcdir=zlib; \
34483 $(SHELL) $$s/$$module_srcdir/configure \
34484 --srcdir=$${topdir}/$$module_srcdir \
34485 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34486 --target=${target_alias} \
34487 --with-build-libsubdir=$(HOST_SUBDIR) \
34488 $(STAGEautofeedback_CONFIGURE_FLAGS) \
34489 @extra_host_zlib_configure_flags@
34490 @endif zlib-bootstrap
34491
34492
34493
34494
34495
34496 .PHONY: all-zlib maybe-all-zlib
34497 maybe-all-zlib:
34498 @if gcc-bootstrap
34499 all-zlib: stage_current
34500 @endif gcc-bootstrap
34501 @if zlib
34502 TARGET-zlib=all
34503 maybe-all-zlib: all-zlib
34504 all-zlib: configure-zlib
34505 @r=`${PWD_COMMAND}`; export r; \
34506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34507 $(HOST_EXPORTS) \
34508 (cd $(HOST_SUBDIR)/zlib && \
34509 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
34510 $(TARGET-zlib))
34511 @endif zlib
34512
34513
34514
34515 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
34516 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
34517 maybe-all-stage1-zlib:
34518 maybe-clean-stage1-zlib:
34519 @if zlib-bootstrap
34520 maybe-all-stage1-zlib: all-stage1-zlib
34521 all-stage1: all-stage1-zlib
34522 TARGET-stage1-zlib = $(TARGET-zlib)
34523 all-stage1-zlib: configure-stage1-zlib
34524 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34525 @r=`${PWD_COMMAND}`; export r; \
34526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34527 TFLAGS="$(STAGE1_TFLAGS)"; \
34528 $(HOST_EXPORTS) \
34529 cd $(HOST_SUBDIR)/zlib && \
34530 \
34531 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34532 CFLAGS="$(STAGE1_CFLAGS)" \
34533 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
34534 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
34535 LIBCFLAGS="$(LIBCFLAGS)" \
34536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34539 $(EXTRA_HOST_FLAGS) \
34540 $(STAGE1_FLAGS_TO_PASS) \
34541 TFLAGS="$(STAGE1_TFLAGS)" \
34542 $(TARGET-stage1-zlib)
34543
34544 maybe-clean-stage1-zlib: clean-stage1-zlib
34545 clean-stage1: clean-stage1-zlib
34546 clean-stage1-zlib:
34547 @if [ $(current_stage) = stage1 ]; then \
34548 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
34549 else \
34550 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
34551 $(MAKE) stage1-start; \
34552 fi; \
34553 cd $(HOST_SUBDIR)/zlib && \
34554 $(MAKE) $(EXTRA_HOST_FLAGS) \
34555 $(STAGE1_FLAGS_TO_PASS) clean
34556 @endif zlib-bootstrap
34557
34558
34559 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
34560 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
34561 maybe-all-stage2-zlib:
34562 maybe-clean-stage2-zlib:
34563 @if zlib-bootstrap
34564 maybe-all-stage2-zlib: all-stage2-zlib
34565 all-stage2: all-stage2-zlib
34566 TARGET-stage2-zlib = $(TARGET-zlib)
34567 all-stage2-zlib: configure-stage2-zlib
34568 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34569 @r=`${PWD_COMMAND}`; export r; \
34570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34571 TFLAGS="$(STAGE2_TFLAGS)"; \
34572 $(HOST_EXPORTS) \
34573 $(POSTSTAGE1_HOST_EXPORTS) \
34574 cd $(HOST_SUBDIR)/zlib && \
34575 \
34576 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34577 CFLAGS="$(STAGE2_CFLAGS)" \
34578 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
34579 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
34580 LIBCFLAGS="$(STAGE2_CFLAGS)" \
34581 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34582 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34583 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34584 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
34585 TFLAGS="$(STAGE2_TFLAGS)" \
34586 $(TARGET-stage2-zlib)
34587
34588 maybe-clean-stage2-zlib: clean-stage2-zlib
34589 clean-stage2: clean-stage2-zlib
34590 clean-stage2-zlib:
34591 @if [ $(current_stage) = stage2 ]; then \
34592 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
34593 else \
34594 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
34595 $(MAKE) stage2-start; \
34596 fi; \
34597 cd $(HOST_SUBDIR)/zlib && \
34598 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
34599 @endif zlib-bootstrap
34600
34601
34602 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
34603 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
34604 maybe-all-stage3-zlib:
34605 maybe-clean-stage3-zlib:
34606 @if zlib-bootstrap
34607 maybe-all-stage3-zlib: all-stage3-zlib
34608 all-stage3: all-stage3-zlib
34609 TARGET-stage3-zlib = $(TARGET-zlib)
34610 all-stage3-zlib: configure-stage3-zlib
34611 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34612 @r=`${PWD_COMMAND}`; export r; \
34613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34614 TFLAGS="$(STAGE3_TFLAGS)"; \
34615 $(HOST_EXPORTS) \
34616 $(POSTSTAGE1_HOST_EXPORTS) \
34617 cd $(HOST_SUBDIR)/zlib && \
34618 \
34619 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34620 CFLAGS="$(STAGE3_CFLAGS)" \
34621 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
34622 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
34623 LIBCFLAGS="$(STAGE3_CFLAGS)" \
34624 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34625 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34626 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34627 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
34628 TFLAGS="$(STAGE3_TFLAGS)" \
34629 $(TARGET-stage3-zlib)
34630
34631 maybe-clean-stage3-zlib: clean-stage3-zlib
34632 clean-stage3: clean-stage3-zlib
34633 clean-stage3-zlib:
34634 @if [ $(current_stage) = stage3 ]; then \
34635 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
34636 else \
34637 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
34638 $(MAKE) stage3-start; \
34639 fi; \
34640 cd $(HOST_SUBDIR)/zlib && \
34641 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
34642 @endif zlib-bootstrap
34643
34644
34645 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
34646 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
34647 maybe-all-stage4-zlib:
34648 maybe-clean-stage4-zlib:
34649 @if zlib-bootstrap
34650 maybe-all-stage4-zlib: all-stage4-zlib
34651 all-stage4: all-stage4-zlib
34652 TARGET-stage4-zlib = $(TARGET-zlib)
34653 all-stage4-zlib: configure-stage4-zlib
34654 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34655 @r=`${PWD_COMMAND}`; export r; \
34656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34657 TFLAGS="$(STAGE4_TFLAGS)"; \
34658 $(HOST_EXPORTS) \
34659 $(POSTSTAGE1_HOST_EXPORTS) \
34660 cd $(HOST_SUBDIR)/zlib && \
34661 \
34662 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34663 CFLAGS="$(STAGE4_CFLAGS)" \
34664 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
34665 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
34666 LIBCFLAGS="$(STAGE4_CFLAGS)" \
34667 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34668 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34669 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34670 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
34671 TFLAGS="$(STAGE4_TFLAGS)" \
34672 $(TARGET-stage4-zlib)
34673
34674 maybe-clean-stage4-zlib: clean-stage4-zlib
34675 clean-stage4: clean-stage4-zlib
34676 clean-stage4-zlib:
34677 @if [ $(current_stage) = stage4 ]; then \
34678 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
34679 else \
34680 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
34681 $(MAKE) stage4-start; \
34682 fi; \
34683 cd $(HOST_SUBDIR)/zlib && \
34684 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
34685 @endif zlib-bootstrap
34686
34687
34688 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
34689 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
34690 maybe-all-stageprofile-zlib:
34691 maybe-clean-stageprofile-zlib:
34692 @if zlib-bootstrap
34693 maybe-all-stageprofile-zlib: all-stageprofile-zlib
34694 all-stageprofile: all-stageprofile-zlib
34695 TARGET-stageprofile-zlib = $(TARGET-zlib)
34696 all-stageprofile-zlib: configure-stageprofile-zlib
34697 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34698 @r=`${PWD_COMMAND}`; export r; \
34699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34700 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34701 $(HOST_EXPORTS) \
34702 $(POSTSTAGE1_HOST_EXPORTS) \
34703 cd $(HOST_SUBDIR)/zlib && \
34704 \
34705 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34706 CFLAGS="$(STAGEprofile_CFLAGS)" \
34707 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
34708 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
34709 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
34710 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34711 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34712 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34713 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
34714 TFLAGS="$(STAGEprofile_TFLAGS)" \
34715 $(TARGET-stageprofile-zlib)
34716
34717 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
34718 clean-stageprofile: clean-stageprofile-zlib
34719 clean-stageprofile-zlib:
34720 @if [ $(current_stage) = stageprofile ]; then \
34721 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
34722 else \
34723 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
34724 $(MAKE) stageprofile-start; \
34725 fi; \
34726 cd $(HOST_SUBDIR)/zlib && \
34727 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
34728 @endif zlib-bootstrap
34729
34730
34731 .PHONY: all-stagetrain-zlib maybe-all-stagetrain-zlib
34732 .PHONY: clean-stagetrain-zlib maybe-clean-stagetrain-zlib
34733 maybe-all-stagetrain-zlib:
34734 maybe-clean-stagetrain-zlib:
34735 @if zlib-bootstrap
34736 maybe-all-stagetrain-zlib: all-stagetrain-zlib
34737 all-stagetrain: all-stagetrain-zlib
34738 TARGET-stagetrain-zlib = $(TARGET-zlib)
34739 all-stagetrain-zlib: configure-stagetrain-zlib
34740 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
34741 @r=`${PWD_COMMAND}`; export r; \
34742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34743 TFLAGS="$(STAGEtrain_TFLAGS)"; \
34744 $(HOST_EXPORTS) \
34745 $(POSTSTAGE1_HOST_EXPORTS) \
34746 cd $(HOST_SUBDIR)/zlib && \
34747 \
34748 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34749 CFLAGS="$(STAGEtrain_CFLAGS)" \
34750 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
34751 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
34752 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
34753 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34754 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34755 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34756 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
34757 TFLAGS="$(STAGEtrain_TFLAGS)" \
34758 $(TARGET-stagetrain-zlib)
34759
34760 maybe-clean-stagetrain-zlib: clean-stagetrain-zlib
34761 clean-stagetrain: clean-stagetrain-zlib
34762 clean-stagetrain-zlib:
34763 @if [ $(current_stage) = stagetrain ]; then \
34764 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
34765 else \
34766 [ -f $(HOST_SUBDIR)/stagetrain-zlib/Makefile ] || exit 0; \
34767 $(MAKE) stagetrain-start; \
34768 fi; \
34769 cd $(HOST_SUBDIR)/zlib && \
34770 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
34771 @endif zlib-bootstrap
34772
34773
34774 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
34775 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
34776 maybe-all-stagefeedback-zlib:
34777 maybe-clean-stagefeedback-zlib:
34778 @if zlib-bootstrap
34779 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
34780 all-stagefeedback: all-stagefeedback-zlib
34781 TARGET-stagefeedback-zlib = $(TARGET-zlib)
34782 all-stagefeedback-zlib: configure-stagefeedback-zlib
34783 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34784 @r=`${PWD_COMMAND}`; export r; \
34785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34786 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34787 $(HOST_EXPORTS) \
34788 $(POSTSTAGE1_HOST_EXPORTS) \
34789 cd $(HOST_SUBDIR)/zlib && \
34790 \
34791 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34792 CFLAGS="$(STAGEfeedback_CFLAGS)" \
34793 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
34794 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
34795 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
34796 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34797 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34798 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34799 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
34800 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34801 $(TARGET-stagefeedback-zlib)
34802
34803 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
34804 clean-stagefeedback: clean-stagefeedback-zlib
34805 clean-stagefeedback-zlib:
34806 @if [ $(current_stage) = stagefeedback ]; then \
34807 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
34808 else \
34809 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
34810 $(MAKE) stagefeedback-start; \
34811 fi; \
34812 cd $(HOST_SUBDIR)/zlib && \
34813 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
34814 @endif zlib-bootstrap
34815
34816
34817 .PHONY: all-stageautoprofile-zlib maybe-all-stageautoprofile-zlib
34818 .PHONY: clean-stageautoprofile-zlib maybe-clean-stageautoprofile-zlib
34819 maybe-all-stageautoprofile-zlib:
34820 maybe-clean-stageautoprofile-zlib:
34821 @if zlib-bootstrap
34822 maybe-all-stageautoprofile-zlib: all-stageautoprofile-zlib
34823 all-stageautoprofile: all-stageautoprofile-zlib
34824 TARGET-stageautoprofile-zlib = $(TARGET-zlib)
34825 all-stageautoprofile-zlib: configure-stageautoprofile-zlib
34826 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
34827 @r=`${PWD_COMMAND}`; export r; \
34828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34829 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
34830 $(HOST_EXPORTS) \
34831 $(POSTSTAGE1_HOST_EXPORTS) \
34832 cd $(HOST_SUBDIR)/zlib && \
34833 $$s/gcc/config/i386/$(AUTO_PROFILE) \
34834 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34835 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
34836 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
34837 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
34838 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
34839 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34840 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34841 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34842 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
34843 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
34844 $(TARGET-stageautoprofile-zlib)
34845
34846 maybe-clean-stageautoprofile-zlib: clean-stageautoprofile-zlib
34847 clean-stageautoprofile: clean-stageautoprofile-zlib
34848 clean-stageautoprofile-zlib:
34849 @if [ $(current_stage) = stageautoprofile ]; then \
34850 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
34851 else \
34852 [ -f $(HOST_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
34853 $(MAKE) stageautoprofile-start; \
34854 fi; \
34855 cd $(HOST_SUBDIR)/zlib && \
34856 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
34857 @endif zlib-bootstrap
34858
34859
34860 .PHONY: all-stageautofeedback-zlib maybe-all-stageautofeedback-zlib
34861 .PHONY: clean-stageautofeedback-zlib maybe-clean-stageautofeedback-zlib
34862 maybe-all-stageautofeedback-zlib:
34863 maybe-clean-stageautofeedback-zlib:
34864 @if zlib-bootstrap
34865 maybe-all-stageautofeedback-zlib: all-stageautofeedback-zlib
34866 all-stageautofeedback: all-stageautofeedback-zlib
34867 TARGET-stageautofeedback-zlib = $(TARGET-zlib)
34868 all-stageautofeedback-zlib: configure-stageautofeedback-zlib
34869 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
34870 @r=`${PWD_COMMAND}`; export r; \
34871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34872 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
34873 $(HOST_EXPORTS) \
34874 $(POSTSTAGE1_HOST_EXPORTS) \
34875 cd $(HOST_SUBDIR)/zlib && \
34876 \
34877 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34878 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
34879 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
34880 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
34881 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
34882 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34883 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34884 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34885 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
34886 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
34887 $(TARGET-stageautofeedback-zlib)
34888
34889 maybe-clean-stageautofeedback-zlib: clean-stageautofeedback-zlib
34890 clean-stageautofeedback: clean-stageautofeedback-zlib
34891 clean-stageautofeedback-zlib:
34892 @if [ $(current_stage) = stageautofeedback ]; then \
34893 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
34894 else \
34895 [ -f $(HOST_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
34896 $(MAKE) stageautofeedback-start; \
34897 fi; \
34898 cd $(HOST_SUBDIR)/zlib && \
34899 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
34900 @endif zlib-bootstrap
34901
34902
34903
34904
34905
34906 .PHONY: check-zlib maybe-check-zlib
34907 maybe-check-zlib:
34908 @if zlib
34909 maybe-check-zlib: check-zlib
34910
34911 check-zlib:
34912
34913 @endif zlib
34914
34915 .PHONY: install-zlib maybe-install-zlib
34916 maybe-install-zlib:
34917 @if zlib
34918 maybe-install-zlib: install-zlib
34919
34920 install-zlib:
34921
34922 @endif zlib
34923
34924 .PHONY: install-strip-zlib maybe-install-strip-zlib
34925 maybe-install-strip-zlib:
34926 @if zlib
34927 maybe-install-strip-zlib: install-strip-zlib
34928
34929 install-strip-zlib:
34930
34931 @endif zlib
34932
34933 # Other targets (info, dvi, pdf, etc.)
34934
34935 .PHONY: maybe-info-zlib info-zlib
34936 maybe-info-zlib:
34937 @if zlib
34938 maybe-info-zlib: info-zlib
34939
34940 info-zlib: \
34941 configure-zlib
34942 @[ -f ./zlib/Makefile ] || exit 0; \
34943 r=`${PWD_COMMAND}`; export r; \
34944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34945 $(HOST_EXPORTS) \
34946 for flag in $(EXTRA_HOST_FLAGS) ; do \
34947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34948 done; \
34949 echo "Doing info in zlib"; \
34950 (cd $(HOST_SUBDIR)/zlib && \
34951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34953 "RANLIB=$${RANLIB}" \
34954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34955 info) \
34956 || exit 1
34957
34958 @endif zlib
34959
34960 .PHONY: maybe-dvi-zlib dvi-zlib
34961 maybe-dvi-zlib:
34962 @if zlib
34963 maybe-dvi-zlib: dvi-zlib
34964
34965 dvi-zlib: \
34966 configure-zlib
34967 @[ -f ./zlib/Makefile ] || exit 0; \
34968 r=`${PWD_COMMAND}`; export r; \
34969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34970 $(HOST_EXPORTS) \
34971 for flag in $(EXTRA_HOST_FLAGS) ; do \
34972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34973 done; \
34974 echo "Doing dvi in zlib"; \
34975 (cd $(HOST_SUBDIR)/zlib && \
34976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34978 "RANLIB=$${RANLIB}" \
34979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34980 dvi) \
34981 || exit 1
34982
34983 @endif zlib
34984
34985 .PHONY: maybe-pdf-zlib pdf-zlib
34986 maybe-pdf-zlib:
34987 @if zlib
34988 maybe-pdf-zlib: pdf-zlib
34989
34990 pdf-zlib: \
34991 configure-zlib
34992 @[ -f ./zlib/Makefile ] || exit 0; \
34993 r=`${PWD_COMMAND}`; export r; \
34994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34995 $(HOST_EXPORTS) \
34996 for flag in $(EXTRA_HOST_FLAGS) ; do \
34997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34998 done; \
34999 echo "Doing pdf in zlib"; \
35000 (cd $(HOST_SUBDIR)/zlib && \
35001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35003 "RANLIB=$${RANLIB}" \
35004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35005 pdf) \
35006 || exit 1
35007
35008 @endif zlib
35009
35010 .PHONY: maybe-html-zlib html-zlib
35011 maybe-html-zlib:
35012 @if zlib
35013 maybe-html-zlib: html-zlib
35014
35015 html-zlib: \
35016 configure-zlib
35017 @[ -f ./zlib/Makefile ] || exit 0; \
35018 r=`${PWD_COMMAND}`; export r; \
35019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35020 $(HOST_EXPORTS) \
35021 for flag in $(EXTRA_HOST_FLAGS) ; do \
35022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35023 done; \
35024 echo "Doing html in zlib"; \
35025 (cd $(HOST_SUBDIR)/zlib && \
35026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35028 "RANLIB=$${RANLIB}" \
35029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35030 html) \
35031 || exit 1
35032
35033 @endif zlib
35034
35035 .PHONY: maybe-TAGS-zlib TAGS-zlib
35036 maybe-TAGS-zlib:
35037 @if zlib
35038 maybe-TAGS-zlib: TAGS-zlib
35039
35040 TAGS-zlib: \
35041 configure-zlib
35042 @[ -f ./zlib/Makefile ] || exit 0; \
35043 r=`${PWD_COMMAND}`; export r; \
35044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35045 $(HOST_EXPORTS) \
35046 for flag in $(EXTRA_HOST_FLAGS) ; do \
35047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35048 done; \
35049 echo "Doing TAGS in zlib"; \
35050 (cd $(HOST_SUBDIR)/zlib && \
35051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35053 "RANLIB=$${RANLIB}" \
35054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35055 TAGS) \
35056 || exit 1
35057
35058 @endif zlib
35059
35060 .PHONY: maybe-install-info-zlib install-info-zlib
35061 maybe-install-info-zlib:
35062 @if zlib
35063 maybe-install-info-zlib: install-info-zlib
35064
35065 install-info-zlib: \
35066 configure-zlib \
35067 info-zlib
35068 @[ -f ./zlib/Makefile ] || exit 0; \
35069 r=`${PWD_COMMAND}`; export r; \
35070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35071 $(HOST_EXPORTS) \
35072 for flag in $(EXTRA_HOST_FLAGS) ; do \
35073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35074 done; \
35075 echo "Doing install-info in zlib"; \
35076 (cd $(HOST_SUBDIR)/zlib && \
35077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35079 "RANLIB=$${RANLIB}" \
35080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35081 install-info) \
35082 || exit 1
35083
35084 @endif zlib
35085
35086 .PHONY: maybe-install-dvi-zlib install-dvi-zlib
35087 maybe-install-dvi-zlib:
35088 @if zlib
35089 maybe-install-dvi-zlib: install-dvi-zlib
35090
35091 install-dvi-zlib: \
35092 configure-zlib \
35093 dvi-zlib
35094 @[ -f ./zlib/Makefile ] || exit 0; \
35095 r=`${PWD_COMMAND}`; export r; \
35096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35097 $(HOST_EXPORTS) \
35098 for flag in $(EXTRA_HOST_FLAGS) ; do \
35099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35100 done; \
35101 echo "Doing install-dvi in zlib"; \
35102 (cd $(HOST_SUBDIR)/zlib && \
35103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35105 "RANLIB=$${RANLIB}" \
35106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35107 install-dvi) \
35108 || exit 1
35109
35110 @endif zlib
35111
35112 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
35113 maybe-install-pdf-zlib:
35114 @if zlib
35115 maybe-install-pdf-zlib: install-pdf-zlib
35116
35117 install-pdf-zlib: \
35118 configure-zlib \
35119 pdf-zlib
35120 @[ -f ./zlib/Makefile ] || exit 0; \
35121 r=`${PWD_COMMAND}`; export r; \
35122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35123 $(HOST_EXPORTS) \
35124 for flag in $(EXTRA_HOST_FLAGS) ; do \
35125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35126 done; \
35127 echo "Doing install-pdf in zlib"; \
35128 (cd $(HOST_SUBDIR)/zlib && \
35129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35131 "RANLIB=$${RANLIB}" \
35132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35133 install-pdf) \
35134 || exit 1
35135
35136 @endif zlib
35137
35138 .PHONY: maybe-install-html-zlib install-html-zlib
35139 maybe-install-html-zlib:
35140 @if zlib
35141 maybe-install-html-zlib: install-html-zlib
35142
35143 install-html-zlib: \
35144 configure-zlib \
35145 html-zlib
35146 @[ -f ./zlib/Makefile ] || exit 0; \
35147 r=`${PWD_COMMAND}`; export r; \
35148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35149 $(HOST_EXPORTS) \
35150 for flag in $(EXTRA_HOST_FLAGS) ; do \
35151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35152 done; \
35153 echo "Doing install-html in zlib"; \
35154 (cd $(HOST_SUBDIR)/zlib && \
35155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35157 "RANLIB=$${RANLIB}" \
35158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35159 install-html) \
35160 || exit 1
35161
35162 @endif zlib
35163
35164 .PHONY: maybe-installcheck-zlib installcheck-zlib
35165 maybe-installcheck-zlib:
35166 @if zlib
35167 maybe-installcheck-zlib: installcheck-zlib
35168
35169 installcheck-zlib: \
35170 configure-zlib
35171 @[ -f ./zlib/Makefile ] || exit 0; \
35172 r=`${PWD_COMMAND}`; export r; \
35173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35174 $(HOST_EXPORTS) \
35175 for flag in $(EXTRA_HOST_FLAGS) ; do \
35176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35177 done; \
35178 echo "Doing installcheck in zlib"; \
35179 (cd $(HOST_SUBDIR)/zlib && \
35180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35182 "RANLIB=$${RANLIB}" \
35183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35184 installcheck) \
35185 || exit 1
35186
35187 @endif zlib
35188
35189 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
35190 maybe-mostlyclean-zlib:
35191 @if zlib
35192 maybe-mostlyclean-zlib: mostlyclean-zlib
35193
35194 mostlyclean-zlib:
35195 @[ -f ./zlib/Makefile ] || exit 0; \
35196 r=`${PWD_COMMAND}`; export r; \
35197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35198 $(HOST_EXPORTS) \
35199 for flag in $(EXTRA_HOST_FLAGS) ; do \
35200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35201 done; \
35202 echo "Doing mostlyclean in zlib"; \
35203 (cd $(HOST_SUBDIR)/zlib && \
35204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35206 "RANLIB=$${RANLIB}" \
35207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35208 mostlyclean) \
35209 || exit 1
35210
35211 @endif zlib
35212
35213 .PHONY: maybe-clean-zlib clean-zlib
35214 maybe-clean-zlib:
35215 @if zlib
35216 maybe-clean-zlib: clean-zlib
35217
35218 clean-zlib:
35219 @[ -f ./zlib/Makefile ] || exit 0; \
35220 r=`${PWD_COMMAND}`; export r; \
35221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35222 $(HOST_EXPORTS) \
35223 for flag in $(EXTRA_HOST_FLAGS) ; do \
35224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35225 done; \
35226 echo "Doing clean in zlib"; \
35227 (cd $(HOST_SUBDIR)/zlib && \
35228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35230 "RANLIB=$${RANLIB}" \
35231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35232 clean) \
35233 || exit 1
35234
35235 @endif zlib
35236
35237 .PHONY: maybe-distclean-zlib distclean-zlib
35238 maybe-distclean-zlib:
35239 @if zlib
35240 maybe-distclean-zlib: distclean-zlib
35241
35242 distclean-zlib:
35243 @[ -f ./zlib/Makefile ] || exit 0; \
35244 r=`${PWD_COMMAND}`; export r; \
35245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35246 $(HOST_EXPORTS) \
35247 for flag in $(EXTRA_HOST_FLAGS) ; do \
35248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35249 done; \
35250 echo "Doing distclean in zlib"; \
35251 (cd $(HOST_SUBDIR)/zlib && \
35252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35254 "RANLIB=$${RANLIB}" \
35255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35256 distclean) \
35257 || exit 1
35258
35259 @endif zlib
35260
35261 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
35262 maybe-maintainer-clean-zlib:
35263 @if zlib
35264 maybe-maintainer-clean-zlib: maintainer-clean-zlib
35265
35266 maintainer-clean-zlib:
35267 @[ -f ./zlib/Makefile ] || exit 0; \
35268 r=`${PWD_COMMAND}`; export r; \
35269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35270 $(HOST_EXPORTS) \
35271 for flag in $(EXTRA_HOST_FLAGS) ; do \
35272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35273 done; \
35274 echo "Doing maintainer-clean in zlib"; \
35275 (cd $(HOST_SUBDIR)/zlib && \
35276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35278 "RANLIB=$${RANLIB}" \
35279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35280 maintainer-clean) \
35281 || exit 1
35282
35283 @endif zlib
35284
35285
35286
35287 .PHONY: configure-gnulib maybe-configure-gnulib
35288 maybe-configure-gnulib:
35289 @if gcc-bootstrap
35290 configure-gnulib: stage_current
35291 @endif gcc-bootstrap
35292 @if gnulib
35293 maybe-configure-gnulib: configure-gnulib
35294 configure-gnulib:
35295 @: $(MAKE); $(unstage)
35296 @r=`${PWD_COMMAND}`; export r; \
35297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35298 test ! -f $(HOST_SUBDIR)/gnulib/Makefile || exit 0; \
35299 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnulib; \
35300 $(HOST_EXPORTS) \
35301 echo Configuring in $(HOST_SUBDIR)/gnulib; \
35302 cd "$(HOST_SUBDIR)/gnulib" || exit 1; \
35303 case $(srcdir) in \
35304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35305 *) topdir=`echo $(HOST_SUBDIR)/gnulib/ | \
35306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35307 esac; \
35308 module_srcdir=gnulib; \
35309 $(SHELL) \
35310 $$s/$$module_srcdir/configure \
35311 --srcdir=$${topdir}/$$module_srcdir \
35312 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35313 --target=${target_alias} \
35314 || exit 1
35315 @endif gnulib
35316
35317
35318
35319
35320
35321 .PHONY: all-gnulib maybe-all-gnulib
35322 maybe-all-gnulib:
35323 @if gcc-bootstrap
35324 all-gnulib: stage_current
35325 @endif gcc-bootstrap
35326 @if gnulib
35327 TARGET-gnulib=all
35328 maybe-all-gnulib: all-gnulib
35329 all-gnulib: configure-gnulib
35330 @: $(MAKE); $(unstage)
35331 @r=`${PWD_COMMAND}`; export r; \
35332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35333 $(HOST_EXPORTS) \
35334 (cd $(HOST_SUBDIR)/gnulib && \
35335 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35336 $(TARGET-gnulib))
35337 @endif gnulib
35338
35339
35340
35341
35342 .PHONY: check-gnulib maybe-check-gnulib
35343 maybe-check-gnulib:
35344 @if gnulib
35345 maybe-check-gnulib: check-gnulib
35346
35347 check-gnulib:
35348 @: $(MAKE); $(unstage)
35349 @r=`${PWD_COMMAND}`; export r; \
35350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35351 $(HOST_EXPORTS) \
35352 (cd $(HOST_SUBDIR)/gnulib && \
35353 $(MAKE) $(FLAGS_TO_PASS) check)
35354
35355 @endif gnulib
35356
35357 .PHONY: install-gnulib maybe-install-gnulib
35358 maybe-install-gnulib:
35359 @if gnulib
35360 maybe-install-gnulib: install-gnulib
35361
35362 install-gnulib: installdirs
35363 @: $(MAKE); $(unstage)
35364 @r=`${PWD_COMMAND}`; export r; \
35365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35366 $(HOST_EXPORTS) \
35367 (cd $(HOST_SUBDIR)/gnulib && \
35368 $(MAKE) $(FLAGS_TO_PASS) install)
35369
35370 @endif gnulib
35371
35372 .PHONY: install-strip-gnulib maybe-install-strip-gnulib
35373 maybe-install-strip-gnulib:
35374 @if gnulib
35375 maybe-install-strip-gnulib: install-strip-gnulib
35376
35377 install-strip-gnulib: installdirs
35378 @: $(MAKE); $(unstage)
35379 @r=`${PWD_COMMAND}`; export r; \
35380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35381 $(HOST_EXPORTS) \
35382 (cd $(HOST_SUBDIR)/gnulib && \
35383 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35384
35385 @endif gnulib
35386
35387 # Other targets (info, dvi, pdf, etc.)
35388
35389 .PHONY: maybe-info-gnulib info-gnulib
35390 maybe-info-gnulib:
35391 @if gnulib
35392 maybe-info-gnulib: info-gnulib
35393
35394 info-gnulib: \
35395 configure-gnulib
35396 @: $(MAKE); $(unstage)
35397 @[ -f ./gnulib/Makefile ] || exit 0; \
35398 r=`${PWD_COMMAND}`; export r; \
35399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35400 $(HOST_EXPORTS) \
35401 for flag in $(EXTRA_HOST_FLAGS) ; do \
35402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35403 done; \
35404 echo "Doing info in gnulib"; \
35405 (cd $(HOST_SUBDIR)/gnulib && \
35406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35408 "RANLIB=$${RANLIB}" \
35409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35410 info) \
35411 || exit 1
35412
35413 @endif gnulib
35414
35415 .PHONY: maybe-dvi-gnulib dvi-gnulib
35416 maybe-dvi-gnulib:
35417 @if gnulib
35418 maybe-dvi-gnulib: dvi-gnulib
35419
35420 dvi-gnulib: \
35421 configure-gnulib
35422 @: $(MAKE); $(unstage)
35423 @[ -f ./gnulib/Makefile ] || exit 0; \
35424 r=`${PWD_COMMAND}`; export r; \
35425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35426 $(HOST_EXPORTS) \
35427 for flag in $(EXTRA_HOST_FLAGS) ; do \
35428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35429 done; \
35430 echo "Doing dvi in gnulib"; \
35431 (cd $(HOST_SUBDIR)/gnulib && \
35432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35434 "RANLIB=$${RANLIB}" \
35435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35436 dvi) \
35437 || exit 1
35438
35439 @endif gnulib
35440
35441 .PHONY: maybe-pdf-gnulib pdf-gnulib
35442 maybe-pdf-gnulib:
35443 @if gnulib
35444 maybe-pdf-gnulib: pdf-gnulib
35445
35446 pdf-gnulib: \
35447 configure-gnulib
35448 @: $(MAKE); $(unstage)
35449 @[ -f ./gnulib/Makefile ] || exit 0; \
35450 r=`${PWD_COMMAND}`; export r; \
35451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35452 $(HOST_EXPORTS) \
35453 for flag in $(EXTRA_HOST_FLAGS) ; do \
35454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35455 done; \
35456 echo "Doing pdf in gnulib"; \
35457 (cd $(HOST_SUBDIR)/gnulib && \
35458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35460 "RANLIB=$${RANLIB}" \
35461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35462 pdf) \
35463 || exit 1
35464
35465 @endif gnulib
35466
35467 .PHONY: maybe-html-gnulib html-gnulib
35468 maybe-html-gnulib:
35469 @if gnulib
35470 maybe-html-gnulib: html-gnulib
35471
35472 html-gnulib: \
35473 configure-gnulib
35474 @: $(MAKE); $(unstage)
35475 @[ -f ./gnulib/Makefile ] || exit 0; \
35476 r=`${PWD_COMMAND}`; export r; \
35477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35478 $(HOST_EXPORTS) \
35479 for flag in $(EXTRA_HOST_FLAGS) ; do \
35480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35481 done; \
35482 echo "Doing html in gnulib"; \
35483 (cd $(HOST_SUBDIR)/gnulib && \
35484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35486 "RANLIB=$${RANLIB}" \
35487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35488 html) \
35489 || exit 1
35490
35491 @endif gnulib
35492
35493 .PHONY: maybe-TAGS-gnulib TAGS-gnulib
35494 maybe-TAGS-gnulib:
35495 @if gnulib
35496 maybe-TAGS-gnulib: TAGS-gnulib
35497
35498 TAGS-gnulib: \
35499 configure-gnulib
35500 @: $(MAKE); $(unstage)
35501 @[ -f ./gnulib/Makefile ] || exit 0; \
35502 r=`${PWD_COMMAND}`; export r; \
35503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35504 $(HOST_EXPORTS) \
35505 for flag in $(EXTRA_HOST_FLAGS) ; do \
35506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35507 done; \
35508 echo "Doing TAGS in gnulib"; \
35509 (cd $(HOST_SUBDIR)/gnulib && \
35510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35512 "RANLIB=$${RANLIB}" \
35513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35514 TAGS) \
35515 || exit 1
35516
35517 @endif gnulib
35518
35519 .PHONY: maybe-install-info-gnulib install-info-gnulib
35520 maybe-install-info-gnulib:
35521 @if gnulib
35522 maybe-install-info-gnulib: install-info-gnulib
35523
35524 install-info-gnulib: \
35525 configure-gnulib \
35526 info-gnulib
35527 @: $(MAKE); $(unstage)
35528 @[ -f ./gnulib/Makefile ] || exit 0; \
35529 r=`${PWD_COMMAND}`; export r; \
35530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35531 $(HOST_EXPORTS) \
35532 for flag in $(EXTRA_HOST_FLAGS) ; do \
35533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35534 done; \
35535 echo "Doing install-info in gnulib"; \
35536 (cd $(HOST_SUBDIR)/gnulib && \
35537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35539 "RANLIB=$${RANLIB}" \
35540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35541 install-info) \
35542 || exit 1
35543
35544 @endif gnulib
35545
35546 .PHONY: maybe-install-dvi-gnulib install-dvi-gnulib
35547 maybe-install-dvi-gnulib:
35548 @if gnulib
35549 maybe-install-dvi-gnulib: install-dvi-gnulib
35550
35551 install-dvi-gnulib: \
35552 configure-gnulib \
35553 dvi-gnulib
35554 @: $(MAKE); $(unstage)
35555 @[ -f ./gnulib/Makefile ] || exit 0; \
35556 r=`${PWD_COMMAND}`; export r; \
35557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35558 $(HOST_EXPORTS) \
35559 for flag in $(EXTRA_HOST_FLAGS) ; do \
35560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35561 done; \
35562 echo "Doing install-dvi in gnulib"; \
35563 (cd $(HOST_SUBDIR)/gnulib && \
35564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35566 "RANLIB=$${RANLIB}" \
35567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35568 install-dvi) \
35569 || exit 1
35570
35571 @endif gnulib
35572
35573 .PHONY: maybe-install-pdf-gnulib install-pdf-gnulib
35574 maybe-install-pdf-gnulib:
35575 @if gnulib
35576 maybe-install-pdf-gnulib: install-pdf-gnulib
35577
35578 install-pdf-gnulib: \
35579 configure-gnulib \
35580 pdf-gnulib
35581 @: $(MAKE); $(unstage)
35582 @[ -f ./gnulib/Makefile ] || exit 0; \
35583 r=`${PWD_COMMAND}`; export r; \
35584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35585 $(HOST_EXPORTS) \
35586 for flag in $(EXTRA_HOST_FLAGS) ; do \
35587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35588 done; \
35589 echo "Doing install-pdf in gnulib"; \
35590 (cd $(HOST_SUBDIR)/gnulib && \
35591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35593 "RANLIB=$${RANLIB}" \
35594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35595 install-pdf) \
35596 || exit 1
35597
35598 @endif gnulib
35599
35600 .PHONY: maybe-install-html-gnulib install-html-gnulib
35601 maybe-install-html-gnulib:
35602 @if gnulib
35603 maybe-install-html-gnulib: install-html-gnulib
35604
35605 install-html-gnulib: \
35606 configure-gnulib \
35607 html-gnulib
35608 @: $(MAKE); $(unstage)
35609 @[ -f ./gnulib/Makefile ] || exit 0; \
35610 r=`${PWD_COMMAND}`; export r; \
35611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35612 $(HOST_EXPORTS) \
35613 for flag in $(EXTRA_HOST_FLAGS) ; do \
35614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35615 done; \
35616 echo "Doing install-html in gnulib"; \
35617 (cd $(HOST_SUBDIR)/gnulib && \
35618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35620 "RANLIB=$${RANLIB}" \
35621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35622 install-html) \
35623 || exit 1
35624
35625 @endif gnulib
35626
35627 .PHONY: maybe-installcheck-gnulib installcheck-gnulib
35628 maybe-installcheck-gnulib:
35629 @if gnulib
35630 maybe-installcheck-gnulib: installcheck-gnulib
35631
35632 installcheck-gnulib: \
35633 configure-gnulib
35634 @: $(MAKE); $(unstage)
35635 @[ -f ./gnulib/Makefile ] || exit 0; \
35636 r=`${PWD_COMMAND}`; export r; \
35637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35638 $(HOST_EXPORTS) \
35639 for flag in $(EXTRA_HOST_FLAGS) ; do \
35640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35641 done; \
35642 echo "Doing installcheck in gnulib"; \
35643 (cd $(HOST_SUBDIR)/gnulib && \
35644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35646 "RANLIB=$${RANLIB}" \
35647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35648 installcheck) \
35649 || exit 1
35650
35651 @endif gnulib
35652
35653 .PHONY: maybe-mostlyclean-gnulib mostlyclean-gnulib
35654 maybe-mostlyclean-gnulib:
35655 @if gnulib
35656 maybe-mostlyclean-gnulib: mostlyclean-gnulib
35657
35658 mostlyclean-gnulib:
35659 @: $(MAKE); $(unstage)
35660 @[ -f ./gnulib/Makefile ] || exit 0; \
35661 r=`${PWD_COMMAND}`; export r; \
35662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35663 $(HOST_EXPORTS) \
35664 for flag in $(EXTRA_HOST_FLAGS) ; do \
35665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35666 done; \
35667 echo "Doing mostlyclean in gnulib"; \
35668 (cd $(HOST_SUBDIR)/gnulib && \
35669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35671 "RANLIB=$${RANLIB}" \
35672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35673 mostlyclean) \
35674 || exit 1
35675
35676 @endif gnulib
35677
35678 .PHONY: maybe-clean-gnulib clean-gnulib
35679 maybe-clean-gnulib:
35680 @if gnulib
35681 maybe-clean-gnulib: clean-gnulib
35682
35683 clean-gnulib:
35684 @: $(MAKE); $(unstage)
35685 @[ -f ./gnulib/Makefile ] || exit 0; \
35686 r=`${PWD_COMMAND}`; export r; \
35687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35688 $(HOST_EXPORTS) \
35689 for flag in $(EXTRA_HOST_FLAGS) ; do \
35690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35691 done; \
35692 echo "Doing clean in gnulib"; \
35693 (cd $(HOST_SUBDIR)/gnulib && \
35694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35696 "RANLIB=$${RANLIB}" \
35697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35698 clean) \
35699 || exit 1
35700
35701 @endif gnulib
35702
35703 .PHONY: maybe-distclean-gnulib distclean-gnulib
35704 maybe-distclean-gnulib:
35705 @if gnulib
35706 maybe-distclean-gnulib: distclean-gnulib
35707
35708 distclean-gnulib:
35709 @: $(MAKE); $(unstage)
35710 @[ -f ./gnulib/Makefile ] || exit 0; \
35711 r=`${PWD_COMMAND}`; export r; \
35712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35713 $(HOST_EXPORTS) \
35714 for flag in $(EXTRA_HOST_FLAGS) ; do \
35715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35716 done; \
35717 echo "Doing distclean in gnulib"; \
35718 (cd $(HOST_SUBDIR)/gnulib && \
35719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35721 "RANLIB=$${RANLIB}" \
35722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35723 distclean) \
35724 || exit 1
35725
35726 @endif gnulib
35727
35728 .PHONY: maybe-maintainer-clean-gnulib maintainer-clean-gnulib
35729 maybe-maintainer-clean-gnulib:
35730 @if gnulib
35731 maybe-maintainer-clean-gnulib: maintainer-clean-gnulib
35732
35733 maintainer-clean-gnulib:
35734 @: $(MAKE); $(unstage)
35735 @[ -f ./gnulib/Makefile ] || exit 0; \
35736 r=`${PWD_COMMAND}`; export r; \
35737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35738 $(HOST_EXPORTS) \
35739 for flag in $(EXTRA_HOST_FLAGS) ; do \
35740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35741 done; \
35742 echo "Doing maintainer-clean in gnulib"; \
35743 (cd $(HOST_SUBDIR)/gnulib && \
35744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35746 "RANLIB=$${RANLIB}" \
35747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35748 maintainer-clean) \
35749 || exit 1
35750
35751 @endif gnulib
35752
35753
35754
35755 .PHONY: configure-gdbsupport maybe-configure-gdbsupport
35756 maybe-configure-gdbsupport:
35757 @if gcc-bootstrap
35758 configure-gdbsupport: stage_current
35759 @endif gcc-bootstrap
35760 @if gdbsupport
35761 maybe-configure-gdbsupport: configure-gdbsupport
35762 configure-gdbsupport:
35763 @: $(MAKE); $(unstage)
35764 @r=`${PWD_COMMAND}`; export r; \
35765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35766 test ! -f $(HOST_SUBDIR)/gdbsupport/Makefile || exit 0; \
35767 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdbsupport; \
35768 $(HOST_EXPORTS) \
35769 echo Configuring in $(HOST_SUBDIR)/gdbsupport; \
35770 cd "$(HOST_SUBDIR)/gdbsupport" || exit 1; \
35771 case $(srcdir) in \
35772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35773 *) topdir=`echo $(HOST_SUBDIR)/gdbsupport/ | \
35774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35775 esac; \
35776 module_srcdir=gdbsupport; \
35777 $(SHELL) \
35778 $$s/$$module_srcdir/configure \
35779 --srcdir=$${topdir}/$$module_srcdir \
35780 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35781 --target=${target_alias} \
35782 || exit 1
35783 @endif gdbsupport
35784
35785
35786
35787
35788
35789 .PHONY: all-gdbsupport maybe-all-gdbsupport
35790 maybe-all-gdbsupport:
35791 @if gcc-bootstrap
35792 all-gdbsupport: stage_current
35793 @endif gcc-bootstrap
35794 @if gdbsupport
35795 TARGET-gdbsupport=all
35796 maybe-all-gdbsupport: all-gdbsupport
35797 all-gdbsupport: configure-gdbsupport
35798 @: $(MAKE); $(unstage)
35799 @r=`${PWD_COMMAND}`; export r; \
35800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35801 $(HOST_EXPORTS) \
35802 (cd $(HOST_SUBDIR)/gdbsupport && \
35803 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
35804 $(TARGET-gdbsupport))
35805 @endif gdbsupport
35806
35807
35808
35809
35810 .PHONY: check-gdbsupport maybe-check-gdbsupport
35811 maybe-check-gdbsupport:
35812 @if gdbsupport
35813 maybe-check-gdbsupport: check-gdbsupport
35814
35815 check-gdbsupport:
35816 @: $(MAKE); $(unstage)
35817 @r=`${PWD_COMMAND}`; export r; \
35818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35819 $(HOST_EXPORTS) \
35820 (cd $(HOST_SUBDIR)/gdbsupport && \
35821 $(MAKE) $(FLAGS_TO_PASS) check)
35822
35823 @endif gdbsupport
35824
35825 .PHONY: install-gdbsupport maybe-install-gdbsupport
35826 maybe-install-gdbsupport:
35827 @if gdbsupport
35828 maybe-install-gdbsupport: install-gdbsupport
35829
35830 install-gdbsupport: installdirs
35831 @: $(MAKE); $(unstage)
35832 @r=`${PWD_COMMAND}`; export r; \
35833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35834 $(HOST_EXPORTS) \
35835 (cd $(HOST_SUBDIR)/gdbsupport && \
35836 $(MAKE) $(FLAGS_TO_PASS) install)
35837
35838 @endif gdbsupport
35839
35840 .PHONY: install-strip-gdbsupport maybe-install-strip-gdbsupport
35841 maybe-install-strip-gdbsupport:
35842 @if gdbsupport
35843 maybe-install-strip-gdbsupport: install-strip-gdbsupport
35844
35845 install-strip-gdbsupport: installdirs
35846 @: $(MAKE); $(unstage)
35847 @r=`${PWD_COMMAND}`; export r; \
35848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35849 $(HOST_EXPORTS) \
35850 (cd $(HOST_SUBDIR)/gdbsupport && \
35851 $(MAKE) $(FLAGS_TO_PASS) install-strip)
35852
35853 @endif gdbsupport
35854
35855 # Other targets (info, dvi, pdf, etc.)
35856
35857 .PHONY: maybe-info-gdbsupport info-gdbsupport
35858 maybe-info-gdbsupport:
35859 @if gdbsupport
35860 maybe-info-gdbsupport: info-gdbsupport
35861
35862 info-gdbsupport: \
35863 configure-gdbsupport
35864 @: $(MAKE); $(unstage)
35865 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35866 r=`${PWD_COMMAND}`; export r; \
35867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35868 $(HOST_EXPORTS) \
35869 for flag in $(EXTRA_HOST_FLAGS) ; do \
35870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35871 done; \
35872 echo "Doing info in gdbsupport"; \
35873 (cd $(HOST_SUBDIR)/gdbsupport && \
35874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35876 "RANLIB=$${RANLIB}" \
35877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35878 info) \
35879 || exit 1
35880
35881 @endif gdbsupport
35882
35883 .PHONY: maybe-dvi-gdbsupport dvi-gdbsupport
35884 maybe-dvi-gdbsupport:
35885 @if gdbsupport
35886 maybe-dvi-gdbsupport: dvi-gdbsupport
35887
35888 dvi-gdbsupport: \
35889 configure-gdbsupport
35890 @: $(MAKE); $(unstage)
35891 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35892 r=`${PWD_COMMAND}`; export r; \
35893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35894 $(HOST_EXPORTS) \
35895 for flag in $(EXTRA_HOST_FLAGS) ; do \
35896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35897 done; \
35898 echo "Doing dvi in gdbsupport"; \
35899 (cd $(HOST_SUBDIR)/gdbsupport && \
35900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35902 "RANLIB=$${RANLIB}" \
35903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35904 dvi) \
35905 || exit 1
35906
35907 @endif gdbsupport
35908
35909 .PHONY: maybe-pdf-gdbsupport pdf-gdbsupport
35910 maybe-pdf-gdbsupport:
35911 @if gdbsupport
35912 maybe-pdf-gdbsupport: pdf-gdbsupport
35913
35914 pdf-gdbsupport: \
35915 configure-gdbsupport
35916 @: $(MAKE); $(unstage)
35917 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35918 r=`${PWD_COMMAND}`; export r; \
35919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35920 $(HOST_EXPORTS) \
35921 for flag in $(EXTRA_HOST_FLAGS) ; do \
35922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35923 done; \
35924 echo "Doing pdf in gdbsupport"; \
35925 (cd $(HOST_SUBDIR)/gdbsupport && \
35926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35928 "RANLIB=$${RANLIB}" \
35929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35930 pdf) \
35931 || exit 1
35932
35933 @endif gdbsupport
35934
35935 .PHONY: maybe-html-gdbsupport html-gdbsupport
35936 maybe-html-gdbsupport:
35937 @if gdbsupport
35938 maybe-html-gdbsupport: html-gdbsupport
35939
35940 html-gdbsupport: \
35941 configure-gdbsupport
35942 @: $(MAKE); $(unstage)
35943 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35944 r=`${PWD_COMMAND}`; export r; \
35945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35946 $(HOST_EXPORTS) \
35947 for flag in $(EXTRA_HOST_FLAGS) ; do \
35948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35949 done; \
35950 echo "Doing html in gdbsupport"; \
35951 (cd $(HOST_SUBDIR)/gdbsupport && \
35952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35954 "RANLIB=$${RANLIB}" \
35955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35956 html) \
35957 || exit 1
35958
35959 @endif gdbsupport
35960
35961 .PHONY: maybe-TAGS-gdbsupport TAGS-gdbsupport
35962 maybe-TAGS-gdbsupport:
35963 @if gdbsupport
35964 maybe-TAGS-gdbsupport: TAGS-gdbsupport
35965
35966 TAGS-gdbsupport: \
35967 configure-gdbsupport
35968 @: $(MAKE); $(unstage)
35969 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35970 r=`${PWD_COMMAND}`; export r; \
35971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35972 $(HOST_EXPORTS) \
35973 for flag in $(EXTRA_HOST_FLAGS) ; do \
35974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35975 done; \
35976 echo "Doing TAGS in gdbsupport"; \
35977 (cd $(HOST_SUBDIR)/gdbsupport && \
35978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35980 "RANLIB=$${RANLIB}" \
35981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35982 TAGS) \
35983 || exit 1
35984
35985 @endif gdbsupport
35986
35987 .PHONY: maybe-install-info-gdbsupport install-info-gdbsupport
35988 maybe-install-info-gdbsupport:
35989 @if gdbsupport
35990 maybe-install-info-gdbsupport: install-info-gdbsupport
35991
35992 install-info-gdbsupport: \
35993 configure-gdbsupport \
35994 info-gdbsupport
35995 @: $(MAKE); $(unstage)
35996 @[ -f ./gdbsupport/Makefile ] || exit 0; \
35997 r=`${PWD_COMMAND}`; export r; \
35998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35999 $(HOST_EXPORTS) \
36000 for flag in $(EXTRA_HOST_FLAGS) ; do \
36001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36002 done; \
36003 echo "Doing install-info in gdbsupport"; \
36004 (cd $(HOST_SUBDIR)/gdbsupport && \
36005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36007 "RANLIB=$${RANLIB}" \
36008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36009 install-info) \
36010 || exit 1
36011
36012 @endif gdbsupport
36013
36014 .PHONY: maybe-install-dvi-gdbsupport install-dvi-gdbsupport
36015 maybe-install-dvi-gdbsupport:
36016 @if gdbsupport
36017 maybe-install-dvi-gdbsupport: install-dvi-gdbsupport
36018
36019 install-dvi-gdbsupport: \
36020 configure-gdbsupport \
36021 dvi-gdbsupport
36022 @: $(MAKE); $(unstage)
36023 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36024 r=`${PWD_COMMAND}`; export r; \
36025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36026 $(HOST_EXPORTS) \
36027 for flag in $(EXTRA_HOST_FLAGS) ; do \
36028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36029 done; \
36030 echo "Doing install-dvi in gdbsupport"; \
36031 (cd $(HOST_SUBDIR)/gdbsupport && \
36032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36034 "RANLIB=$${RANLIB}" \
36035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36036 install-dvi) \
36037 || exit 1
36038
36039 @endif gdbsupport
36040
36041 .PHONY: maybe-install-pdf-gdbsupport install-pdf-gdbsupport
36042 maybe-install-pdf-gdbsupport:
36043 @if gdbsupport
36044 maybe-install-pdf-gdbsupport: install-pdf-gdbsupport
36045
36046 install-pdf-gdbsupport: \
36047 configure-gdbsupport \
36048 pdf-gdbsupport
36049 @: $(MAKE); $(unstage)
36050 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36051 r=`${PWD_COMMAND}`; export r; \
36052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36053 $(HOST_EXPORTS) \
36054 for flag in $(EXTRA_HOST_FLAGS) ; do \
36055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36056 done; \
36057 echo "Doing install-pdf in gdbsupport"; \
36058 (cd $(HOST_SUBDIR)/gdbsupport && \
36059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36061 "RANLIB=$${RANLIB}" \
36062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36063 install-pdf) \
36064 || exit 1
36065
36066 @endif gdbsupport
36067
36068 .PHONY: maybe-install-html-gdbsupport install-html-gdbsupport
36069 maybe-install-html-gdbsupport:
36070 @if gdbsupport
36071 maybe-install-html-gdbsupport: install-html-gdbsupport
36072
36073 install-html-gdbsupport: \
36074 configure-gdbsupport \
36075 html-gdbsupport
36076 @: $(MAKE); $(unstage)
36077 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36078 r=`${PWD_COMMAND}`; export r; \
36079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36080 $(HOST_EXPORTS) \
36081 for flag in $(EXTRA_HOST_FLAGS) ; do \
36082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36083 done; \
36084 echo "Doing install-html in gdbsupport"; \
36085 (cd $(HOST_SUBDIR)/gdbsupport && \
36086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36088 "RANLIB=$${RANLIB}" \
36089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36090 install-html) \
36091 || exit 1
36092
36093 @endif gdbsupport
36094
36095 .PHONY: maybe-installcheck-gdbsupport installcheck-gdbsupport
36096 maybe-installcheck-gdbsupport:
36097 @if gdbsupport
36098 maybe-installcheck-gdbsupport: installcheck-gdbsupport
36099
36100 installcheck-gdbsupport: \
36101 configure-gdbsupport
36102 @: $(MAKE); $(unstage)
36103 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36104 r=`${PWD_COMMAND}`; export r; \
36105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36106 $(HOST_EXPORTS) \
36107 for flag in $(EXTRA_HOST_FLAGS) ; do \
36108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36109 done; \
36110 echo "Doing installcheck in gdbsupport"; \
36111 (cd $(HOST_SUBDIR)/gdbsupport && \
36112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36114 "RANLIB=$${RANLIB}" \
36115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36116 installcheck) \
36117 || exit 1
36118
36119 @endif gdbsupport
36120
36121 .PHONY: maybe-mostlyclean-gdbsupport mostlyclean-gdbsupport
36122 maybe-mostlyclean-gdbsupport:
36123 @if gdbsupport
36124 maybe-mostlyclean-gdbsupport: mostlyclean-gdbsupport
36125
36126 mostlyclean-gdbsupport:
36127 @: $(MAKE); $(unstage)
36128 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36129 r=`${PWD_COMMAND}`; export r; \
36130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36131 $(HOST_EXPORTS) \
36132 for flag in $(EXTRA_HOST_FLAGS) ; do \
36133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36134 done; \
36135 echo "Doing mostlyclean in gdbsupport"; \
36136 (cd $(HOST_SUBDIR)/gdbsupport && \
36137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36139 "RANLIB=$${RANLIB}" \
36140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36141 mostlyclean) \
36142 || exit 1
36143
36144 @endif gdbsupport
36145
36146 .PHONY: maybe-clean-gdbsupport clean-gdbsupport
36147 maybe-clean-gdbsupport:
36148 @if gdbsupport
36149 maybe-clean-gdbsupport: clean-gdbsupport
36150
36151 clean-gdbsupport:
36152 @: $(MAKE); $(unstage)
36153 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36154 r=`${PWD_COMMAND}`; export r; \
36155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36156 $(HOST_EXPORTS) \
36157 for flag in $(EXTRA_HOST_FLAGS) ; do \
36158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36159 done; \
36160 echo "Doing clean in gdbsupport"; \
36161 (cd $(HOST_SUBDIR)/gdbsupport && \
36162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36164 "RANLIB=$${RANLIB}" \
36165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36166 clean) \
36167 || exit 1
36168
36169 @endif gdbsupport
36170
36171 .PHONY: maybe-distclean-gdbsupport distclean-gdbsupport
36172 maybe-distclean-gdbsupport:
36173 @if gdbsupport
36174 maybe-distclean-gdbsupport: distclean-gdbsupport
36175
36176 distclean-gdbsupport:
36177 @: $(MAKE); $(unstage)
36178 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36179 r=`${PWD_COMMAND}`; export r; \
36180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36181 $(HOST_EXPORTS) \
36182 for flag in $(EXTRA_HOST_FLAGS) ; do \
36183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36184 done; \
36185 echo "Doing distclean in gdbsupport"; \
36186 (cd $(HOST_SUBDIR)/gdbsupport && \
36187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36189 "RANLIB=$${RANLIB}" \
36190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36191 distclean) \
36192 || exit 1
36193
36194 @endif gdbsupport
36195
36196 .PHONY: maybe-maintainer-clean-gdbsupport maintainer-clean-gdbsupport
36197 maybe-maintainer-clean-gdbsupport:
36198 @if gdbsupport
36199 maybe-maintainer-clean-gdbsupport: maintainer-clean-gdbsupport
36200
36201 maintainer-clean-gdbsupport:
36202 @: $(MAKE); $(unstage)
36203 @[ -f ./gdbsupport/Makefile ] || exit 0; \
36204 r=`${PWD_COMMAND}`; export r; \
36205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36206 $(HOST_EXPORTS) \
36207 for flag in $(EXTRA_HOST_FLAGS) ; do \
36208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36209 done; \
36210 echo "Doing maintainer-clean in gdbsupport"; \
36211 (cd $(HOST_SUBDIR)/gdbsupport && \
36212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36214 "RANLIB=$${RANLIB}" \
36215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36216 maintainer-clean) \
36217 || exit 1
36218
36219 @endif gdbsupport
36220
36221
36222
36223 .PHONY: configure-gdbserver maybe-configure-gdbserver
36224 maybe-configure-gdbserver:
36225 @if gcc-bootstrap
36226 configure-gdbserver: stage_current
36227 @endif gcc-bootstrap
36228 @if gdbserver
36229 maybe-configure-gdbserver: configure-gdbserver
36230 configure-gdbserver:
36231 @: $(MAKE); $(unstage)
36232 @r=`${PWD_COMMAND}`; export r; \
36233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36234 test ! -f $(HOST_SUBDIR)/gdbserver/Makefile || exit 0; \
36235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdbserver; \
36236 $(HOST_EXPORTS) \
36237 echo Configuring in $(HOST_SUBDIR)/gdbserver; \
36238 cd "$(HOST_SUBDIR)/gdbserver" || exit 1; \
36239 case $(srcdir) in \
36240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36241 *) topdir=`echo $(HOST_SUBDIR)/gdbserver/ | \
36242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36243 esac; \
36244 module_srcdir=gdbserver; \
36245 $(SHELL) \
36246 $$s/$$module_srcdir/configure \
36247 --srcdir=$${topdir}/$$module_srcdir \
36248 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36249 --target=${target_alias} \
36250 || exit 1
36251 @endif gdbserver
36252
36253
36254
36255
36256
36257 .PHONY: all-gdbserver maybe-all-gdbserver
36258 maybe-all-gdbserver:
36259 @if gcc-bootstrap
36260 all-gdbserver: stage_current
36261 @endif gcc-bootstrap
36262 @if gdbserver
36263 TARGET-gdbserver=all
36264 maybe-all-gdbserver: all-gdbserver
36265 all-gdbserver: configure-gdbserver
36266 @: $(MAKE); $(unstage)
36267 @r=`${PWD_COMMAND}`; export r; \
36268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36269 $(HOST_EXPORTS) \
36270 (cd $(HOST_SUBDIR)/gdbserver && \
36271 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
36272 $(TARGET-gdbserver))
36273 @endif gdbserver
36274
36275
36276
36277
36278 .PHONY: check-gdbserver maybe-check-gdbserver
36279 maybe-check-gdbserver:
36280 @if gdbserver
36281 maybe-check-gdbserver: check-gdbserver
36282
36283 check-gdbserver:
36284 @: $(MAKE); $(unstage)
36285 @r=`${PWD_COMMAND}`; export r; \
36286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36287 $(HOST_EXPORTS) \
36288 (cd $(HOST_SUBDIR)/gdbserver && \
36289 $(MAKE) $(FLAGS_TO_PASS) check)
36290
36291 @endif gdbserver
36292
36293 .PHONY: install-gdbserver maybe-install-gdbserver
36294 maybe-install-gdbserver:
36295 @if gdbserver
36296 maybe-install-gdbserver: install-gdbserver
36297
36298 install-gdbserver: installdirs
36299 @: $(MAKE); $(unstage)
36300 @r=`${PWD_COMMAND}`; export r; \
36301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36302 $(HOST_EXPORTS) \
36303 (cd $(HOST_SUBDIR)/gdbserver && \
36304 $(MAKE) $(FLAGS_TO_PASS) install)
36305
36306 @endif gdbserver
36307
36308 .PHONY: install-strip-gdbserver maybe-install-strip-gdbserver
36309 maybe-install-strip-gdbserver:
36310 @if gdbserver
36311 maybe-install-strip-gdbserver: install-strip-gdbserver
36312
36313 install-strip-gdbserver: installdirs
36314 @: $(MAKE); $(unstage)
36315 @r=`${PWD_COMMAND}`; export r; \
36316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36317 $(HOST_EXPORTS) \
36318 (cd $(HOST_SUBDIR)/gdbserver && \
36319 $(MAKE) $(FLAGS_TO_PASS) install-strip)
36320
36321 @endif gdbserver
36322
36323 # Other targets (info, dvi, pdf, etc.)
36324
36325 .PHONY: maybe-info-gdbserver info-gdbserver
36326 maybe-info-gdbserver:
36327 @if gdbserver
36328 maybe-info-gdbserver: info-gdbserver
36329
36330 info-gdbserver: \
36331 configure-gdbserver
36332 @: $(MAKE); $(unstage)
36333 @[ -f ./gdbserver/Makefile ] || exit 0; \
36334 r=`${PWD_COMMAND}`; export r; \
36335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36336 $(HOST_EXPORTS) \
36337 for flag in $(EXTRA_HOST_FLAGS) ; do \
36338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36339 done; \
36340 echo "Doing info in gdbserver"; \
36341 (cd $(HOST_SUBDIR)/gdbserver && \
36342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36344 "RANLIB=$${RANLIB}" \
36345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36346 info) \
36347 || exit 1
36348
36349 @endif gdbserver
36350
36351 .PHONY: maybe-dvi-gdbserver dvi-gdbserver
36352 maybe-dvi-gdbserver:
36353 @if gdbserver
36354 maybe-dvi-gdbserver: dvi-gdbserver
36355
36356 dvi-gdbserver: \
36357 configure-gdbserver
36358 @: $(MAKE); $(unstage)
36359 @[ -f ./gdbserver/Makefile ] || exit 0; \
36360 r=`${PWD_COMMAND}`; export r; \
36361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36362 $(HOST_EXPORTS) \
36363 for flag in $(EXTRA_HOST_FLAGS) ; do \
36364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36365 done; \
36366 echo "Doing dvi in gdbserver"; \
36367 (cd $(HOST_SUBDIR)/gdbserver && \
36368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36370 "RANLIB=$${RANLIB}" \
36371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36372 dvi) \
36373 || exit 1
36374
36375 @endif gdbserver
36376
36377 .PHONY: maybe-pdf-gdbserver pdf-gdbserver
36378 maybe-pdf-gdbserver:
36379 @if gdbserver
36380 maybe-pdf-gdbserver: pdf-gdbserver
36381
36382 pdf-gdbserver: \
36383 configure-gdbserver
36384 @: $(MAKE); $(unstage)
36385 @[ -f ./gdbserver/Makefile ] || exit 0; \
36386 r=`${PWD_COMMAND}`; export r; \
36387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36388 $(HOST_EXPORTS) \
36389 for flag in $(EXTRA_HOST_FLAGS) ; do \
36390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36391 done; \
36392 echo "Doing pdf in gdbserver"; \
36393 (cd $(HOST_SUBDIR)/gdbserver && \
36394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36396 "RANLIB=$${RANLIB}" \
36397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36398 pdf) \
36399 || exit 1
36400
36401 @endif gdbserver
36402
36403 .PHONY: maybe-html-gdbserver html-gdbserver
36404 maybe-html-gdbserver:
36405 @if gdbserver
36406 maybe-html-gdbserver: html-gdbserver
36407
36408 html-gdbserver: \
36409 configure-gdbserver
36410 @: $(MAKE); $(unstage)
36411 @[ -f ./gdbserver/Makefile ] || exit 0; \
36412 r=`${PWD_COMMAND}`; export r; \
36413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36414 $(HOST_EXPORTS) \
36415 for flag in $(EXTRA_HOST_FLAGS) ; do \
36416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36417 done; \
36418 echo "Doing html in gdbserver"; \
36419 (cd $(HOST_SUBDIR)/gdbserver && \
36420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36422 "RANLIB=$${RANLIB}" \
36423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36424 html) \
36425 || exit 1
36426
36427 @endif gdbserver
36428
36429 .PHONY: maybe-TAGS-gdbserver TAGS-gdbserver
36430 maybe-TAGS-gdbserver:
36431 @if gdbserver
36432 maybe-TAGS-gdbserver: TAGS-gdbserver
36433
36434 TAGS-gdbserver: \
36435 configure-gdbserver
36436 @: $(MAKE); $(unstage)
36437 @[ -f ./gdbserver/Makefile ] || exit 0; \
36438 r=`${PWD_COMMAND}`; export r; \
36439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36440 $(HOST_EXPORTS) \
36441 for flag in $(EXTRA_HOST_FLAGS) ; do \
36442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36443 done; \
36444 echo "Doing TAGS in gdbserver"; \
36445 (cd $(HOST_SUBDIR)/gdbserver && \
36446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36448 "RANLIB=$${RANLIB}" \
36449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36450 TAGS) \
36451 || exit 1
36452
36453 @endif gdbserver
36454
36455 .PHONY: maybe-install-info-gdbserver install-info-gdbserver
36456 maybe-install-info-gdbserver:
36457 @if gdbserver
36458 maybe-install-info-gdbserver: install-info-gdbserver
36459
36460 install-info-gdbserver: \
36461 configure-gdbserver \
36462 info-gdbserver
36463 @: $(MAKE); $(unstage)
36464 @[ -f ./gdbserver/Makefile ] || exit 0; \
36465 r=`${PWD_COMMAND}`; export r; \
36466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36467 $(HOST_EXPORTS) \
36468 for flag in $(EXTRA_HOST_FLAGS) ; do \
36469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36470 done; \
36471 echo "Doing install-info in gdbserver"; \
36472 (cd $(HOST_SUBDIR)/gdbserver && \
36473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36475 "RANLIB=$${RANLIB}" \
36476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36477 install-info) \
36478 || exit 1
36479
36480 @endif gdbserver
36481
36482 .PHONY: maybe-install-dvi-gdbserver install-dvi-gdbserver
36483 maybe-install-dvi-gdbserver:
36484 @if gdbserver
36485 maybe-install-dvi-gdbserver: install-dvi-gdbserver
36486
36487 install-dvi-gdbserver: \
36488 configure-gdbserver \
36489 dvi-gdbserver
36490 @: $(MAKE); $(unstage)
36491 @[ -f ./gdbserver/Makefile ] || exit 0; \
36492 r=`${PWD_COMMAND}`; export r; \
36493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36494 $(HOST_EXPORTS) \
36495 for flag in $(EXTRA_HOST_FLAGS) ; do \
36496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36497 done; \
36498 echo "Doing install-dvi in gdbserver"; \
36499 (cd $(HOST_SUBDIR)/gdbserver && \
36500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36502 "RANLIB=$${RANLIB}" \
36503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36504 install-dvi) \
36505 || exit 1
36506
36507 @endif gdbserver
36508
36509 .PHONY: maybe-install-pdf-gdbserver install-pdf-gdbserver
36510 maybe-install-pdf-gdbserver:
36511 @if gdbserver
36512 maybe-install-pdf-gdbserver: install-pdf-gdbserver
36513
36514 install-pdf-gdbserver: \
36515 configure-gdbserver \
36516 pdf-gdbserver
36517 @: $(MAKE); $(unstage)
36518 @[ -f ./gdbserver/Makefile ] || exit 0; \
36519 r=`${PWD_COMMAND}`; export r; \
36520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36521 $(HOST_EXPORTS) \
36522 for flag in $(EXTRA_HOST_FLAGS) ; do \
36523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36524 done; \
36525 echo "Doing install-pdf in gdbserver"; \
36526 (cd $(HOST_SUBDIR)/gdbserver && \
36527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36529 "RANLIB=$${RANLIB}" \
36530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36531 install-pdf) \
36532 || exit 1
36533
36534 @endif gdbserver
36535
36536 .PHONY: maybe-install-html-gdbserver install-html-gdbserver
36537 maybe-install-html-gdbserver:
36538 @if gdbserver
36539 maybe-install-html-gdbserver: install-html-gdbserver
36540
36541 install-html-gdbserver: \
36542 configure-gdbserver \
36543 html-gdbserver
36544 @: $(MAKE); $(unstage)
36545 @[ -f ./gdbserver/Makefile ] || exit 0; \
36546 r=`${PWD_COMMAND}`; export r; \
36547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36548 $(HOST_EXPORTS) \
36549 for flag in $(EXTRA_HOST_FLAGS) ; do \
36550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36551 done; \
36552 echo "Doing install-html in gdbserver"; \
36553 (cd $(HOST_SUBDIR)/gdbserver && \
36554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36556 "RANLIB=$${RANLIB}" \
36557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36558 install-html) \
36559 || exit 1
36560
36561 @endif gdbserver
36562
36563 .PHONY: maybe-installcheck-gdbserver installcheck-gdbserver
36564 maybe-installcheck-gdbserver:
36565 @if gdbserver
36566 maybe-installcheck-gdbserver: installcheck-gdbserver
36567
36568 installcheck-gdbserver: \
36569 configure-gdbserver
36570 @: $(MAKE); $(unstage)
36571 @[ -f ./gdbserver/Makefile ] || exit 0; \
36572 r=`${PWD_COMMAND}`; export r; \
36573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36574 $(HOST_EXPORTS) \
36575 for flag in $(EXTRA_HOST_FLAGS) ; do \
36576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36577 done; \
36578 echo "Doing installcheck in gdbserver"; \
36579 (cd $(HOST_SUBDIR)/gdbserver && \
36580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36582 "RANLIB=$${RANLIB}" \
36583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36584 installcheck) \
36585 || exit 1
36586
36587 @endif gdbserver
36588
36589 .PHONY: maybe-mostlyclean-gdbserver mostlyclean-gdbserver
36590 maybe-mostlyclean-gdbserver:
36591 @if gdbserver
36592 maybe-mostlyclean-gdbserver: mostlyclean-gdbserver
36593
36594 mostlyclean-gdbserver:
36595 @: $(MAKE); $(unstage)
36596 @[ -f ./gdbserver/Makefile ] || exit 0; \
36597 r=`${PWD_COMMAND}`; export r; \
36598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36599 $(HOST_EXPORTS) \
36600 for flag in $(EXTRA_HOST_FLAGS) ; do \
36601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36602 done; \
36603 echo "Doing mostlyclean in gdbserver"; \
36604 (cd $(HOST_SUBDIR)/gdbserver && \
36605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36607 "RANLIB=$${RANLIB}" \
36608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36609 mostlyclean) \
36610 || exit 1
36611
36612 @endif gdbserver
36613
36614 .PHONY: maybe-clean-gdbserver clean-gdbserver
36615 maybe-clean-gdbserver:
36616 @if gdbserver
36617 maybe-clean-gdbserver: clean-gdbserver
36618
36619 clean-gdbserver:
36620 @: $(MAKE); $(unstage)
36621 @[ -f ./gdbserver/Makefile ] || exit 0; \
36622 r=`${PWD_COMMAND}`; export r; \
36623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36624 $(HOST_EXPORTS) \
36625 for flag in $(EXTRA_HOST_FLAGS) ; do \
36626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36627 done; \
36628 echo "Doing clean in gdbserver"; \
36629 (cd $(HOST_SUBDIR)/gdbserver && \
36630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36632 "RANLIB=$${RANLIB}" \
36633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36634 clean) \
36635 || exit 1
36636
36637 @endif gdbserver
36638
36639 .PHONY: maybe-distclean-gdbserver distclean-gdbserver
36640 maybe-distclean-gdbserver:
36641 @if gdbserver
36642 maybe-distclean-gdbserver: distclean-gdbserver
36643
36644 distclean-gdbserver:
36645 @: $(MAKE); $(unstage)
36646 @[ -f ./gdbserver/Makefile ] || exit 0; \
36647 r=`${PWD_COMMAND}`; export r; \
36648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36649 $(HOST_EXPORTS) \
36650 for flag in $(EXTRA_HOST_FLAGS) ; do \
36651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36652 done; \
36653 echo "Doing distclean in gdbserver"; \
36654 (cd $(HOST_SUBDIR)/gdbserver && \
36655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36657 "RANLIB=$${RANLIB}" \
36658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36659 distclean) \
36660 || exit 1
36661
36662 @endif gdbserver
36663
36664 .PHONY: maybe-maintainer-clean-gdbserver maintainer-clean-gdbserver
36665 maybe-maintainer-clean-gdbserver:
36666 @if gdbserver
36667 maybe-maintainer-clean-gdbserver: maintainer-clean-gdbserver
36668
36669 maintainer-clean-gdbserver:
36670 @: $(MAKE); $(unstage)
36671 @[ -f ./gdbserver/Makefile ] || exit 0; \
36672 r=`${PWD_COMMAND}`; export r; \
36673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36674 $(HOST_EXPORTS) \
36675 for flag in $(EXTRA_HOST_FLAGS) ; do \
36676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36677 done; \
36678 echo "Doing maintainer-clean in gdbserver"; \
36679 (cd $(HOST_SUBDIR)/gdbserver && \
36680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36682 "RANLIB=$${RANLIB}" \
36683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36684 maintainer-clean) \
36685 || exit 1
36686
36687 @endif gdbserver
36688
36689
36690
36691 .PHONY: configure-gdb maybe-configure-gdb
36692 maybe-configure-gdb:
36693 @if gcc-bootstrap
36694 configure-gdb: stage_current
36695 @endif gcc-bootstrap
36696 @if gdb
36697 maybe-configure-gdb: configure-gdb
36698 configure-gdb:
36699 @: $(MAKE); $(unstage)
36700 @r=`${PWD_COMMAND}`; export r; \
36701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36702 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
36703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb; \
36704 $(HOST_EXPORTS) \
36705 echo Configuring in $(HOST_SUBDIR)/gdb; \
36706 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
36707 case $(srcdir) in \
36708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36709 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
36710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36711 esac; \
36712 module_srcdir=gdb; \
36713 $(SHELL) \
36714 $$s/$$module_srcdir/configure \
36715 --srcdir=$${topdir}/$$module_srcdir \
36716 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36717 --target=${target_alias} \
36718 || exit 1
36719 @endif gdb
36720
36721
36722
36723
36724
36725 .PHONY: all-gdb maybe-all-gdb
36726 maybe-all-gdb:
36727 @if gcc-bootstrap
36728 all-gdb: stage_current
36729 @endif gcc-bootstrap
36730 @if gdb
36731 TARGET-gdb=all
36732 maybe-all-gdb: all-gdb
36733 all-gdb: configure-gdb
36734 @: $(MAKE); $(unstage)
36735 @r=`${PWD_COMMAND}`; export r; \
36736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36737 $(HOST_EXPORTS) \
36738 (cd $(HOST_SUBDIR)/gdb && \
36739 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
36740 $(TARGET-gdb))
36741 @endif gdb
36742
36743
36744
36745
36746 .PHONY: check-gdb maybe-check-gdb
36747 maybe-check-gdb:
36748 @if gdb
36749 maybe-check-gdb: check-gdb
36750
36751 check-gdb:
36752 @: $(MAKE); $(unstage)
36753 @r=`${PWD_COMMAND}`; export r; \
36754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36755 $(HOST_EXPORTS) \
36756 (cd $(HOST_SUBDIR)/gdb && \
36757 $(MAKE) $(FLAGS_TO_PASS) check)
36758
36759 @endif gdb
36760
36761 .PHONY: install-gdb maybe-install-gdb
36762 maybe-install-gdb:
36763 @if gdb
36764 maybe-install-gdb: install-gdb
36765
36766 install-gdb: installdirs
36767 @: $(MAKE); $(unstage)
36768 @r=`${PWD_COMMAND}`; export r; \
36769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36770 $(HOST_EXPORTS) \
36771 (cd $(HOST_SUBDIR)/gdb && \
36772 $(MAKE) $(FLAGS_TO_PASS) install)
36773
36774 @endif gdb
36775
36776 .PHONY: install-strip-gdb maybe-install-strip-gdb
36777 maybe-install-strip-gdb:
36778 @if gdb
36779 maybe-install-strip-gdb: install-strip-gdb
36780
36781 install-strip-gdb: installdirs
36782 @: $(MAKE); $(unstage)
36783 @r=`${PWD_COMMAND}`; export r; \
36784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36785 $(HOST_EXPORTS) \
36786 (cd $(HOST_SUBDIR)/gdb && \
36787 $(MAKE) $(FLAGS_TO_PASS) install-strip)
36788
36789 @endif gdb
36790
36791 # Other targets (info, dvi, pdf, etc.)
36792
36793 .PHONY: maybe-info-gdb info-gdb
36794 maybe-info-gdb:
36795 @if gdb
36796 maybe-info-gdb: info-gdb
36797
36798 info-gdb: \
36799 configure-gdb
36800 @: $(MAKE); $(unstage)
36801 @[ -f ./gdb/Makefile ] || exit 0; \
36802 r=`${PWD_COMMAND}`; export r; \
36803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36804 $(HOST_EXPORTS) \
36805 for flag in $(EXTRA_HOST_FLAGS) ; do \
36806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36807 done; \
36808 echo "Doing info in gdb"; \
36809 (cd $(HOST_SUBDIR)/gdb && \
36810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36812 "RANLIB=$${RANLIB}" \
36813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36814 info) \
36815 || exit 1
36816
36817 @endif gdb
36818
36819 .PHONY: maybe-dvi-gdb dvi-gdb
36820 maybe-dvi-gdb:
36821 @if gdb
36822 maybe-dvi-gdb: dvi-gdb
36823
36824 dvi-gdb: \
36825 configure-gdb
36826 @: $(MAKE); $(unstage)
36827 @[ -f ./gdb/Makefile ] || exit 0; \
36828 r=`${PWD_COMMAND}`; export r; \
36829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36830 $(HOST_EXPORTS) \
36831 for flag in $(EXTRA_HOST_FLAGS) ; do \
36832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36833 done; \
36834 echo "Doing dvi in gdb"; \
36835 (cd $(HOST_SUBDIR)/gdb && \
36836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36838 "RANLIB=$${RANLIB}" \
36839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36840 dvi) \
36841 || exit 1
36842
36843 @endif gdb
36844
36845 .PHONY: maybe-pdf-gdb pdf-gdb
36846 maybe-pdf-gdb:
36847 @if gdb
36848 maybe-pdf-gdb: pdf-gdb
36849
36850 pdf-gdb: \
36851 configure-gdb
36852 @: $(MAKE); $(unstage)
36853 @[ -f ./gdb/Makefile ] || exit 0; \
36854 r=`${PWD_COMMAND}`; export r; \
36855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36856 $(HOST_EXPORTS) \
36857 for flag in $(EXTRA_HOST_FLAGS) ; do \
36858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36859 done; \
36860 echo "Doing pdf in gdb"; \
36861 (cd $(HOST_SUBDIR)/gdb && \
36862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36864 "RANLIB=$${RANLIB}" \
36865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36866 pdf) \
36867 || exit 1
36868
36869 @endif gdb
36870
36871 .PHONY: maybe-html-gdb html-gdb
36872 maybe-html-gdb:
36873 @if gdb
36874 maybe-html-gdb: html-gdb
36875
36876 html-gdb: \
36877 configure-gdb
36878 @: $(MAKE); $(unstage)
36879 @[ -f ./gdb/Makefile ] || exit 0; \
36880 r=`${PWD_COMMAND}`; export r; \
36881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36882 $(HOST_EXPORTS) \
36883 for flag in $(EXTRA_HOST_FLAGS) ; do \
36884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36885 done; \
36886 echo "Doing html in gdb"; \
36887 (cd $(HOST_SUBDIR)/gdb && \
36888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36890 "RANLIB=$${RANLIB}" \
36891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36892 html) \
36893 || exit 1
36894
36895 @endif gdb
36896
36897 .PHONY: maybe-TAGS-gdb TAGS-gdb
36898 maybe-TAGS-gdb:
36899 @if gdb
36900 maybe-TAGS-gdb: TAGS-gdb
36901
36902 TAGS-gdb: \
36903 configure-gdb
36904 @: $(MAKE); $(unstage)
36905 @[ -f ./gdb/Makefile ] || exit 0; \
36906 r=`${PWD_COMMAND}`; export r; \
36907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36908 $(HOST_EXPORTS) \
36909 for flag in $(EXTRA_HOST_FLAGS) ; do \
36910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36911 done; \
36912 echo "Doing TAGS in gdb"; \
36913 (cd $(HOST_SUBDIR)/gdb && \
36914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36916 "RANLIB=$${RANLIB}" \
36917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36918 TAGS) \
36919 || exit 1
36920
36921 @endif gdb
36922
36923 .PHONY: maybe-install-info-gdb install-info-gdb
36924 maybe-install-info-gdb:
36925 @if gdb
36926 maybe-install-info-gdb: install-info-gdb
36927
36928 install-info-gdb: \
36929 configure-gdb \
36930 info-gdb
36931 @: $(MAKE); $(unstage)
36932 @[ -f ./gdb/Makefile ] || exit 0; \
36933 r=`${PWD_COMMAND}`; export r; \
36934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36935 $(HOST_EXPORTS) \
36936 for flag in $(EXTRA_HOST_FLAGS) ; do \
36937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36938 done; \
36939 echo "Doing install-info in gdb"; \
36940 (cd $(HOST_SUBDIR)/gdb && \
36941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36943 "RANLIB=$${RANLIB}" \
36944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36945 install-info) \
36946 || exit 1
36947
36948 @endif gdb
36949
36950 .PHONY: maybe-install-dvi-gdb install-dvi-gdb
36951 maybe-install-dvi-gdb:
36952 @if gdb
36953 maybe-install-dvi-gdb: install-dvi-gdb
36954
36955 install-dvi-gdb: \
36956 configure-gdb \
36957 dvi-gdb
36958 @: $(MAKE); $(unstage)
36959 @[ -f ./gdb/Makefile ] || exit 0; \
36960 r=`${PWD_COMMAND}`; export r; \
36961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36962 $(HOST_EXPORTS) \
36963 for flag in $(EXTRA_HOST_FLAGS) ; do \
36964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36965 done; \
36966 echo "Doing install-dvi in gdb"; \
36967 (cd $(HOST_SUBDIR)/gdb && \
36968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36970 "RANLIB=$${RANLIB}" \
36971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36972 install-dvi) \
36973 || exit 1
36974
36975 @endif gdb
36976
36977 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
36978 maybe-install-pdf-gdb:
36979 @if gdb
36980 maybe-install-pdf-gdb: install-pdf-gdb
36981
36982 install-pdf-gdb: \
36983 configure-gdb \
36984 pdf-gdb
36985 @: $(MAKE); $(unstage)
36986 @[ -f ./gdb/Makefile ] || exit 0; \
36987 r=`${PWD_COMMAND}`; export r; \
36988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36989 $(HOST_EXPORTS) \
36990 for flag in $(EXTRA_HOST_FLAGS) ; do \
36991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36992 done; \
36993 echo "Doing install-pdf in gdb"; \
36994 (cd $(HOST_SUBDIR)/gdb && \
36995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36997 "RANLIB=$${RANLIB}" \
36998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36999 install-pdf) \
37000 || exit 1
37001
37002 @endif gdb
37003
37004 .PHONY: maybe-install-html-gdb install-html-gdb
37005 maybe-install-html-gdb:
37006 @if gdb
37007 maybe-install-html-gdb: install-html-gdb
37008
37009 install-html-gdb: \
37010 configure-gdb \
37011 html-gdb
37012 @: $(MAKE); $(unstage)
37013 @[ -f ./gdb/Makefile ] || exit 0; \
37014 r=`${PWD_COMMAND}`; export r; \
37015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37016 $(HOST_EXPORTS) \
37017 for flag in $(EXTRA_HOST_FLAGS) ; do \
37018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37019 done; \
37020 echo "Doing install-html in gdb"; \
37021 (cd $(HOST_SUBDIR)/gdb && \
37022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37024 "RANLIB=$${RANLIB}" \
37025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37026 install-html) \
37027 || exit 1
37028
37029 @endif gdb
37030
37031 .PHONY: maybe-installcheck-gdb installcheck-gdb
37032 maybe-installcheck-gdb:
37033 @if gdb
37034 maybe-installcheck-gdb: installcheck-gdb
37035
37036 installcheck-gdb: \
37037 configure-gdb
37038 @: $(MAKE); $(unstage)
37039 @[ -f ./gdb/Makefile ] || exit 0; \
37040 r=`${PWD_COMMAND}`; export r; \
37041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37042 $(HOST_EXPORTS) \
37043 for flag in $(EXTRA_HOST_FLAGS) ; do \
37044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37045 done; \
37046 echo "Doing installcheck in gdb"; \
37047 (cd $(HOST_SUBDIR)/gdb && \
37048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37050 "RANLIB=$${RANLIB}" \
37051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37052 installcheck) \
37053 || exit 1
37054
37055 @endif gdb
37056
37057 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
37058 maybe-mostlyclean-gdb:
37059 @if gdb
37060 maybe-mostlyclean-gdb: mostlyclean-gdb
37061
37062 mostlyclean-gdb:
37063 @: $(MAKE); $(unstage)
37064 @[ -f ./gdb/Makefile ] || exit 0; \
37065 r=`${PWD_COMMAND}`; export r; \
37066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37067 $(HOST_EXPORTS) \
37068 for flag in $(EXTRA_HOST_FLAGS) ; do \
37069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37070 done; \
37071 echo "Doing mostlyclean in gdb"; \
37072 (cd $(HOST_SUBDIR)/gdb && \
37073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37075 "RANLIB=$${RANLIB}" \
37076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37077 mostlyclean) \
37078 || exit 1
37079
37080 @endif gdb
37081
37082 .PHONY: maybe-clean-gdb clean-gdb
37083 maybe-clean-gdb:
37084 @if gdb
37085 maybe-clean-gdb: clean-gdb
37086
37087 clean-gdb:
37088 @: $(MAKE); $(unstage)
37089 @[ -f ./gdb/Makefile ] || exit 0; \
37090 r=`${PWD_COMMAND}`; export r; \
37091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37092 $(HOST_EXPORTS) \
37093 for flag in $(EXTRA_HOST_FLAGS) ; do \
37094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37095 done; \
37096 echo "Doing clean in gdb"; \
37097 (cd $(HOST_SUBDIR)/gdb && \
37098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37100 "RANLIB=$${RANLIB}" \
37101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37102 clean) \
37103 || exit 1
37104
37105 @endif gdb
37106
37107 .PHONY: maybe-distclean-gdb distclean-gdb
37108 maybe-distclean-gdb:
37109 @if gdb
37110 maybe-distclean-gdb: distclean-gdb
37111
37112 distclean-gdb:
37113 @: $(MAKE); $(unstage)
37114 @[ -f ./gdb/Makefile ] || exit 0; \
37115 r=`${PWD_COMMAND}`; export r; \
37116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37117 $(HOST_EXPORTS) \
37118 for flag in $(EXTRA_HOST_FLAGS) ; do \
37119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37120 done; \
37121 echo "Doing distclean in gdb"; \
37122 (cd $(HOST_SUBDIR)/gdb && \
37123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37125 "RANLIB=$${RANLIB}" \
37126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37127 distclean) \
37128 || exit 1
37129
37130 @endif gdb
37131
37132 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
37133 maybe-maintainer-clean-gdb:
37134 @if gdb
37135 maybe-maintainer-clean-gdb: maintainer-clean-gdb
37136
37137 maintainer-clean-gdb:
37138 @: $(MAKE); $(unstage)
37139 @[ -f ./gdb/Makefile ] || exit 0; \
37140 r=`${PWD_COMMAND}`; export r; \
37141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37142 $(HOST_EXPORTS) \
37143 for flag in $(EXTRA_HOST_FLAGS) ; do \
37144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37145 done; \
37146 echo "Doing maintainer-clean in gdb"; \
37147 (cd $(HOST_SUBDIR)/gdb && \
37148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37150 "RANLIB=$${RANLIB}" \
37151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37152 maintainer-clean) \
37153 || exit 1
37154
37155 @endif gdb
37156
37157
37158
37159 .PHONY: configure-expect maybe-configure-expect
37160 maybe-configure-expect:
37161 @if gcc-bootstrap
37162 configure-expect: stage_current
37163 @endif gcc-bootstrap
37164 @if expect
37165 maybe-configure-expect: configure-expect
37166 configure-expect:
37167 @: $(MAKE); $(unstage)
37168 @r=`${PWD_COMMAND}`; export r; \
37169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37170 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
37171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect; \
37172 $(HOST_EXPORTS) \
37173 echo Configuring in $(HOST_SUBDIR)/expect; \
37174 cd "$(HOST_SUBDIR)/expect" || exit 1; \
37175 case $(srcdir) in \
37176 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37177 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
37178 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37179 esac; \
37180 module_srcdir=expect; \
37181 $(SHELL) \
37182 $$s/$$module_srcdir/configure \
37183 --srcdir=$${topdir}/$$module_srcdir \
37184 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37185 --target=${target_alias} \
37186 || exit 1
37187 @endif expect
37188
37189
37190
37191
37192
37193 .PHONY: all-expect maybe-all-expect
37194 maybe-all-expect:
37195 @if gcc-bootstrap
37196 all-expect: stage_current
37197 @endif gcc-bootstrap
37198 @if expect
37199 TARGET-expect=all
37200 maybe-all-expect: all-expect
37201 all-expect: configure-expect
37202 @: $(MAKE); $(unstage)
37203 @r=`${PWD_COMMAND}`; export r; \
37204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37205 $(HOST_EXPORTS) \
37206 (cd $(HOST_SUBDIR)/expect && \
37207 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37208 $(TARGET-expect))
37209 @endif expect
37210
37211
37212
37213
37214 .PHONY: check-expect maybe-check-expect
37215 maybe-check-expect:
37216 @if expect
37217 maybe-check-expect: check-expect
37218
37219 check-expect:
37220 @: $(MAKE); $(unstage)
37221 @r=`${PWD_COMMAND}`; export r; \
37222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37223 $(HOST_EXPORTS) \
37224 (cd $(HOST_SUBDIR)/expect && \
37225 $(MAKE) $(FLAGS_TO_PASS) check)
37226
37227 @endif expect
37228
37229 .PHONY: install-expect maybe-install-expect
37230 maybe-install-expect:
37231 @if expect
37232 maybe-install-expect: install-expect
37233
37234 install-expect: installdirs
37235 @: $(MAKE); $(unstage)
37236 @r=`${PWD_COMMAND}`; export r; \
37237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37238 $(HOST_EXPORTS) \
37239 (cd $(HOST_SUBDIR)/expect && \
37240 $(MAKE) $(FLAGS_TO_PASS) install)
37241
37242 @endif expect
37243
37244 .PHONY: install-strip-expect maybe-install-strip-expect
37245 maybe-install-strip-expect:
37246 @if expect
37247 maybe-install-strip-expect: install-strip-expect
37248
37249 install-strip-expect: installdirs
37250 @: $(MAKE); $(unstage)
37251 @r=`${PWD_COMMAND}`; export r; \
37252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37253 $(HOST_EXPORTS) \
37254 (cd $(HOST_SUBDIR)/expect && \
37255 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37256
37257 @endif expect
37258
37259 # Other targets (info, dvi, pdf, etc.)
37260
37261 .PHONY: maybe-info-expect info-expect
37262 maybe-info-expect:
37263 @if expect
37264 maybe-info-expect: info-expect
37265
37266 info-expect: \
37267 configure-expect
37268 @: $(MAKE); $(unstage)
37269 @[ -f ./expect/Makefile ] || exit 0; \
37270 r=`${PWD_COMMAND}`; export r; \
37271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37272 $(HOST_EXPORTS) \
37273 for flag in $(EXTRA_HOST_FLAGS) ; do \
37274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37275 done; \
37276 echo "Doing info in expect"; \
37277 (cd $(HOST_SUBDIR)/expect && \
37278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37280 "RANLIB=$${RANLIB}" \
37281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37282 info) \
37283 || exit 1
37284
37285 @endif expect
37286
37287 .PHONY: maybe-dvi-expect dvi-expect
37288 maybe-dvi-expect:
37289 @if expect
37290 maybe-dvi-expect: dvi-expect
37291
37292 dvi-expect: \
37293 configure-expect
37294 @: $(MAKE); $(unstage)
37295 @[ -f ./expect/Makefile ] || exit 0; \
37296 r=`${PWD_COMMAND}`; export r; \
37297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37298 $(HOST_EXPORTS) \
37299 for flag in $(EXTRA_HOST_FLAGS) ; do \
37300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37301 done; \
37302 echo "Doing dvi in expect"; \
37303 (cd $(HOST_SUBDIR)/expect && \
37304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37306 "RANLIB=$${RANLIB}" \
37307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37308 dvi) \
37309 || exit 1
37310
37311 @endif expect
37312
37313 .PHONY: maybe-pdf-expect pdf-expect
37314 maybe-pdf-expect:
37315 @if expect
37316 maybe-pdf-expect: pdf-expect
37317
37318 pdf-expect: \
37319 configure-expect
37320 @: $(MAKE); $(unstage)
37321 @[ -f ./expect/Makefile ] || exit 0; \
37322 r=`${PWD_COMMAND}`; export r; \
37323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37324 $(HOST_EXPORTS) \
37325 for flag in $(EXTRA_HOST_FLAGS) ; do \
37326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37327 done; \
37328 echo "Doing pdf in expect"; \
37329 (cd $(HOST_SUBDIR)/expect && \
37330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37332 "RANLIB=$${RANLIB}" \
37333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37334 pdf) \
37335 || exit 1
37336
37337 @endif expect
37338
37339 .PHONY: maybe-html-expect html-expect
37340 maybe-html-expect:
37341 @if expect
37342 maybe-html-expect: html-expect
37343
37344 html-expect: \
37345 configure-expect
37346 @: $(MAKE); $(unstage)
37347 @[ -f ./expect/Makefile ] || exit 0; \
37348 r=`${PWD_COMMAND}`; export r; \
37349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37350 $(HOST_EXPORTS) \
37351 for flag in $(EXTRA_HOST_FLAGS) ; do \
37352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37353 done; \
37354 echo "Doing html in expect"; \
37355 (cd $(HOST_SUBDIR)/expect && \
37356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37358 "RANLIB=$${RANLIB}" \
37359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37360 html) \
37361 || exit 1
37362
37363 @endif expect
37364
37365 .PHONY: maybe-TAGS-expect TAGS-expect
37366 maybe-TAGS-expect:
37367 @if expect
37368 maybe-TAGS-expect: TAGS-expect
37369
37370 TAGS-expect: \
37371 configure-expect
37372 @: $(MAKE); $(unstage)
37373 @[ -f ./expect/Makefile ] || exit 0; \
37374 r=`${PWD_COMMAND}`; export r; \
37375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37376 $(HOST_EXPORTS) \
37377 for flag in $(EXTRA_HOST_FLAGS) ; do \
37378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37379 done; \
37380 echo "Doing TAGS in expect"; \
37381 (cd $(HOST_SUBDIR)/expect && \
37382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37384 "RANLIB=$${RANLIB}" \
37385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37386 TAGS) \
37387 || exit 1
37388
37389 @endif expect
37390
37391 .PHONY: maybe-install-info-expect install-info-expect
37392 maybe-install-info-expect:
37393 @if expect
37394 maybe-install-info-expect: install-info-expect
37395
37396 install-info-expect: \
37397 configure-expect \
37398 info-expect
37399 @: $(MAKE); $(unstage)
37400 @[ -f ./expect/Makefile ] || exit 0; \
37401 r=`${PWD_COMMAND}`; export r; \
37402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37403 $(HOST_EXPORTS) \
37404 for flag in $(EXTRA_HOST_FLAGS) ; do \
37405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37406 done; \
37407 echo "Doing install-info in expect"; \
37408 (cd $(HOST_SUBDIR)/expect && \
37409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37411 "RANLIB=$${RANLIB}" \
37412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37413 install-info) \
37414 || exit 1
37415
37416 @endif expect
37417
37418 .PHONY: maybe-install-dvi-expect install-dvi-expect
37419 maybe-install-dvi-expect:
37420 @if expect
37421 maybe-install-dvi-expect: install-dvi-expect
37422
37423 install-dvi-expect: \
37424 configure-expect \
37425 dvi-expect
37426 @: $(MAKE); $(unstage)
37427 @[ -f ./expect/Makefile ] || exit 0; \
37428 r=`${PWD_COMMAND}`; export r; \
37429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37430 $(HOST_EXPORTS) \
37431 for flag in $(EXTRA_HOST_FLAGS) ; do \
37432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37433 done; \
37434 echo "Doing install-dvi in expect"; \
37435 (cd $(HOST_SUBDIR)/expect && \
37436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37438 "RANLIB=$${RANLIB}" \
37439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37440 install-dvi) \
37441 || exit 1
37442
37443 @endif expect
37444
37445 .PHONY: maybe-install-pdf-expect install-pdf-expect
37446 maybe-install-pdf-expect:
37447 @if expect
37448 maybe-install-pdf-expect: install-pdf-expect
37449
37450 install-pdf-expect: \
37451 configure-expect \
37452 pdf-expect
37453 @: $(MAKE); $(unstage)
37454 @[ -f ./expect/Makefile ] || exit 0; \
37455 r=`${PWD_COMMAND}`; export r; \
37456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37457 $(HOST_EXPORTS) \
37458 for flag in $(EXTRA_HOST_FLAGS) ; do \
37459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37460 done; \
37461 echo "Doing install-pdf in expect"; \
37462 (cd $(HOST_SUBDIR)/expect && \
37463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37465 "RANLIB=$${RANLIB}" \
37466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37467 install-pdf) \
37468 || exit 1
37469
37470 @endif expect
37471
37472 .PHONY: maybe-install-html-expect install-html-expect
37473 maybe-install-html-expect:
37474 @if expect
37475 maybe-install-html-expect: install-html-expect
37476
37477 install-html-expect: \
37478 configure-expect \
37479 html-expect
37480 @: $(MAKE); $(unstage)
37481 @[ -f ./expect/Makefile ] || exit 0; \
37482 r=`${PWD_COMMAND}`; export r; \
37483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37484 $(HOST_EXPORTS) \
37485 for flag in $(EXTRA_HOST_FLAGS) ; do \
37486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37487 done; \
37488 echo "Doing install-html in expect"; \
37489 (cd $(HOST_SUBDIR)/expect && \
37490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37492 "RANLIB=$${RANLIB}" \
37493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37494 install-html) \
37495 || exit 1
37496
37497 @endif expect
37498
37499 .PHONY: maybe-installcheck-expect installcheck-expect
37500 maybe-installcheck-expect:
37501 @if expect
37502 maybe-installcheck-expect: installcheck-expect
37503
37504 installcheck-expect: \
37505 configure-expect
37506 @: $(MAKE); $(unstage)
37507 @[ -f ./expect/Makefile ] || exit 0; \
37508 r=`${PWD_COMMAND}`; export r; \
37509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37510 $(HOST_EXPORTS) \
37511 for flag in $(EXTRA_HOST_FLAGS) ; do \
37512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37513 done; \
37514 echo "Doing installcheck in expect"; \
37515 (cd $(HOST_SUBDIR)/expect && \
37516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37518 "RANLIB=$${RANLIB}" \
37519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37520 installcheck) \
37521 || exit 1
37522
37523 @endif expect
37524
37525 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
37526 maybe-mostlyclean-expect:
37527 @if expect
37528 maybe-mostlyclean-expect: mostlyclean-expect
37529
37530 mostlyclean-expect:
37531 @: $(MAKE); $(unstage)
37532 @[ -f ./expect/Makefile ] || exit 0; \
37533 r=`${PWD_COMMAND}`; export r; \
37534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37535 $(HOST_EXPORTS) \
37536 for flag in $(EXTRA_HOST_FLAGS) ; do \
37537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37538 done; \
37539 echo "Doing mostlyclean in expect"; \
37540 (cd $(HOST_SUBDIR)/expect && \
37541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37543 "RANLIB=$${RANLIB}" \
37544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37545 mostlyclean) \
37546 || exit 1
37547
37548 @endif expect
37549
37550 .PHONY: maybe-clean-expect clean-expect
37551 maybe-clean-expect:
37552 @if expect
37553 maybe-clean-expect: clean-expect
37554
37555 clean-expect:
37556 @: $(MAKE); $(unstage)
37557 @[ -f ./expect/Makefile ] || exit 0; \
37558 r=`${PWD_COMMAND}`; export r; \
37559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37560 $(HOST_EXPORTS) \
37561 for flag in $(EXTRA_HOST_FLAGS) ; do \
37562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37563 done; \
37564 echo "Doing clean in expect"; \
37565 (cd $(HOST_SUBDIR)/expect && \
37566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37568 "RANLIB=$${RANLIB}" \
37569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37570 clean) \
37571 || exit 1
37572
37573 @endif expect
37574
37575 .PHONY: maybe-distclean-expect distclean-expect
37576 maybe-distclean-expect:
37577 @if expect
37578 maybe-distclean-expect: distclean-expect
37579
37580 distclean-expect:
37581 @: $(MAKE); $(unstage)
37582 @[ -f ./expect/Makefile ] || exit 0; \
37583 r=`${PWD_COMMAND}`; export r; \
37584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37585 $(HOST_EXPORTS) \
37586 for flag in $(EXTRA_HOST_FLAGS) ; do \
37587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37588 done; \
37589 echo "Doing distclean in expect"; \
37590 (cd $(HOST_SUBDIR)/expect && \
37591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37593 "RANLIB=$${RANLIB}" \
37594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37595 distclean) \
37596 || exit 1
37597
37598 @endif expect
37599
37600 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
37601 maybe-maintainer-clean-expect:
37602 @if expect
37603 maybe-maintainer-clean-expect: maintainer-clean-expect
37604
37605 maintainer-clean-expect:
37606 @: $(MAKE); $(unstage)
37607 @[ -f ./expect/Makefile ] || exit 0; \
37608 r=`${PWD_COMMAND}`; export r; \
37609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37610 $(HOST_EXPORTS) \
37611 for flag in $(EXTRA_HOST_FLAGS) ; do \
37612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37613 done; \
37614 echo "Doing maintainer-clean in expect"; \
37615 (cd $(HOST_SUBDIR)/expect && \
37616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37618 "RANLIB=$${RANLIB}" \
37619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37620 maintainer-clean) \
37621 || exit 1
37622
37623 @endif expect
37624
37625
37626
37627 .PHONY: configure-guile maybe-configure-guile
37628 maybe-configure-guile:
37629 @if gcc-bootstrap
37630 configure-guile: stage_current
37631 @endif gcc-bootstrap
37632 @if guile
37633 maybe-configure-guile: configure-guile
37634 configure-guile:
37635 @: $(MAKE); $(unstage)
37636 @r=`${PWD_COMMAND}`; export r; \
37637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37638 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
37639 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile; \
37640 $(HOST_EXPORTS) \
37641 echo Configuring in $(HOST_SUBDIR)/guile; \
37642 cd "$(HOST_SUBDIR)/guile" || exit 1; \
37643 case $(srcdir) in \
37644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37645 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
37646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37647 esac; \
37648 module_srcdir=guile; \
37649 $(SHELL) \
37650 $$s/$$module_srcdir/configure \
37651 --srcdir=$${topdir}/$$module_srcdir \
37652 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37653 --target=${target_alias} \
37654 || exit 1
37655 @endif guile
37656
37657
37658
37659
37660
37661 .PHONY: all-guile maybe-all-guile
37662 maybe-all-guile:
37663 @if gcc-bootstrap
37664 all-guile: stage_current
37665 @endif gcc-bootstrap
37666 @if guile
37667 TARGET-guile=all
37668 maybe-all-guile: all-guile
37669 all-guile: configure-guile
37670 @: $(MAKE); $(unstage)
37671 @r=`${PWD_COMMAND}`; export r; \
37672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37673 $(HOST_EXPORTS) \
37674 (cd $(HOST_SUBDIR)/guile && \
37675 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
37676 $(TARGET-guile))
37677 @endif guile
37678
37679
37680
37681
37682 .PHONY: check-guile maybe-check-guile
37683 maybe-check-guile:
37684 @if guile
37685 maybe-check-guile: check-guile
37686
37687 check-guile:
37688 @: $(MAKE); $(unstage)
37689 @r=`${PWD_COMMAND}`; export r; \
37690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37691 $(HOST_EXPORTS) \
37692 (cd $(HOST_SUBDIR)/guile && \
37693 $(MAKE) $(FLAGS_TO_PASS) check)
37694
37695 @endif guile
37696
37697 .PHONY: install-guile maybe-install-guile
37698 maybe-install-guile:
37699 @if guile
37700 maybe-install-guile: install-guile
37701
37702 install-guile: installdirs
37703 @: $(MAKE); $(unstage)
37704 @r=`${PWD_COMMAND}`; export r; \
37705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37706 $(HOST_EXPORTS) \
37707 (cd $(HOST_SUBDIR)/guile && \
37708 $(MAKE) $(FLAGS_TO_PASS) install)
37709
37710 @endif guile
37711
37712 .PHONY: install-strip-guile maybe-install-strip-guile
37713 maybe-install-strip-guile:
37714 @if guile
37715 maybe-install-strip-guile: install-strip-guile
37716
37717 install-strip-guile: installdirs
37718 @: $(MAKE); $(unstage)
37719 @r=`${PWD_COMMAND}`; export r; \
37720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37721 $(HOST_EXPORTS) \
37722 (cd $(HOST_SUBDIR)/guile && \
37723 $(MAKE) $(FLAGS_TO_PASS) install-strip)
37724
37725 @endif guile
37726
37727 # Other targets (info, dvi, pdf, etc.)
37728
37729 .PHONY: maybe-info-guile info-guile
37730 maybe-info-guile:
37731 @if guile
37732 maybe-info-guile: info-guile
37733
37734 info-guile: \
37735 configure-guile
37736 @: $(MAKE); $(unstage)
37737 @[ -f ./guile/Makefile ] || exit 0; \
37738 r=`${PWD_COMMAND}`; export r; \
37739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37740 $(HOST_EXPORTS) \
37741 for flag in $(EXTRA_HOST_FLAGS) ; do \
37742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37743 done; \
37744 echo "Doing info in guile"; \
37745 (cd $(HOST_SUBDIR)/guile && \
37746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37748 "RANLIB=$${RANLIB}" \
37749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37750 info) \
37751 || exit 1
37752
37753 @endif guile
37754
37755 .PHONY: maybe-dvi-guile dvi-guile
37756 maybe-dvi-guile:
37757 @if guile
37758 maybe-dvi-guile: dvi-guile
37759
37760 dvi-guile: \
37761 configure-guile
37762 @: $(MAKE); $(unstage)
37763 @[ -f ./guile/Makefile ] || exit 0; \
37764 r=`${PWD_COMMAND}`; export r; \
37765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37766 $(HOST_EXPORTS) \
37767 for flag in $(EXTRA_HOST_FLAGS) ; do \
37768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37769 done; \
37770 echo "Doing dvi in guile"; \
37771 (cd $(HOST_SUBDIR)/guile && \
37772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37774 "RANLIB=$${RANLIB}" \
37775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37776 dvi) \
37777 || exit 1
37778
37779 @endif guile
37780
37781 .PHONY: maybe-pdf-guile pdf-guile
37782 maybe-pdf-guile:
37783 @if guile
37784 maybe-pdf-guile: pdf-guile
37785
37786 pdf-guile: \
37787 configure-guile
37788 @: $(MAKE); $(unstage)
37789 @[ -f ./guile/Makefile ] || exit 0; \
37790 r=`${PWD_COMMAND}`; export r; \
37791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37792 $(HOST_EXPORTS) \
37793 for flag in $(EXTRA_HOST_FLAGS) ; do \
37794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37795 done; \
37796 echo "Doing pdf in guile"; \
37797 (cd $(HOST_SUBDIR)/guile && \
37798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37800 "RANLIB=$${RANLIB}" \
37801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37802 pdf) \
37803 || exit 1
37804
37805 @endif guile
37806
37807 .PHONY: maybe-html-guile html-guile
37808 maybe-html-guile:
37809 @if guile
37810 maybe-html-guile: html-guile
37811
37812 html-guile: \
37813 configure-guile
37814 @: $(MAKE); $(unstage)
37815 @[ -f ./guile/Makefile ] || exit 0; \
37816 r=`${PWD_COMMAND}`; export r; \
37817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37818 $(HOST_EXPORTS) \
37819 for flag in $(EXTRA_HOST_FLAGS) ; do \
37820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37821 done; \
37822 echo "Doing html in guile"; \
37823 (cd $(HOST_SUBDIR)/guile && \
37824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37826 "RANLIB=$${RANLIB}" \
37827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37828 html) \
37829 || exit 1
37830
37831 @endif guile
37832
37833 .PHONY: maybe-TAGS-guile TAGS-guile
37834 maybe-TAGS-guile:
37835 @if guile
37836 maybe-TAGS-guile: TAGS-guile
37837
37838 TAGS-guile: \
37839 configure-guile
37840 @: $(MAKE); $(unstage)
37841 @[ -f ./guile/Makefile ] || exit 0; \
37842 r=`${PWD_COMMAND}`; export r; \
37843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37844 $(HOST_EXPORTS) \
37845 for flag in $(EXTRA_HOST_FLAGS) ; do \
37846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37847 done; \
37848 echo "Doing TAGS in guile"; \
37849 (cd $(HOST_SUBDIR)/guile && \
37850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37852 "RANLIB=$${RANLIB}" \
37853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37854 TAGS) \
37855 || exit 1
37856
37857 @endif guile
37858
37859 .PHONY: maybe-install-info-guile install-info-guile
37860 maybe-install-info-guile:
37861 @if guile
37862 maybe-install-info-guile: install-info-guile
37863
37864 install-info-guile: \
37865 configure-guile \
37866 info-guile
37867 @: $(MAKE); $(unstage)
37868 @[ -f ./guile/Makefile ] || exit 0; \
37869 r=`${PWD_COMMAND}`; export r; \
37870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37871 $(HOST_EXPORTS) \
37872 for flag in $(EXTRA_HOST_FLAGS) ; do \
37873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37874 done; \
37875 echo "Doing install-info in guile"; \
37876 (cd $(HOST_SUBDIR)/guile && \
37877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37879 "RANLIB=$${RANLIB}" \
37880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37881 install-info) \
37882 || exit 1
37883
37884 @endif guile
37885
37886 .PHONY: maybe-install-dvi-guile install-dvi-guile
37887 maybe-install-dvi-guile:
37888 @if guile
37889 maybe-install-dvi-guile: install-dvi-guile
37890
37891 install-dvi-guile: \
37892 configure-guile \
37893 dvi-guile
37894 @: $(MAKE); $(unstage)
37895 @[ -f ./guile/Makefile ] || exit 0; \
37896 r=`${PWD_COMMAND}`; export r; \
37897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37898 $(HOST_EXPORTS) \
37899 for flag in $(EXTRA_HOST_FLAGS) ; do \
37900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37901 done; \
37902 echo "Doing install-dvi in guile"; \
37903 (cd $(HOST_SUBDIR)/guile && \
37904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37906 "RANLIB=$${RANLIB}" \
37907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37908 install-dvi) \
37909 || exit 1
37910
37911 @endif guile
37912
37913 .PHONY: maybe-install-pdf-guile install-pdf-guile
37914 maybe-install-pdf-guile:
37915 @if guile
37916 maybe-install-pdf-guile: install-pdf-guile
37917
37918 install-pdf-guile: \
37919 configure-guile \
37920 pdf-guile
37921 @: $(MAKE); $(unstage)
37922 @[ -f ./guile/Makefile ] || exit 0; \
37923 r=`${PWD_COMMAND}`; export r; \
37924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37925 $(HOST_EXPORTS) \
37926 for flag in $(EXTRA_HOST_FLAGS) ; do \
37927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37928 done; \
37929 echo "Doing install-pdf in guile"; \
37930 (cd $(HOST_SUBDIR)/guile && \
37931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37933 "RANLIB=$${RANLIB}" \
37934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37935 install-pdf) \
37936 || exit 1
37937
37938 @endif guile
37939
37940 .PHONY: maybe-install-html-guile install-html-guile
37941 maybe-install-html-guile:
37942 @if guile
37943 maybe-install-html-guile: install-html-guile
37944
37945 install-html-guile: \
37946 configure-guile \
37947 html-guile
37948 @: $(MAKE); $(unstage)
37949 @[ -f ./guile/Makefile ] || exit 0; \
37950 r=`${PWD_COMMAND}`; export r; \
37951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37952 $(HOST_EXPORTS) \
37953 for flag in $(EXTRA_HOST_FLAGS) ; do \
37954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37955 done; \
37956 echo "Doing install-html in guile"; \
37957 (cd $(HOST_SUBDIR)/guile && \
37958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37960 "RANLIB=$${RANLIB}" \
37961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37962 install-html) \
37963 || exit 1
37964
37965 @endif guile
37966
37967 .PHONY: maybe-installcheck-guile installcheck-guile
37968 maybe-installcheck-guile:
37969 @if guile
37970 maybe-installcheck-guile: installcheck-guile
37971
37972 installcheck-guile: \
37973 configure-guile
37974 @: $(MAKE); $(unstage)
37975 @[ -f ./guile/Makefile ] || exit 0; \
37976 r=`${PWD_COMMAND}`; export r; \
37977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37978 $(HOST_EXPORTS) \
37979 for flag in $(EXTRA_HOST_FLAGS) ; do \
37980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37981 done; \
37982 echo "Doing installcheck in guile"; \
37983 (cd $(HOST_SUBDIR)/guile && \
37984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37986 "RANLIB=$${RANLIB}" \
37987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37988 installcheck) \
37989 || exit 1
37990
37991 @endif guile
37992
37993 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
37994 maybe-mostlyclean-guile:
37995 @if guile
37996 maybe-mostlyclean-guile: mostlyclean-guile
37997
37998 mostlyclean-guile:
37999 @: $(MAKE); $(unstage)
38000 @[ -f ./guile/Makefile ] || exit 0; \
38001 r=`${PWD_COMMAND}`; export r; \
38002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38003 $(HOST_EXPORTS) \
38004 for flag in $(EXTRA_HOST_FLAGS) ; do \
38005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38006 done; \
38007 echo "Doing mostlyclean in guile"; \
38008 (cd $(HOST_SUBDIR)/guile && \
38009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38011 "RANLIB=$${RANLIB}" \
38012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38013 mostlyclean) \
38014 || exit 1
38015
38016 @endif guile
38017
38018 .PHONY: maybe-clean-guile clean-guile
38019 maybe-clean-guile:
38020 @if guile
38021 maybe-clean-guile: clean-guile
38022
38023 clean-guile:
38024 @: $(MAKE); $(unstage)
38025 @[ -f ./guile/Makefile ] || exit 0; \
38026 r=`${PWD_COMMAND}`; export r; \
38027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38028 $(HOST_EXPORTS) \
38029 for flag in $(EXTRA_HOST_FLAGS) ; do \
38030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38031 done; \
38032 echo "Doing clean in guile"; \
38033 (cd $(HOST_SUBDIR)/guile && \
38034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38036 "RANLIB=$${RANLIB}" \
38037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38038 clean) \
38039 || exit 1
38040
38041 @endif guile
38042
38043 .PHONY: maybe-distclean-guile distclean-guile
38044 maybe-distclean-guile:
38045 @if guile
38046 maybe-distclean-guile: distclean-guile
38047
38048 distclean-guile:
38049 @: $(MAKE); $(unstage)
38050 @[ -f ./guile/Makefile ] || exit 0; \
38051 r=`${PWD_COMMAND}`; export r; \
38052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38053 $(HOST_EXPORTS) \
38054 for flag in $(EXTRA_HOST_FLAGS) ; do \
38055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38056 done; \
38057 echo "Doing distclean in guile"; \
38058 (cd $(HOST_SUBDIR)/guile && \
38059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38061 "RANLIB=$${RANLIB}" \
38062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38063 distclean) \
38064 || exit 1
38065
38066 @endif guile
38067
38068 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
38069 maybe-maintainer-clean-guile:
38070 @if guile
38071 maybe-maintainer-clean-guile: maintainer-clean-guile
38072
38073 maintainer-clean-guile:
38074 @: $(MAKE); $(unstage)
38075 @[ -f ./guile/Makefile ] || exit 0; \
38076 r=`${PWD_COMMAND}`; export r; \
38077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38078 $(HOST_EXPORTS) \
38079 for flag in $(EXTRA_HOST_FLAGS) ; do \
38080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38081 done; \
38082 echo "Doing maintainer-clean in guile"; \
38083 (cd $(HOST_SUBDIR)/guile && \
38084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38086 "RANLIB=$${RANLIB}" \
38087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38088 maintainer-clean) \
38089 || exit 1
38090
38091 @endif guile
38092
38093
38094
38095 .PHONY: configure-tk maybe-configure-tk
38096 maybe-configure-tk:
38097 @if gcc-bootstrap
38098 configure-tk: stage_current
38099 @endif gcc-bootstrap
38100 @if tk
38101 maybe-configure-tk: configure-tk
38102 configure-tk:
38103 @: $(MAKE); $(unstage)
38104 @r=`${PWD_COMMAND}`; export r; \
38105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38106 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
38107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk; \
38108 $(HOST_EXPORTS) \
38109 echo Configuring in $(HOST_SUBDIR)/tk; \
38110 cd "$(HOST_SUBDIR)/tk" || exit 1; \
38111 case $(srcdir) in \
38112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38113 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
38114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38115 esac; \
38116 module_srcdir=tk; \
38117 $(SHELL) \
38118 $$s/$$module_srcdir/configure \
38119 --srcdir=$${topdir}/$$module_srcdir \
38120 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38121 --target=${target_alias} \
38122 || exit 1
38123 @endif tk
38124
38125
38126
38127
38128
38129 .PHONY: all-tk maybe-all-tk
38130 maybe-all-tk:
38131 @if gcc-bootstrap
38132 all-tk: stage_current
38133 @endif gcc-bootstrap
38134 @if tk
38135 TARGET-tk=all
38136 maybe-all-tk: all-tk
38137 all-tk: configure-tk
38138 @: $(MAKE); $(unstage)
38139 @r=`${PWD_COMMAND}`; export r; \
38140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38141 $(HOST_EXPORTS) \
38142 (cd $(HOST_SUBDIR)/tk && \
38143 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
38144 $(TARGET-tk))
38145 @endif tk
38146
38147
38148
38149
38150 .PHONY: check-tk maybe-check-tk
38151 maybe-check-tk:
38152 @if tk
38153 maybe-check-tk: check-tk
38154
38155 check-tk:
38156 @: $(MAKE); $(unstage)
38157 @r=`${PWD_COMMAND}`; export r; \
38158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38159 $(HOST_EXPORTS) \
38160 (cd $(HOST_SUBDIR)/tk && \
38161 $(MAKE) $(FLAGS_TO_PASS) check)
38162
38163 @endif tk
38164
38165 .PHONY: install-tk maybe-install-tk
38166 maybe-install-tk:
38167 @if tk
38168 maybe-install-tk: install-tk
38169
38170 install-tk: installdirs
38171 @: $(MAKE); $(unstage)
38172 @r=`${PWD_COMMAND}`; export r; \
38173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38174 $(HOST_EXPORTS) \
38175 (cd $(HOST_SUBDIR)/tk && \
38176 $(MAKE) $(FLAGS_TO_PASS) install)
38177
38178 @endif tk
38179
38180 .PHONY: install-strip-tk maybe-install-strip-tk
38181 maybe-install-strip-tk:
38182 @if tk
38183 maybe-install-strip-tk: install-strip-tk
38184
38185 install-strip-tk: installdirs
38186 @: $(MAKE); $(unstage)
38187 @r=`${PWD_COMMAND}`; export r; \
38188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38189 $(HOST_EXPORTS) \
38190 (cd $(HOST_SUBDIR)/tk && \
38191 $(MAKE) $(FLAGS_TO_PASS) install-strip)
38192
38193 @endif tk
38194
38195 # Other targets (info, dvi, pdf, etc.)
38196
38197 .PHONY: maybe-info-tk info-tk
38198 maybe-info-tk:
38199 @if tk
38200 maybe-info-tk: info-tk
38201
38202 info-tk: \
38203 configure-tk
38204 @: $(MAKE); $(unstage)
38205 @[ -f ./tk/Makefile ] || exit 0; \
38206 r=`${PWD_COMMAND}`; export r; \
38207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38208 $(HOST_EXPORTS) \
38209 for flag in $(EXTRA_HOST_FLAGS) ; do \
38210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38211 done; \
38212 echo "Doing info in tk"; \
38213 (cd $(HOST_SUBDIR)/tk && \
38214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38216 "RANLIB=$${RANLIB}" \
38217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38218 info) \
38219 || exit 1
38220
38221 @endif tk
38222
38223 .PHONY: maybe-dvi-tk dvi-tk
38224 maybe-dvi-tk:
38225 @if tk
38226 maybe-dvi-tk: dvi-tk
38227
38228 dvi-tk: \
38229 configure-tk
38230 @: $(MAKE); $(unstage)
38231 @[ -f ./tk/Makefile ] || exit 0; \
38232 r=`${PWD_COMMAND}`; export r; \
38233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38234 $(HOST_EXPORTS) \
38235 for flag in $(EXTRA_HOST_FLAGS) ; do \
38236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38237 done; \
38238 echo "Doing dvi in tk"; \
38239 (cd $(HOST_SUBDIR)/tk && \
38240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38242 "RANLIB=$${RANLIB}" \
38243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38244 dvi) \
38245 || exit 1
38246
38247 @endif tk
38248
38249 .PHONY: maybe-pdf-tk pdf-tk
38250 maybe-pdf-tk:
38251 @if tk
38252 maybe-pdf-tk: pdf-tk
38253
38254 pdf-tk: \
38255 configure-tk
38256 @: $(MAKE); $(unstage)
38257 @[ -f ./tk/Makefile ] || exit 0; \
38258 r=`${PWD_COMMAND}`; export r; \
38259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38260 $(HOST_EXPORTS) \
38261 for flag in $(EXTRA_HOST_FLAGS) ; do \
38262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38263 done; \
38264 echo "Doing pdf in tk"; \
38265 (cd $(HOST_SUBDIR)/tk && \
38266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38268 "RANLIB=$${RANLIB}" \
38269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38270 pdf) \
38271 || exit 1
38272
38273 @endif tk
38274
38275 .PHONY: maybe-html-tk html-tk
38276 maybe-html-tk:
38277 @if tk
38278 maybe-html-tk: html-tk
38279
38280 html-tk: \
38281 configure-tk
38282 @: $(MAKE); $(unstage)
38283 @[ -f ./tk/Makefile ] || exit 0; \
38284 r=`${PWD_COMMAND}`; export r; \
38285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38286 $(HOST_EXPORTS) \
38287 for flag in $(EXTRA_HOST_FLAGS) ; do \
38288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38289 done; \
38290 echo "Doing html in tk"; \
38291 (cd $(HOST_SUBDIR)/tk && \
38292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38294 "RANLIB=$${RANLIB}" \
38295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38296 html) \
38297 || exit 1
38298
38299 @endif tk
38300
38301 .PHONY: maybe-TAGS-tk TAGS-tk
38302 maybe-TAGS-tk:
38303 @if tk
38304 maybe-TAGS-tk: TAGS-tk
38305
38306 TAGS-tk: \
38307 configure-tk
38308 @: $(MAKE); $(unstage)
38309 @[ -f ./tk/Makefile ] || exit 0; \
38310 r=`${PWD_COMMAND}`; export r; \
38311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38312 $(HOST_EXPORTS) \
38313 for flag in $(EXTRA_HOST_FLAGS) ; do \
38314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38315 done; \
38316 echo "Doing TAGS in tk"; \
38317 (cd $(HOST_SUBDIR)/tk && \
38318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38320 "RANLIB=$${RANLIB}" \
38321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38322 TAGS) \
38323 || exit 1
38324
38325 @endif tk
38326
38327 .PHONY: maybe-install-info-tk install-info-tk
38328 maybe-install-info-tk:
38329 @if tk
38330 maybe-install-info-tk: install-info-tk
38331
38332 install-info-tk: \
38333 configure-tk \
38334 info-tk
38335 @: $(MAKE); $(unstage)
38336 @[ -f ./tk/Makefile ] || exit 0; \
38337 r=`${PWD_COMMAND}`; export r; \
38338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38339 $(HOST_EXPORTS) \
38340 for flag in $(EXTRA_HOST_FLAGS) ; do \
38341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38342 done; \
38343 echo "Doing install-info in tk"; \
38344 (cd $(HOST_SUBDIR)/tk && \
38345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38347 "RANLIB=$${RANLIB}" \
38348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38349 install-info) \
38350 || exit 1
38351
38352 @endif tk
38353
38354 .PHONY: maybe-install-dvi-tk install-dvi-tk
38355 maybe-install-dvi-tk:
38356 @if tk
38357 maybe-install-dvi-tk: install-dvi-tk
38358
38359 install-dvi-tk: \
38360 configure-tk \
38361 dvi-tk
38362 @: $(MAKE); $(unstage)
38363 @[ -f ./tk/Makefile ] || exit 0; \
38364 r=`${PWD_COMMAND}`; export r; \
38365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38366 $(HOST_EXPORTS) \
38367 for flag in $(EXTRA_HOST_FLAGS) ; do \
38368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38369 done; \
38370 echo "Doing install-dvi in tk"; \
38371 (cd $(HOST_SUBDIR)/tk && \
38372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38374 "RANLIB=$${RANLIB}" \
38375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38376 install-dvi) \
38377 || exit 1
38378
38379 @endif tk
38380
38381 .PHONY: maybe-install-pdf-tk install-pdf-tk
38382 maybe-install-pdf-tk:
38383 @if tk
38384 maybe-install-pdf-tk: install-pdf-tk
38385
38386 install-pdf-tk: \
38387 configure-tk \
38388 pdf-tk
38389 @: $(MAKE); $(unstage)
38390 @[ -f ./tk/Makefile ] || exit 0; \
38391 r=`${PWD_COMMAND}`; export r; \
38392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38393 $(HOST_EXPORTS) \
38394 for flag in $(EXTRA_HOST_FLAGS) ; do \
38395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38396 done; \
38397 echo "Doing install-pdf in tk"; \
38398 (cd $(HOST_SUBDIR)/tk && \
38399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38401 "RANLIB=$${RANLIB}" \
38402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38403 install-pdf) \
38404 || exit 1
38405
38406 @endif tk
38407
38408 .PHONY: maybe-install-html-tk install-html-tk
38409 maybe-install-html-tk:
38410 @if tk
38411 maybe-install-html-tk: install-html-tk
38412
38413 install-html-tk: \
38414 configure-tk \
38415 html-tk
38416 @: $(MAKE); $(unstage)
38417 @[ -f ./tk/Makefile ] || exit 0; \
38418 r=`${PWD_COMMAND}`; export r; \
38419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38420 $(HOST_EXPORTS) \
38421 for flag in $(EXTRA_HOST_FLAGS) ; do \
38422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38423 done; \
38424 echo "Doing install-html in tk"; \
38425 (cd $(HOST_SUBDIR)/tk && \
38426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38428 "RANLIB=$${RANLIB}" \
38429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38430 install-html) \
38431 || exit 1
38432
38433 @endif tk
38434
38435 .PHONY: maybe-installcheck-tk installcheck-tk
38436 maybe-installcheck-tk:
38437 @if tk
38438 maybe-installcheck-tk: installcheck-tk
38439
38440 installcheck-tk: \
38441 configure-tk
38442 @: $(MAKE); $(unstage)
38443 @[ -f ./tk/Makefile ] || exit 0; \
38444 r=`${PWD_COMMAND}`; export r; \
38445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38446 $(HOST_EXPORTS) \
38447 for flag in $(EXTRA_HOST_FLAGS) ; do \
38448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38449 done; \
38450 echo "Doing installcheck in tk"; \
38451 (cd $(HOST_SUBDIR)/tk && \
38452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38454 "RANLIB=$${RANLIB}" \
38455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38456 installcheck) \
38457 || exit 1
38458
38459 @endif tk
38460
38461 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
38462 maybe-mostlyclean-tk:
38463 @if tk
38464 maybe-mostlyclean-tk: mostlyclean-tk
38465
38466 mostlyclean-tk:
38467 @: $(MAKE); $(unstage)
38468 @[ -f ./tk/Makefile ] || exit 0; \
38469 r=`${PWD_COMMAND}`; export r; \
38470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38471 $(HOST_EXPORTS) \
38472 for flag in $(EXTRA_HOST_FLAGS) ; do \
38473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38474 done; \
38475 echo "Doing mostlyclean in tk"; \
38476 (cd $(HOST_SUBDIR)/tk && \
38477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38479 "RANLIB=$${RANLIB}" \
38480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38481 mostlyclean) \
38482 || exit 1
38483
38484 @endif tk
38485
38486 .PHONY: maybe-clean-tk clean-tk
38487 maybe-clean-tk:
38488 @if tk
38489 maybe-clean-tk: clean-tk
38490
38491 clean-tk:
38492 @: $(MAKE); $(unstage)
38493 @[ -f ./tk/Makefile ] || exit 0; \
38494 r=`${PWD_COMMAND}`; export r; \
38495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38496 $(HOST_EXPORTS) \
38497 for flag in $(EXTRA_HOST_FLAGS) ; do \
38498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38499 done; \
38500 echo "Doing clean in tk"; \
38501 (cd $(HOST_SUBDIR)/tk && \
38502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38504 "RANLIB=$${RANLIB}" \
38505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38506 clean) \
38507 || exit 1
38508
38509 @endif tk
38510
38511 .PHONY: maybe-distclean-tk distclean-tk
38512 maybe-distclean-tk:
38513 @if tk
38514 maybe-distclean-tk: distclean-tk
38515
38516 distclean-tk:
38517 @: $(MAKE); $(unstage)
38518 @[ -f ./tk/Makefile ] || exit 0; \
38519 r=`${PWD_COMMAND}`; export r; \
38520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38521 $(HOST_EXPORTS) \
38522 for flag in $(EXTRA_HOST_FLAGS) ; do \
38523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38524 done; \
38525 echo "Doing distclean in tk"; \
38526 (cd $(HOST_SUBDIR)/tk && \
38527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38529 "RANLIB=$${RANLIB}" \
38530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38531 distclean) \
38532 || exit 1
38533
38534 @endif tk
38535
38536 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
38537 maybe-maintainer-clean-tk:
38538 @if tk
38539 maybe-maintainer-clean-tk: maintainer-clean-tk
38540
38541 maintainer-clean-tk:
38542 @: $(MAKE); $(unstage)
38543 @[ -f ./tk/Makefile ] || exit 0; \
38544 r=`${PWD_COMMAND}`; export r; \
38545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38546 $(HOST_EXPORTS) \
38547 for flag in $(EXTRA_HOST_FLAGS) ; do \
38548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38549 done; \
38550 echo "Doing maintainer-clean in tk"; \
38551 (cd $(HOST_SUBDIR)/tk && \
38552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38554 "RANLIB=$${RANLIB}" \
38555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38556 maintainer-clean) \
38557 || exit 1
38558
38559 @endif tk
38560
38561
38562
38563 .PHONY: configure-libtermcap maybe-configure-libtermcap
38564 maybe-configure-libtermcap:
38565 @if gcc-bootstrap
38566 configure-libtermcap: stage_current
38567 @endif gcc-bootstrap
38568 @if libtermcap
38569 maybe-configure-libtermcap: configure-libtermcap
38570 configure-libtermcap:
38571 @: $(MAKE); $(unstage)
38572 @r=`${PWD_COMMAND}`; export r; \
38573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38574 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
38575 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap; \
38576 $(HOST_EXPORTS) \
38577 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
38578 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
38579 case $(srcdir) in \
38580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38581 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
38582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38583 esac; \
38584 module_srcdir=libtermcap; \
38585 $(SHELL) \
38586 $$s/$$module_srcdir/configure \
38587 --srcdir=$${topdir}/$$module_srcdir \
38588 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38589 --target=${target_alias} \
38590 || exit 1
38591 @endif libtermcap
38592
38593
38594
38595
38596
38597 .PHONY: all-libtermcap maybe-all-libtermcap
38598 maybe-all-libtermcap:
38599 @if gcc-bootstrap
38600 all-libtermcap: stage_current
38601 @endif gcc-bootstrap
38602 @if libtermcap
38603 TARGET-libtermcap=all
38604 maybe-all-libtermcap: all-libtermcap
38605 all-libtermcap: configure-libtermcap
38606 @: $(MAKE); $(unstage)
38607 @r=`${PWD_COMMAND}`; export r; \
38608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38609 $(HOST_EXPORTS) \
38610 (cd $(HOST_SUBDIR)/libtermcap && \
38611 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
38612 $(TARGET-libtermcap))
38613 @endif libtermcap
38614
38615
38616
38617
38618 .PHONY: check-libtermcap maybe-check-libtermcap
38619 maybe-check-libtermcap:
38620 @if libtermcap
38621 maybe-check-libtermcap: check-libtermcap
38622
38623 check-libtermcap:
38624
38625 @endif libtermcap
38626
38627 .PHONY: install-libtermcap maybe-install-libtermcap
38628 maybe-install-libtermcap:
38629 @if libtermcap
38630 maybe-install-libtermcap: install-libtermcap
38631
38632 install-libtermcap: installdirs
38633 @: $(MAKE); $(unstage)
38634 @r=`${PWD_COMMAND}`; export r; \
38635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38636 $(HOST_EXPORTS) \
38637 (cd $(HOST_SUBDIR)/libtermcap && \
38638 $(MAKE) $(FLAGS_TO_PASS) install)
38639
38640 @endif libtermcap
38641
38642 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
38643 maybe-install-strip-libtermcap:
38644 @if libtermcap
38645 maybe-install-strip-libtermcap: install-strip-libtermcap
38646
38647 install-strip-libtermcap: installdirs
38648 @: $(MAKE); $(unstage)
38649 @r=`${PWD_COMMAND}`; export r; \
38650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38651 $(HOST_EXPORTS) \
38652 (cd $(HOST_SUBDIR)/libtermcap && \
38653 $(MAKE) $(FLAGS_TO_PASS) install-strip)
38654
38655 @endif libtermcap
38656
38657 # Other targets (info, dvi, pdf, etc.)
38658
38659 .PHONY: maybe-info-libtermcap info-libtermcap
38660 maybe-info-libtermcap:
38661 @if libtermcap
38662 maybe-info-libtermcap: info-libtermcap
38663
38664 info-libtermcap: \
38665 configure-libtermcap
38666 @: $(MAKE); $(unstage)
38667 @[ -f ./libtermcap/Makefile ] || exit 0; \
38668 r=`${PWD_COMMAND}`; export r; \
38669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38670 $(HOST_EXPORTS) \
38671 for flag in $(EXTRA_HOST_FLAGS) ; do \
38672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38673 done; \
38674 echo "Doing info in libtermcap"; \
38675 (cd $(HOST_SUBDIR)/libtermcap && \
38676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38678 "RANLIB=$${RANLIB}" \
38679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38680 info) \
38681 || exit 1
38682
38683 @endif libtermcap
38684
38685 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
38686 maybe-dvi-libtermcap:
38687 @if libtermcap
38688 maybe-dvi-libtermcap: dvi-libtermcap
38689
38690 dvi-libtermcap: \
38691 configure-libtermcap
38692 @: $(MAKE); $(unstage)
38693 @[ -f ./libtermcap/Makefile ] || exit 0; \
38694 r=`${PWD_COMMAND}`; export r; \
38695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38696 $(HOST_EXPORTS) \
38697 for flag in $(EXTRA_HOST_FLAGS) ; do \
38698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38699 done; \
38700 echo "Doing dvi in libtermcap"; \
38701 (cd $(HOST_SUBDIR)/libtermcap && \
38702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38704 "RANLIB=$${RANLIB}" \
38705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38706 dvi) \
38707 || exit 1
38708
38709 @endif libtermcap
38710
38711 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
38712 maybe-pdf-libtermcap:
38713 @if libtermcap
38714 maybe-pdf-libtermcap: pdf-libtermcap
38715
38716 pdf-libtermcap: \
38717 configure-libtermcap
38718 @: $(MAKE); $(unstage)
38719 @[ -f ./libtermcap/Makefile ] || exit 0; \
38720 r=`${PWD_COMMAND}`; export r; \
38721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38722 $(HOST_EXPORTS) \
38723 for flag in $(EXTRA_HOST_FLAGS) ; do \
38724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38725 done; \
38726 echo "Doing pdf in libtermcap"; \
38727 (cd $(HOST_SUBDIR)/libtermcap && \
38728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38730 "RANLIB=$${RANLIB}" \
38731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38732 pdf) \
38733 || exit 1
38734
38735 @endif libtermcap
38736
38737 .PHONY: maybe-html-libtermcap html-libtermcap
38738 maybe-html-libtermcap:
38739 @if libtermcap
38740 maybe-html-libtermcap: html-libtermcap
38741
38742 html-libtermcap: \
38743 configure-libtermcap
38744 @: $(MAKE); $(unstage)
38745 @[ -f ./libtermcap/Makefile ] || exit 0; \
38746 r=`${PWD_COMMAND}`; export r; \
38747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38748 $(HOST_EXPORTS) \
38749 for flag in $(EXTRA_HOST_FLAGS) ; do \
38750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38751 done; \
38752 echo "Doing html in libtermcap"; \
38753 (cd $(HOST_SUBDIR)/libtermcap && \
38754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38756 "RANLIB=$${RANLIB}" \
38757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38758 html) \
38759 || exit 1
38760
38761 @endif libtermcap
38762
38763 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
38764 maybe-TAGS-libtermcap:
38765 @if libtermcap
38766 maybe-TAGS-libtermcap: TAGS-libtermcap
38767
38768 TAGS-libtermcap: \
38769 configure-libtermcap
38770 @: $(MAKE); $(unstage)
38771 @[ -f ./libtermcap/Makefile ] || exit 0; \
38772 r=`${PWD_COMMAND}`; export r; \
38773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38774 $(HOST_EXPORTS) \
38775 for flag in $(EXTRA_HOST_FLAGS) ; do \
38776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38777 done; \
38778 echo "Doing TAGS in libtermcap"; \
38779 (cd $(HOST_SUBDIR)/libtermcap && \
38780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38782 "RANLIB=$${RANLIB}" \
38783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38784 TAGS) \
38785 || exit 1
38786
38787 @endif libtermcap
38788
38789 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
38790 maybe-install-info-libtermcap:
38791 @if libtermcap
38792 maybe-install-info-libtermcap: install-info-libtermcap
38793
38794 install-info-libtermcap: \
38795 configure-libtermcap \
38796 info-libtermcap
38797 @: $(MAKE); $(unstage)
38798 @[ -f ./libtermcap/Makefile ] || exit 0; \
38799 r=`${PWD_COMMAND}`; export r; \
38800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38801 $(HOST_EXPORTS) \
38802 for flag in $(EXTRA_HOST_FLAGS) ; do \
38803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38804 done; \
38805 echo "Doing install-info in libtermcap"; \
38806 (cd $(HOST_SUBDIR)/libtermcap && \
38807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38809 "RANLIB=$${RANLIB}" \
38810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38811 install-info) \
38812 || exit 1
38813
38814 @endif libtermcap
38815
38816 .PHONY: maybe-install-dvi-libtermcap install-dvi-libtermcap
38817 maybe-install-dvi-libtermcap:
38818 @if libtermcap
38819 maybe-install-dvi-libtermcap: install-dvi-libtermcap
38820
38821 install-dvi-libtermcap: \
38822 configure-libtermcap \
38823 dvi-libtermcap
38824 @: $(MAKE); $(unstage)
38825 @[ -f ./libtermcap/Makefile ] || exit 0; \
38826 r=`${PWD_COMMAND}`; export r; \
38827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38828 $(HOST_EXPORTS) \
38829 for flag in $(EXTRA_HOST_FLAGS) ; do \
38830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38831 done; \
38832 echo "Doing install-dvi in libtermcap"; \
38833 (cd $(HOST_SUBDIR)/libtermcap && \
38834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38836 "RANLIB=$${RANLIB}" \
38837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38838 install-dvi) \
38839 || exit 1
38840
38841 @endif libtermcap
38842
38843 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
38844 maybe-install-pdf-libtermcap:
38845 @if libtermcap
38846 maybe-install-pdf-libtermcap: install-pdf-libtermcap
38847
38848 install-pdf-libtermcap: \
38849 configure-libtermcap \
38850 pdf-libtermcap
38851 @: $(MAKE); $(unstage)
38852 @[ -f ./libtermcap/Makefile ] || exit 0; \
38853 r=`${PWD_COMMAND}`; export r; \
38854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38855 $(HOST_EXPORTS) \
38856 for flag in $(EXTRA_HOST_FLAGS) ; do \
38857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38858 done; \
38859 echo "Doing install-pdf in libtermcap"; \
38860 (cd $(HOST_SUBDIR)/libtermcap && \
38861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38863 "RANLIB=$${RANLIB}" \
38864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38865 install-pdf) \
38866 || exit 1
38867
38868 @endif libtermcap
38869
38870 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
38871 maybe-install-html-libtermcap:
38872 @if libtermcap
38873 maybe-install-html-libtermcap: install-html-libtermcap
38874
38875 install-html-libtermcap: \
38876 configure-libtermcap \
38877 html-libtermcap
38878 @: $(MAKE); $(unstage)
38879 @[ -f ./libtermcap/Makefile ] || exit 0; \
38880 r=`${PWD_COMMAND}`; export r; \
38881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38882 $(HOST_EXPORTS) \
38883 for flag in $(EXTRA_HOST_FLAGS) ; do \
38884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38885 done; \
38886 echo "Doing install-html in libtermcap"; \
38887 (cd $(HOST_SUBDIR)/libtermcap && \
38888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38890 "RANLIB=$${RANLIB}" \
38891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38892 install-html) \
38893 || exit 1
38894
38895 @endif libtermcap
38896
38897 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
38898 maybe-installcheck-libtermcap:
38899 @if libtermcap
38900 maybe-installcheck-libtermcap: installcheck-libtermcap
38901
38902 installcheck-libtermcap: \
38903 configure-libtermcap
38904 @: $(MAKE); $(unstage)
38905 @[ -f ./libtermcap/Makefile ] || exit 0; \
38906 r=`${PWD_COMMAND}`; export r; \
38907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38908 $(HOST_EXPORTS) \
38909 for flag in $(EXTRA_HOST_FLAGS) ; do \
38910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38911 done; \
38912 echo "Doing installcheck in libtermcap"; \
38913 (cd $(HOST_SUBDIR)/libtermcap && \
38914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38916 "RANLIB=$${RANLIB}" \
38917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38918 installcheck) \
38919 || exit 1
38920
38921 @endif libtermcap
38922
38923 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
38924 maybe-mostlyclean-libtermcap:
38925 @if libtermcap
38926 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
38927
38928 # libtermcap doesn't support mostlyclean.
38929 mostlyclean-libtermcap:
38930
38931 @endif libtermcap
38932
38933 .PHONY: maybe-clean-libtermcap clean-libtermcap
38934 maybe-clean-libtermcap:
38935 @if libtermcap
38936 maybe-clean-libtermcap: clean-libtermcap
38937
38938 # libtermcap doesn't support clean.
38939 clean-libtermcap:
38940
38941 @endif libtermcap
38942
38943 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
38944 maybe-distclean-libtermcap:
38945 @if libtermcap
38946 maybe-distclean-libtermcap: distclean-libtermcap
38947
38948 # libtermcap doesn't support distclean.
38949 distclean-libtermcap:
38950
38951 @endif libtermcap
38952
38953 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
38954 maybe-maintainer-clean-libtermcap:
38955 @if libtermcap
38956 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
38957
38958 # libtermcap doesn't support maintainer-clean.
38959 maintainer-clean-libtermcap:
38960
38961 @endif libtermcap
38962
38963
38964
38965 .PHONY: configure-utils maybe-configure-utils
38966 maybe-configure-utils:
38967 @if gcc-bootstrap
38968 configure-utils: stage_current
38969 @endif gcc-bootstrap
38970 @if utils
38971 maybe-configure-utils: configure-utils
38972 configure-utils:
38973 @: $(MAKE); $(unstage)
38974 @r=`${PWD_COMMAND}`; export r; \
38975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38976 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
38977 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils; \
38978 $(HOST_EXPORTS) \
38979 echo Configuring in $(HOST_SUBDIR)/utils; \
38980 cd "$(HOST_SUBDIR)/utils" || exit 1; \
38981 case $(srcdir) in \
38982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38983 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
38984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38985 esac; \
38986 module_srcdir=utils; \
38987 $(SHELL) \
38988 $$s/$$module_srcdir/configure \
38989 --srcdir=$${topdir}/$$module_srcdir \
38990 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38991 --target=${target_alias} \
38992 || exit 1
38993 @endif utils
38994
38995
38996
38997
38998
38999 .PHONY: all-utils maybe-all-utils
39000 maybe-all-utils:
39001 @if gcc-bootstrap
39002 all-utils: stage_current
39003 @endif gcc-bootstrap
39004 @if utils
39005 TARGET-utils=all
39006 maybe-all-utils: all-utils
39007 all-utils: configure-utils
39008 @: $(MAKE); $(unstage)
39009 @r=`${PWD_COMMAND}`; export r; \
39010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39011 $(HOST_EXPORTS) \
39012 (cd $(HOST_SUBDIR)/utils && \
39013 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
39014 $(TARGET-utils))
39015 @endif utils
39016
39017
39018
39019
39020 .PHONY: check-utils maybe-check-utils
39021 maybe-check-utils:
39022 @if utils
39023 maybe-check-utils: check-utils
39024
39025 check-utils:
39026
39027 @endif utils
39028
39029 .PHONY: install-utils maybe-install-utils
39030 maybe-install-utils:
39031 @if utils
39032 maybe-install-utils: install-utils
39033
39034 install-utils: installdirs
39035 @: $(MAKE); $(unstage)
39036 @r=`${PWD_COMMAND}`; export r; \
39037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39038 $(HOST_EXPORTS) \
39039 (cd $(HOST_SUBDIR)/utils && \
39040 $(MAKE) $(FLAGS_TO_PASS) install)
39041
39042 @endif utils
39043
39044 .PHONY: install-strip-utils maybe-install-strip-utils
39045 maybe-install-strip-utils:
39046 @if utils
39047 maybe-install-strip-utils: install-strip-utils
39048
39049 install-strip-utils: installdirs
39050 @: $(MAKE); $(unstage)
39051 @r=`${PWD_COMMAND}`; export r; \
39052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39053 $(HOST_EXPORTS) \
39054 (cd $(HOST_SUBDIR)/utils && \
39055 $(MAKE) $(FLAGS_TO_PASS) install-strip)
39056
39057 @endif utils
39058
39059 # Other targets (info, dvi, pdf, etc.)
39060
39061 .PHONY: maybe-info-utils info-utils
39062 maybe-info-utils:
39063 @if utils
39064 maybe-info-utils: info-utils
39065
39066 info-utils: \
39067 configure-utils
39068 @: $(MAKE); $(unstage)
39069 @[ -f ./utils/Makefile ] || exit 0; \
39070 r=`${PWD_COMMAND}`; export r; \
39071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39072 $(HOST_EXPORTS) \
39073 for flag in $(EXTRA_HOST_FLAGS) ; do \
39074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39075 done; \
39076 echo "Doing info in utils"; \
39077 (cd $(HOST_SUBDIR)/utils && \
39078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39080 "RANLIB=$${RANLIB}" \
39081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39082 info) \
39083 || exit 1
39084
39085 @endif utils
39086
39087 .PHONY: maybe-dvi-utils dvi-utils
39088 maybe-dvi-utils:
39089 @if utils
39090 maybe-dvi-utils: dvi-utils
39091
39092 dvi-utils: \
39093 configure-utils
39094 @: $(MAKE); $(unstage)
39095 @[ -f ./utils/Makefile ] || exit 0; \
39096 r=`${PWD_COMMAND}`; export r; \
39097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39098 $(HOST_EXPORTS) \
39099 for flag in $(EXTRA_HOST_FLAGS) ; do \
39100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39101 done; \
39102 echo "Doing dvi in utils"; \
39103 (cd $(HOST_SUBDIR)/utils && \
39104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39106 "RANLIB=$${RANLIB}" \
39107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39108 dvi) \
39109 || exit 1
39110
39111 @endif utils
39112
39113 .PHONY: maybe-pdf-utils pdf-utils
39114 maybe-pdf-utils:
39115 @if utils
39116 maybe-pdf-utils: pdf-utils
39117
39118 pdf-utils: \
39119 configure-utils
39120 @: $(MAKE); $(unstage)
39121 @[ -f ./utils/Makefile ] || exit 0; \
39122 r=`${PWD_COMMAND}`; export r; \
39123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39124 $(HOST_EXPORTS) \
39125 for flag in $(EXTRA_HOST_FLAGS) ; do \
39126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39127 done; \
39128 echo "Doing pdf in utils"; \
39129 (cd $(HOST_SUBDIR)/utils && \
39130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39132 "RANLIB=$${RANLIB}" \
39133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39134 pdf) \
39135 || exit 1
39136
39137 @endif utils
39138
39139 .PHONY: maybe-html-utils html-utils
39140 maybe-html-utils:
39141 @if utils
39142 maybe-html-utils: html-utils
39143
39144 html-utils: \
39145 configure-utils
39146 @: $(MAKE); $(unstage)
39147 @[ -f ./utils/Makefile ] || exit 0; \
39148 r=`${PWD_COMMAND}`; export r; \
39149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39150 $(HOST_EXPORTS) \
39151 for flag in $(EXTRA_HOST_FLAGS) ; do \
39152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39153 done; \
39154 echo "Doing html in utils"; \
39155 (cd $(HOST_SUBDIR)/utils && \
39156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39158 "RANLIB=$${RANLIB}" \
39159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39160 html) \
39161 || exit 1
39162
39163 @endif utils
39164
39165 .PHONY: maybe-TAGS-utils TAGS-utils
39166 maybe-TAGS-utils:
39167 @if utils
39168 maybe-TAGS-utils: TAGS-utils
39169
39170 TAGS-utils: \
39171 configure-utils
39172 @: $(MAKE); $(unstage)
39173 @[ -f ./utils/Makefile ] || exit 0; \
39174 r=`${PWD_COMMAND}`; export r; \
39175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39176 $(HOST_EXPORTS) \
39177 for flag in $(EXTRA_HOST_FLAGS) ; do \
39178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39179 done; \
39180 echo "Doing TAGS in utils"; \
39181 (cd $(HOST_SUBDIR)/utils && \
39182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39184 "RANLIB=$${RANLIB}" \
39185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39186 TAGS) \
39187 || exit 1
39188
39189 @endif utils
39190
39191 .PHONY: maybe-install-info-utils install-info-utils
39192 maybe-install-info-utils:
39193 @if utils
39194 maybe-install-info-utils: install-info-utils
39195
39196 install-info-utils: \
39197 configure-utils \
39198 info-utils
39199 @: $(MAKE); $(unstage)
39200 @[ -f ./utils/Makefile ] || exit 0; \
39201 r=`${PWD_COMMAND}`; export r; \
39202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39203 $(HOST_EXPORTS) \
39204 for flag in $(EXTRA_HOST_FLAGS) ; do \
39205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39206 done; \
39207 echo "Doing install-info in utils"; \
39208 (cd $(HOST_SUBDIR)/utils && \
39209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39211 "RANLIB=$${RANLIB}" \
39212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39213 install-info) \
39214 || exit 1
39215
39216 @endif utils
39217
39218 .PHONY: maybe-install-dvi-utils install-dvi-utils
39219 maybe-install-dvi-utils:
39220 @if utils
39221 maybe-install-dvi-utils: install-dvi-utils
39222
39223 install-dvi-utils: \
39224 configure-utils \
39225 dvi-utils
39226 @: $(MAKE); $(unstage)
39227 @[ -f ./utils/Makefile ] || exit 0; \
39228 r=`${PWD_COMMAND}`; export r; \
39229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39230 $(HOST_EXPORTS) \
39231 for flag in $(EXTRA_HOST_FLAGS) ; do \
39232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39233 done; \
39234 echo "Doing install-dvi in utils"; \
39235 (cd $(HOST_SUBDIR)/utils && \
39236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39238 "RANLIB=$${RANLIB}" \
39239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39240 install-dvi) \
39241 || exit 1
39242
39243 @endif utils
39244
39245 .PHONY: maybe-install-pdf-utils install-pdf-utils
39246 maybe-install-pdf-utils:
39247 @if utils
39248 maybe-install-pdf-utils: install-pdf-utils
39249
39250 install-pdf-utils: \
39251 configure-utils \
39252 pdf-utils
39253 @: $(MAKE); $(unstage)
39254 @[ -f ./utils/Makefile ] || exit 0; \
39255 r=`${PWD_COMMAND}`; export r; \
39256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39257 $(HOST_EXPORTS) \
39258 for flag in $(EXTRA_HOST_FLAGS) ; do \
39259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39260 done; \
39261 echo "Doing install-pdf in utils"; \
39262 (cd $(HOST_SUBDIR)/utils && \
39263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39265 "RANLIB=$${RANLIB}" \
39266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39267 install-pdf) \
39268 || exit 1
39269
39270 @endif utils
39271
39272 .PHONY: maybe-install-html-utils install-html-utils
39273 maybe-install-html-utils:
39274 @if utils
39275 maybe-install-html-utils: install-html-utils
39276
39277 install-html-utils: \
39278 configure-utils \
39279 html-utils
39280 @: $(MAKE); $(unstage)
39281 @[ -f ./utils/Makefile ] || exit 0; \
39282 r=`${PWD_COMMAND}`; export r; \
39283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39284 $(HOST_EXPORTS) \
39285 for flag in $(EXTRA_HOST_FLAGS) ; do \
39286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39287 done; \
39288 echo "Doing install-html in utils"; \
39289 (cd $(HOST_SUBDIR)/utils && \
39290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39292 "RANLIB=$${RANLIB}" \
39293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39294 install-html) \
39295 || exit 1
39296
39297 @endif utils
39298
39299 .PHONY: maybe-installcheck-utils installcheck-utils
39300 maybe-installcheck-utils:
39301 @if utils
39302 maybe-installcheck-utils: installcheck-utils
39303
39304 installcheck-utils: \
39305 configure-utils
39306 @: $(MAKE); $(unstage)
39307 @[ -f ./utils/Makefile ] || exit 0; \
39308 r=`${PWD_COMMAND}`; export r; \
39309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39310 $(HOST_EXPORTS) \
39311 for flag in $(EXTRA_HOST_FLAGS) ; do \
39312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39313 done; \
39314 echo "Doing installcheck in utils"; \
39315 (cd $(HOST_SUBDIR)/utils && \
39316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39318 "RANLIB=$${RANLIB}" \
39319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39320 installcheck) \
39321 || exit 1
39322
39323 @endif utils
39324
39325 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
39326 maybe-mostlyclean-utils:
39327 @if utils
39328 maybe-mostlyclean-utils: mostlyclean-utils
39329
39330 mostlyclean-utils:
39331 @: $(MAKE); $(unstage)
39332 @[ -f ./utils/Makefile ] || exit 0; \
39333 r=`${PWD_COMMAND}`; export r; \
39334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39335 $(HOST_EXPORTS) \
39336 for flag in $(EXTRA_HOST_FLAGS) ; do \
39337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39338 done; \
39339 echo "Doing mostlyclean in utils"; \
39340 (cd $(HOST_SUBDIR)/utils && \
39341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39343 "RANLIB=$${RANLIB}" \
39344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39345 mostlyclean) \
39346 || exit 1
39347
39348 @endif utils
39349
39350 .PHONY: maybe-clean-utils clean-utils
39351 maybe-clean-utils:
39352 @if utils
39353 maybe-clean-utils: clean-utils
39354
39355 clean-utils:
39356 @: $(MAKE); $(unstage)
39357 @[ -f ./utils/Makefile ] || exit 0; \
39358 r=`${PWD_COMMAND}`; export r; \
39359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39360 $(HOST_EXPORTS) \
39361 for flag in $(EXTRA_HOST_FLAGS) ; do \
39362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39363 done; \
39364 echo "Doing clean in utils"; \
39365 (cd $(HOST_SUBDIR)/utils && \
39366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39368 "RANLIB=$${RANLIB}" \
39369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39370 clean) \
39371 || exit 1
39372
39373 @endif utils
39374
39375 .PHONY: maybe-distclean-utils distclean-utils
39376 maybe-distclean-utils:
39377 @if utils
39378 maybe-distclean-utils: distclean-utils
39379
39380 distclean-utils:
39381 @: $(MAKE); $(unstage)
39382 @[ -f ./utils/Makefile ] || exit 0; \
39383 r=`${PWD_COMMAND}`; export r; \
39384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39385 $(HOST_EXPORTS) \
39386 for flag in $(EXTRA_HOST_FLAGS) ; do \
39387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39388 done; \
39389 echo "Doing distclean in utils"; \
39390 (cd $(HOST_SUBDIR)/utils && \
39391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39393 "RANLIB=$${RANLIB}" \
39394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39395 distclean) \
39396 || exit 1
39397
39398 @endif utils
39399
39400 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
39401 maybe-maintainer-clean-utils:
39402 @if utils
39403 maybe-maintainer-clean-utils: maintainer-clean-utils
39404
39405 maintainer-clean-utils:
39406 @: $(MAKE); $(unstage)
39407 @[ -f ./utils/Makefile ] || exit 0; \
39408 r=`${PWD_COMMAND}`; export r; \
39409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39410 $(HOST_EXPORTS) \
39411 for flag in $(EXTRA_HOST_FLAGS) ; do \
39412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39413 done; \
39414 echo "Doing maintainer-clean in utils"; \
39415 (cd $(HOST_SUBDIR)/utils && \
39416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39418 "RANLIB=$${RANLIB}" \
39419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39420 maintainer-clean) \
39421 || exit 1
39422
39423 @endif utils
39424
39425
39426
39427 .PHONY: configure-c++tools maybe-configure-c++tools
39428 maybe-configure-c++tools:
39429 @if gcc-bootstrap
39430 configure-c++tools: stage_current
39431 @endif gcc-bootstrap
39432 @if c++tools
39433 maybe-configure-c++tools: configure-c++tools
39434 configure-c++tools:
39435 @: $(MAKE); $(unstage)
39436 @r=`${PWD_COMMAND}`; export r; \
39437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39438 test ! -f $(HOST_SUBDIR)/c++tools/Makefile || exit 0; \
39439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/c++tools; \
39440 $(HOST_EXPORTS) \
39441 echo Configuring in $(HOST_SUBDIR)/c++tools; \
39442 cd "$(HOST_SUBDIR)/c++tools" || exit 1; \
39443 case $(srcdir) in \
39444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39445 *) topdir=`echo $(HOST_SUBDIR)/c++tools/ | \
39446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39447 esac; \
39448 module_srcdir=c++tools; \
39449 $(SHELL) \
39450 $$s/$$module_srcdir/configure \
39451 --srcdir=$${topdir}/$$module_srcdir \
39452 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39453 --target=${target_alias} \
39454 || exit 1
39455 @endif c++tools
39456
39457
39458
39459
39460
39461 .PHONY: all-c++tools maybe-all-c++tools
39462 maybe-all-c++tools:
39463 @if gcc-bootstrap
39464 all-c++tools: stage_current
39465 @endif gcc-bootstrap
39466 @if c++tools
39467 TARGET-c++tools=all
39468 maybe-all-c++tools: all-c++tools
39469 all-c++tools: configure-c++tools
39470 @: $(MAKE); $(unstage)
39471 @r=`${PWD_COMMAND}`; export r; \
39472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39473 $(HOST_EXPORTS) \
39474 (cd $(HOST_SUBDIR)/c++tools && \
39475 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
39476 $(TARGET-c++tools))
39477 @endif c++tools
39478
39479
39480
39481
39482 .PHONY: check-c++tools maybe-check-c++tools
39483 maybe-check-c++tools:
39484 @if c++tools
39485 maybe-check-c++tools: check-c++tools
39486
39487 check-c++tools:
39488 @: $(MAKE); $(unstage)
39489 @r=`${PWD_COMMAND}`; export r; \
39490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39491 $(HOST_EXPORTS) \
39492 (cd $(HOST_SUBDIR)/c++tools && \
39493 $(MAKE) $(FLAGS_TO_PASS) check)
39494
39495 @endif c++tools
39496
39497 .PHONY: install-c++tools maybe-install-c++tools
39498 maybe-install-c++tools:
39499 @if c++tools
39500 maybe-install-c++tools: install-c++tools
39501
39502 install-c++tools: installdirs
39503 @: $(MAKE); $(unstage)
39504 @r=`${PWD_COMMAND}`; export r; \
39505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39506 $(HOST_EXPORTS) \
39507 (cd $(HOST_SUBDIR)/c++tools && \
39508 $(MAKE) $(FLAGS_TO_PASS) install)
39509
39510 @endif c++tools
39511
39512 .PHONY: install-strip-c++tools maybe-install-strip-c++tools
39513 maybe-install-strip-c++tools:
39514 @if c++tools
39515 maybe-install-strip-c++tools: install-strip-c++tools
39516
39517 install-strip-c++tools: installdirs
39518 @: $(MAKE); $(unstage)
39519 @r=`${PWD_COMMAND}`; export r; \
39520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39521 $(HOST_EXPORTS) \
39522 (cd $(HOST_SUBDIR)/c++tools && \
39523 $(MAKE) $(FLAGS_TO_PASS) install-strip)
39524
39525 @endif c++tools
39526
39527 # Other targets (info, dvi, pdf, etc.)
39528
39529 .PHONY: maybe-info-c++tools info-c++tools
39530 maybe-info-c++tools:
39531 @if c++tools
39532 maybe-info-c++tools: info-c++tools
39533
39534 info-c++tools: \
39535 configure-c++tools
39536 @: $(MAKE); $(unstage)
39537 @[ -f ./c++tools/Makefile ] || exit 0; \
39538 r=`${PWD_COMMAND}`; export r; \
39539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39540 $(HOST_EXPORTS) \
39541 for flag in $(EXTRA_HOST_FLAGS) ; do \
39542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39543 done; \
39544 echo "Doing info in c++tools"; \
39545 (cd $(HOST_SUBDIR)/c++tools && \
39546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39548 "RANLIB=$${RANLIB}" \
39549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39550 info) \
39551 || exit 1
39552
39553 @endif c++tools
39554
39555 .PHONY: maybe-dvi-c++tools dvi-c++tools
39556 maybe-dvi-c++tools:
39557 @if c++tools
39558 maybe-dvi-c++tools: dvi-c++tools
39559
39560 dvi-c++tools: \
39561 configure-c++tools
39562 @: $(MAKE); $(unstage)
39563 @[ -f ./c++tools/Makefile ] || exit 0; \
39564 r=`${PWD_COMMAND}`; export r; \
39565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39566 $(HOST_EXPORTS) \
39567 for flag in $(EXTRA_HOST_FLAGS) ; do \
39568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39569 done; \
39570 echo "Doing dvi in c++tools"; \
39571 (cd $(HOST_SUBDIR)/c++tools && \
39572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39574 "RANLIB=$${RANLIB}" \
39575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39576 dvi) \
39577 || exit 1
39578
39579 @endif c++tools
39580
39581 .PHONY: maybe-pdf-c++tools pdf-c++tools
39582 maybe-pdf-c++tools:
39583 @if c++tools
39584 maybe-pdf-c++tools: pdf-c++tools
39585
39586 pdf-c++tools: \
39587 configure-c++tools
39588 @: $(MAKE); $(unstage)
39589 @[ -f ./c++tools/Makefile ] || exit 0; \
39590 r=`${PWD_COMMAND}`; export r; \
39591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39592 $(HOST_EXPORTS) \
39593 for flag in $(EXTRA_HOST_FLAGS) ; do \
39594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39595 done; \
39596 echo "Doing pdf in c++tools"; \
39597 (cd $(HOST_SUBDIR)/c++tools && \
39598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39600 "RANLIB=$${RANLIB}" \
39601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39602 pdf) \
39603 || exit 1
39604
39605 @endif c++tools
39606
39607 .PHONY: maybe-html-c++tools html-c++tools
39608 maybe-html-c++tools:
39609 @if c++tools
39610 maybe-html-c++tools: html-c++tools
39611
39612 html-c++tools: \
39613 configure-c++tools
39614 @: $(MAKE); $(unstage)
39615 @[ -f ./c++tools/Makefile ] || exit 0; \
39616 r=`${PWD_COMMAND}`; export r; \
39617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39618 $(HOST_EXPORTS) \
39619 for flag in $(EXTRA_HOST_FLAGS) ; do \
39620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39621 done; \
39622 echo "Doing html in c++tools"; \
39623 (cd $(HOST_SUBDIR)/c++tools && \
39624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39626 "RANLIB=$${RANLIB}" \
39627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39628 html) \
39629 || exit 1
39630
39631 @endif c++tools
39632
39633 .PHONY: maybe-TAGS-c++tools TAGS-c++tools
39634 maybe-TAGS-c++tools:
39635 @if c++tools
39636 maybe-TAGS-c++tools: TAGS-c++tools
39637
39638 # c++tools doesn't support TAGS.
39639 TAGS-c++tools:
39640
39641 @endif c++tools
39642
39643 .PHONY: maybe-install-info-c++tools install-info-c++tools
39644 maybe-install-info-c++tools:
39645 @if c++tools
39646 maybe-install-info-c++tools: install-info-c++tools
39647
39648 install-info-c++tools: \
39649 configure-c++tools \
39650 info-c++tools
39651 @: $(MAKE); $(unstage)
39652 @[ -f ./c++tools/Makefile ] || exit 0; \
39653 r=`${PWD_COMMAND}`; export r; \
39654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39655 $(HOST_EXPORTS) \
39656 for flag in $(EXTRA_HOST_FLAGS) ; do \
39657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39658 done; \
39659 echo "Doing install-info in c++tools"; \
39660 (cd $(HOST_SUBDIR)/c++tools && \
39661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39663 "RANLIB=$${RANLIB}" \
39664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39665 install-info) \
39666 || exit 1
39667
39668 @endif c++tools
39669
39670 .PHONY: maybe-install-dvi-c++tools install-dvi-c++tools
39671 maybe-install-dvi-c++tools:
39672 @if c++tools
39673 maybe-install-dvi-c++tools: install-dvi-c++tools
39674
39675 install-dvi-c++tools: \
39676 configure-c++tools \
39677 dvi-c++tools
39678 @: $(MAKE); $(unstage)
39679 @[ -f ./c++tools/Makefile ] || exit 0; \
39680 r=`${PWD_COMMAND}`; export r; \
39681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39682 $(HOST_EXPORTS) \
39683 for flag in $(EXTRA_HOST_FLAGS) ; do \
39684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39685 done; \
39686 echo "Doing install-dvi in c++tools"; \
39687 (cd $(HOST_SUBDIR)/c++tools && \
39688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39690 "RANLIB=$${RANLIB}" \
39691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39692 install-dvi) \
39693 || exit 1
39694
39695 @endif c++tools
39696
39697 .PHONY: maybe-install-pdf-c++tools install-pdf-c++tools
39698 maybe-install-pdf-c++tools:
39699 @if c++tools
39700 maybe-install-pdf-c++tools: install-pdf-c++tools
39701
39702 install-pdf-c++tools: \
39703 configure-c++tools \
39704 pdf-c++tools
39705 @: $(MAKE); $(unstage)
39706 @[ -f ./c++tools/Makefile ] || exit 0; \
39707 r=`${PWD_COMMAND}`; export r; \
39708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39709 $(HOST_EXPORTS) \
39710 for flag in $(EXTRA_HOST_FLAGS) ; do \
39711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39712 done; \
39713 echo "Doing install-pdf in c++tools"; \
39714 (cd $(HOST_SUBDIR)/c++tools && \
39715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39717 "RANLIB=$${RANLIB}" \
39718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39719 install-pdf) \
39720 || exit 1
39721
39722 @endif c++tools
39723
39724 .PHONY: maybe-install-html-c++tools install-html-c++tools
39725 maybe-install-html-c++tools:
39726 @if c++tools
39727 maybe-install-html-c++tools: install-html-c++tools
39728
39729 install-html-c++tools: \
39730 configure-c++tools \
39731 html-c++tools
39732 @: $(MAKE); $(unstage)
39733 @[ -f ./c++tools/Makefile ] || exit 0; \
39734 r=`${PWD_COMMAND}`; export r; \
39735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39736 $(HOST_EXPORTS) \
39737 for flag in $(EXTRA_HOST_FLAGS) ; do \
39738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39739 done; \
39740 echo "Doing install-html in c++tools"; \
39741 (cd $(HOST_SUBDIR)/c++tools && \
39742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39744 "RANLIB=$${RANLIB}" \
39745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39746 install-html) \
39747 || exit 1
39748
39749 @endif c++tools
39750
39751 .PHONY: maybe-installcheck-c++tools installcheck-c++tools
39752 maybe-installcheck-c++tools:
39753 @if c++tools
39754 maybe-installcheck-c++tools: installcheck-c++tools
39755
39756 installcheck-c++tools: \
39757 configure-c++tools
39758 @: $(MAKE); $(unstage)
39759 @[ -f ./c++tools/Makefile ] || exit 0; \
39760 r=`${PWD_COMMAND}`; export r; \
39761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39762 $(HOST_EXPORTS) \
39763 for flag in $(EXTRA_HOST_FLAGS) ; do \
39764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39765 done; \
39766 echo "Doing installcheck in c++tools"; \
39767 (cd $(HOST_SUBDIR)/c++tools && \
39768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39770 "RANLIB=$${RANLIB}" \
39771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39772 installcheck) \
39773 || exit 1
39774
39775 @endif c++tools
39776
39777 .PHONY: maybe-mostlyclean-c++tools mostlyclean-c++tools
39778 maybe-mostlyclean-c++tools:
39779 @if c++tools
39780 maybe-mostlyclean-c++tools: mostlyclean-c++tools
39781
39782 mostlyclean-c++tools:
39783 @: $(MAKE); $(unstage)
39784 @[ -f ./c++tools/Makefile ] || exit 0; \
39785 r=`${PWD_COMMAND}`; export r; \
39786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39787 $(HOST_EXPORTS) \
39788 for flag in $(EXTRA_HOST_FLAGS) ; do \
39789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39790 done; \
39791 echo "Doing mostlyclean in c++tools"; \
39792 (cd $(HOST_SUBDIR)/c++tools && \
39793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39795 "RANLIB=$${RANLIB}" \
39796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39797 mostlyclean) \
39798 || exit 1
39799
39800 @endif c++tools
39801
39802 .PHONY: maybe-clean-c++tools clean-c++tools
39803 maybe-clean-c++tools:
39804 @if c++tools
39805 maybe-clean-c++tools: clean-c++tools
39806
39807 clean-c++tools:
39808 @: $(MAKE); $(unstage)
39809 @[ -f ./c++tools/Makefile ] || exit 0; \
39810 r=`${PWD_COMMAND}`; export r; \
39811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39812 $(HOST_EXPORTS) \
39813 for flag in $(EXTRA_HOST_FLAGS) ; do \
39814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39815 done; \
39816 echo "Doing clean in c++tools"; \
39817 (cd $(HOST_SUBDIR)/c++tools && \
39818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39820 "RANLIB=$${RANLIB}" \
39821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39822 clean) \
39823 || exit 1
39824
39825 @endif c++tools
39826
39827 .PHONY: maybe-distclean-c++tools distclean-c++tools
39828 maybe-distclean-c++tools:
39829 @if c++tools
39830 maybe-distclean-c++tools: distclean-c++tools
39831
39832 distclean-c++tools:
39833 @: $(MAKE); $(unstage)
39834 @[ -f ./c++tools/Makefile ] || exit 0; \
39835 r=`${PWD_COMMAND}`; export r; \
39836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39837 $(HOST_EXPORTS) \
39838 for flag in $(EXTRA_HOST_FLAGS) ; do \
39839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39840 done; \
39841 echo "Doing distclean in c++tools"; \
39842 (cd $(HOST_SUBDIR)/c++tools && \
39843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39845 "RANLIB=$${RANLIB}" \
39846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39847 distclean) \
39848 || exit 1
39849
39850 @endif c++tools
39851
39852 .PHONY: maybe-maintainer-clean-c++tools maintainer-clean-c++tools
39853 maybe-maintainer-clean-c++tools:
39854 @if c++tools
39855 maybe-maintainer-clean-c++tools: maintainer-clean-c++tools
39856
39857 maintainer-clean-c++tools:
39858 @: $(MAKE); $(unstage)
39859 @[ -f ./c++tools/Makefile ] || exit 0; \
39860 r=`${PWD_COMMAND}`; export r; \
39861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39862 $(HOST_EXPORTS) \
39863 for flag in $(EXTRA_HOST_FLAGS) ; do \
39864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39865 done; \
39866 echo "Doing maintainer-clean in c++tools"; \
39867 (cd $(HOST_SUBDIR)/c++tools && \
39868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39870 "RANLIB=$${RANLIB}" \
39871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39872 maintainer-clean) \
39873 || exit 1
39874
39875 @endif c++tools
39876
39877
39878
39879 .PHONY: configure-gnattools maybe-configure-gnattools
39880 maybe-configure-gnattools:
39881 @if gcc-bootstrap
39882 configure-gnattools: stage_current
39883 @endif gcc-bootstrap
39884 @if gnattools
39885 maybe-configure-gnattools: configure-gnattools
39886 configure-gnattools:
39887 @: $(MAKE); $(unstage)
39888 @r=`${PWD_COMMAND}`; export r; \
39889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39890 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
39891 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools; \
39892 $(HOST_EXPORTS) \
39893 echo Configuring in $(HOST_SUBDIR)/gnattools; \
39894 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
39895 case $(srcdir) in \
39896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39897 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
39898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39899 esac; \
39900 module_srcdir=gnattools; \
39901 $(SHELL) \
39902 $$s/$$module_srcdir/configure \
39903 --srcdir=$${topdir}/$$module_srcdir \
39904 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39905 --target=${target_alias} \
39906 || exit 1
39907 @endif gnattools
39908
39909
39910
39911
39912
39913 .PHONY: all-gnattools maybe-all-gnattools
39914 maybe-all-gnattools:
39915 @if gcc-bootstrap
39916 all-gnattools: stage_current
39917 @endif gcc-bootstrap
39918 @if gnattools
39919 TARGET-gnattools=all
39920 maybe-all-gnattools: all-gnattools
39921 all-gnattools: configure-gnattools
39922 @: $(MAKE); $(unstage)
39923 @r=`${PWD_COMMAND}`; export r; \
39924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39925 $(HOST_EXPORTS) \
39926 (cd $(HOST_SUBDIR)/gnattools && \
39927 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
39928 $(TARGET-gnattools))
39929 @endif gnattools
39930
39931
39932
39933
39934 .PHONY: check-gnattools maybe-check-gnattools
39935 maybe-check-gnattools:
39936 @if gnattools
39937 maybe-check-gnattools: check-gnattools
39938
39939 check-gnattools:
39940 @: $(MAKE); $(unstage)
39941 @r=`${PWD_COMMAND}`; export r; \
39942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39943 $(HOST_EXPORTS) \
39944 (cd $(HOST_SUBDIR)/gnattools && \
39945 $(MAKE) $(FLAGS_TO_PASS) check)
39946
39947 @endif gnattools
39948
39949 .PHONY: install-gnattools maybe-install-gnattools
39950 maybe-install-gnattools:
39951 @if gnattools
39952 maybe-install-gnattools: install-gnattools
39953
39954 install-gnattools: installdirs
39955 @: $(MAKE); $(unstage)
39956 @r=`${PWD_COMMAND}`; export r; \
39957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39958 $(HOST_EXPORTS) \
39959 (cd $(HOST_SUBDIR)/gnattools && \
39960 $(MAKE) $(FLAGS_TO_PASS) install)
39961
39962 @endif gnattools
39963
39964 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
39965 maybe-install-strip-gnattools:
39966 @if gnattools
39967 maybe-install-strip-gnattools: install-strip-gnattools
39968
39969 install-strip-gnattools: installdirs
39970 @: $(MAKE); $(unstage)
39971 @r=`${PWD_COMMAND}`; export r; \
39972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39973 $(HOST_EXPORTS) \
39974 (cd $(HOST_SUBDIR)/gnattools && \
39975 $(MAKE) $(FLAGS_TO_PASS) install-strip)
39976
39977 @endif gnattools
39978
39979 # Other targets (info, dvi, pdf, etc.)
39980
39981 .PHONY: maybe-info-gnattools info-gnattools
39982 maybe-info-gnattools:
39983 @if gnattools
39984 maybe-info-gnattools: info-gnattools
39985
39986 info-gnattools: \
39987 configure-gnattools
39988 @: $(MAKE); $(unstage)
39989 @[ -f ./gnattools/Makefile ] || exit 0; \
39990 r=`${PWD_COMMAND}`; export r; \
39991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39992 $(HOST_EXPORTS) \
39993 for flag in $(EXTRA_HOST_FLAGS) ; do \
39994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39995 done; \
39996 echo "Doing info in gnattools"; \
39997 (cd $(HOST_SUBDIR)/gnattools && \
39998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40000 "RANLIB=$${RANLIB}" \
40001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40002 info) \
40003 || exit 1
40004
40005 @endif gnattools
40006
40007 .PHONY: maybe-dvi-gnattools dvi-gnattools
40008 maybe-dvi-gnattools:
40009 @if gnattools
40010 maybe-dvi-gnattools: dvi-gnattools
40011
40012 dvi-gnattools: \
40013 configure-gnattools
40014 @: $(MAKE); $(unstage)
40015 @[ -f ./gnattools/Makefile ] || exit 0; \
40016 r=`${PWD_COMMAND}`; export r; \
40017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40018 $(HOST_EXPORTS) \
40019 for flag in $(EXTRA_HOST_FLAGS) ; do \
40020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40021 done; \
40022 echo "Doing dvi in gnattools"; \
40023 (cd $(HOST_SUBDIR)/gnattools && \
40024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40026 "RANLIB=$${RANLIB}" \
40027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40028 dvi) \
40029 || exit 1
40030
40031 @endif gnattools
40032
40033 .PHONY: maybe-pdf-gnattools pdf-gnattools
40034 maybe-pdf-gnattools:
40035 @if gnattools
40036 maybe-pdf-gnattools: pdf-gnattools
40037
40038 pdf-gnattools: \
40039 configure-gnattools
40040 @: $(MAKE); $(unstage)
40041 @[ -f ./gnattools/Makefile ] || exit 0; \
40042 r=`${PWD_COMMAND}`; export r; \
40043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40044 $(HOST_EXPORTS) \
40045 for flag in $(EXTRA_HOST_FLAGS) ; do \
40046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40047 done; \
40048 echo "Doing pdf in gnattools"; \
40049 (cd $(HOST_SUBDIR)/gnattools && \
40050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40052 "RANLIB=$${RANLIB}" \
40053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40054 pdf) \
40055 || exit 1
40056
40057 @endif gnattools
40058
40059 .PHONY: maybe-html-gnattools html-gnattools
40060 maybe-html-gnattools:
40061 @if gnattools
40062 maybe-html-gnattools: html-gnattools
40063
40064 html-gnattools: \
40065 configure-gnattools
40066 @: $(MAKE); $(unstage)
40067 @[ -f ./gnattools/Makefile ] || exit 0; \
40068 r=`${PWD_COMMAND}`; export r; \
40069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40070 $(HOST_EXPORTS) \
40071 for flag in $(EXTRA_HOST_FLAGS) ; do \
40072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40073 done; \
40074 echo "Doing html in gnattools"; \
40075 (cd $(HOST_SUBDIR)/gnattools && \
40076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40078 "RANLIB=$${RANLIB}" \
40079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40080 html) \
40081 || exit 1
40082
40083 @endif gnattools
40084
40085 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
40086 maybe-TAGS-gnattools:
40087 @if gnattools
40088 maybe-TAGS-gnattools: TAGS-gnattools
40089
40090 TAGS-gnattools: \
40091 configure-gnattools
40092 @: $(MAKE); $(unstage)
40093 @[ -f ./gnattools/Makefile ] || exit 0; \
40094 r=`${PWD_COMMAND}`; export r; \
40095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40096 $(HOST_EXPORTS) \
40097 for flag in $(EXTRA_HOST_FLAGS) ; do \
40098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40099 done; \
40100 echo "Doing TAGS in gnattools"; \
40101 (cd $(HOST_SUBDIR)/gnattools && \
40102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40104 "RANLIB=$${RANLIB}" \
40105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40106 TAGS) \
40107 || exit 1
40108
40109 @endif gnattools
40110
40111 .PHONY: maybe-install-info-gnattools install-info-gnattools
40112 maybe-install-info-gnattools:
40113 @if gnattools
40114 maybe-install-info-gnattools: install-info-gnattools
40115
40116 install-info-gnattools: \
40117 configure-gnattools \
40118 info-gnattools
40119 @: $(MAKE); $(unstage)
40120 @[ -f ./gnattools/Makefile ] || exit 0; \
40121 r=`${PWD_COMMAND}`; export r; \
40122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40123 $(HOST_EXPORTS) \
40124 for flag in $(EXTRA_HOST_FLAGS) ; do \
40125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40126 done; \
40127 echo "Doing install-info in gnattools"; \
40128 (cd $(HOST_SUBDIR)/gnattools && \
40129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40131 "RANLIB=$${RANLIB}" \
40132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40133 install-info) \
40134 || exit 1
40135
40136 @endif gnattools
40137
40138 .PHONY: maybe-install-dvi-gnattools install-dvi-gnattools
40139 maybe-install-dvi-gnattools:
40140 @if gnattools
40141 maybe-install-dvi-gnattools: install-dvi-gnattools
40142
40143 install-dvi-gnattools: \
40144 configure-gnattools \
40145 dvi-gnattools
40146 @: $(MAKE); $(unstage)
40147 @[ -f ./gnattools/Makefile ] || exit 0; \
40148 r=`${PWD_COMMAND}`; export r; \
40149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40150 $(HOST_EXPORTS) \
40151 for flag in $(EXTRA_HOST_FLAGS) ; do \
40152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40153 done; \
40154 echo "Doing install-dvi in gnattools"; \
40155 (cd $(HOST_SUBDIR)/gnattools && \
40156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40158 "RANLIB=$${RANLIB}" \
40159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40160 install-dvi) \
40161 || exit 1
40162
40163 @endif gnattools
40164
40165 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
40166 maybe-install-pdf-gnattools:
40167 @if gnattools
40168 maybe-install-pdf-gnattools: install-pdf-gnattools
40169
40170 install-pdf-gnattools: \
40171 configure-gnattools \
40172 pdf-gnattools
40173 @: $(MAKE); $(unstage)
40174 @[ -f ./gnattools/Makefile ] || exit 0; \
40175 r=`${PWD_COMMAND}`; export r; \
40176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40177 $(HOST_EXPORTS) \
40178 for flag in $(EXTRA_HOST_FLAGS) ; do \
40179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40180 done; \
40181 echo "Doing install-pdf in gnattools"; \
40182 (cd $(HOST_SUBDIR)/gnattools && \
40183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40185 "RANLIB=$${RANLIB}" \
40186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40187 install-pdf) \
40188 || exit 1
40189
40190 @endif gnattools
40191
40192 .PHONY: maybe-install-html-gnattools install-html-gnattools
40193 maybe-install-html-gnattools:
40194 @if gnattools
40195 maybe-install-html-gnattools: install-html-gnattools
40196
40197 install-html-gnattools: \
40198 configure-gnattools \
40199 html-gnattools
40200 @: $(MAKE); $(unstage)
40201 @[ -f ./gnattools/Makefile ] || exit 0; \
40202 r=`${PWD_COMMAND}`; export r; \
40203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40204 $(HOST_EXPORTS) \
40205 for flag in $(EXTRA_HOST_FLAGS) ; do \
40206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40207 done; \
40208 echo "Doing install-html in gnattools"; \
40209 (cd $(HOST_SUBDIR)/gnattools && \
40210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40212 "RANLIB=$${RANLIB}" \
40213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40214 install-html) \
40215 || exit 1
40216
40217 @endif gnattools
40218
40219 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
40220 maybe-installcheck-gnattools:
40221 @if gnattools
40222 maybe-installcheck-gnattools: installcheck-gnattools
40223
40224 installcheck-gnattools: \
40225 configure-gnattools
40226 @: $(MAKE); $(unstage)
40227 @[ -f ./gnattools/Makefile ] || exit 0; \
40228 r=`${PWD_COMMAND}`; export r; \
40229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40230 $(HOST_EXPORTS) \
40231 for flag in $(EXTRA_HOST_FLAGS) ; do \
40232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40233 done; \
40234 echo "Doing installcheck in gnattools"; \
40235 (cd $(HOST_SUBDIR)/gnattools && \
40236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40238 "RANLIB=$${RANLIB}" \
40239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40240 installcheck) \
40241 || exit 1
40242
40243 @endif gnattools
40244
40245 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
40246 maybe-mostlyclean-gnattools:
40247 @if gnattools
40248 maybe-mostlyclean-gnattools: mostlyclean-gnattools
40249
40250 mostlyclean-gnattools:
40251 @: $(MAKE); $(unstage)
40252 @[ -f ./gnattools/Makefile ] || exit 0; \
40253 r=`${PWD_COMMAND}`; export r; \
40254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40255 $(HOST_EXPORTS) \
40256 for flag in $(EXTRA_HOST_FLAGS) ; do \
40257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40258 done; \
40259 echo "Doing mostlyclean in gnattools"; \
40260 (cd $(HOST_SUBDIR)/gnattools && \
40261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40263 "RANLIB=$${RANLIB}" \
40264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40265 mostlyclean) \
40266 || exit 1
40267
40268 @endif gnattools
40269
40270 .PHONY: maybe-clean-gnattools clean-gnattools
40271 maybe-clean-gnattools:
40272 @if gnattools
40273 maybe-clean-gnattools: clean-gnattools
40274
40275 clean-gnattools:
40276 @: $(MAKE); $(unstage)
40277 @[ -f ./gnattools/Makefile ] || exit 0; \
40278 r=`${PWD_COMMAND}`; export r; \
40279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40280 $(HOST_EXPORTS) \
40281 for flag in $(EXTRA_HOST_FLAGS) ; do \
40282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40283 done; \
40284 echo "Doing clean in gnattools"; \
40285 (cd $(HOST_SUBDIR)/gnattools && \
40286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40288 "RANLIB=$${RANLIB}" \
40289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40290 clean) \
40291 || exit 1
40292
40293 @endif gnattools
40294
40295 .PHONY: maybe-distclean-gnattools distclean-gnattools
40296 maybe-distclean-gnattools:
40297 @if gnattools
40298 maybe-distclean-gnattools: distclean-gnattools
40299
40300 distclean-gnattools:
40301 @: $(MAKE); $(unstage)
40302 @[ -f ./gnattools/Makefile ] || exit 0; \
40303 r=`${PWD_COMMAND}`; export r; \
40304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40305 $(HOST_EXPORTS) \
40306 for flag in $(EXTRA_HOST_FLAGS) ; do \
40307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40308 done; \
40309 echo "Doing distclean in gnattools"; \
40310 (cd $(HOST_SUBDIR)/gnattools && \
40311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40313 "RANLIB=$${RANLIB}" \
40314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40315 distclean) \
40316 || exit 1
40317
40318 @endif gnattools
40319
40320 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
40321 maybe-maintainer-clean-gnattools:
40322 @if gnattools
40323 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
40324
40325 maintainer-clean-gnattools:
40326 @: $(MAKE); $(unstage)
40327 @[ -f ./gnattools/Makefile ] || exit 0; \
40328 r=`${PWD_COMMAND}`; export r; \
40329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40330 $(HOST_EXPORTS) \
40331 for flag in $(EXTRA_HOST_FLAGS) ; do \
40332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40333 done; \
40334 echo "Doing maintainer-clean in gnattools"; \
40335 (cd $(HOST_SUBDIR)/gnattools && \
40336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40338 "RANLIB=$${RANLIB}" \
40339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40340 maintainer-clean) \
40341 || exit 1
40342
40343 @endif gnattools
40344
40345
40346
40347 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
40348 maybe-configure-lto-plugin:
40349 @if gcc-bootstrap
40350 configure-lto-plugin: stage_current
40351 @endif gcc-bootstrap
40352 @if lto-plugin
40353 maybe-configure-lto-plugin: configure-lto-plugin
40354 configure-lto-plugin:
40355 @r=`${PWD_COMMAND}`; export r; \
40356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40357 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40358 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
40359 $(HOST_EXPORTS) \
40360 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
40361 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
40362 case $(srcdir) in \
40363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40364 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
40365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40366 esac; \
40367 module_srcdir=lto-plugin; \
40368 $(SHELL) \
40369 $$s/$$module_srcdir/configure \
40370 --srcdir=$${topdir}/$$module_srcdir \
40371 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40372 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
40373 || exit 1
40374 @endif lto-plugin
40375
40376
40377
40378 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
40379 maybe-configure-stage1-lto-plugin:
40380 @if lto-plugin-bootstrap
40381 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
40382 configure-stage1-lto-plugin:
40383 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40384 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
40385 @r=`${PWD_COMMAND}`; export r; \
40386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40387 TFLAGS="$(STAGE1_TFLAGS)"; \
40388 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40389 $(HOST_EXPORTS) \
40390 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
40391 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
40392 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
40393 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin; \
40394 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
40395 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
40396 case $(srcdir) in \
40397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40398 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
40399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40400 esac; \
40401 module_srcdir=lto-plugin; \
40402 $(SHELL) $$s/$$module_srcdir/configure \
40403 --srcdir=$${topdir}/$$module_srcdir \
40404 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40405 --target=${target_alias} \
40406 \
40407 $(STAGE1_CONFIGURE_FLAGS) \
40408 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
40409 @endif lto-plugin-bootstrap
40410
40411 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
40412 maybe-configure-stage2-lto-plugin:
40413 @if lto-plugin-bootstrap
40414 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
40415 configure-stage2-lto-plugin:
40416 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40417 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
40418 @r=`${PWD_COMMAND}`; export r; \
40419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40420 TFLAGS="$(STAGE2_TFLAGS)"; \
40421 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40422 $(HOST_EXPORTS) \
40423 $(POSTSTAGE1_HOST_EXPORTS) \
40424 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
40425 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
40426 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
40427 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin; \
40428 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
40429 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
40430 case $(srcdir) in \
40431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40432 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
40433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40434 esac; \
40435 module_srcdir=lto-plugin; \
40436 $(SHELL) $$s/$$module_srcdir/configure \
40437 --srcdir=$${topdir}/$$module_srcdir \
40438 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40439 --target=${target_alias} \
40440 --with-build-libsubdir=$(HOST_SUBDIR) \
40441 $(STAGE2_CONFIGURE_FLAGS) \
40442 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
40443 @endif lto-plugin-bootstrap
40444
40445 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
40446 maybe-configure-stage3-lto-plugin:
40447 @if lto-plugin-bootstrap
40448 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
40449 configure-stage3-lto-plugin:
40450 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40451 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
40452 @r=`${PWD_COMMAND}`; export r; \
40453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40454 TFLAGS="$(STAGE3_TFLAGS)"; \
40455 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40456 $(HOST_EXPORTS) \
40457 $(POSTSTAGE1_HOST_EXPORTS) \
40458 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
40459 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
40460 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
40461 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin; \
40462 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
40463 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
40464 case $(srcdir) in \
40465 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40466 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
40467 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40468 esac; \
40469 module_srcdir=lto-plugin; \
40470 $(SHELL) $$s/$$module_srcdir/configure \
40471 --srcdir=$${topdir}/$$module_srcdir \
40472 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40473 --target=${target_alias} \
40474 --with-build-libsubdir=$(HOST_SUBDIR) \
40475 $(STAGE3_CONFIGURE_FLAGS) \
40476 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
40477 @endif lto-plugin-bootstrap
40478
40479 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
40480 maybe-configure-stage4-lto-plugin:
40481 @if lto-plugin-bootstrap
40482 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
40483 configure-stage4-lto-plugin:
40484 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40485 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
40486 @r=`${PWD_COMMAND}`; export r; \
40487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40488 TFLAGS="$(STAGE4_TFLAGS)"; \
40489 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40490 $(HOST_EXPORTS) \
40491 $(POSTSTAGE1_HOST_EXPORTS) \
40492 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
40493 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
40494 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
40495 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin; \
40496 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
40497 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
40498 case $(srcdir) in \
40499 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40500 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
40501 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40502 esac; \
40503 module_srcdir=lto-plugin; \
40504 $(SHELL) $$s/$$module_srcdir/configure \
40505 --srcdir=$${topdir}/$$module_srcdir \
40506 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40507 --target=${target_alias} \
40508 --with-build-libsubdir=$(HOST_SUBDIR) \
40509 $(STAGE4_CONFIGURE_FLAGS) \
40510 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
40511 @endif lto-plugin-bootstrap
40512
40513 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
40514 maybe-configure-stageprofile-lto-plugin:
40515 @if lto-plugin-bootstrap
40516 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
40517 configure-stageprofile-lto-plugin:
40518 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40519 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
40520 @r=`${PWD_COMMAND}`; export r; \
40521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40522 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40523 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40524 $(HOST_EXPORTS) \
40525 $(POSTSTAGE1_HOST_EXPORTS) \
40526 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
40527 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
40528 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
40529 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin; \
40530 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
40531 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
40532 case $(srcdir) in \
40533 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40534 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
40535 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40536 esac; \
40537 module_srcdir=lto-plugin; \
40538 $(SHELL) $$s/$$module_srcdir/configure \
40539 --srcdir=$${topdir}/$$module_srcdir \
40540 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40541 --target=${target_alias} \
40542 --with-build-libsubdir=$(HOST_SUBDIR) \
40543 $(STAGEprofile_CONFIGURE_FLAGS) \
40544 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
40545 @endif lto-plugin-bootstrap
40546
40547 .PHONY: configure-stagetrain-lto-plugin maybe-configure-stagetrain-lto-plugin
40548 maybe-configure-stagetrain-lto-plugin:
40549 @if lto-plugin-bootstrap
40550 maybe-configure-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
40551 configure-stagetrain-lto-plugin:
40552 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
40553 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
40554 @r=`${PWD_COMMAND}`; export r; \
40555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40556 TFLAGS="$(STAGEtrain_TFLAGS)"; \
40557 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40558 $(HOST_EXPORTS) \
40559 $(POSTSTAGE1_HOST_EXPORTS) \
40560 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
40561 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
40562 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
40563 echo Configuring stage train in $(HOST_SUBDIR)/lto-plugin; \
40564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
40565 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
40566 case $(srcdir) in \
40567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40568 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
40569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40570 esac; \
40571 module_srcdir=lto-plugin; \
40572 $(SHELL) $$s/$$module_srcdir/configure \
40573 --srcdir=$${topdir}/$$module_srcdir \
40574 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40575 --target=${target_alias} \
40576 --with-build-libsubdir=$(HOST_SUBDIR) \
40577 $(STAGEtrain_CONFIGURE_FLAGS) \
40578 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
40579 @endif lto-plugin-bootstrap
40580
40581 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
40582 maybe-configure-stagefeedback-lto-plugin:
40583 @if lto-plugin-bootstrap
40584 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
40585 configure-stagefeedback-lto-plugin:
40586 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40587 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
40588 @r=`${PWD_COMMAND}`; export r; \
40589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40590 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40591 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40592 $(HOST_EXPORTS) \
40593 $(POSTSTAGE1_HOST_EXPORTS) \
40594 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
40595 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
40596 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
40597 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin; \
40598 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
40599 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
40600 case $(srcdir) in \
40601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40602 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
40603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40604 esac; \
40605 module_srcdir=lto-plugin; \
40606 $(SHELL) $$s/$$module_srcdir/configure \
40607 --srcdir=$${topdir}/$$module_srcdir \
40608 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40609 --target=${target_alias} \
40610 --with-build-libsubdir=$(HOST_SUBDIR) \
40611 $(STAGEfeedback_CONFIGURE_FLAGS) \
40612 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
40613 @endif lto-plugin-bootstrap
40614
40615 .PHONY: configure-stageautoprofile-lto-plugin maybe-configure-stageautoprofile-lto-plugin
40616 maybe-configure-stageautoprofile-lto-plugin:
40617 @if lto-plugin-bootstrap
40618 maybe-configure-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
40619 configure-stageautoprofile-lto-plugin:
40620 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
40621 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
40622 @r=`${PWD_COMMAND}`; export r; \
40623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40624 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
40625 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40626 $(HOST_EXPORTS) \
40627 $(POSTSTAGE1_HOST_EXPORTS) \
40628 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
40629 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
40630 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
40631 echo Configuring stage autoprofile in $(HOST_SUBDIR)/lto-plugin; \
40632 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
40633 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
40634 case $(srcdir) in \
40635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40636 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
40637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40638 esac; \
40639 module_srcdir=lto-plugin; \
40640 $(SHELL) $$s/$$module_srcdir/configure \
40641 --srcdir=$${topdir}/$$module_srcdir \
40642 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40643 --target=${target_alias} \
40644 --with-build-libsubdir=$(HOST_SUBDIR) \
40645 $(STAGEautoprofile_CONFIGURE_FLAGS) \
40646 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
40647 @endif lto-plugin-bootstrap
40648
40649 .PHONY: configure-stageautofeedback-lto-plugin maybe-configure-stageautofeedback-lto-plugin
40650 maybe-configure-stageautofeedback-lto-plugin:
40651 @if lto-plugin-bootstrap
40652 maybe-configure-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
40653 configure-stageautofeedback-lto-plugin:
40654 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
40655 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
40656 @r=`${PWD_COMMAND}`; export r; \
40657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40658 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
40659 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
40660 $(HOST_EXPORTS) \
40661 $(POSTSTAGE1_HOST_EXPORTS) \
40662 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
40663 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
40664 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
40665 echo Configuring stage autofeedback in $(HOST_SUBDIR)/lto-plugin; \
40666 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin; \
40667 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
40668 case $(srcdir) in \
40669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40670 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
40671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40672 esac; \
40673 module_srcdir=lto-plugin; \
40674 $(SHELL) $$s/$$module_srcdir/configure \
40675 --srcdir=$${topdir}/$$module_srcdir \
40676 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40677 --target=${target_alias} \
40678 --with-build-libsubdir=$(HOST_SUBDIR) \
40679 $(STAGEautofeedback_CONFIGURE_FLAGS) \
40680 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
40681 @endif lto-plugin-bootstrap
40682
40683
40684
40685
40686
40687 .PHONY: all-lto-plugin maybe-all-lto-plugin
40688 maybe-all-lto-plugin:
40689 @if gcc-bootstrap
40690 all-lto-plugin: stage_current
40691 @endif gcc-bootstrap
40692 @if lto-plugin
40693 TARGET-lto-plugin=all
40694 maybe-all-lto-plugin: all-lto-plugin
40695 all-lto-plugin: configure-lto-plugin
40696 @r=`${PWD_COMMAND}`; export r; \
40697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40698 $(HOST_EXPORTS) \
40699 (cd $(HOST_SUBDIR)/lto-plugin && \
40700 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40701 $(TARGET-lto-plugin))
40702 @endif lto-plugin
40703
40704
40705
40706 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
40707 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
40708 maybe-all-stage1-lto-plugin:
40709 maybe-clean-stage1-lto-plugin:
40710 @if lto-plugin-bootstrap
40711 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
40712 all-stage1: all-stage1-lto-plugin
40713 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
40714 all-stage1-lto-plugin: configure-stage1-lto-plugin
40715 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
40716 @r=`${PWD_COMMAND}`; export r; \
40717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40718 TFLAGS="$(STAGE1_TFLAGS)"; \
40719 $(HOST_EXPORTS) \
40720 cd $(HOST_SUBDIR)/lto-plugin && \
40721 \
40722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40723 CFLAGS="$(STAGE1_CFLAGS)" \
40724 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
40725 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
40726 LIBCFLAGS="$(LIBCFLAGS)" \
40727 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40728 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40729 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40730 $(EXTRA_HOST_FLAGS) \
40731 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40732 TFLAGS="$(STAGE1_TFLAGS)" \
40733 $(TARGET-stage1-lto-plugin)
40734
40735 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
40736 clean-stage1: clean-stage1-lto-plugin
40737 clean-stage1-lto-plugin:
40738 @if [ $(current_stage) = stage1 ]; then \
40739 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
40740 else \
40741 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
40742 $(MAKE) stage1-start; \
40743 fi; \
40744 cd $(HOST_SUBDIR)/lto-plugin && \
40745 $(MAKE) $(EXTRA_HOST_FLAGS) \
40746 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
40747 @endif lto-plugin-bootstrap
40748
40749
40750 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
40751 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
40752 maybe-all-stage2-lto-plugin:
40753 maybe-clean-stage2-lto-plugin:
40754 @if lto-plugin-bootstrap
40755 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
40756 all-stage2: all-stage2-lto-plugin
40757 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
40758 all-stage2-lto-plugin: configure-stage2-lto-plugin
40759 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
40760 @r=`${PWD_COMMAND}`; export r; \
40761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40762 TFLAGS="$(STAGE2_TFLAGS)"; \
40763 $(HOST_EXPORTS) \
40764 $(POSTSTAGE1_HOST_EXPORTS) \
40765 cd $(HOST_SUBDIR)/lto-plugin && \
40766 \
40767 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40768 CFLAGS="$(STAGE2_CFLAGS)" \
40769 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
40770 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
40771 LIBCFLAGS="$(STAGE2_CFLAGS)" \
40772 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40773 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40774 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40775 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40776 TFLAGS="$(STAGE2_TFLAGS)" \
40777 $(TARGET-stage2-lto-plugin)
40778
40779 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
40780 clean-stage2: clean-stage2-lto-plugin
40781 clean-stage2-lto-plugin:
40782 @if [ $(current_stage) = stage2 ]; then \
40783 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
40784 else \
40785 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
40786 $(MAKE) stage2-start; \
40787 fi; \
40788 cd $(HOST_SUBDIR)/lto-plugin && \
40789 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
40790 @endif lto-plugin-bootstrap
40791
40792
40793 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
40794 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
40795 maybe-all-stage3-lto-plugin:
40796 maybe-clean-stage3-lto-plugin:
40797 @if lto-plugin-bootstrap
40798 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
40799 all-stage3: all-stage3-lto-plugin
40800 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
40801 all-stage3-lto-plugin: configure-stage3-lto-plugin
40802 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
40803 @r=`${PWD_COMMAND}`; export r; \
40804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40805 TFLAGS="$(STAGE3_TFLAGS)"; \
40806 $(HOST_EXPORTS) \
40807 $(POSTSTAGE1_HOST_EXPORTS) \
40808 cd $(HOST_SUBDIR)/lto-plugin && \
40809 \
40810 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40811 CFLAGS="$(STAGE3_CFLAGS)" \
40812 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
40813 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
40814 LIBCFLAGS="$(STAGE3_CFLAGS)" \
40815 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40816 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40817 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40818 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40819 TFLAGS="$(STAGE3_TFLAGS)" \
40820 $(TARGET-stage3-lto-plugin)
40821
40822 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
40823 clean-stage3: clean-stage3-lto-plugin
40824 clean-stage3-lto-plugin:
40825 @if [ $(current_stage) = stage3 ]; then \
40826 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
40827 else \
40828 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
40829 $(MAKE) stage3-start; \
40830 fi; \
40831 cd $(HOST_SUBDIR)/lto-plugin && \
40832 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
40833 @endif lto-plugin-bootstrap
40834
40835
40836 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
40837 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
40838 maybe-all-stage4-lto-plugin:
40839 maybe-clean-stage4-lto-plugin:
40840 @if lto-plugin-bootstrap
40841 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
40842 all-stage4: all-stage4-lto-plugin
40843 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
40844 all-stage4-lto-plugin: configure-stage4-lto-plugin
40845 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
40846 @r=`${PWD_COMMAND}`; export r; \
40847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40848 TFLAGS="$(STAGE4_TFLAGS)"; \
40849 $(HOST_EXPORTS) \
40850 $(POSTSTAGE1_HOST_EXPORTS) \
40851 cd $(HOST_SUBDIR)/lto-plugin && \
40852 \
40853 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40854 CFLAGS="$(STAGE4_CFLAGS)" \
40855 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
40856 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
40857 LIBCFLAGS="$(STAGE4_CFLAGS)" \
40858 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40859 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40860 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40861 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40862 TFLAGS="$(STAGE4_TFLAGS)" \
40863 $(TARGET-stage4-lto-plugin)
40864
40865 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
40866 clean-stage4: clean-stage4-lto-plugin
40867 clean-stage4-lto-plugin:
40868 @if [ $(current_stage) = stage4 ]; then \
40869 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
40870 else \
40871 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
40872 $(MAKE) stage4-start; \
40873 fi; \
40874 cd $(HOST_SUBDIR)/lto-plugin && \
40875 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
40876 @endif lto-plugin-bootstrap
40877
40878
40879 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
40880 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
40881 maybe-all-stageprofile-lto-plugin:
40882 maybe-clean-stageprofile-lto-plugin:
40883 @if lto-plugin-bootstrap
40884 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
40885 all-stageprofile: all-stageprofile-lto-plugin
40886 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
40887 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
40888 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
40889 @r=`${PWD_COMMAND}`; export r; \
40890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40891 TFLAGS="$(STAGEprofile_TFLAGS)"; \
40892 $(HOST_EXPORTS) \
40893 $(POSTSTAGE1_HOST_EXPORTS) \
40894 cd $(HOST_SUBDIR)/lto-plugin && \
40895 \
40896 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40897 CFLAGS="$(STAGEprofile_CFLAGS)" \
40898 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
40899 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
40900 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
40901 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40902 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40903 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40904 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40905 TFLAGS="$(STAGEprofile_TFLAGS)" \
40906 $(TARGET-stageprofile-lto-plugin)
40907
40908 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
40909 clean-stageprofile: clean-stageprofile-lto-plugin
40910 clean-stageprofile-lto-plugin:
40911 @if [ $(current_stage) = stageprofile ]; then \
40912 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
40913 else \
40914 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
40915 $(MAKE) stageprofile-start; \
40916 fi; \
40917 cd $(HOST_SUBDIR)/lto-plugin && \
40918 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
40919 @endif lto-plugin-bootstrap
40920
40921
40922 .PHONY: all-stagetrain-lto-plugin maybe-all-stagetrain-lto-plugin
40923 .PHONY: clean-stagetrain-lto-plugin maybe-clean-stagetrain-lto-plugin
40924 maybe-all-stagetrain-lto-plugin:
40925 maybe-clean-stagetrain-lto-plugin:
40926 @if lto-plugin-bootstrap
40927 maybe-all-stagetrain-lto-plugin: all-stagetrain-lto-plugin
40928 all-stagetrain: all-stagetrain-lto-plugin
40929 TARGET-stagetrain-lto-plugin = $(TARGET-lto-plugin)
40930 all-stagetrain-lto-plugin: configure-stagetrain-lto-plugin
40931 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
40932 @r=`${PWD_COMMAND}`; export r; \
40933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40934 TFLAGS="$(STAGEtrain_TFLAGS)"; \
40935 $(HOST_EXPORTS) \
40936 $(POSTSTAGE1_HOST_EXPORTS) \
40937 cd $(HOST_SUBDIR)/lto-plugin && \
40938 \
40939 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40940 CFLAGS="$(STAGEtrain_CFLAGS)" \
40941 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
40942 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
40943 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
40944 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40945 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40946 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40947 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40948 TFLAGS="$(STAGEtrain_TFLAGS)" \
40949 $(TARGET-stagetrain-lto-plugin)
40950
40951 maybe-clean-stagetrain-lto-plugin: clean-stagetrain-lto-plugin
40952 clean-stagetrain: clean-stagetrain-lto-plugin
40953 clean-stagetrain-lto-plugin:
40954 @if [ $(current_stage) = stagetrain ]; then \
40955 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
40956 else \
40957 [ -f $(HOST_SUBDIR)/stagetrain-lto-plugin/Makefile ] || exit 0; \
40958 $(MAKE) stagetrain-start; \
40959 fi; \
40960 cd $(HOST_SUBDIR)/lto-plugin && \
40961 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
40962 @endif lto-plugin-bootstrap
40963
40964
40965 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
40966 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
40967 maybe-all-stagefeedback-lto-plugin:
40968 maybe-clean-stagefeedback-lto-plugin:
40969 @if lto-plugin-bootstrap
40970 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
40971 all-stagefeedback: all-stagefeedback-lto-plugin
40972 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
40973 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
40974 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
40975 @r=`${PWD_COMMAND}`; export r; \
40976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40977 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
40978 $(HOST_EXPORTS) \
40979 $(POSTSTAGE1_HOST_EXPORTS) \
40980 cd $(HOST_SUBDIR)/lto-plugin && \
40981 \
40982 $(MAKE) $(BASE_FLAGS_TO_PASS) \
40983 CFLAGS="$(STAGEfeedback_CFLAGS)" \
40984 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
40985 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
40986 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
40987 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
40988 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
40989 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
40990 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
40991 TFLAGS="$(STAGEfeedback_TFLAGS)" \
40992 $(TARGET-stagefeedback-lto-plugin)
40993
40994 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
40995 clean-stagefeedback: clean-stagefeedback-lto-plugin
40996 clean-stagefeedback-lto-plugin:
40997 @if [ $(current_stage) = stagefeedback ]; then \
40998 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
40999 else \
41000 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
41001 $(MAKE) stagefeedback-start; \
41002 fi; \
41003 cd $(HOST_SUBDIR)/lto-plugin && \
41004 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
41005 @endif lto-plugin-bootstrap
41006
41007
41008 .PHONY: all-stageautoprofile-lto-plugin maybe-all-stageautoprofile-lto-plugin
41009 .PHONY: clean-stageautoprofile-lto-plugin maybe-clean-stageautoprofile-lto-plugin
41010 maybe-all-stageautoprofile-lto-plugin:
41011 maybe-clean-stageautoprofile-lto-plugin:
41012 @if lto-plugin-bootstrap
41013 maybe-all-stageautoprofile-lto-plugin: all-stageautoprofile-lto-plugin
41014 all-stageautoprofile: all-stageautoprofile-lto-plugin
41015 TARGET-stageautoprofile-lto-plugin = $(TARGET-lto-plugin)
41016 all-stageautoprofile-lto-plugin: configure-stageautoprofile-lto-plugin
41017 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
41018 @r=`${PWD_COMMAND}`; export r; \
41019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41020 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
41021 $(HOST_EXPORTS) \
41022 $(POSTSTAGE1_HOST_EXPORTS) \
41023 cd $(HOST_SUBDIR)/lto-plugin && \
41024 $$s/gcc/config/i386/$(AUTO_PROFILE) \
41025 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41026 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
41027 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
41028 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
41029 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
41030 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41031 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41032 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41033 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
41034 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
41035 $(TARGET-stageautoprofile-lto-plugin)
41036
41037 maybe-clean-stageautoprofile-lto-plugin: clean-stageautoprofile-lto-plugin
41038 clean-stageautoprofile: clean-stageautoprofile-lto-plugin
41039 clean-stageautoprofile-lto-plugin:
41040 @if [ $(current_stage) = stageautoprofile ]; then \
41041 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
41042 else \
41043 [ -f $(HOST_SUBDIR)/stageautoprofile-lto-plugin/Makefile ] || exit 0; \
41044 $(MAKE) stageautoprofile-start; \
41045 fi; \
41046 cd $(HOST_SUBDIR)/lto-plugin && \
41047 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
41048 @endif lto-plugin-bootstrap
41049
41050
41051 .PHONY: all-stageautofeedback-lto-plugin maybe-all-stageautofeedback-lto-plugin
41052 .PHONY: clean-stageautofeedback-lto-plugin maybe-clean-stageautofeedback-lto-plugin
41053 maybe-all-stageautofeedback-lto-plugin:
41054 maybe-clean-stageautofeedback-lto-plugin:
41055 @if lto-plugin-bootstrap
41056 maybe-all-stageautofeedback-lto-plugin: all-stageautofeedback-lto-plugin
41057 all-stageautofeedback: all-stageautofeedback-lto-plugin
41058 TARGET-stageautofeedback-lto-plugin = $(TARGET-lto-plugin)
41059 all-stageautofeedback-lto-plugin: configure-stageautofeedback-lto-plugin
41060 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
41061 @r=`${PWD_COMMAND}`; export r; \
41062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41063 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
41064 $(HOST_EXPORTS) \
41065 $(POSTSTAGE1_HOST_EXPORTS) \
41066 cd $(HOST_SUBDIR)/lto-plugin && \
41067 \
41068 $(MAKE) $(BASE_FLAGS_TO_PASS) \
41069 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
41070 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
41071 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
41072 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
41073 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
41074 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
41075 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
41076 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
41077 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
41078 $(TARGET-stageautofeedback-lto-plugin)
41079
41080 maybe-clean-stageautofeedback-lto-plugin: clean-stageautofeedback-lto-plugin
41081 clean-stageautofeedback: clean-stageautofeedback-lto-plugin
41082 clean-stageautofeedback-lto-plugin:
41083 @if [ $(current_stage) = stageautofeedback ]; then \
41084 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
41085 else \
41086 [ -f $(HOST_SUBDIR)/stageautofeedback-lto-plugin/Makefile ] || exit 0; \
41087 $(MAKE) stageautofeedback-start; \
41088 fi; \
41089 cd $(HOST_SUBDIR)/lto-plugin && \
41090 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
41091 @endif lto-plugin-bootstrap
41092
41093
41094
41095
41096
41097 .PHONY: check-lto-plugin maybe-check-lto-plugin
41098 maybe-check-lto-plugin:
41099 @if lto-plugin
41100 maybe-check-lto-plugin: check-lto-plugin
41101
41102 check-lto-plugin:
41103 @: $(MAKE); $(unstage)
41104 @r=`${PWD_COMMAND}`; export r; \
41105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41106 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
41107 (cd $(HOST_SUBDIR)/lto-plugin && \
41108 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ $(EXTRA_BOOTSTRAP_FLAGS) check)
41109
41110 @endif lto-plugin
41111
41112 .PHONY: install-lto-plugin maybe-install-lto-plugin
41113 maybe-install-lto-plugin:
41114 @if lto-plugin
41115 maybe-install-lto-plugin: install-lto-plugin
41116
41117 install-lto-plugin: installdirs
41118 @: $(MAKE); $(unstage)
41119 @r=`${PWD_COMMAND}`; export r; \
41120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41121 $(HOST_EXPORTS) \
41122 (cd $(HOST_SUBDIR)/lto-plugin && \
41123 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
41124
41125 @endif lto-plugin
41126
41127 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
41128 maybe-install-strip-lto-plugin:
41129 @if lto-plugin
41130 maybe-install-strip-lto-plugin: install-strip-lto-plugin
41131
41132 install-strip-lto-plugin: installdirs
41133 @: $(MAKE); $(unstage)
41134 @r=`${PWD_COMMAND}`; export r; \
41135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41136 $(HOST_EXPORTS) \
41137 (cd $(HOST_SUBDIR)/lto-plugin && \
41138 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
41139
41140 @endif lto-plugin
41141
41142 # Other targets (info, dvi, pdf, etc.)
41143
41144 .PHONY: maybe-info-lto-plugin info-lto-plugin
41145 maybe-info-lto-plugin:
41146 @if lto-plugin
41147 maybe-info-lto-plugin: info-lto-plugin
41148
41149 info-lto-plugin: \
41150 configure-lto-plugin
41151 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41152 r=`${PWD_COMMAND}`; export r; \
41153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41154 $(HOST_EXPORTS) \
41155 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41157 done; \
41158 echo "Doing info in lto-plugin"; \
41159 (cd $(HOST_SUBDIR)/lto-plugin && \
41160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41162 "RANLIB=$${RANLIB}" \
41163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41164 info) \
41165 || exit 1
41166
41167 @endif lto-plugin
41168
41169 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
41170 maybe-dvi-lto-plugin:
41171 @if lto-plugin
41172 maybe-dvi-lto-plugin: dvi-lto-plugin
41173
41174 dvi-lto-plugin: \
41175 configure-lto-plugin
41176 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41177 r=`${PWD_COMMAND}`; export r; \
41178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41179 $(HOST_EXPORTS) \
41180 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41182 done; \
41183 echo "Doing dvi in lto-plugin"; \
41184 (cd $(HOST_SUBDIR)/lto-plugin && \
41185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41187 "RANLIB=$${RANLIB}" \
41188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41189 dvi) \
41190 || exit 1
41191
41192 @endif lto-plugin
41193
41194 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
41195 maybe-pdf-lto-plugin:
41196 @if lto-plugin
41197 maybe-pdf-lto-plugin: pdf-lto-plugin
41198
41199 pdf-lto-plugin: \
41200 configure-lto-plugin
41201 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41202 r=`${PWD_COMMAND}`; export r; \
41203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41204 $(HOST_EXPORTS) \
41205 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41207 done; \
41208 echo "Doing pdf in lto-plugin"; \
41209 (cd $(HOST_SUBDIR)/lto-plugin && \
41210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41212 "RANLIB=$${RANLIB}" \
41213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41214 pdf) \
41215 || exit 1
41216
41217 @endif lto-plugin
41218
41219 .PHONY: maybe-html-lto-plugin html-lto-plugin
41220 maybe-html-lto-plugin:
41221 @if lto-plugin
41222 maybe-html-lto-plugin: html-lto-plugin
41223
41224 html-lto-plugin: \
41225 configure-lto-plugin
41226 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41227 r=`${PWD_COMMAND}`; export r; \
41228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41229 $(HOST_EXPORTS) \
41230 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41232 done; \
41233 echo "Doing html in lto-plugin"; \
41234 (cd $(HOST_SUBDIR)/lto-plugin && \
41235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41237 "RANLIB=$${RANLIB}" \
41238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41239 html) \
41240 || exit 1
41241
41242 @endif lto-plugin
41243
41244 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
41245 maybe-TAGS-lto-plugin:
41246 @if lto-plugin
41247 maybe-TAGS-lto-plugin: TAGS-lto-plugin
41248
41249 TAGS-lto-plugin: \
41250 configure-lto-plugin
41251 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41252 r=`${PWD_COMMAND}`; export r; \
41253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41254 $(HOST_EXPORTS) \
41255 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41257 done; \
41258 echo "Doing TAGS in lto-plugin"; \
41259 (cd $(HOST_SUBDIR)/lto-plugin && \
41260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41262 "RANLIB=$${RANLIB}" \
41263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41264 TAGS) \
41265 || exit 1
41266
41267 @endif lto-plugin
41268
41269 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
41270 maybe-install-info-lto-plugin:
41271 @if lto-plugin
41272 maybe-install-info-lto-plugin: install-info-lto-plugin
41273
41274 install-info-lto-plugin: \
41275 configure-lto-plugin \
41276 info-lto-plugin
41277 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41278 r=`${PWD_COMMAND}`; export r; \
41279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41280 $(HOST_EXPORTS) \
41281 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41283 done; \
41284 echo "Doing install-info in lto-plugin"; \
41285 (cd $(HOST_SUBDIR)/lto-plugin && \
41286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41288 "RANLIB=$${RANLIB}" \
41289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41290 install-info) \
41291 || exit 1
41292
41293 @endif lto-plugin
41294
41295 .PHONY: maybe-install-dvi-lto-plugin install-dvi-lto-plugin
41296 maybe-install-dvi-lto-plugin:
41297 @if lto-plugin
41298 maybe-install-dvi-lto-plugin: install-dvi-lto-plugin
41299
41300 install-dvi-lto-plugin: \
41301 configure-lto-plugin \
41302 dvi-lto-plugin
41303 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41304 r=`${PWD_COMMAND}`; export r; \
41305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41306 $(HOST_EXPORTS) \
41307 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41309 done; \
41310 echo "Doing install-dvi in lto-plugin"; \
41311 (cd $(HOST_SUBDIR)/lto-plugin && \
41312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41314 "RANLIB=$${RANLIB}" \
41315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41316 install-dvi) \
41317 || exit 1
41318
41319 @endif lto-plugin
41320
41321 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
41322 maybe-install-pdf-lto-plugin:
41323 @if lto-plugin
41324 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
41325
41326 install-pdf-lto-plugin: \
41327 configure-lto-plugin \
41328 pdf-lto-plugin
41329 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41330 r=`${PWD_COMMAND}`; export r; \
41331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41332 $(HOST_EXPORTS) \
41333 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41335 done; \
41336 echo "Doing install-pdf in lto-plugin"; \
41337 (cd $(HOST_SUBDIR)/lto-plugin && \
41338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41340 "RANLIB=$${RANLIB}" \
41341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41342 install-pdf) \
41343 || exit 1
41344
41345 @endif lto-plugin
41346
41347 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
41348 maybe-install-html-lto-plugin:
41349 @if lto-plugin
41350 maybe-install-html-lto-plugin: install-html-lto-plugin
41351
41352 install-html-lto-plugin: \
41353 configure-lto-plugin \
41354 html-lto-plugin
41355 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41356 r=`${PWD_COMMAND}`; export r; \
41357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41358 $(HOST_EXPORTS) \
41359 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41361 done; \
41362 echo "Doing install-html in lto-plugin"; \
41363 (cd $(HOST_SUBDIR)/lto-plugin && \
41364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41366 "RANLIB=$${RANLIB}" \
41367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41368 install-html) \
41369 || exit 1
41370
41371 @endif lto-plugin
41372
41373 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
41374 maybe-installcheck-lto-plugin:
41375 @if lto-plugin
41376 maybe-installcheck-lto-plugin: installcheck-lto-plugin
41377
41378 installcheck-lto-plugin: \
41379 configure-lto-plugin
41380 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41381 r=`${PWD_COMMAND}`; export r; \
41382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41383 $(HOST_EXPORTS) \
41384 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41386 done; \
41387 echo "Doing installcheck in lto-plugin"; \
41388 (cd $(HOST_SUBDIR)/lto-plugin && \
41389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41391 "RANLIB=$${RANLIB}" \
41392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41393 installcheck) \
41394 || exit 1
41395
41396 @endif lto-plugin
41397
41398 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
41399 maybe-mostlyclean-lto-plugin:
41400 @if lto-plugin
41401 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
41402
41403 mostlyclean-lto-plugin:
41404 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41405 r=`${PWD_COMMAND}`; export r; \
41406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41407 $(HOST_EXPORTS) \
41408 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41410 done; \
41411 echo "Doing mostlyclean in lto-plugin"; \
41412 (cd $(HOST_SUBDIR)/lto-plugin && \
41413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41415 "RANLIB=$${RANLIB}" \
41416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41417 mostlyclean) \
41418 || exit 1
41419
41420 @endif lto-plugin
41421
41422 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
41423 maybe-clean-lto-plugin:
41424 @if lto-plugin
41425 maybe-clean-lto-plugin: clean-lto-plugin
41426
41427 clean-lto-plugin:
41428 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41429 r=`${PWD_COMMAND}`; export r; \
41430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41431 $(HOST_EXPORTS) \
41432 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41434 done; \
41435 echo "Doing clean in lto-plugin"; \
41436 (cd $(HOST_SUBDIR)/lto-plugin && \
41437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41439 "RANLIB=$${RANLIB}" \
41440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41441 clean) \
41442 || exit 1
41443
41444 @endif lto-plugin
41445
41446 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
41447 maybe-distclean-lto-plugin:
41448 @if lto-plugin
41449 maybe-distclean-lto-plugin: distclean-lto-plugin
41450
41451 distclean-lto-plugin:
41452 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41453 r=`${PWD_COMMAND}`; export r; \
41454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41455 $(HOST_EXPORTS) \
41456 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41458 done; \
41459 echo "Doing distclean in lto-plugin"; \
41460 (cd $(HOST_SUBDIR)/lto-plugin && \
41461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41463 "RANLIB=$${RANLIB}" \
41464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41465 distclean) \
41466 || exit 1
41467
41468 @endif lto-plugin
41469
41470 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
41471 maybe-maintainer-clean-lto-plugin:
41472 @if lto-plugin
41473 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
41474
41475 maintainer-clean-lto-plugin:
41476 @[ -f ./lto-plugin/Makefile ] || exit 0; \
41477 r=`${PWD_COMMAND}`; export r; \
41478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41479 $(HOST_EXPORTS) \
41480 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
41481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41482 done; \
41483 echo "Doing maintainer-clean in lto-plugin"; \
41484 (cd $(HOST_SUBDIR)/lto-plugin && \
41485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41487 "RANLIB=$${RANLIB}" \
41488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41489 maintainer-clean) \
41490 || exit 1
41491
41492 @endif lto-plugin
41493
41494
41495
41496 .PHONY: configure-libcc1 maybe-configure-libcc1
41497 maybe-configure-libcc1:
41498 @if gcc-bootstrap
41499 configure-libcc1: stage_current
41500 @endif gcc-bootstrap
41501 @if libcc1
41502 maybe-configure-libcc1: configure-libcc1
41503 configure-libcc1:
41504 @: $(MAKE); $(unstage)
41505 @r=`${PWD_COMMAND}`; export r; \
41506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41507 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
41508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1; \
41509 $(HOST_EXPORTS) \
41510 echo Configuring in $(HOST_SUBDIR)/libcc1; \
41511 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
41512 case $(srcdir) in \
41513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41514 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
41515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41516 esac; \
41517 module_srcdir=libcc1; \
41518 $(SHELL) \
41519 $$s/$$module_srcdir/configure \
41520 --srcdir=$${topdir}/$$module_srcdir \
41521 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41522 --target=${target_alias} --enable-shared \
41523 || exit 1
41524 @endif libcc1
41525
41526
41527
41528
41529
41530 .PHONY: all-libcc1 maybe-all-libcc1
41531 maybe-all-libcc1:
41532 @if gcc-bootstrap
41533 all-libcc1: stage_current
41534 @endif gcc-bootstrap
41535 @if libcc1
41536 TARGET-libcc1=all
41537 maybe-all-libcc1: all-libcc1
41538 all-libcc1: configure-libcc1
41539 @: $(MAKE); $(unstage)
41540 @r=`${PWD_COMMAND}`; export r; \
41541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41542 $(HOST_EXPORTS) \
41543 (cd $(HOST_SUBDIR)/libcc1 && \
41544 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
41545 $(TARGET-libcc1))
41546 @endif libcc1
41547
41548
41549
41550
41551 .PHONY: check-libcc1 maybe-check-libcc1
41552 maybe-check-libcc1:
41553 @if libcc1
41554 maybe-check-libcc1: check-libcc1
41555
41556 check-libcc1:
41557 @: $(MAKE); $(unstage)
41558 @r=`${PWD_COMMAND}`; export r; \
41559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41560 $(HOST_EXPORTS) \
41561 (cd $(HOST_SUBDIR)/libcc1 && \
41562 $(MAKE) $(FLAGS_TO_PASS) check)
41563
41564 @endif libcc1
41565
41566 .PHONY: install-libcc1 maybe-install-libcc1
41567 maybe-install-libcc1:
41568 @if libcc1
41569 maybe-install-libcc1: install-libcc1
41570
41571 install-libcc1: installdirs
41572 @: $(MAKE); $(unstage)
41573 @r=`${PWD_COMMAND}`; export r; \
41574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41575 $(HOST_EXPORTS) \
41576 (cd $(HOST_SUBDIR)/libcc1 && \
41577 $(MAKE) $(FLAGS_TO_PASS) install)
41578
41579 @endif libcc1
41580
41581 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
41582 maybe-install-strip-libcc1:
41583 @if libcc1
41584 maybe-install-strip-libcc1: install-strip-libcc1
41585
41586 install-strip-libcc1: installdirs
41587 @: $(MAKE); $(unstage)
41588 @r=`${PWD_COMMAND}`; export r; \
41589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41590 $(HOST_EXPORTS) \
41591 (cd $(HOST_SUBDIR)/libcc1 && \
41592 $(MAKE) $(FLAGS_TO_PASS) install-strip)
41593
41594 @endif libcc1
41595
41596 # Other targets (info, dvi, pdf, etc.)
41597
41598 .PHONY: maybe-info-libcc1 info-libcc1
41599 maybe-info-libcc1:
41600 @if libcc1
41601 maybe-info-libcc1: info-libcc1
41602
41603 info-libcc1: \
41604 configure-libcc1
41605 @: $(MAKE); $(unstage)
41606 @[ -f ./libcc1/Makefile ] || exit 0; \
41607 r=`${PWD_COMMAND}`; export r; \
41608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41609 $(HOST_EXPORTS) \
41610 for flag in $(EXTRA_HOST_FLAGS) ; do \
41611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41612 done; \
41613 echo "Doing info in libcc1"; \
41614 (cd $(HOST_SUBDIR)/libcc1 && \
41615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41617 "RANLIB=$${RANLIB}" \
41618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41619 info) \
41620 || exit 1
41621
41622 @endif libcc1
41623
41624 .PHONY: maybe-dvi-libcc1 dvi-libcc1
41625 maybe-dvi-libcc1:
41626 @if libcc1
41627 maybe-dvi-libcc1: dvi-libcc1
41628
41629 dvi-libcc1: \
41630 configure-libcc1
41631 @: $(MAKE); $(unstage)
41632 @[ -f ./libcc1/Makefile ] || exit 0; \
41633 r=`${PWD_COMMAND}`; export r; \
41634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41635 $(HOST_EXPORTS) \
41636 for flag in $(EXTRA_HOST_FLAGS) ; do \
41637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41638 done; \
41639 echo "Doing dvi in libcc1"; \
41640 (cd $(HOST_SUBDIR)/libcc1 && \
41641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41643 "RANLIB=$${RANLIB}" \
41644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41645 dvi) \
41646 || exit 1
41647
41648 @endif libcc1
41649
41650 .PHONY: maybe-pdf-libcc1 pdf-libcc1
41651 maybe-pdf-libcc1:
41652 @if libcc1
41653 maybe-pdf-libcc1: pdf-libcc1
41654
41655 pdf-libcc1: \
41656 configure-libcc1
41657 @: $(MAKE); $(unstage)
41658 @[ -f ./libcc1/Makefile ] || exit 0; \
41659 r=`${PWD_COMMAND}`; export r; \
41660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41661 $(HOST_EXPORTS) \
41662 for flag in $(EXTRA_HOST_FLAGS) ; do \
41663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41664 done; \
41665 echo "Doing pdf in libcc1"; \
41666 (cd $(HOST_SUBDIR)/libcc1 && \
41667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41669 "RANLIB=$${RANLIB}" \
41670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41671 pdf) \
41672 || exit 1
41673
41674 @endif libcc1
41675
41676 .PHONY: maybe-html-libcc1 html-libcc1
41677 maybe-html-libcc1:
41678 @if libcc1
41679 maybe-html-libcc1: html-libcc1
41680
41681 html-libcc1: \
41682 configure-libcc1
41683 @: $(MAKE); $(unstage)
41684 @[ -f ./libcc1/Makefile ] || exit 0; \
41685 r=`${PWD_COMMAND}`; export r; \
41686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41687 $(HOST_EXPORTS) \
41688 for flag in $(EXTRA_HOST_FLAGS) ; do \
41689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41690 done; \
41691 echo "Doing html in libcc1"; \
41692 (cd $(HOST_SUBDIR)/libcc1 && \
41693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41695 "RANLIB=$${RANLIB}" \
41696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41697 html) \
41698 || exit 1
41699
41700 @endif libcc1
41701
41702 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
41703 maybe-TAGS-libcc1:
41704 @if libcc1
41705 maybe-TAGS-libcc1: TAGS-libcc1
41706
41707 TAGS-libcc1: \
41708 configure-libcc1
41709 @: $(MAKE); $(unstage)
41710 @[ -f ./libcc1/Makefile ] || exit 0; \
41711 r=`${PWD_COMMAND}`; export r; \
41712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41713 $(HOST_EXPORTS) \
41714 for flag in $(EXTRA_HOST_FLAGS) ; do \
41715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41716 done; \
41717 echo "Doing TAGS in libcc1"; \
41718 (cd $(HOST_SUBDIR)/libcc1 && \
41719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41721 "RANLIB=$${RANLIB}" \
41722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41723 TAGS) \
41724 || exit 1
41725
41726 @endif libcc1
41727
41728 .PHONY: maybe-install-info-libcc1 install-info-libcc1
41729 maybe-install-info-libcc1:
41730 @if libcc1
41731 maybe-install-info-libcc1: install-info-libcc1
41732
41733 install-info-libcc1: \
41734 configure-libcc1 \
41735 info-libcc1
41736 @: $(MAKE); $(unstage)
41737 @[ -f ./libcc1/Makefile ] || exit 0; \
41738 r=`${PWD_COMMAND}`; export r; \
41739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41740 $(HOST_EXPORTS) \
41741 for flag in $(EXTRA_HOST_FLAGS) ; do \
41742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41743 done; \
41744 echo "Doing install-info in libcc1"; \
41745 (cd $(HOST_SUBDIR)/libcc1 && \
41746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41748 "RANLIB=$${RANLIB}" \
41749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41750 install-info) \
41751 || exit 1
41752
41753 @endif libcc1
41754
41755 .PHONY: maybe-install-dvi-libcc1 install-dvi-libcc1
41756 maybe-install-dvi-libcc1:
41757 @if libcc1
41758 maybe-install-dvi-libcc1: install-dvi-libcc1
41759
41760 install-dvi-libcc1: \
41761 configure-libcc1 \
41762 dvi-libcc1
41763 @: $(MAKE); $(unstage)
41764 @[ -f ./libcc1/Makefile ] || exit 0; \
41765 r=`${PWD_COMMAND}`; export r; \
41766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41767 $(HOST_EXPORTS) \
41768 for flag in $(EXTRA_HOST_FLAGS) ; do \
41769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41770 done; \
41771 echo "Doing install-dvi in libcc1"; \
41772 (cd $(HOST_SUBDIR)/libcc1 && \
41773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41775 "RANLIB=$${RANLIB}" \
41776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41777 install-dvi) \
41778 || exit 1
41779
41780 @endif libcc1
41781
41782 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
41783 maybe-install-pdf-libcc1:
41784 @if libcc1
41785 maybe-install-pdf-libcc1: install-pdf-libcc1
41786
41787 install-pdf-libcc1: \
41788 configure-libcc1 \
41789 pdf-libcc1
41790 @: $(MAKE); $(unstage)
41791 @[ -f ./libcc1/Makefile ] || exit 0; \
41792 r=`${PWD_COMMAND}`; export r; \
41793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41794 $(HOST_EXPORTS) \
41795 for flag in $(EXTRA_HOST_FLAGS) ; do \
41796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41797 done; \
41798 echo "Doing install-pdf in libcc1"; \
41799 (cd $(HOST_SUBDIR)/libcc1 && \
41800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41802 "RANLIB=$${RANLIB}" \
41803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41804 install-pdf) \
41805 || exit 1
41806
41807 @endif libcc1
41808
41809 .PHONY: maybe-install-html-libcc1 install-html-libcc1
41810 maybe-install-html-libcc1:
41811 @if libcc1
41812 maybe-install-html-libcc1: install-html-libcc1
41813
41814 install-html-libcc1: \
41815 configure-libcc1 \
41816 html-libcc1
41817 @: $(MAKE); $(unstage)
41818 @[ -f ./libcc1/Makefile ] || exit 0; \
41819 r=`${PWD_COMMAND}`; export r; \
41820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41821 $(HOST_EXPORTS) \
41822 for flag in $(EXTRA_HOST_FLAGS) ; do \
41823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41824 done; \
41825 echo "Doing install-html in libcc1"; \
41826 (cd $(HOST_SUBDIR)/libcc1 && \
41827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41829 "RANLIB=$${RANLIB}" \
41830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41831 install-html) \
41832 || exit 1
41833
41834 @endif libcc1
41835
41836 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
41837 maybe-installcheck-libcc1:
41838 @if libcc1
41839 maybe-installcheck-libcc1: installcheck-libcc1
41840
41841 installcheck-libcc1: \
41842 configure-libcc1
41843 @: $(MAKE); $(unstage)
41844 @[ -f ./libcc1/Makefile ] || exit 0; \
41845 r=`${PWD_COMMAND}`; export r; \
41846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41847 $(HOST_EXPORTS) \
41848 for flag in $(EXTRA_HOST_FLAGS) ; do \
41849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41850 done; \
41851 echo "Doing installcheck in libcc1"; \
41852 (cd $(HOST_SUBDIR)/libcc1 && \
41853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41855 "RANLIB=$${RANLIB}" \
41856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41857 installcheck) \
41858 || exit 1
41859
41860 @endif libcc1
41861
41862 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
41863 maybe-mostlyclean-libcc1:
41864 @if libcc1
41865 maybe-mostlyclean-libcc1: mostlyclean-libcc1
41866
41867 mostlyclean-libcc1:
41868 @: $(MAKE); $(unstage)
41869 @[ -f ./libcc1/Makefile ] || exit 0; \
41870 r=`${PWD_COMMAND}`; export r; \
41871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41872 $(HOST_EXPORTS) \
41873 for flag in $(EXTRA_HOST_FLAGS) ; do \
41874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41875 done; \
41876 echo "Doing mostlyclean in libcc1"; \
41877 (cd $(HOST_SUBDIR)/libcc1 && \
41878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41880 "RANLIB=$${RANLIB}" \
41881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41882 mostlyclean) \
41883 || exit 1
41884
41885 @endif libcc1
41886
41887 .PHONY: maybe-clean-libcc1 clean-libcc1
41888 maybe-clean-libcc1:
41889 @if libcc1
41890 maybe-clean-libcc1: clean-libcc1
41891
41892 clean-libcc1:
41893 @: $(MAKE); $(unstage)
41894 @[ -f ./libcc1/Makefile ] || exit 0; \
41895 r=`${PWD_COMMAND}`; export r; \
41896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41897 $(HOST_EXPORTS) \
41898 for flag in $(EXTRA_HOST_FLAGS) ; do \
41899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41900 done; \
41901 echo "Doing clean in libcc1"; \
41902 (cd $(HOST_SUBDIR)/libcc1 && \
41903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41905 "RANLIB=$${RANLIB}" \
41906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41907 clean) \
41908 || exit 1
41909
41910 @endif libcc1
41911
41912 .PHONY: maybe-distclean-libcc1 distclean-libcc1
41913 maybe-distclean-libcc1:
41914 @if libcc1
41915 maybe-distclean-libcc1: distclean-libcc1
41916
41917 distclean-libcc1:
41918 @: $(MAKE); $(unstage)
41919 @[ -f ./libcc1/Makefile ] || exit 0; \
41920 r=`${PWD_COMMAND}`; export r; \
41921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41922 $(HOST_EXPORTS) \
41923 for flag in $(EXTRA_HOST_FLAGS) ; do \
41924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41925 done; \
41926 echo "Doing distclean in libcc1"; \
41927 (cd $(HOST_SUBDIR)/libcc1 && \
41928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41930 "RANLIB=$${RANLIB}" \
41931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41932 distclean) \
41933 || exit 1
41934
41935 @endif libcc1
41936
41937 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
41938 maybe-maintainer-clean-libcc1:
41939 @if libcc1
41940 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
41941
41942 maintainer-clean-libcc1:
41943 @: $(MAKE); $(unstage)
41944 @[ -f ./libcc1/Makefile ] || exit 0; \
41945 r=`${PWD_COMMAND}`; export r; \
41946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41947 $(HOST_EXPORTS) \
41948 for flag in $(EXTRA_HOST_FLAGS) ; do \
41949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41950 done; \
41951 echo "Doing maintainer-clean in libcc1"; \
41952 (cd $(HOST_SUBDIR)/libcc1 && \
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 maintainer-clean) \
41958 || exit 1
41959
41960 @endif libcc1
41961
41962
41963
41964 .PHONY: configure-gotools maybe-configure-gotools
41965 maybe-configure-gotools:
41966 @if gcc-bootstrap
41967 configure-gotools: stage_current
41968 @endif gcc-bootstrap
41969 @if gotools
41970 maybe-configure-gotools: configure-gotools
41971 configure-gotools:
41972 @: $(MAKE); $(unstage)
41973 @r=`${PWD_COMMAND}`; export r; \
41974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41975 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
41976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools; \
41977 $(HOST_EXPORTS) \
41978 echo Configuring in $(HOST_SUBDIR)/gotools; \
41979 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
41980 case $(srcdir) in \
41981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41982 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
41983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41984 esac; \
41985 module_srcdir=gotools; \
41986 $(SHELL) \
41987 $$s/$$module_srcdir/configure \
41988 --srcdir=$${topdir}/$$module_srcdir \
41989 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
41990 --target=${target_alias} \
41991 || exit 1
41992 @endif gotools
41993
41994
41995
41996
41997
41998 .PHONY: all-gotools maybe-all-gotools
41999 maybe-all-gotools:
42000 @if gcc-bootstrap
42001 all-gotools: stage_current
42002 @endif gcc-bootstrap
42003 @if gotools
42004 TARGET-gotools=all
42005 maybe-all-gotools: all-gotools
42006 all-gotools: configure-gotools
42007 @: $(MAKE); $(unstage)
42008 @r=`${PWD_COMMAND}`; export r; \
42009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42010 $(HOST_EXPORTS) \
42011 (cd $(HOST_SUBDIR)/gotools && \
42012 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
42013 $(TARGET-gotools))
42014 @endif gotools
42015
42016
42017
42018
42019 .PHONY: check-gotools maybe-check-gotools
42020 maybe-check-gotools:
42021 @if gotools
42022 maybe-check-gotools: check-gotools
42023
42024 check-gotools:
42025 @: $(MAKE); $(unstage)
42026 @r=`${PWD_COMMAND}`; export r; \
42027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42028 $(HOST_EXPORTS) \
42029 (cd $(HOST_SUBDIR)/gotools && \
42030 $(MAKE) $(FLAGS_TO_PASS) check)
42031
42032 @endif gotools
42033
42034 .PHONY: install-gotools maybe-install-gotools
42035 maybe-install-gotools:
42036 @if gotools
42037 maybe-install-gotools: install-gotools
42038
42039 install-gotools: installdirs
42040 @: $(MAKE); $(unstage)
42041 @r=`${PWD_COMMAND}`; export r; \
42042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42043 $(HOST_EXPORTS) \
42044 (cd $(HOST_SUBDIR)/gotools && \
42045 $(MAKE) $(FLAGS_TO_PASS) install)
42046
42047 @endif gotools
42048
42049 .PHONY: install-strip-gotools maybe-install-strip-gotools
42050 maybe-install-strip-gotools:
42051 @if gotools
42052 maybe-install-strip-gotools: install-strip-gotools
42053
42054 install-strip-gotools: installdirs
42055 @: $(MAKE); $(unstage)
42056 @r=`${PWD_COMMAND}`; export r; \
42057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42058 $(HOST_EXPORTS) \
42059 (cd $(HOST_SUBDIR)/gotools && \
42060 $(MAKE) $(FLAGS_TO_PASS) install-strip)
42061
42062 @endif gotools
42063
42064 # Other targets (info, dvi, pdf, etc.)
42065
42066 .PHONY: maybe-info-gotools info-gotools
42067 maybe-info-gotools:
42068 @if gotools
42069 maybe-info-gotools: info-gotools
42070
42071 info-gotools: \
42072 configure-gotools
42073 @: $(MAKE); $(unstage)
42074 @[ -f ./gotools/Makefile ] || exit 0; \
42075 r=`${PWD_COMMAND}`; export r; \
42076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42077 $(HOST_EXPORTS) \
42078 for flag in $(EXTRA_HOST_FLAGS) ; do \
42079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42080 done; \
42081 echo "Doing info in gotools"; \
42082 (cd $(HOST_SUBDIR)/gotools && \
42083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42085 "RANLIB=$${RANLIB}" \
42086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42087 info) \
42088 || exit 1
42089
42090 @endif gotools
42091
42092 .PHONY: maybe-dvi-gotools dvi-gotools
42093 maybe-dvi-gotools:
42094 @if gotools
42095 maybe-dvi-gotools: dvi-gotools
42096
42097 dvi-gotools: \
42098 configure-gotools
42099 @: $(MAKE); $(unstage)
42100 @[ -f ./gotools/Makefile ] || exit 0; \
42101 r=`${PWD_COMMAND}`; export r; \
42102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42103 $(HOST_EXPORTS) \
42104 for flag in $(EXTRA_HOST_FLAGS) ; do \
42105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42106 done; \
42107 echo "Doing dvi in gotools"; \
42108 (cd $(HOST_SUBDIR)/gotools && \
42109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42111 "RANLIB=$${RANLIB}" \
42112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42113 dvi) \
42114 || exit 1
42115
42116 @endif gotools
42117
42118 .PHONY: maybe-pdf-gotools pdf-gotools
42119 maybe-pdf-gotools:
42120 @if gotools
42121 maybe-pdf-gotools: pdf-gotools
42122
42123 pdf-gotools: \
42124 configure-gotools
42125 @: $(MAKE); $(unstage)
42126 @[ -f ./gotools/Makefile ] || exit 0; \
42127 r=`${PWD_COMMAND}`; export r; \
42128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42129 $(HOST_EXPORTS) \
42130 for flag in $(EXTRA_HOST_FLAGS) ; do \
42131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42132 done; \
42133 echo "Doing pdf in gotools"; \
42134 (cd $(HOST_SUBDIR)/gotools && \
42135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42137 "RANLIB=$${RANLIB}" \
42138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42139 pdf) \
42140 || exit 1
42141
42142 @endif gotools
42143
42144 .PHONY: maybe-html-gotools html-gotools
42145 maybe-html-gotools:
42146 @if gotools
42147 maybe-html-gotools: html-gotools
42148
42149 html-gotools: \
42150 configure-gotools
42151 @: $(MAKE); $(unstage)
42152 @[ -f ./gotools/Makefile ] || exit 0; \
42153 r=`${PWD_COMMAND}`; export r; \
42154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42155 $(HOST_EXPORTS) \
42156 for flag in $(EXTRA_HOST_FLAGS) ; do \
42157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42158 done; \
42159 echo "Doing html in gotools"; \
42160 (cd $(HOST_SUBDIR)/gotools && \
42161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42163 "RANLIB=$${RANLIB}" \
42164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42165 html) \
42166 || exit 1
42167
42168 @endif gotools
42169
42170 .PHONY: maybe-TAGS-gotools TAGS-gotools
42171 maybe-TAGS-gotools:
42172 @if gotools
42173 maybe-TAGS-gotools: TAGS-gotools
42174
42175 TAGS-gotools: \
42176 configure-gotools
42177 @: $(MAKE); $(unstage)
42178 @[ -f ./gotools/Makefile ] || exit 0; \
42179 r=`${PWD_COMMAND}`; export r; \
42180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42181 $(HOST_EXPORTS) \
42182 for flag in $(EXTRA_HOST_FLAGS) ; do \
42183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42184 done; \
42185 echo "Doing TAGS in gotools"; \
42186 (cd $(HOST_SUBDIR)/gotools && \
42187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42189 "RANLIB=$${RANLIB}" \
42190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42191 TAGS) \
42192 || exit 1
42193
42194 @endif gotools
42195
42196 .PHONY: maybe-install-info-gotools install-info-gotools
42197 maybe-install-info-gotools:
42198 @if gotools
42199 maybe-install-info-gotools: install-info-gotools
42200
42201 install-info-gotools: \
42202 configure-gotools \
42203 info-gotools
42204 @: $(MAKE); $(unstage)
42205 @[ -f ./gotools/Makefile ] || exit 0; \
42206 r=`${PWD_COMMAND}`; export r; \
42207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42208 $(HOST_EXPORTS) \
42209 for flag in $(EXTRA_HOST_FLAGS) ; do \
42210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42211 done; \
42212 echo "Doing install-info in gotools"; \
42213 (cd $(HOST_SUBDIR)/gotools && \
42214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42216 "RANLIB=$${RANLIB}" \
42217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42218 install-info) \
42219 || exit 1
42220
42221 @endif gotools
42222
42223 .PHONY: maybe-install-dvi-gotools install-dvi-gotools
42224 maybe-install-dvi-gotools:
42225 @if gotools
42226 maybe-install-dvi-gotools: install-dvi-gotools
42227
42228 install-dvi-gotools: \
42229 configure-gotools \
42230 dvi-gotools
42231 @: $(MAKE); $(unstage)
42232 @[ -f ./gotools/Makefile ] || exit 0; \
42233 r=`${PWD_COMMAND}`; export r; \
42234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42235 $(HOST_EXPORTS) \
42236 for flag in $(EXTRA_HOST_FLAGS) ; do \
42237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42238 done; \
42239 echo "Doing install-dvi in gotools"; \
42240 (cd $(HOST_SUBDIR)/gotools && \
42241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42243 "RANLIB=$${RANLIB}" \
42244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42245 install-dvi) \
42246 || exit 1
42247
42248 @endif gotools
42249
42250 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
42251 maybe-install-pdf-gotools:
42252 @if gotools
42253 maybe-install-pdf-gotools: install-pdf-gotools
42254
42255 install-pdf-gotools: \
42256 configure-gotools \
42257 pdf-gotools
42258 @: $(MAKE); $(unstage)
42259 @[ -f ./gotools/Makefile ] || exit 0; \
42260 r=`${PWD_COMMAND}`; export r; \
42261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42262 $(HOST_EXPORTS) \
42263 for flag in $(EXTRA_HOST_FLAGS) ; do \
42264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42265 done; \
42266 echo "Doing install-pdf in gotools"; \
42267 (cd $(HOST_SUBDIR)/gotools && \
42268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42270 "RANLIB=$${RANLIB}" \
42271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42272 install-pdf) \
42273 || exit 1
42274
42275 @endif gotools
42276
42277 .PHONY: maybe-install-html-gotools install-html-gotools
42278 maybe-install-html-gotools:
42279 @if gotools
42280 maybe-install-html-gotools: install-html-gotools
42281
42282 install-html-gotools: \
42283 configure-gotools \
42284 html-gotools
42285 @: $(MAKE); $(unstage)
42286 @[ -f ./gotools/Makefile ] || exit 0; \
42287 r=`${PWD_COMMAND}`; export r; \
42288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42289 $(HOST_EXPORTS) \
42290 for flag in $(EXTRA_HOST_FLAGS) ; do \
42291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42292 done; \
42293 echo "Doing install-html in gotools"; \
42294 (cd $(HOST_SUBDIR)/gotools && \
42295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42297 "RANLIB=$${RANLIB}" \
42298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42299 install-html) \
42300 || exit 1
42301
42302 @endif gotools
42303
42304 .PHONY: maybe-installcheck-gotools installcheck-gotools
42305 maybe-installcheck-gotools:
42306 @if gotools
42307 maybe-installcheck-gotools: installcheck-gotools
42308
42309 installcheck-gotools: \
42310 configure-gotools
42311 @: $(MAKE); $(unstage)
42312 @[ -f ./gotools/Makefile ] || exit 0; \
42313 r=`${PWD_COMMAND}`; export r; \
42314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42315 $(HOST_EXPORTS) \
42316 for flag in $(EXTRA_HOST_FLAGS) ; do \
42317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42318 done; \
42319 echo "Doing installcheck in gotools"; \
42320 (cd $(HOST_SUBDIR)/gotools && \
42321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42323 "RANLIB=$${RANLIB}" \
42324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42325 installcheck) \
42326 || exit 1
42327
42328 @endif gotools
42329
42330 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
42331 maybe-mostlyclean-gotools:
42332 @if gotools
42333 maybe-mostlyclean-gotools: mostlyclean-gotools
42334
42335 mostlyclean-gotools:
42336 @: $(MAKE); $(unstage)
42337 @[ -f ./gotools/Makefile ] || exit 0; \
42338 r=`${PWD_COMMAND}`; export r; \
42339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42340 $(HOST_EXPORTS) \
42341 for flag in $(EXTRA_HOST_FLAGS) ; do \
42342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42343 done; \
42344 echo "Doing mostlyclean in gotools"; \
42345 (cd $(HOST_SUBDIR)/gotools && \
42346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42348 "RANLIB=$${RANLIB}" \
42349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42350 mostlyclean) \
42351 || exit 1
42352
42353 @endif gotools
42354
42355 .PHONY: maybe-clean-gotools clean-gotools
42356 maybe-clean-gotools:
42357 @if gotools
42358 maybe-clean-gotools: clean-gotools
42359
42360 clean-gotools:
42361 @: $(MAKE); $(unstage)
42362 @[ -f ./gotools/Makefile ] || exit 0; \
42363 r=`${PWD_COMMAND}`; export r; \
42364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42365 $(HOST_EXPORTS) \
42366 for flag in $(EXTRA_HOST_FLAGS) ; do \
42367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42368 done; \
42369 echo "Doing clean in gotools"; \
42370 (cd $(HOST_SUBDIR)/gotools && \
42371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42373 "RANLIB=$${RANLIB}" \
42374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42375 clean) \
42376 || exit 1
42377
42378 @endif gotools
42379
42380 .PHONY: maybe-distclean-gotools distclean-gotools
42381 maybe-distclean-gotools:
42382 @if gotools
42383 maybe-distclean-gotools: distclean-gotools
42384
42385 distclean-gotools:
42386 @: $(MAKE); $(unstage)
42387 @[ -f ./gotools/Makefile ] || exit 0; \
42388 r=`${PWD_COMMAND}`; export r; \
42389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42390 $(HOST_EXPORTS) \
42391 for flag in $(EXTRA_HOST_FLAGS) ; do \
42392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42393 done; \
42394 echo "Doing distclean in gotools"; \
42395 (cd $(HOST_SUBDIR)/gotools && \
42396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42398 "RANLIB=$${RANLIB}" \
42399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42400 distclean) \
42401 || exit 1
42402
42403 @endif gotools
42404
42405 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
42406 maybe-maintainer-clean-gotools:
42407 @if gotools
42408 maybe-maintainer-clean-gotools: maintainer-clean-gotools
42409
42410 maintainer-clean-gotools:
42411 @: $(MAKE); $(unstage)
42412 @[ -f ./gotools/Makefile ] || exit 0; \
42413 r=`${PWD_COMMAND}`; export r; \
42414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42415 $(HOST_EXPORTS) \
42416 for flag in $(EXTRA_HOST_FLAGS) ; do \
42417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42418 done; \
42419 echo "Doing maintainer-clean in gotools"; \
42420 (cd $(HOST_SUBDIR)/gotools && \
42421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42423 "RANLIB=$${RANLIB}" \
42424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42425 maintainer-clean) \
42426 || exit 1
42427
42428 @endif gotools
42429
42430
42431
42432 .PHONY: configure-libctf maybe-configure-libctf
42433 maybe-configure-libctf:
42434 @if gcc-bootstrap
42435 configure-libctf: stage_current
42436 @endif gcc-bootstrap
42437 @if libctf
42438 maybe-configure-libctf: configure-libctf
42439 configure-libctf:
42440 @r=`${PWD_COMMAND}`; export r; \
42441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42442 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
42443 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
42444 $(HOST_EXPORTS) \
42445 echo Configuring in $(HOST_SUBDIR)/libctf; \
42446 cd "$(HOST_SUBDIR)/libctf" || exit 1; \
42447 case $(srcdir) in \
42448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42449 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
42450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42451 esac; \
42452 module_srcdir=libctf; \
42453 $(SHELL) \
42454 $$s/$$module_srcdir/configure \
42455 --srcdir=$${topdir}/$$module_srcdir \
42456 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42457 --target=${target_alias} \
42458 || exit 1
42459 @endif libctf
42460
42461
42462
42463 .PHONY: configure-stage1-libctf maybe-configure-stage1-libctf
42464 maybe-configure-stage1-libctf:
42465 @if libctf-bootstrap
42466 maybe-configure-stage1-libctf: configure-stage1-libctf
42467 configure-stage1-libctf:
42468 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42469 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
42470 @r=`${PWD_COMMAND}`; export r; \
42471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42472 TFLAGS="$(STAGE1_TFLAGS)"; \
42473 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
42474 $(HOST_EXPORTS) \
42475 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
42476 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
42477 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
42478 echo Configuring stage 1 in $(HOST_SUBDIR)/libctf; \
42479 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
42480 cd $(HOST_SUBDIR)/libctf || exit 1; \
42481 case $(srcdir) in \
42482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42483 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
42484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42485 esac; \
42486 module_srcdir=libctf; \
42487 $(SHELL) $$s/$$module_srcdir/configure \
42488 --srcdir=$${topdir}/$$module_srcdir \
42489 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42490 --target=${target_alias} \
42491 \
42492 $(STAGE1_CONFIGURE_FLAGS)
42493 @endif libctf-bootstrap
42494
42495 .PHONY: configure-stage2-libctf maybe-configure-stage2-libctf
42496 maybe-configure-stage2-libctf:
42497 @if libctf-bootstrap
42498 maybe-configure-stage2-libctf: configure-stage2-libctf
42499 configure-stage2-libctf:
42500 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42501 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
42502 @r=`${PWD_COMMAND}`; export r; \
42503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42504 TFLAGS="$(STAGE2_TFLAGS)"; \
42505 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
42506 $(HOST_EXPORTS) \
42507 $(POSTSTAGE1_HOST_EXPORTS) \
42508 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
42509 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
42510 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
42511 echo Configuring stage 2 in $(HOST_SUBDIR)/libctf; \
42512 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
42513 cd $(HOST_SUBDIR)/libctf || exit 1; \
42514 case $(srcdir) in \
42515 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42516 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
42517 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42518 esac; \
42519 module_srcdir=libctf; \
42520 $(SHELL) $$s/$$module_srcdir/configure \
42521 --srcdir=$${topdir}/$$module_srcdir \
42522 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42523 --target=${target_alias} \
42524 --with-build-libsubdir=$(HOST_SUBDIR) \
42525 $(STAGE2_CONFIGURE_FLAGS)
42526 @endif libctf-bootstrap
42527
42528 .PHONY: configure-stage3-libctf maybe-configure-stage3-libctf
42529 maybe-configure-stage3-libctf:
42530 @if libctf-bootstrap
42531 maybe-configure-stage3-libctf: configure-stage3-libctf
42532 configure-stage3-libctf:
42533 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42534 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
42535 @r=`${PWD_COMMAND}`; export r; \
42536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42537 TFLAGS="$(STAGE3_TFLAGS)"; \
42538 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
42539 $(HOST_EXPORTS) \
42540 $(POSTSTAGE1_HOST_EXPORTS) \
42541 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
42542 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
42543 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
42544 echo Configuring stage 3 in $(HOST_SUBDIR)/libctf; \
42545 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
42546 cd $(HOST_SUBDIR)/libctf || exit 1; \
42547 case $(srcdir) in \
42548 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42549 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
42550 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42551 esac; \
42552 module_srcdir=libctf; \
42553 $(SHELL) $$s/$$module_srcdir/configure \
42554 --srcdir=$${topdir}/$$module_srcdir \
42555 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42556 --target=${target_alias} \
42557 --with-build-libsubdir=$(HOST_SUBDIR) \
42558 $(STAGE3_CONFIGURE_FLAGS)
42559 @endif libctf-bootstrap
42560
42561 .PHONY: configure-stage4-libctf maybe-configure-stage4-libctf
42562 maybe-configure-stage4-libctf:
42563 @if libctf-bootstrap
42564 maybe-configure-stage4-libctf: configure-stage4-libctf
42565 configure-stage4-libctf:
42566 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42567 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
42568 @r=`${PWD_COMMAND}`; export r; \
42569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42570 TFLAGS="$(STAGE4_TFLAGS)"; \
42571 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
42572 $(HOST_EXPORTS) \
42573 $(POSTSTAGE1_HOST_EXPORTS) \
42574 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
42575 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
42576 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
42577 echo Configuring stage 4 in $(HOST_SUBDIR)/libctf; \
42578 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
42579 cd $(HOST_SUBDIR)/libctf || exit 1; \
42580 case $(srcdir) in \
42581 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42582 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
42583 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42584 esac; \
42585 module_srcdir=libctf; \
42586 $(SHELL) $$s/$$module_srcdir/configure \
42587 --srcdir=$${topdir}/$$module_srcdir \
42588 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42589 --target=${target_alias} \
42590 --with-build-libsubdir=$(HOST_SUBDIR) \
42591 $(STAGE4_CONFIGURE_FLAGS)
42592 @endif libctf-bootstrap
42593
42594 .PHONY: configure-stageprofile-libctf maybe-configure-stageprofile-libctf
42595 maybe-configure-stageprofile-libctf:
42596 @if libctf-bootstrap
42597 maybe-configure-stageprofile-libctf: configure-stageprofile-libctf
42598 configure-stageprofile-libctf:
42599 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42600 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
42601 @r=`${PWD_COMMAND}`; export r; \
42602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42603 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42604 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
42605 $(HOST_EXPORTS) \
42606 $(POSTSTAGE1_HOST_EXPORTS) \
42607 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
42608 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
42609 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
42610 echo Configuring stage profile in $(HOST_SUBDIR)/libctf; \
42611 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
42612 cd $(HOST_SUBDIR)/libctf || exit 1; \
42613 case $(srcdir) in \
42614 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42615 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
42616 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42617 esac; \
42618 module_srcdir=libctf; \
42619 $(SHELL) $$s/$$module_srcdir/configure \
42620 --srcdir=$${topdir}/$$module_srcdir \
42621 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42622 --target=${target_alias} \
42623 --with-build-libsubdir=$(HOST_SUBDIR) \
42624 $(STAGEprofile_CONFIGURE_FLAGS)
42625 @endif libctf-bootstrap
42626
42627 .PHONY: configure-stagetrain-libctf maybe-configure-stagetrain-libctf
42628 maybe-configure-stagetrain-libctf:
42629 @if libctf-bootstrap
42630 maybe-configure-stagetrain-libctf: configure-stagetrain-libctf
42631 configure-stagetrain-libctf:
42632 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
42633 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
42634 @r=`${PWD_COMMAND}`; export r; \
42635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42636 TFLAGS="$(STAGEtrain_TFLAGS)"; \
42637 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
42638 $(HOST_EXPORTS) \
42639 $(POSTSTAGE1_HOST_EXPORTS) \
42640 CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
42641 CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
42642 LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
42643 echo Configuring stage train in $(HOST_SUBDIR)/libctf; \
42644 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
42645 cd $(HOST_SUBDIR)/libctf || exit 1; \
42646 case $(srcdir) in \
42647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42648 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
42649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42650 esac; \
42651 module_srcdir=libctf; \
42652 $(SHELL) $$s/$$module_srcdir/configure \
42653 --srcdir=$${topdir}/$$module_srcdir \
42654 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42655 --target=${target_alias} \
42656 --with-build-libsubdir=$(HOST_SUBDIR) \
42657 $(STAGEtrain_CONFIGURE_FLAGS)
42658 @endif libctf-bootstrap
42659
42660 .PHONY: configure-stagefeedback-libctf maybe-configure-stagefeedback-libctf
42661 maybe-configure-stagefeedback-libctf:
42662 @if libctf-bootstrap
42663 maybe-configure-stagefeedback-libctf: configure-stagefeedback-libctf
42664 configure-stagefeedback-libctf:
42665 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42666 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
42667 @r=`${PWD_COMMAND}`; export r; \
42668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42669 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
42670 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
42671 $(HOST_EXPORTS) \
42672 $(POSTSTAGE1_HOST_EXPORTS) \
42673 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
42674 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
42675 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
42676 echo Configuring stage feedback in $(HOST_SUBDIR)/libctf; \
42677 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
42678 cd $(HOST_SUBDIR)/libctf || exit 1; \
42679 case $(srcdir) in \
42680 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42681 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
42682 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42683 esac; \
42684 module_srcdir=libctf; \
42685 $(SHELL) $$s/$$module_srcdir/configure \
42686 --srcdir=$${topdir}/$$module_srcdir \
42687 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42688 --target=${target_alias} \
42689 --with-build-libsubdir=$(HOST_SUBDIR) \
42690 $(STAGEfeedback_CONFIGURE_FLAGS)
42691 @endif libctf-bootstrap
42692
42693 .PHONY: configure-stageautoprofile-libctf maybe-configure-stageautoprofile-libctf
42694 maybe-configure-stageautoprofile-libctf:
42695 @if libctf-bootstrap
42696 maybe-configure-stageautoprofile-libctf: configure-stageautoprofile-libctf
42697 configure-stageautoprofile-libctf:
42698 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
42699 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
42700 @r=`${PWD_COMMAND}`; export r; \
42701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42702 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
42703 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
42704 $(HOST_EXPORTS) \
42705 $(POSTSTAGE1_HOST_EXPORTS) \
42706 CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
42707 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
42708 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
42709 echo Configuring stage autoprofile in $(HOST_SUBDIR)/libctf; \
42710 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
42711 cd $(HOST_SUBDIR)/libctf || exit 1; \
42712 case $(srcdir) in \
42713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42714 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
42715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42716 esac; \
42717 module_srcdir=libctf; \
42718 $(SHELL) $$s/$$module_srcdir/configure \
42719 --srcdir=$${topdir}/$$module_srcdir \
42720 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42721 --target=${target_alias} \
42722 --with-build-libsubdir=$(HOST_SUBDIR) \
42723 $(STAGEautoprofile_CONFIGURE_FLAGS)
42724 @endif libctf-bootstrap
42725
42726 .PHONY: configure-stageautofeedback-libctf maybe-configure-stageautofeedback-libctf
42727 maybe-configure-stageautofeedback-libctf:
42728 @if libctf-bootstrap
42729 maybe-configure-stageautofeedback-libctf: configure-stageautofeedback-libctf
42730 configure-stageautofeedback-libctf:
42731 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
42732 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf
42733 @r=`${PWD_COMMAND}`; export r; \
42734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42735 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
42736 test ! -f $(HOST_SUBDIR)/libctf/Makefile || exit 0; \
42737 $(HOST_EXPORTS) \
42738 $(POSTSTAGE1_HOST_EXPORTS) \
42739 CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
42740 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
42741 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
42742 echo Configuring stage autofeedback in $(HOST_SUBDIR)/libctf; \
42743 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libctf; \
42744 cd $(HOST_SUBDIR)/libctf || exit 1; \
42745 case $(srcdir) in \
42746 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42747 *) topdir=`echo $(HOST_SUBDIR)/libctf/ | \
42748 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42749 esac; \
42750 module_srcdir=libctf; \
42751 $(SHELL) $$s/$$module_srcdir/configure \
42752 --srcdir=$${topdir}/$$module_srcdir \
42753 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
42754 --target=${target_alias} \
42755 --with-build-libsubdir=$(HOST_SUBDIR) \
42756 $(STAGEautofeedback_CONFIGURE_FLAGS)
42757 @endif libctf-bootstrap
42758
42759
42760
42761
42762
42763 .PHONY: all-libctf maybe-all-libctf
42764 maybe-all-libctf:
42765 @if gcc-bootstrap
42766 all-libctf: stage_current
42767 @endif gcc-bootstrap
42768 @if libctf
42769 TARGET-libctf=all
42770 maybe-all-libctf: all-libctf
42771 all-libctf: configure-libctf
42772 @r=`${PWD_COMMAND}`; export r; \
42773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42774 $(HOST_EXPORTS) \
42775 (cd $(HOST_SUBDIR)/libctf && \
42776 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
42777 $(TARGET-libctf))
42778 @endif libctf
42779
42780
42781
42782 .PHONY: all-stage1-libctf maybe-all-stage1-libctf
42783 .PHONY: clean-stage1-libctf maybe-clean-stage1-libctf
42784 maybe-all-stage1-libctf:
42785 maybe-clean-stage1-libctf:
42786 @if libctf-bootstrap
42787 maybe-all-stage1-libctf: all-stage1-libctf
42788 all-stage1: all-stage1-libctf
42789 TARGET-stage1-libctf = $(TARGET-libctf)
42790 all-stage1-libctf: configure-stage1-libctf
42791 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42792 @r=`${PWD_COMMAND}`; export r; \
42793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42794 TFLAGS="$(STAGE1_TFLAGS)"; \
42795 $(HOST_EXPORTS) \
42796 cd $(HOST_SUBDIR)/libctf && \
42797 \
42798 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42799 CFLAGS="$(STAGE1_CFLAGS)" \
42800 GENERATOR_CFLAGS="$(STAGE1_GENERATOR_CFLAGS)" \
42801 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
42802 LIBCFLAGS="$(LIBCFLAGS)" \
42803 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42804 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42805 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42806 $(EXTRA_HOST_FLAGS) \
42807 $(STAGE1_FLAGS_TO_PASS) \
42808 TFLAGS="$(STAGE1_TFLAGS)" \
42809 $(TARGET-stage1-libctf)
42810
42811 maybe-clean-stage1-libctf: clean-stage1-libctf
42812 clean-stage1: clean-stage1-libctf
42813 clean-stage1-libctf:
42814 @if [ $(current_stage) = stage1 ]; then \
42815 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
42816 else \
42817 [ -f $(HOST_SUBDIR)/stage1-libctf/Makefile ] || exit 0; \
42818 $(MAKE) stage1-start; \
42819 fi; \
42820 cd $(HOST_SUBDIR)/libctf && \
42821 $(MAKE) $(EXTRA_HOST_FLAGS) \
42822 $(STAGE1_FLAGS_TO_PASS) clean
42823 @endif libctf-bootstrap
42824
42825
42826 .PHONY: all-stage2-libctf maybe-all-stage2-libctf
42827 .PHONY: clean-stage2-libctf maybe-clean-stage2-libctf
42828 maybe-all-stage2-libctf:
42829 maybe-clean-stage2-libctf:
42830 @if libctf-bootstrap
42831 maybe-all-stage2-libctf: all-stage2-libctf
42832 all-stage2: all-stage2-libctf
42833 TARGET-stage2-libctf = $(TARGET-libctf)
42834 all-stage2-libctf: configure-stage2-libctf
42835 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42836 @r=`${PWD_COMMAND}`; export r; \
42837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42838 TFLAGS="$(STAGE2_TFLAGS)"; \
42839 $(HOST_EXPORTS) \
42840 $(POSTSTAGE1_HOST_EXPORTS) \
42841 cd $(HOST_SUBDIR)/libctf && \
42842 \
42843 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42844 CFLAGS="$(STAGE2_CFLAGS)" \
42845 GENERATOR_CFLAGS="$(STAGE2_GENERATOR_CFLAGS)" \
42846 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
42847 LIBCFLAGS="$(STAGE2_CFLAGS)" \
42848 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42849 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42850 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42851 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
42852 TFLAGS="$(STAGE2_TFLAGS)" \
42853 $(TARGET-stage2-libctf)
42854
42855 maybe-clean-stage2-libctf: clean-stage2-libctf
42856 clean-stage2: clean-stage2-libctf
42857 clean-stage2-libctf:
42858 @if [ $(current_stage) = stage2 ]; then \
42859 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
42860 else \
42861 [ -f $(HOST_SUBDIR)/stage2-libctf/Makefile ] || exit 0; \
42862 $(MAKE) stage2-start; \
42863 fi; \
42864 cd $(HOST_SUBDIR)/libctf && \
42865 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
42866 @endif libctf-bootstrap
42867
42868
42869 .PHONY: all-stage3-libctf maybe-all-stage3-libctf
42870 .PHONY: clean-stage3-libctf maybe-clean-stage3-libctf
42871 maybe-all-stage3-libctf:
42872 maybe-clean-stage3-libctf:
42873 @if libctf-bootstrap
42874 maybe-all-stage3-libctf: all-stage3-libctf
42875 all-stage3: all-stage3-libctf
42876 TARGET-stage3-libctf = $(TARGET-libctf)
42877 all-stage3-libctf: configure-stage3-libctf
42878 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42879 @r=`${PWD_COMMAND}`; export r; \
42880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42881 TFLAGS="$(STAGE3_TFLAGS)"; \
42882 $(HOST_EXPORTS) \
42883 $(POSTSTAGE1_HOST_EXPORTS) \
42884 cd $(HOST_SUBDIR)/libctf && \
42885 \
42886 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42887 CFLAGS="$(STAGE3_CFLAGS)" \
42888 GENERATOR_CFLAGS="$(STAGE3_GENERATOR_CFLAGS)" \
42889 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
42890 LIBCFLAGS="$(STAGE3_CFLAGS)" \
42891 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42892 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42893 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42894 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
42895 TFLAGS="$(STAGE3_TFLAGS)" \
42896 $(TARGET-stage3-libctf)
42897
42898 maybe-clean-stage3-libctf: clean-stage3-libctf
42899 clean-stage3: clean-stage3-libctf
42900 clean-stage3-libctf:
42901 @if [ $(current_stage) = stage3 ]; then \
42902 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
42903 else \
42904 [ -f $(HOST_SUBDIR)/stage3-libctf/Makefile ] || exit 0; \
42905 $(MAKE) stage3-start; \
42906 fi; \
42907 cd $(HOST_SUBDIR)/libctf && \
42908 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
42909 @endif libctf-bootstrap
42910
42911
42912 .PHONY: all-stage4-libctf maybe-all-stage4-libctf
42913 .PHONY: clean-stage4-libctf maybe-clean-stage4-libctf
42914 maybe-all-stage4-libctf:
42915 maybe-clean-stage4-libctf:
42916 @if libctf-bootstrap
42917 maybe-all-stage4-libctf: all-stage4-libctf
42918 all-stage4: all-stage4-libctf
42919 TARGET-stage4-libctf = $(TARGET-libctf)
42920 all-stage4-libctf: configure-stage4-libctf
42921 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42922 @r=`${PWD_COMMAND}`; export r; \
42923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42924 TFLAGS="$(STAGE4_TFLAGS)"; \
42925 $(HOST_EXPORTS) \
42926 $(POSTSTAGE1_HOST_EXPORTS) \
42927 cd $(HOST_SUBDIR)/libctf && \
42928 \
42929 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42930 CFLAGS="$(STAGE4_CFLAGS)" \
42931 GENERATOR_CFLAGS="$(STAGE4_GENERATOR_CFLAGS)" \
42932 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
42933 LIBCFLAGS="$(STAGE4_CFLAGS)" \
42934 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42935 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42936 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42937 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
42938 TFLAGS="$(STAGE4_TFLAGS)" \
42939 $(TARGET-stage4-libctf)
42940
42941 maybe-clean-stage4-libctf: clean-stage4-libctf
42942 clean-stage4: clean-stage4-libctf
42943 clean-stage4-libctf:
42944 @if [ $(current_stage) = stage4 ]; then \
42945 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
42946 else \
42947 [ -f $(HOST_SUBDIR)/stage4-libctf/Makefile ] || exit 0; \
42948 $(MAKE) stage4-start; \
42949 fi; \
42950 cd $(HOST_SUBDIR)/libctf && \
42951 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
42952 @endif libctf-bootstrap
42953
42954
42955 .PHONY: all-stageprofile-libctf maybe-all-stageprofile-libctf
42956 .PHONY: clean-stageprofile-libctf maybe-clean-stageprofile-libctf
42957 maybe-all-stageprofile-libctf:
42958 maybe-clean-stageprofile-libctf:
42959 @if libctf-bootstrap
42960 maybe-all-stageprofile-libctf: all-stageprofile-libctf
42961 all-stageprofile: all-stageprofile-libctf
42962 TARGET-stageprofile-libctf = $(TARGET-libctf)
42963 all-stageprofile-libctf: configure-stageprofile-libctf
42964 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42965 @r=`${PWD_COMMAND}`; export r; \
42966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42967 TFLAGS="$(STAGEprofile_TFLAGS)"; \
42968 $(HOST_EXPORTS) \
42969 $(POSTSTAGE1_HOST_EXPORTS) \
42970 cd $(HOST_SUBDIR)/libctf && \
42971 \
42972 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42973 CFLAGS="$(STAGEprofile_CFLAGS)" \
42974 GENERATOR_CFLAGS="$(STAGEprofile_GENERATOR_CFLAGS)" \
42975 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
42976 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
42977 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
42978 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
42979 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
42980 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
42981 TFLAGS="$(STAGEprofile_TFLAGS)" \
42982 $(TARGET-stageprofile-libctf)
42983
42984 maybe-clean-stageprofile-libctf: clean-stageprofile-libctf
42985 clean-stageprofile: clean-stageprofile-libctf
42986 clean-stageprofile-libctf:
42987 @if [ $(current_stage) = stageprofile ]; then \
42988 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
42989 else \
42990 [ -f $(HOST_SUBDIR)/stageprofile-libctf/Makefile ] || exit 0; \
42991 $(MAKE) stageprofile-start; \
42992 fi; \
42993 cd $(HOST_SUBDIR)/libctf && \
42994 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
42995 @endif libctf-bootstrap
42996
42997
42998 .PHONY: all-stagetrain-libctf maybe-all-stagetrain-libctf
42999 .PHONY: clean-stagetrain-libctf maybe-clean-stagetrain-libctf
43000 maybe-all-stagetrain-libctf:
43001 maybe-clean-stagetrain-libctf:
43002 @if libctf-bootstrap
43003 maybe-all-stagetrain-libctf: all-stagetrain-libctf
43004 all-stagetrain: all-stagetrain-libctf
43005 TARGET-stagetrain-libctf = $(TARGET-libctf)
43006 all-stagetrain-libctf: configure-stagetrain-libctf
43007 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
43008 @r=`${PWD_COMMAND}`; export r; \
43009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43010 TFLAGS="$(STAGEtrain_TFLAGS)"; \
43011 $(HOST_EXPORTS) \
43012 $(POSTSTAGE1_HOST_EXPORTS) \
43013 cd $(HOST_SUBDIR)/libctf && \
43014 \
43015 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43016 CFLAGS="$(STAGEtrain_CFLAGS)" \
43017 GENERATOR_CFLAGS="$(STAGEtrain_GENERATOR_CFLAGS)" \
43018 CXXFLAGS="$(STAGEtrain_CXXFLAGS)" \
43019 LIBCFLAGS="$(STAGEtrain_CFLAGS)" \
43020 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43021 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43022 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43023 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43024 TFLAGS="$(STAGEtrain_TFLAGS)" \
43025 $(TARGET-stagetrain-libctf)
43026
43027 maybe-clean-stagetrain-libctf: clean-stagetrain-libctf
43028 clean-stagetrain: clean-stagetrain-libctf
43029 clean-stagetrain-libctf:
43030 @if [ $(current_stage) = stagetrain ]; then \
43031 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
43032 else \
43033 [ -f $(HOST_SUBDIR)/stagetrain-libctf/Makefile ] || exit 0; \
43034 $(MAKE) stagetrain-start; \
43035 fi; \
43036 cd $(HOST_SUBDIR)/libctf && \
43037 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43038 @endif libctf-bootstrap
43039
43040
43041 .PHONY: all-stagefeedback-libctf maybe-all-stagefeedback-libctf
43042 .PHONY: clean-stagefeedback-libctf maybe-clean-stagefeedback-libctf
43043 maybe-all-stagefeedback-libctf:
43044 maybe-clean-stagefeedback-libctf:
43045 @if libctf-bootstrap
43046 maybe-all-stagefeedback-libctf: all-stagefeedback-libctf
43047 all-stagefeedback: all-stagefeedback-libctf
43048 TARGET-stagefeedback-libctf = $(TARGET-libctf)
43049 all-stagefeedback-libctf: configure-stagefeedback-libctf
43050 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43051 @r=`${PWD_COMMAND}`; export r; \
43052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43053 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43054 $(HOST_EXPORTS) \
43055 $(POSTSTAGE1_HOST_EXPORTS) \
43056 cd $(HOST_SUBDIR)/libctf && \
43057 \
43058 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43059 CFLAGS="$(STAGEfeedback_CFLAGS)" \
43060 GENERATOR_CFLAGS="$(STAGEfeedback_GENERATOR_CFLAGS)" \
43061 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
43062 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
43063 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43064 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43065 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43066 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43067 TFLAGS="$(STAGEfeedback_TFLAGS)" \
43068 $(TARGET-stagefeedback-libctf)
43069
43070 maybe-clean-stagefeedback-libctf: clean-stagefeedback-libctf
43071 clean-stagefeedback: clean-stagefeedback-libctf
43072 clean-stagefeedback-libctf:
43073 @if [ $(current_stage) = stagefeedback ]; then \
43074 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
43075 else \
43076 [ -f $(HOST_SUBDIR)/stagefeedback-libctf/Makefile ] || exit 0; \
43077 $(MAKE) stagefeedback-start; \
43078 fi; \
43079 cd $(HOST_SUBDIR)/libctf && \
43080 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43081 @endif libctf-bootstrap
43082
43083
43084 .PHONY: all-stageautoprofile-libctf maybe-all-stageautoprofile-libctf
43085 .PHONY: clean-stageautoprofile-libctf maybe-clean-stageautoprofile-libctf
43086 maybe-all-stageautoprofile-libctf:
43087 maybe-clean-stageautoprofile-libctf:
43088 @if libctf-bootstrap
43089 maybe-all-stageautoprofile-libctf: all-stageautoprofile-libctf
43090 all-stageautoprofile: all-stageautoprofile-libctf
43091 TARGET-stageautoprofile-libctf = $(TARGET-libctf)
43092 all-stageautoprofile-libctf: configure-stageautoprofile-libctf
43093 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43094 @r=`${PWD_COMMAND}`; export r; \
43095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43096 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43097 $(HOST_EXPORTS) \
43098 $(POSTSTAGE1_HOST_EXPORTS) \
43099 cd $(HOST_SUBDIR)/libctf && \
43100 $$s/gcc/config/i386/$(AUTO_PROFILE) \
43101 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43102 CFLAGS="$(STAGEautoprofile_CFLAGS)" \
43103 GENERATOR_CFLAGS="$(STAGEautoprofile_GENERATOR_CFLAGS)" \
43104 CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)" \
43105 LIBCFLAGS="$(STAGEautoprofile_CFLAGS)" \
43106 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43107 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43108 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43109 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43110 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
43111 $(TARGET-stageautoprofile-libctf)
43112
43113 maybe-clean-stageautoprofile-libctf: clean-stageautoprofile-libctf
43114 clean-stageautoprofile: clean-stageautoprofile-libctf
43115 clean-stageautoprofile-libctf:
43116 @if [ $(current_stage) = stageautoprofile ]; then \
43117 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
43118 else \
43119 [ -f $(HOST_SUBDIR)/stageautoprofile-libctf/Makefile ] || exit 0; \
43120 $(MAKE) stageautoprofile-start; \
43121 fi; \
43122 cd $(HOST_SUBDIR)/libctf && \
43123 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43124 @endif libctf-bootstrap
43125
43126
43127 .PHONY: all-stageautofeedback-libctf maybe-all-stageautofeedback-libctf
43128 .PHONY: clean-stageautofeedback-libctf maybe-clean-stageautofeedback-libctf
43129 maybe-all-stageautofeedback-libctf:
43130 maybe-clean-stageautofeedback-libctf:
43131 @if libctf-bootstrap
43132 maybe-all-stageautofeedback-libctf: all-stageautofeedback-libctf
43133 all-stageautofeedback: all-stageautofeedback-libctf
43134 TARGET-stageautofeedback-libctf = $(TARGET-libctf)
43135 all-stageautofeedback-libctf: configure-stageautofeedback-libctf
43136 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43137 @r=`${PWD_COMMAND}`; export r; \
43138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43139 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43140 $(HOST_EXPORTS) \
43141 $(POSTSTAGE1_HOST_EXPORTS) \
43142 cd $(HOST_SUBDIR)/libctf && \
43143 \
43144 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43145 CFLAGS="$(STAGEautofeedback_CFLAGS)" \
43146 GENERATOR_CFLAGS="$(STAGEautofeedback_GENERATOR_CFLAGS)" \
43147 CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)" \
43148 LIBCFLAGS="$(STAGEautofeedback_CFLAGS)" \
43149 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
43150 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
43151 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
43152 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
43153 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
43154 $(TARGET-stageautofeedback-libctf)
43155
43156 maybe-clean-stageautofeedback-libctf: clean-stageautofeedback-libctf
43157 clean-stageautofeedback: clean-stageautofeedback-libctf
43158 clean-stageautofeedback-libctf:
43159 @if [ $(current_stage) = stageautofeedback ]; then \
43160 [ -f $(HOST_SUBDIR)/libctf/Makefile ] || exit 0; \
43161 else \
43162 [ -f $(HOST_SUBDIR)/stageautofeedback-libctf/Makefile ] || exit 0; \
43163 $(MAKE) stageautofeedback-start; \
43164 fi; \
43165 cd $(HOST_SUBDIR)/libctf && \
43166 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
43167 @endif libctf-bootstrap
43168
43169
43170
43171
43172
43173 .PHONY: check-libctf maybe-check-libctf
43174 maybe-check-libctf:
43175 @if libctf
43176 maybe-check-libctf: check-libctf
43177
43178 check-libctf:
43179 @: $(MAKE); $(unstage)
43180 @r=`${PWD_COMMAND}`; export r; \
43181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43182 $(HOST_EXPORTS) $(EXTRA_HOST_EXPORTS) \
43183 (cd $(HOST_SUBDIR)/libctf && \
43184 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_BOOTSTRAP_FLAGS) check)
43185
43186 @endif libctf
43187
43188 .PHONY: install-libctf maybe-install-libctf
43189 maybe-install-libctf:
43190 @if libctf
43191 maybe-install-libctf: install-libctf
43192
43193 install-libctf: installdirs
43194 @: $(MAKE); $(unstage)
43195 @r=`${PWD_COMMAND}`; export r; \
43196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43197 $(HOST_EXPORTS) \
43198 (cd $(HOST_SUBDIR)/libctf && \
43199 $(MAKE) $(FLAGS_TO_PASS) install)
43200
43201 @endif libctf
43202
43203 .PHONY: install-strip-libctf maybe-install-strip-libctf
43204 maybe-install-strip-libctf:
43205 @if libctf
43206 maybe-install-strip-libctf: install-strip-libctf
43207
43208 install-strip-libctf: installdirs
43209 @: $(MAKE); $(unstage)
43210 @r=`${PWD_COMMAND}`; export r; \
43211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43212 $(HOST_EXPORTS) \
43213 (cd $(HOST_SUBDIR)/libctf && \
43214 $(MAKE) $(FLAGS_TO_PASS) install-strip)
43215
43216 @endif libctf
43217
43218 # Other targets (info, dvi, pdf, etc.)
43219
43220 .PHONY: maybe-info-libctf info-libctf
43221 maybe-info-libctf:
43222 @if libctf
43223 maybe-info-libctf: info-libctf
43224
43225 info-libctf: \
43226 configure-libctf
43227 @[ -f ./libctf/Makefile ] || exit 0; \
43228 r=`${PWD_COMMAND}`; export r; \
43229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43230 $(HOST_EXPORTS) \
43231 for flag in $(EXTRA_HOST_FLAGS) ; do \
43232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43233 done; \
43234 echo "Doing info in libctf"; \
43235 (cd $(HOST_SUBDIR)/libctf && \
43236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43238 "RANLIB=$${RANLIB}" \
43239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43240 info) \
43241 || exit 1
43242
43243 @endif libctf
43244
43245 .PHONY: maybe-dvi-libctf dvi-libctf
43246 maybe-dvi-libctf:
43247 @if libctf
43248 maybe-dvi-libctf: dvi-libctf
43249
43250 dvi-libctf: \
43251 configure-libctf
43252 @[ -f ./libctf/Makefile ] || exit 0; \
43253 r=`${PWD_COMMAND}`; export r; \
43254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43255 $(HOST_EXPORTS) \
43256 for flag in $(EXTRA_HOST_FLAGS) ; do \
43257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43258 done; \
43259 echo "Doing dvi in libctf"; \
43260 (cd $(HOST_SUBDIR)/libctf && \
43261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43263 "RANLIB=$${RANLIB}" \
43264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43265 dvi) \
43266 || exit 1
43267
43268 @endif libctf
43269
43270 .PHONY: maybe-pdf-libctf pdf-libctf
43271 maybe-pdf-libctf:
43272 @if libctf
43273 maybe-pdf-libctf: pdf-libctf
43274
43275 pdf-libctf: \
43276 configure-libctf
43277 @[ -f ./libctf/Makefile ] || exit 0; \
43278 r=`${PWD_COMMAND}`; export r; \
43279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43280 $(HOST_EXPORTS) \
43281 for flag in $(EXTRA_HOST_FLAGS) ; do \
43282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43283 done; \
43284 echo "Doing pdf in libctf"; \
43285 (cd $(HOST_SUBDIR)/libctf && \
43286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43288 "RANLIB=$${RANLIB}" \
43289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43290 pdf) \
43291 || exit 1
43292
43293 @endif libctf
43294
43295 .PHONY: maybe-html-libctf html-libctf
43296 maybe-html-libctf:
43297 @if libctf
43298 maybe-html-libctf: html-libctf
43299
43300 html-libctf: \
43301 configure-libctf
43302 @[ -f ./libctf/Makefile ] || exit 0; \
43303 r=`${PWD_COMMAND}`; export r; \
43304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43305 $(HOST_EXPORTS) \
43306 for flag in $(EXTRA_HOST_FLAGS) ; do \
43307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43308 done; \
43309 echo "Doing html in libctf"; \
43310 (cd $(HOST_SUBDIR)/libctf && \
43311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43313 "RANLIB=$${RANLIB}" \
43314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43315 html) \
43316 || exit 1
43317
43318 @endif libctf
43319
43320 .PHONY: maybe-TAGS-libctf TAGS-libctf
43321 maybe-TAGS-libctf:
43322 @if libctf
43323 maybe-TAGS-libctf: TAGS-libctf
43324
43325 TAGS-libctf: \
43326 configure-libctf
43327 @[ -f ./libctf/Makefile ] || exit 0; \
43328 r=`${PWD_COMMAND}`; export r; \
43329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43330 $(HOST_EXPORTS) \
43331 for flag in $(EXTRA_HOST_FLAGS) ; do \
43332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43333 done; \
43334 echo "Doing TAGS in libctf"; \
43335 (cd $(HOST_SUBDIR)/libctf && \
43336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43338 "RANLIB=$${RANLIB}" \
43339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43340 TAGS) \
43341 || exit 1
43342
43343 @endif libctf
43344
43345 .PHONY: maybe-install-info-libctf install-info-libctf
43346 maybe-install-info-libctf:
43347 @if libctf
43348 maybe-install-info-libctf: install-info-libctf
43349
43350 install-info-libctf: \
43351 configure-libctf \
43352 info-libctf
43353 @[ -f ./libctf/Makefile ] || exit 0; \
43354 r=`${PWD_COMMAND}`; export r; \
43355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43356 $(HOST_EXPORTS) \
43357 for flag in $(EXTRA_HOST_FLAGS) ; do \
43358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43359 done; \
43360 echo "Doing install-info in libctf"; \
43361 (cd $(HOST_SUBDIR)/libctf && \
43362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43364 "RANLIB=$${RANLIB}" \
43365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43366 install-info) \
43367 || exit 1
43368
43369 @endif libctf
43370
43371 .PHONY: maybe-install-dvi-libctf install-dvi-libctf
43372 maybe-install-dvi-libctf:
43373 @if libctf
43374 maybe-install-dvi-libctf: install-dvi-libctf
43375
43376 install-dvi-libctf: \
43377 configure-libctf \
43378 dvi-libctf
43379 @[ -f ./libctf/Makefile ] || exit 0; \
43380 r=`${PWD_COMMAND}`; export r; \
43381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43382 $(HOST_EXPORTS) \
43383 for flag in $(EXTRA_HOST_FLAGS) ; do \
43384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43385 done; \
43386 echo "Doing install-dvi in libctf"; \
43387 (cd $(HOST_SUBDIR)/libctf && \
43388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43390 "RANLIB=$${RANLIB}" \
43391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43392 install-dvi) \
43393 || exit 1
43394
43395 @endif libctf
43396
43397 .PHONY: maybe-install-pdf-libctf install-pdf-libctf
43398 maybe-install-pdf-libctf:
43399 @if libctf
43400 maybe-install-pdf-libctf: install-pdf-libctf
43401
43402 install-pdf-libctf: \
43403 configure-libctf \
43404 pdf-libctf
43405 @[ -f ./libctf/Makefile ] || exit 0; \
43406 r=`${PWD_COMMAND}`; export r; \
43407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43408 $(HOST_EXPORTS) \
43409 for flag in $(EXTRA_HOST_FLAGS) ; do \
43410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43411 done; \
43412 echo "Doing install-pdf in libctf"; \
43413 (cd $(HOST_SUBDIR)/libctf && \
43414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43416 "RANLIB=$${RANLIB}" \
43417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43418 install-pdf) \
43419 || exit 1
43420
43421 @endif libctf
43422
43423 .PHONY: maybe-install-html-libctf install-html-libctf
43424 maybe-install-html-libctf:
43425 @if libctf
43426 maybe-install-html-libctf: install-html-libctf
43427
43428 install-html-libctf: \
43429 configure-libctf \
43430 html-libctf
43431 @[ -f ./libctf/Makefile ] || exit 0; \
43432 r=`${PWD_COMMAND}`; export r; \
43433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43434 $(HOST_EXPORTS) \
43435 for flag in $(EXTRA_HOST_FLAGS) ; do \
43436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43437 done; \
43438 echo "Doing install-html in libctf"; \
43439 (cd $(HOST_SUBDIR)/libctf && \
43440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43442 "RANLIB=$${RANLIB}" \
43443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43444 install-html) \
43445 || exit 1
43446
43447 @endif libctf
43448
43449 .PHONY: maybe-installcheck-libctf installcheck-libctf
43450 maybe-installcheck-libctf:
43451 @if libctf
43452 maybe-installcheck-libctf: installcheck-libctf
43453
43454 installcheck-libctf: \
43455 configure-libctf
43456 @[ -f ./libctf/Makefile ] || exit 0; \
43457 r=`${PWD_COMMAND}`; export r; \
43458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43459 $(HOST_EXPORTS) \
43460 for flag in $(EXTRA_HOST_FLAGS) ; do \
43461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43462 done; \
43463 echo "Doing installcheck in libctf"; \
43464 (cd $(HOST_SUBDIR)/libctf && \
43465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43467 "RANLIB=$${RANLIB}" \
43468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43469 installcheck) \
43470 || exit 1
43471
43472 @endif libctf
43473
43474 .PHONY: maybe-mostlyclean-libctf mostlyclean-libctf
43475 maybe-mostlyclean-libctf:
43476 @if libctf
43477 maybe-mostlyclean-libctf: mostlyclean-libctf
43478
43479 mostlyclean-libctf:
43480 @[ -f ./libctf/Makefile ] || exit 0; \
43481 r=`${PWD_COMMAND}`; export r; \
43482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43483 $(HOST_EXPORTS) \
43484 for flag in $(EXTRA_HOST_FLAGS) ; do \
43485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43486 done; \
43487 echo "Doing mostlyclean in libctf"; \
43488 (cd $(HOST_SUBDIR)/libctf && \
43489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43491 "RANLIB=$${RANLIB}" \
43492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43493 mostlyclean) \
43494 || exit 1
43495
43496 @endif libctf
43497
43498 .PHONY: maybe-clean-libctf clean-libctf
43499 maybe-clean-libctf:
43500 @if libctf
43501 maybe-clean-libctf: clean-libctf
43502
43503 clean-libctf:
43504 @[ -f ./libctf/Makefile ] || exit 0; \
43505 r=`${PWD_COMMAND}`; export r; \
43506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43507 $(HOST_EXPORTS) \
43508 for flag in $(EXTRA_HOST_FLAGS) ; do \
43509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43510 done; \
43511 echo "Doing clean in libctf"; \
43512 (cd $(HOST_SUBDIR)/libctf && \
43513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43515 "RANLIB=$${RANLIB}" \
43516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43517 clean) \
43518 || exit 1
43519
43520 @endif libctf
43521
43522 .PHONY: maybe-distclean-libctf distclean-libctf
43523 maybe-distclean-libctf:
43524 @if libctf
43525 maybe-distclean-libctf: distclean-libctf
43526
43527 distclean-libctf:
43528 @[ -f ./libctf/Makefile ] || exit 0; \
43529 r=`${PWD_COMMAND}`; export r; \
43530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43531 $(HOST_EXPORTS) \
43532 for flag in $(EXTRA_HOST_FLAGS) ; do \
43533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43534 done; \
43535 echo "Doing distclean in libctf"; \
43536 (cd $(HOST_SUBDIR)/libctf && \
43537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43539 "RANLIB=$${RANLIB}" \
43540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43541 distclean) \
43542 || exit 1
43543
43544 @endif libctf
43545
43546 .PHONY: maybe-maintainer-clean-libctf maintainer-clean-libctf
43547 maybe-maintainer-clean-libctf:
43548 @if libctf
43549 maybe-maintainer-clean-libctf: maintainer-clean-libctf
43550
43551 maintainer-clean-libctf:
43552 @[ -f ./libctf/Makefile ] || exit 0; \
43553 r=`${PWD_COMMAND}`; export r; \
43554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43555 $(HOST_EXPORTS) \
43556 for flag in $(EXTRA_HOST_FLAGS) ; do \
43557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43558 done; \
43559 echo "Doing maintainer-clean in libctf"; \
43560 (cd $(HOST_SUBDIR)/libctf && \
43561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43563 "RANLIB=$${RANLIB}" \
43564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43565 maintainer-clean) \
43566 || exit 1
43567
43568 @endif libctf
43569
43570
43571
43572 # ---------------------------------------
43573 # Modules which run on the target machine
43574 # ---------------------------------------
43575
43576
43577
43578
43579 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
43580 maybe-configure-target-libstdc++-v3:
43581 @if gcc-bootstrap
43582 configure-target-libstdc++-v3: stage_current
43583 @endif gcc-bootstrap
43584 @if target-libstdc++-v3
43585 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
43586 configure-target-libstdc++-v3:
43587 @r=`${PWD_COMMAND}`; export r; \
43588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43589 echo "Checking multilib configuration for libstdc++-v3..."; \
43590 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
43591 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
43592 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43593 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43594 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
43595 else \
43596 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
43597 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43598 fi; \
43599 else \
43600 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43601 fi; \
43602 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
43603 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
43604 $(RAW_CXX_TARGET_EXPORTS) \
43605 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
43606 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
43607 case $(srcdir) in \
43608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43609 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
43610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43611 esac; \
43612 module_srcdir=libstdc++-v3; \
43613 rm -f no-such-file || : ; \
43614 CONFIG_SITE=no-such-file $(SHELL) \
43615 $$s/$$module_srcdir/configure \
43616 --srcdir=$${topdir}/$$module_srcdir \
43617 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43618 --target=${target_alias} \
43619 || exit 1
43620 @endif target-libstdc++-v3
43621
43622
43623
43624 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
43625 maybe-configure-stage1-target-libstdc++-v3:
43626 @if target-libstdc++-v3-bootstrap
43627 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
43628 configure-stage1-target-libstdc++-v3:
43629 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43630 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
43631 @r=`${PWD_COMMAND}`; export r; \
43632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43633 TFLAGS="$(STAGE1_TFLAGS)"; \
43634 echo "Checking multilib configuration for libstdc++-v3..."; \
43635 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
43636 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43637 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43638 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
43639 else \
43640 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
43641 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43642 fi; \
43643 else \
43644 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43645 fi; \
43646 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
43647 $(RAW_CXX_TARGET_EXPORTS) \
43648 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43649 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43650 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43651 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3; \
43652 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
43653 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
43654 case $(srcdir) in \
43655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43656 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
43657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43658 esac; \
43659 module_srcdir=libstdc++-v3; \
43660 $(SHELL) $$s/$$module_srcdir/configure \
43661 --srcdir=$${topdir}/$$module_srcdir \
43662 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43663 --target=${target_alias} \
43664 \
43665 $(STAGE1_CONFIGURE_FLAGS)
43666 @endif target-libstdc++-v3-bootstrap
43667
43668 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
43669 maybe-configure-stage2-target-libstdc++-v3:
43670 @if target-libstdc++-v3-bootstrap
43671 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
43672 configure-stage2-target-libstdc++-v3:
43673 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43674 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
43675 @r=`${PWD_COMMAND}`; export r; \
43676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43677 TFLAGS="$(STAGE2_TFLAGS)"; \
43678 echo "Checking multilib configuration for libstdc++-v3..."; \
43679 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
43680 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43681 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43682 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
43683 else \
43684 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
43685 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43686 fi; \
43687 else \
43688 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43689 fi; \
43690 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
43691 $(RAW_CXX_TARGET_EXPORTS) \
43692 \
43693 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43694 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43695 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43696 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3; \
43697 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
43698 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
43699 case $(srcdir) in \
43700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43701 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
43702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43703 esac; \
43704 module_srcdir=libstdc++-v3; \
43705 $(SHELL) $$s/$$module_srcdir/configure \
43706 --srcdir=$${topdir}/$$module_srcdir \
43707 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43708 --target=${target_alias} \
43709 --with-build-libsubdir=$(HOST_SUBDIR) \
43710 $(STAGE2_CONFIGURE_FLAGS)
43711 @endif target-libstdc++-v3-bootstrap
43712
43713 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
43714 maybe-configure-stage3-target-libstdc++-v3:
43715 @if target-libstdc++-v3-bootstrap
43716 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
43717 configure-stage3-target-libstdc++-v3:
43718 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43719 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
43720 @r=`${PWD_COMMAND}`; export r; \
43721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43722 TFLAGS="$(STAGE3_TFLAGS)"; \
43723 echo "Checking multilib configuration for libstdc++-v3..."; \
43724 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
43725 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43726 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43727 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
43728 else \
43729 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
43730 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43731 fi; \
43732 else \
43733 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43734 fi; \
43735 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
43736 $(RAW_CXX_TARGET_EXPORTS) \
43737 \
43738 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43739 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43740 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43741 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3; \
43742 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
43743 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
43744 case $(srcdir) in \
43745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43746 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
43747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43748 esac; \
43749 module_srcdir=libstdc++-v3; \
43750 $(SHELL) $$s/$$module_srcdir/configure \
43751 --srcdir=$${topdir}/$$module_srcdir \
43752 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43753 --target=${target_alias} \
43754 --with-build-libsubdir=$(HOST_SUBDIR) \
43755 $(STAGE3_CONFIGURE_FLAGS)
43756 @endif target-libstdc++-v3-bootstrap
43757
43758 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
43759 maybe-configure-stage4-target-libstdc++-v3:
43760 @if target-libstdc++-v3-bootstrap
43761 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
43762 configure-stage4-target-libstdc++-v3:
43763 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43764 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
43765 @r=`${PWD_COMMAND}`; export r; \
43766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43767 TFLAGS="$(STAGE4_TFLAGS)"; \
43768 echo "Checking multilib configuration for libstdc++-v3..."; \
43769 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
43770 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43771 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43772 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
43773 else \
43774 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
43775 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43776 fi; \
43777 else \
43778 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43779 fi; \
43780 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
43781 $(RAW_CXX_TARGET_EXPORTS) \
43782 \
43783 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43784 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43785 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43786 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3; \
43787 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
43788 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
43789 case $(srcdir) in \
43790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43791 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
43792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43793 esac; \
43794 module_srcdir=libstdc++-v3; \
43795 $(SHELL) $$s/$$module_srcdir/configure \
43796 --srcdir=$${topdir}/$$module_srcdir \
43797 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43798 --target=${target_alias} \
43799 --with-build-libsubdir=$(HOST_SUBDIR) \
43800 $(STAGE4_CONFIGURE_FLAGS)
43801 @endif target-libstdc++-v3-bootstrap
43802
43803 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
43804 maybe-configure-stageprofile-target-libstdc++-v3:
43805 @if target-libstdc++-v3-bootstrap
43806 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
43807 configure-stageprofile-target-libstdc++-v3:
43808 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43809 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
43810 @r=`${PWD_COMMAND}`; export r; \
43811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43812 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43813 echo "Checking multilib configuration for libstdc++-v3..."; \
43814 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
43815 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43816 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43817 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
43818 else \
43819 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
43820 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43821 fi; \
43822 else \
43823 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43824 fi; \
43825 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
43826 $(RAW_CXX_TARGET_EXPORTS) \
43827 \
43828 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43829 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43830 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43831 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3; \
43832 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
43833 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
43834 case $(srcdir) in \
43835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43836 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
43837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43838 esac; \
43839 module_srcdir=libstdc++-v3; \
43840 $(SHELL) $$s/$$module_srcdir/configure \
43841 --srcdir=$${topdir}/$$module_srcdir \
43842 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43843 --target=${target_alias} \
43844 --with-build-libsubdir=$(HOST_SUBDIR) \
43845 $(STAGEprofile_CONFIGURE_FLAGS)
43846 @endif target-libstdc++-v3-bootstrap
43847
43848 .PHONY: configure-stagetrain-target-libstdc++-v3 maybe-configure-stagetrain-target-libstdc++-v3
43849 maybe-configure-stagetrain-target-libstdc++-v3:
43850 @if target-libstdc++-v3-bootstrap
43851 maybe-configure-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
43852 configure-stagetrain-target-libstdc++-v3:
43853 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
43854 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
43855 @r=`${PWD_COMMAND}`; export r; \
43856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43857 TFLAGS="$(STAGEtrain_TFLAGS)"; \
43858 echo "Checking multilib configuration for libstdc++-v3..."; \
43859 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
43860 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43861 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43862 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
43863 else \
43864 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
43865 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43866 fi; \
43867 else \
43868 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43869 fi; \
43870 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
43871 $(RAW_CXX_TARGET_EXPORTS) \
43872 \
43873 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43874 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43875 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43876 echo Configuring stage train in $(TARGET_SUBDIR)/libstdc++-v3; \
43877 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
43878 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
43879 case $(srcdir) in \
43880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43881 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
43882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43883 esac; \
43884 module_srcdir=libstdc++-v3; \
43885 $(SHELL) $$s/$$module_srcdir/configure \
43886 --srcdir=$${topdir}/$$module_srcdir \
43887 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43888 --target=${target_alias} \
43889 --with-build-libsubdir=$(HOST_SUBDIR) \
43890 $(STAGEtrain_CONFIGURE_FLAGS)
43891 @endif target-libstdc++-v3-bootstrap
43892
43893 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
43894 maybe-configure-stagefeedback-target-libstdc++-v3:
43895 @if target-libstdc++-v3-bootstrap
43896 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
43897 configure-stagefeedback-target-libstdc++-v3:
43898 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43899 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
43900 @r=`${PWD_COMMAND}`; export r; \
43901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43902 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43903 echo "Checking multilib configuration for libstdc++-v3..."; \
43904 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
43905 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43906 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43907 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
43908 else \
43909 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
43910 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43911 fi; \
43912 else \
43913 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43914 fi; \
43915 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
43916 $(RAW_CXX_TARGET_EXPORTS) \
43917 \
43918 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43919 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43920 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43921 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3; \
43922 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
43923 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
43924 case $(srcdir) in \
43925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43926 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
43927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43928 esac; \
43929 module_srcdir=libstdc++-v3; \
43930 $(SHELL) $$s/$$module_srcdir/configure \
43931 --srcdir=$${topdir}/$$module_srcdir \
43932 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43933 --target=${target_alias} \
43934 --with-build-libsubdir=$(HOST_SUBDIR) \
43935 $(STAGEfeedback_CONFIGURE_FLAGS)
43936 @endif target-libstdc++-v3-bootstrap
43937
43938 .PHONY: configure-stageautoprofile-target-libstdc++-v3 maybe-configure-stageautoprofile-target-libstdc++-v3
43939 maybe-configure-stageautoprofile-target-libstdc++-v3:
43940 @if target-libstdc++-v3-bootstrap
43941 maybe-configure-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
43942 configure-stageautoprofile-target-libstdc++-v3:
43943 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
43944 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
43945 @r=`${PWD_COMMAND}`; export r; \
43946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43947 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
43948 echo "Checking multilib configuration for libstdc++-v3..."; \
43949 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
43950 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43951 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43952 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
43953 else \
43954 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
43955 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43956 fi; \
43957 else \
43958 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
43959 fi; \
43960 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
43961 $(RAW_CXX_TARGET_EXPORTS) \
43962 \
43963 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43964 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43965 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43966 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libstdc++-v3; \
43967 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
43968 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
43969 case $(srcdir) in \
43970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43971 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
43972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43973 esac; \
43974 module_srcdir=libstdc++-v3; \
43975 $(SHELL) $$s/$$module_srcdir/configure \
43976 --srcdir=$${topdir}/$$module_srcdir \
43977 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43978 --target=${target_alias} \
43979 --with-build-libsubdir=$(HOST_SUBDIR) \
43980 $(STAGEautoprofile_CONFIGURE_FLAGS)
43981 @endif target-libstdc++-v3-bootstrap
43982
43983 .PHONY: configure-stageautofeedback-target-libstdc++-v3 maybe-configure-stageautofeedback-target-libstdc++-v3
43984 maybe-configure-stageautofeedback-target-libstdc++-v3:
43985 @if target-libstdc++-v3-bootstrap
43986 maybe-configure-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
43987 configure-stageautofeedback-target-libstdc++-v3:
43988 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
43989 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
43990 @r=`${PWD_COMMAND}`; export r; \
43991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43992 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
43993 echo "Checking multilib configuration for libstdc++-v3..."; \
43994 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null; \
43995 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43996 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
43997 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
43998 else \
43999 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
44000 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44001 fi; \
44002 else \
44003 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
44004 fi; \
44005 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
44006 $(RAW_CXX_TARGET_EXPORTS) \
44007 \
44008 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44009 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44010 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44011 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libstdc++-v3; \
44012 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3; \
44013 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
44014 case $(srcdir) in \
44015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44016 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
44017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44018 esac; \
44019 module_srcdir=libstdc++-v3; \
44020 $(SHELL) $$s/$$module_srcdir/configure \
44021 --srcdir=$${topdir}/$$module_srcdir \
44022 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44023 --target=${target_alias} \
44024 --with-build-libsubdir=$(HOST_SUBDIR) \
44025 $(STAGEautofeedback_CONFIGURE_FLAGS)
44026 @endif target-libstdc++-v3-bootstrap
44027
44028
44029
44030
44031
44032 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
44033 maybe-all-target-libstdc++-v3:
44034 @if gcc-bootstrap
44035 all-target-libstdc++-v3: stage_current
44036 @endif gcc-bootstrap
44037 @if target-libstdc++-v3
44038 TARGET-target-libstdc++-v3=all
44039 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
44040 all-target-libstdc++-v3: configure-target-libstdc++-v3
44041 @r=`${PWD_COMMAND}`; export r; \
44042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44043 $(RAW_CXX_TARGET_EXPORTS) \
44044 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44045 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44046 $(TARGET-target-libstdc++-v3))
44047 @endif target-libstdc++-v3
44048
44049
44050
44051 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
44052 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
44053 maybe-all-stage1-target-libstdc++-v3:
44054 maybe-clean-stage1-target-libstdc++-v3:
44055 @if target-libstdc++-v3-bootstrap
44056 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
44057 all-stage1: all-stage1-target-libstdc++-v3
44058 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44059 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
44060 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44061 @r=`${PWD_COMMAND}`; export r; \
44062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44063 TFLAGS="$(STAGE1_TFLAGS)"; \
44064 $(RAW_CXX_TARGET_EXPORTS) \
44065 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44066 \
44067 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44068 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44069 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44070 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44071 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44072 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44073 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44074 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44075 \
44076 TFLAGS="$(STAGE1_TFLAGS)" \
44077 $(TARGET-stage1-target-libstdc++-v3)
44078
44079 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
44080 clean-stage1: clean-stage1-target-libstdc++-v3
44081 clean-stage1-target-libstdc++-v3:
44082 @if [ $(current_stage) = stage1 ]; then \
44083 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44084 else \
44085 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
44086 $(MAKE) stage1-start; \
44087 fi; \
44088 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44089 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44090 clean
44091 @endif target-libstdc++-v3-bootstrap
44092
44093
44094 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
44095 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
44096 maybe-all-stage2-target-libstdc++-v3:
44097 maybe-clean-stage2-target-libstdc++-v3:
44098 @if target-libstdc++-v3-bootstrap
44099 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
44100 all-stage2: all-stage2-target-libstdc++-v3
44101 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44102 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
44103 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44104 @r=`${PWD_COMMAND}`; export r; \
44105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44106 TFLAGS="$(STAGE2_TFLAGS)"; \
44107 $(RAW_CXX_TARGET_EXPORTS) \
44108 \
44109 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44110 \
44111 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44112 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44113 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44114 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44115 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44116 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44117 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44118 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44119 TFLAGS="$(STAGE2_TFLAGS)" \
44120 $(TARGET-stage2-target-libstdc++-v3)
44121
44122 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
44123 clean-stage2: clean-stage2-target-libstdc++-v3
44124 clean-stage2-target-libstdc++-v3:
44125 @if [ $(current_stage) = stage2 ]; then \
44126 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44127 else \
44128 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
44129 $(MAKE) stage2-start; \
44130 fi; \
44131 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44132 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44133 @endif target-libstdc++-v3-bootstrap
44134
44135
44136 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
44137 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
44138 maybe-all-stage3-target-libstdc++-v3:
44139 maybe-clean-stage3-target-libstdc++-v3:
44140 @if target-libstdc++-v3-bootstrap
44141 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
44142 all-stage3: all-stage3-target-libstdc++-v3
44143 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44144 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
44145 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44146 @r=`${PWD_COMMAND}`; export r; \
44147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44148 TFLAGS="$(STAGE3_TFLAGS)"; \
44149 $(RAW_CXX_TARGET_EXPORTS) \
44150 \
44151 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44152 \
44153 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44154 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44155 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44156 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44157 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44158 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44159 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44160 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44161 TFLAGS="$(STAGE3_TFLAGS)" \
44162 $(TARGET-stage3-target-libstdc++-v3)
44163
44164 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
44165 clean-stage3: clean-stage3-target-libstdc++-v3
44166 clean-stage3-target-libstdc++-v3:
44167 @if [ $(current_stage) = stage3 ]; then \
44168 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44169 else \
44170 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
44171 $(MAKE) stage3-start; \
44172 fi; \
44173 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44174 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44175 @endif target-libstdc++-v3-bootstrap
44176
44177
44178 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
44179 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
44180 maybe-all-stage4-target-libstdc++-v3:
44181 maybe-clean-stage4-target-libstdc++-v3:
44182 @if target-libstdc++-v3-bootstrap
44183 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
44184 all-stage4: all-stage4-target-libstdc++-v3
44185 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44186 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
44187 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44188 @r=`${PWD_COMMAND}`; export r; \
44189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44190 TFLAGS="$(STAGE4_TFLAGS)"; \
44191 $(RAW_CXX_TARGET_EXPORTS) \
44192 \
44193 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44194 \
44195 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44196 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44197 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44198 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44199 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44200 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44201 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44202 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44203 TFLAGS="$(STAGE4_TFLAGS)" \
44204 $(TARGET-stage4-target-libstdc++-v3)
44205
44206 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
44207 clean-stage4: clean-stage4-target-libstdc++-v3
44208 clean-stage4-target-libstdc++-v3:
44209 @if [ $(current_stage) = stage4 ]; then \
44210 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44211 else \
44212 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
44213 $(MAKE) stage4-start; \
44214 fi; \
44215 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44216 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44217 @endif target-libstdc++-v3-bootstrap
44218
44219
44220 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
44221 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
44222 maybe-all-stageprofile-target-libstdc++-v3:
44223 maybe-clean-stageprofile-target-libstdc++-v3:
44224 @if target-libstdc++-v3-bootstrap
44225 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
44226 all-stageprofile: all-stageprofile-target-libstdc++-v3
44227 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44228 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
44229 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44230 @r=`${PWD_COMMAND}`; export r; \
44231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44232 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44233 $(RAW_CXX_TARGET_EXPORTS) \
44234 \
44235 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44236 \
44237 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44238 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44239 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44240 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44241 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44242 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44243 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44244 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44245 TFLAGS="$(STAGEprofile_TFLAGS)" \
44246 $(TARGET-stageprofile-target-libstdc++-v3)
44247
44248 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
44249 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
44250 clean-stageprofile-target-libstdc++-v3:
44251 @if [ $(current_stage) = stageprofile ]; then \
44252 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44253 else \
44254 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
44255 $(MAKE) stageprofile-start; \
44256 fi; \
44257 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44258 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44259 @endif target-libstdc++-v3-bootstrap
44260
44261
44262 .PHONY: all-stagetrain-target-libstdc++-v3 maybe-all-stagetrain-target-libstdc++-v3
44263 .PHONY: clean-stagetrain-target-libstdc++-v3 maybe-clean-stagetrain-target-libstdc++-v3
44264 maybe-all-stagetrain-target-libstdc++-v3:
44265 maybe-clean-stagetrain-target-libstdc++-v3:
44266 @if target-libstdc++-v3-bootstrap
44267 maybe-all-stagetrain-target-libstdc++-v3: all-stagetrain-target-libstdc++-v3
44268 all-stagetrain: all-stagetrain-target-libstdc++-v3
44269 TARGET-stagetrain-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44270 all-stagetrain-target-libstdc++-v3: configure-stagetrain-target-libstdc++-v3
44271 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
44272 @r=`${PWD_COMMAND}`; export r; \
44273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44274 TFLAGS="$(STAGEtrain_TFLAGS)"; \
44275 $(RAW_CXX_TARGET_EXPORTS) \
44276 \
44277 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44278 \
44279 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44280 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44281 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44282 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44283 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44284 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44285 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44286 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44287 TFLAGS="$(STAGEtrain_TFLAGS)" \
44288 $(TARGET-stagetrain-target-libstdc++-v3)
44289
44290 maybe-clean-stagetrain-target-libstdc++-v3: clean-stagetrain-target-libstdc++-v3
44291 clean-stagetrain: clean-stagetrain-target-libstdc++-v3
44292 clean-stagetrain-target-libstdc++-v3:
44293 @if [ $(current_stage) = stagetrain ]; then \
44294 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44295 else \
44296 [ -f $(TARGET_SUBDIR)/stagetrain-libstdc++-v3/Makefile ] || exit 0; \
44297 $(MAKE) stagetrain-start; \
44298 fi; \
44299 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44300 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44301 @endif target-libstdc++-v3-bootstrap
44302
44303
44304 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
44305 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
44306 maybe-all-stagefeedback-target-libstdc++-v3:
44307 maybe-clean-stagefeedback-target-libstdc++-v3:
44308 @if target-libstdc++-v3-bootstrap
44309 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
44310 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
44311 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44312 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
44313 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44314 @r=`${PWD_COMMAND}`; export r; \
44315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44316 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44317 $(RAW_CXX_TARGET_EXPORTS) \
44318 \
44319 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44320 \
44321 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44322 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44323 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44324 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44325 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44326 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44327 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44328 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44329 TFLAGS="$(STAGEfeedback_TFLAGS)" \
44330 $(TARGET-stagefeedback-target-libstdc++-v3)
44331
44332 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
44333 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
44334 clean-stagefeedback-target-libstdc++-v3:
44335 @if [ $(current_stage) = stagefeedback ]; then \
44336 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44337 else \
44338 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
44339 $(MAKE) stagefeedback-start; \
44340 fi; \
44341 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44342 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44343 @endif target-libstdc++-v3-bootstrap
44344
44345
44346 .PHONY: all-stageautoprofile-target-libstdc++-v3 maybe-all-stageautoprofile-target-libstdc++-v3
44347 .PHONY: clean-stageautoprofile-target-libstdc++-v3 maybe-clean-stageautoprofile-target-libstdc++-v3
44348 maybe-all-stageautoprofile-target-libstdc++-v3:
44349 maybe-clean-stageautoprofile-target-libstdc++-v3:
44350 @if target-libstdc++-v3-bootstrap
44351 maybe-all-stageautoprofile-target-libstdc++-v3: all-stageautoprofile-target-libstdc++-v3
44352 all-stageautoprofile: all-stageautoprofile-target-libstdc++-v3
44353 TARGET-stageautoprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44354 all-stageautoprofile-target-libstdc++-v3: configure-stageautoprofile-target-libstdc++-v3
44355 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
44356 @r=`${PWD_COMMAND}`; export r; \
44357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44358 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
44359 $(RAW_CXX_TARGET_EXPORTS) \
44360 \
44361 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44362 $$s/gcc/config/i386/$(AUTO_PROFILE) \
44363 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44364 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44365 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44366 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44367 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44368 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44369 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44370 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44371 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
44372 $(TARGET-stageautoprofile-target-libstdc++-v3)
44373
44374 maybe-clean-stageautoprofile-target-libstdc++-v3: clean-stageautoprofile-target-libstdc++-v3
44375 clean-stageautoprofile: clean-stageautoprofile-target-libstdc++-v3
44376 clean-stageautoprofile-target-libstdc++-v3:
44377 @if [ $(current_stage) = stageautoprofile ]; then \
44378 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44379 else \
44380 [ -f $(TARGET_SUBDIR)/stageautoprofile-libstdc++-v3/Makefile ] || exit 0; \
44381 $(MAKE) stageautoprofile-start; \
44382 fi; \
44383 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44384 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44385 @endif target-libstdc++-v3-bootstrap
44386
44387
44388 .PHONY: all-stageautofeedback-target-libstdc++-v3 maybe-all-stageautofeedback-target-libstdc++-v3
44389 .PHONY: clean-stageautofeedback-target-libstdc++-v3 maybe-clean-stageautofeedback-target-libstdc++-v3
44390 maybe-all-stageautofeedback-target-libstdc++-v3:
44391 maybe-clean-stageautofeedback-target-libstdc++-v3:
44392 @if target-libstdc++-v3-bootstrap
44393 maybe-all-stageautofeedback-target-libstdc++-v3: all-stageautofeedback-target-libstdc++-v3
44394 all-stageautofeedback: all-stageautofeedback-target-libstdc++-v3
44395 TARGET-stageautofeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
44396 all-stageautofeedback-target-libstdc++-v3: configure-stageautofeedback-target-libstdc++-v3
44397 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
44398 @r=`${PWD_COMMAND}`; export r; \
44399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44400 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
44401 $(RAW_CXX_TARGET_EXPORTS) \
44402 \
44403 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44404 \
44405 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44406 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44407 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44408 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44409 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44410 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44411 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44412 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
44413 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
44414 $(TARGET-stageautofeedback-target-libstdc++-v3)
44415
44416 maybe-clean-stageautofeedback-target-libstdc++-v3: clean-stageautofeedback-target-libstdc++-v3
44417 clean-stageautofeedback: clean-stageautofeedback-target-libstdc++-v3
44418 clean-stageautofeedback-target-libstdc++-v3:
44419 @if [ $(current_stage) = stageautofeedback ]; then \
44420 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44421 else \
44422 [ -f $(TARGET_SUBDIR)/stageautofeedback-libstdc++-v3/Makefile ] || exit 0; \
44423 $(MAKE) stageautofeedback-start; \
44424 fi; \
44425 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44426 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
44427 @endif target-libstdc++-v3-bootstrap
44428
44429
44430
44431
44432
44433
44434 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
44435 maybe-check-target-libstdc++-v3:
44436 @if target-libstdc++-v3
44437 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
44438
44439 check-target-libstdc++-v3:
44440 @: $(MAKE); $(unstage)
44441 @r=`${PWD_COMMAND}`; export r; \
44442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44443 $(RAW_CXX_TARGET_EXPORTS) \
44444 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44445 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
44446
44447 @endif target-libstdc++-v3
44448
44449 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
44450 maybe-install-target-libstdc++-v3:
44451 @if target-libstdc++-v3
44452 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
44453
44454 install-target-libstdc++-v3: installdirs
44455 @: $(MAKE); $(unstage)
44456 @r=`${PWD_COMMAND}`; export r; \
44457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44458 $(RAW_CXX_TARGET_EXPORTS) \
44459 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44460 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44461
44462 @endif target-libstdc++-v3
44463
44464 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
44465 maybe-install-strip-target-libstdc++-v3:
44466 @if target-libstdc++-v3
44467 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
44468
44469 install-strip-target-libstdc++-v3: installdirs
44470 @: $(MAKE); $(unstage)
44471 @r=`${PWD_COMMAND}`; export r; \
44472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44473 $(RAW_CXX_TARGET_EXPORTS) \
44474 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44475 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44476
44477 @endif target-libstdc++-v3
44478
44479 # Other targets (info, dvi, pdf, etc.)
44480
44481 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
44482 maybe-info-target-libstdc++-v3:
44483 @if target-libstdc++-v3
44484 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
44485
44486 info-target-libstdc++-v3: \
44487 configure-target-libstdc++-v3
44488 @: $(MAKE); $(unstage)
44489 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44490 r=`${PWD_COMMAND}`; export r; \
44491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44492 $(RAW_CXX_TARGET_EXPORTS) \
44493 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3"; \
44494 for flag in $(EXTRA_TARGET_FLAGS); do \
44495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44496 done; \
44497 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44500 "RANLIB=$${RANLIB}" \
44501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44502 info) \
44503 || exit 1
44504
44505 @endif target-libstdc++-v3
44506
44507 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
44508 maybe-dvi-target-libstdc++-v3:
44509 @if target-libstdc++-v3
44510 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
44511
44512 dvi-target-libstdc++-v3: \
44513 configure-target-libstdc++-v3
44514 @: $(MAKE); $(unstage)
44515 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44516 r=`${PWD_COMMAND}`; export r; \
44517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44518 $(RAW_CXX_TARGET_EXPORTS) \
44519 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
44520 for flag in $(EXTRA_TARGET_FLAGS); do \
44521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44522 done; \
44523 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44526 "RANLIB=$${RANLIB}" \
44527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44528 dvi) \
44529 || exit 1
44530
44531 @endif target-libstdc++-v3
44532
44533 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
44534 maybe-pdf-target-libstdc++-v3:
44535 @if target-libstdc++-v3
44536 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
44537
44538 pdf-target-libstdc++-v3: \
44539 configure-target-libstdc++-v3
44540 @: $(MAKE); $(unstage)
44541 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44542 r=`${PWD_COMMAND}`; export r; \
44543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44544 $(RAW_CXX_TARGET_EXPORTS) \
44545 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
44546 for flag in $(EXTRA_TARGET_FLAGS); do \
44547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44548 done; \
44549 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44552 "RANLIB=$${RANLIB}" \
44553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44554 pdf) \
44555 || exit 1
44556
44557 @endif target-libstdc++-v3
44558
44559 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
44560 maybe-html-target-libstdc++-v3:
44561 @if target-libstdc++-v3
44562 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
44563
44564 html-target-libstdc++-v3: \
44565 configure-target-libstdc++-v3
44566 @: $(MAKE); $(unstage)
44567 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44568 r=`${PWD_COMMAND}`; export r; \
44569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44570 $(RAW_CXX_TARGET_EXPORTS) \
44571 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3"; \
44572 for flag in $(EXTRA_TARGET_FLAGS); do \
44573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44574 done; \
44575 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44578 "RANLIB=$${RANLIB}" \
44579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44580 html) \
44581 || exit 1
44582
44583 @endif target-libstdc++-v3
44584
44585 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
44586 maybe-TAGS-target-libstdc++-v3:
44587 @if target-libstdc++-v3
44588 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
44589
44590 TAGS-target-libstdc++-v3: \
44591 configure-target-libstdc++-v3
44592 @: $(MAKE); $(unstage)
44593 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44594 r=`${PWD_COMMAND}`; export r; \
44595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44596 $(RAW_CXX_TARGET_EXPORTS) \
44597 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3"; \
44598 for flag in $(EXTRA_TARGET_FLAGS); do \
44599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44600 done; \
44601 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44604 "RANLIB=$${RANLIB}" \
44605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44606 TAGS) \
44607 || exit 1
44608
44609 @endif target-libstdc++-v3
44610
44611 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
44612 maybe-install-info-target-libstdc++-v3:
44613 @if target-libstdc++-v3
44614 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
44615
44616 install-info-target-libstdc++-v3: \
44617 configure-target-libstdc++-v3 \
44618 info-target-libstdc++-v3
44619 @: $(MAKE); $(unstage)
44620 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44621 r=`${PWD_COMMAND}`; export r; \
44622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44623 $(RAW_CXX_TARGET_EXPORTS) \
44624 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3"; \
44625 for flag in $(EXTRA_TARGET_FLAGS); do \
44626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44627 done; \
44628 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44631 "RANLIB=$${RANLIB}" \
44632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44633 install-info) \
44634 || exit 1
44635
44636 @endif target-libstdc++-v3
44637
44638 .PHONY: maybe-install-dvi-target-libstdc++-v3 install-dvi-target-libstdc++-v3
44639 maybe-install-dvi-target-libstdc++-v3:
44640 @if target-libstdc++-v3
44641 maybe-install-dvi-target-libstdc++-v3: install-dvi-target-libstdc++-v3
44642
44643 install-dvi-target-libstdc++-v3: \
44644 configure-target-libstdc++-v3 \
44645 dvi-target-libstdc++-v3
44646 @: $(MAKE); $(unstage)
44647 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44648 r=`${PWD_COMMAND}`; export r; \
44649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44650 $(RAW_CXX_TARGET_EXPORTS) \
44651 echo "Doing install-dvi in $(TARGET_SUBDIR)/libstdc++-v3"; \
44652 for flag in $(EXTRA_TARGET_FLAGS); do \
44653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44654 done; \
44655 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44658 "RANLIB=$${RANLIB}" \
44659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44660 install-dvi) \
44661 || exit 1
44662
44663 @endif target-libstdc++-v3
44664
44665 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
44666 maybe-install-pdf-target-libstdc++-v3:
44667 @if target-libstdc++-v3
44668 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
44669
44670 install-pdf-target-libstdc++-v3: \
44671 configure-target-libstdc++-v3 \
44672 pdf-target-libstdc++-v3
44673 @: $(MAKE); $(unstage)
44674 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44675 r=`${PWD_COMMAND}`; export r; \
44676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44677 $(RAW_CXX_TARGET_EXPORTS) \
44678 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3"; \
44679 for flag in $(EXTRA_TARGET_FLAGS); do \
44680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44681 done; \
44682 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44685 "RANLIB=$${RANLIB}" \
44686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44687 install-pdf) \
44688 || exit 1
44689
44690 @endif target-libstdc++-v3
44691
44692 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
44693 maybe-install-html-target-libstdc++-v3:
44694 @if target-libstdc++-v3
44695 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
44696
44697 install-html-target-libstdc++-v3: \
44698 configure-target-libstdc++-v3 \
44699 html-target-libstdc++-v3
44700 @: $(MAKE); $(unstage)
44701 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44702 r=`${PWD_COMMAND}`; export r; \
44703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44704 $(RAW_CXX_TARGET_EXPORTS) \
44705 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3"; \
44706 for flag in $(EXTRA_TARGET_FLAGS); do \
44707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44708 done; \
44709 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44712 "RANLIB=$${RANLIB}" \
44713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44714 install-html) \
44715 || exit 1
44716
44717 @endif target-libstdc++-v3
44718
44719 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
44720 maybe-installcheck-target-libstdc++-v3:
44721 @if target-libstdc++-v3
44722 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
44723
44724 installcheck-target-libstdc++-v3: \
44725 configure-target-libstdc++-v3
44726 @: $(MAKE); $(unstage)
44727 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44728 r=`${PWD_COMMAND}`; export r; \
44729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44730 $(RAW_CXX_TARGET_EXPORTS) \
44731 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3"; \
44732 for flag in $(EXTRA_TARGET_FLAGS); do \
44733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44734 done; \
44735 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44738 "RANLIB=$${RANLIB}" \
44739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44740 installcheck) \
44741 || exit 1
44742
44743 @endif target-libstdc++-v3
44744
44745 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
44746 maybe-mostlyclean-target-libstdc++-v3:
44747 @if target-libstdc++-v3
44748 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
44749
44750 mostlyclean-target-libstdc++-v3:
44751 @: $(MAKE); $(unstage)
44752 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44753 r=`${PWD_COMMAND}`; export r; \
44754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44755 $(RAW_CXX_TARGET_EXPORTS) \
44756 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
44757 for flag in $(EXTRA_TARGET_FLAGS); do \
44758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44759 done; \
44760 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44763 "RANLIB=$${RANLIB}" \
44764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44765 mostlyclean) \
44766 || exit 1
44767
44768 @endif target-libstdc++-v3
44769
44770 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
44771 maybe-clean-target-libstdc++-v3:
44772 @if target-libstdc++-v3
44773 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
44774
44775 clean-target-libstdc++-v3:
44776 @: $(MAKE); $(unstage)
44777 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44778 r=`${PWD_COMMAND}`; export r; \
44779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44780 $(RAW_CXX_TARGET_EXPORTS) \
44781 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
44782 for flag in $(EXTRA_TARGET_FLAGS); do \
44783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44784 done; \
44785 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44788 "RANLIB=$${RANLIB}" \
44789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44790 clean) \
44791 || exit 1
44792
44793 @endif target-libstdc++-v3
44794
44795 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
44796 maybe-distclean-target-libstdc++-v3:
44797 @if target-libstdc++-v3
44798 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
44799
44800 distclean-target-libstdc++-v3:
44801 @: $(MAKE); $(unstage)
44802 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44803 r=`${PWD_COMMAND}`; export r; \
44804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44805 $(RAW_CXX_TARGET_EXPORTS) \
44806 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3"; \
44807 for flag in $(EXTRA_TARGET_FLAGS); do \
44808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44809 done; \
44810 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44813 "RANLIB=$${RANLIB}" \
44814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44815 distclean) \
44816 || exit 1
44817
44818 @endif target-libstdc++-v3
44819
44820 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
44821 maybe-maintainer-clean-target-libstdc++-v3:
44822 @if target-libstdc++-v3
44823 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
44824
44825 maintainer-clean-target-libstdc++-v3:
44826 @: $(MAKE); $(unstage)
44827 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
44828 r=`${PWD_COMMAND}`; export r; \
44829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44830 $(RAW_CXX_TARGET_EXPORTS) \
44831 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3"; \
44832 for flag in $(EXTRA_TARGET_FLAGS); do \
44833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44834 done; \
44835 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
44836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44838 "RANLIB=$${RANLIB}" \
44839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44840 maintainer-clean) \
44841 || exit 1
44842
44843 @endif target-libstdc++-v3
44844
44845
44846
44847
44848
44849 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
44850 maybe-configure-target-libsanitizer:
44851 @if gcc-bootstrap
44852 configure-target-libsanitizer: stage_current
44853 @endif gcc-bootstrap
44854 @if target-libsanitizer
44855 maybe-configure-target-libsanitizer: configure-target-libsanitizer
44856 configure-target-libsanitizer:
44857 @r=`${PWD_COMMAND}`; export r; \
44858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44859 echo "Checking multilib configuration for libsanitizer..."; \
44860 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
44861 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
44862 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
44863 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
44864 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
44865 else \
44866 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
44867 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
44868 fi; \
44869 else \
44870 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
44871 fi; \
44872 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
44873 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
44874 $(RAW_CXX_TARGET_EXPORTS) \
44875 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
44876 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
44877 case $(srcdir) in \
44878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44879 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
44880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44881 esac; \
44882 module_srcdir=libsanitizer; \
44883 rm -f no-such-file || : ; \
44884 CONFIG_SITE=no-such-file $(SHELL) \
44885 $$s/$$module_srcdir/configure \
44886 --srcdir=$${topdir}/$$module_srcdir \
44887 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44888 --target=${target_alias} \
44889 || exit 1
44890 @endif target-libsanitizer
44891
44892
44893
44894 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
44895 maybe-configure-stage1-target-libsanitizer:
44896 @if target-libsanitizer-bootstrap
44897 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
44898 configure-stage1-target-libsanitizer:
44899 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44900 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
44901 @r=`${PWD_COMMAND}`; export r; \
44902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44903 TFLAGS="$(STAGE1_TFLAGS)"; \
44904 echo "Checking multilib configuration for libsanitizer..."; \
44905 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
44906 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
44907 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
44908 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
44909 else \
44910 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
44911 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
44912 fi; \
44913 else \
44914 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
44915 fi; \
44916 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
44917 $(RAW_CXX_TARGET_EXPORTS) \
44918 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44919 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44920 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44921 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer; \
44922 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
44923 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
44924 case $(srcdir) in \
44925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44926 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
44927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44928 esac; \
44929 module_srcdir=libsanitizer; \
44930 $(SHELL) $$s/$$module_srcdir/configure \
44931 --srcdir=$${topdir}/$$module_srcdir \
44932 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44933 --target=${target_alias} \
44934 \
44935 $(STAGE1_CONFIGURE_FLAGS)
44936 @endif target-libsanitizer-bootstrap
44937
44938 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
44939 maybe-configure-stage2-target-libsanitizer:
44940 @if target-libsanitizer-bootstrap
44941 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
44942 configure-stage2-target-libsanitizer:
44943 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44944 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
44945 @r=`${PWD_COMMAND}`; export r; \
44946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44947 TFLAGS="$(STAGE2_TFLAGS)"; \
44948 echo "Checking multilib configuration for libsanitizer..."; \
44949 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
44950 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
44951 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
44952 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
44953 else \
44954 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
44955 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
44956 fi; \
44957 else \
44958 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
44959 fi; \
44960 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
44961 $(RAW_CXX_TARGET_EXPORTS) \
44962 \
44963 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44964 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44965 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44966 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer; \
44967 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
44968 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
44969 case $(srcdir) in \
44970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44971 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
44972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44973 esac; \
44974 module_srcdir=libsanitizer; \
44975 $(SHELL) $$s/$$module_srcdir/configure \
44976 --srcdir=$${topdir}/$$module_srcdir \
44977 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44978 --target=${target_alias} \
44979 --with-build-libsubdir=$(HOST_SUBDIR) \
44980 $(STAGE2_CONFIGURE_FLAGS)
44981 @endif target-libsanitizer-bootstrap
44982
44983 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
44984 maybe-configure-stage3-target-libsanitizer:
44985 @if target-libsanitizer-bootstrap
44986 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
44987 configure-stage3-target-libsanitizer:
44988 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44989 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
44990 @r=`${PWD_COMMAND}`; export r; \
44991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44992 TFLAGS="$(STAGE3_TFLAGS)"; \
44993 echo "Checking multilib configuration for libsanitizer..."; \
44994 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
44995 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
44996 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
44997 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
44998 else \
44999 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45000 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45001 fi; \
45002 else \
45003 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45004 fi; \
45005 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45006 $(RAW_CXX_TARGET_EXPORTS) \
45007 \
45008 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45009 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45010 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45011 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer; \
45012 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45013 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45014 case $(srcdir) in \
45015 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45016 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45017 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45018 esac; \
45019 module_srcdir=libsanitizer; \
45020 $(SHELL) $$s/$$module_srcdir/configure \
45021 --srcdir=$${topdir}/$$module_srcdir \
45022 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45023 --target=${target_alias} \
45024 --with-build-libsubdir=$(HOST_SUBDIR) \
45025 $(STAGE3_CONFIGURE_FLAGS)
45026 @endif target-libsanitizer-bootstrap
45027
45028 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
45029 maybe-configure-stage4-target-libsanitizer:
45030 @if target-libsanitizer-bootstrap
45031 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
45032 configure-stage4-target-libsanitizer:
45033 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45034 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45035 @r=`${PWD_COMMAND}`; export r; \
45036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45037 TFLAGS="$(STAGE4_TFLAGS)"; \
45038 echo "Checking multilib configuration for libsanitizer..."; \
45039 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45040 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45041 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45042 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45043 else \
45044 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45045 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45046 fi; \
45047 else \
45048 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45049 fi; \
45050 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45051 $(RAW_CXX_TARGET_EXPORTS) \
45052 \
45053 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45054 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45055 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45056 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer; \
45057 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45058 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45059 case $(srcdir) in \
45060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45061 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45063 esac; \
45064 module_srcdir=libsanitizer; \
45065 $(SHELL) $$s/$$module_srcdir/configure \
45066 --srcdir=$${topdir}/$$module_srcdir \
45067 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45068 --target=${target_alias} \
45069 --with-build-libsubdir=$(HOST_SUBDIR) \
45070 $(STAGE4_CONFIGURE_FLAGS)
45071 @endif target-libsanitizer-bootstrap
45072
45073 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
45074 maybe-configure-stageprofile-target-libsanitizer:
45075 @if target-libsanitizer-bootstrap
45076 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
45077 configure-stageprofile-target-libsanitizer:
45078 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45079 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45080 @r=`${PWD_COMMAND}`; export r; \
45081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45082 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45083 echo "Checking multilib configuration for libsanitizer..."; \
45084 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45085 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45086 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45087 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45088 else \
45089 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45090 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45091 fi; \
45092 else \
45093 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45094 fi; \
45095 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45096 $(RAW_CXX_TARGET_EXPORTS) \
45097 \
45098 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45099 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45100 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45101 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer; \
45102 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45103 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45104 case $(srcdir) in \
45105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45106 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45108 esac; \
45109 module_srcdir=libsanitizer; \
45110 $(SHELL) $$s/$$module_srcdir/configure \
45111 --srcdir=$${topdir}/$$module_srcdir \
45112 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45113 --target=${target_alias} \
45114 --with-build-libsubdir=$(HOST_SUBDIR) \
45115 $(STAGEprofile_CONFIGURE_FLAGS)
45116 @endif target-libsanitizer-bootstrap
45117
45118 .PHONY: configure-stagetrain-target-libsanitizer maybe-configure-stagetrain-target-libsanitizer
45119 maybe-configure-stagetrain-target-libsanitizer:
45120 @if target-libsanitizer-bootstrap
45121 maybe-configure-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
45122 configure-stagetrain-target-libsanitizer:
45123 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
45124 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45125 @r=`${PWD_COMMAND}`; export r; \
45126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45127 TFLAGS="$(STAGEtrain_TFLAGS)"; \
45128 echo "Checking multilib configuration for libsanitizer..."; \
45129 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45130 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45131 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45132 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45133 else \
45134 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45135 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45136 fi; \
45137 else \
45138 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45139 fi; \
45140 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45141 $(RAW_CXX_TARGET_EXPORTS) \
45142 \
45143 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45144 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45145 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45146 echo Configuring stage train in $(TARGET_SUBDIR)/libsanitizer; \
45147 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45148 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45149 case $(srcdir) in \
45150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45151 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45153 esac; \
45154 module_srcdir=libsanitizer; \
45155 $(SHELL) $$s/$$module_srcdir/configure \
45156 --srcdir=$${topdir}/$$module_srcdir \
45157 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45158 --target=${target_alias} \
45159 --with-build-libsubdir=$(HOST_SUBDIR) \
45160 $(STAGEtrain_CONFIGURE_FLAGS)
45161 @endif target-libsanitizer-bootstrap
45162
45163 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
45164 maybe-configure-stagefeedback-target-libsanitizer:
45165 @if target-libsanitizer-bootstrap
45166 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
45167 configure-stagefeedback-target-libsanitizer:
45168 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45169 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45170 @r=`${PWD_COMMAND}`; export r; \
45171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45172 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45173 echo "Checking multilib configuration for libsanitizer..."; \
45174 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45175 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45176 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45177 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45178 else \
45179 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45180 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45181 fi; \
45182 else \
45183 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45184 fi; \
45185 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45186 $(RAW_CXX_TARGET_EXPORTS) \
45187 \
45188 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45189 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45190 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45191 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer; \
45192 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45193 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45194 case $(srcdir) in \
45195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45196 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45198 esac; \
45199 module_srcdir=libsanitizer; \
45200 $(SHELL) $$s/$$module_srcdir/configure \
45201 --srcdir=$${topdir}/$$module_srcdir \
45202 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45203 --target=${target_alias} \
45204 --with-build-libsubdir=$(HOST_SUBDIR) \
45205 $(STAGEfeedback_CONFIGURE_FLAGS)
45206 @endif target-libsanitizer-bootstrap
45207
45208 .PHONY: configure-stageautoprofile-target-libsanitizer maybe-configure-stageautoprofile-target-libsanitizer
45209 maybe-configure-stageautoprofile-target-libsanitizer:
45210 @if target-libsanitizer-bootstrap
45211 maybe-configure-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
45212 configure-stageautoprofile-target-libsanitizer:
45213 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
45214 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45215 @r=`${PWD_COMMAND}`; export r; \
45216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45217 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
45218 echo "Checking multilib configuration for libsanitizer..."; \
45219 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45220 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45221 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45222 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45223 else \
45224 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45225 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45226 fi; \
45227 else \
45228 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45229 fi; \
45230 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45231 $(RAW_CXX_TARGET_EXPORTS) \
45232 \
45233 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45234 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45235 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45236 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libsanitizer; \
45237 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45238 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45239 case $(srcdir) in \
45240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45241 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45243 esac; \
45244 module_srcdir=libsanitizer; \
45245 $(SHELL) $$s/$$module_srcdir/configure \
45246 --srcdir=$${topdir}/$$module_srcdir \
45247 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45248 --target=${target_alias} \
45249 --with-build-libsubdir=$(HOST_SUBDIR) \
45250 $(STAGEautoprofile_CONFIGURE_FLAGS)
45251 @endif target-libsanitizer-bootstrap
45252
45253 .PHONY: configure-stageautofeedback-target-libsanitizer maybe-configure-stageautofeedback-target-libsanitizer
45254 maybe-configure-stageautofeedback-target-libsanitizer:
45255 @if target-libsanitizer-bootstrap
45256 maybe-configure-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
45257 configure-stageautofeedback-target-libsanitizer:
45258 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
45259 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
45260 @r=`${PWD_COMMAND}`; export r; \
45261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45262 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
45263 echo "Checking multilib configuration for libsanitizer..."; \
45264 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null; \
45265 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45266 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
45267 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
45268 else \
45269 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
45270 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45271 fi; \
45272 else \
45273 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
45274 fi; \
45275 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
45276 $(RAW_CXX_TARGET_EXPORTS) \
45277 \
45278 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
45279 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
45280 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
45281 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libsanitizer; \
45282 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer; \
45283 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
45284 case $(srcdir) in \
45285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45286 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
45287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45288 esac; \
45289 module_srcdir=libsanitizer; \
45290 $(SHELL) $$s/$$module_srcdir/configure \
45291 --srcdir=$${topdir}/$$module_srcdir \
45292 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45293 --target=${target_alias} \
45294 --with-build-libsubdir=$(HOST_SUBDIR) \
45295 $(STAGEautofeedback_CONFIGURE_FLAGS)
45296 @endif target-libsanitizer-bootstrap
45297
45298
45299
45300
45301
45302 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
45303 maybe-all-target-libsanitizer:
45304 @if gcc-bootstrap
45305 all-target-libsanitizer: stage_current
45306 @endif gcc-bootstrap
45307 @if target-libsanitizer
45308 TARGET-target-libsanitizer=all
45309 maybe-all-target-libsanitizer: all-target-libsanitizer
45310 all-target-libsanitizer: configure-target-libsanitizer
45311 @r=`${PWD_COMMAND}`; export r; \
45312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45313 $(RAW_CXX_TARGET_EXPORTS) \
45314 (cd $(TARGET_SUBDIR)/libsanitizer && \
45315 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45316 $(TARGET-target-libsanitizer))
45317 @endif target-libsanitizer
45318
45319
45320
45321 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
45322 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
45323 maybe-all-stage1-target-libsanitizer:
45324 maybe-clean-stage1-target-libsanitizer:
45325 @if target-libsanitizer-bootstrap
45326 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
45327 all-stage1: all-stage1-target-libsanitizer
45328 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
45329 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
45330 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
45331 @r=`${PWD_COMMAND}`; export r; \
45332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45333 TFLAGS="$(STAGE1_TFLAGS)"; \
45334 $(RAW_CXX_TARGET_EXPORTS) \
45335 cd $(TARGET_SUBDIR)/libsanitizer && \
45336 \
45337 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45338 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45339 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45340 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45341 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45342 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45343 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45344 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45345 \
45346 TFLAGS="$(STAGE1_TFLAGS)" \
45347 $(TARGET-stage1-target-libsanitizer)
45348
45349 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
45350 clean-stage1: clean-stage1-target-libsanitizer
45351 clean-stage1-target-libsanitizer:
45352 @if [ $(current_stage) = stage1 ]; then \
45353 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45354 else \
45355 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
45356 $(MAKE) stage1-start; \
45357 fi; \
45358 cd $(TARGET_SUBDIR)/libsanitizer && \
45359 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45360 clean
45361 @endif target-libsanitizer-bootstrap
45362
45363
45364 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
45365 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
45366 maybe-all-stage2-target-libsanitizer:
45367 maybe-clean-stage2-target-libsanitizer:
45368 @if target-libsanitizer-bootstrap
45369 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
45370 all-stage2: all-stage2-target-libsanitizer
45371 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
45372 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
45373 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
45374 @r=`${PWD_COMMAND}`; export r; \
45375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45376 TFLAGS="$(STAGE2_TFLAGS)"; \
45377 $(RAW_CXX_TARGET_EXPORTS) \
45378 \
45379 cd $(TARGET_SUBDIR)/libsanitizer && \
45380 \
45381 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45382 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45383 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45384 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45385 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45386 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45387 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45388 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45389 TFLAGS="$(STAGE2_TFLAGS)" \
45390 $(TARGET-stage2-target-libsanitizer)
45391
45392 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
45393 clean-stage2: clean-stage2-target-libsanitizer
45394 clean-stage2-target-libsanitizer:
45395 @if [ $(current_stage) = stage2 ]; then \
45396 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45397 else \
45398 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
45399 $(MAKE) stage2-start; \
45400 fi; \
45401 cd $(TARGET_SUBDIR)/libsanitizer && \
45402 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45403 @endif target-libsanitizer-bootstrap
45404
45405
45406 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
45407 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
45408 maybe-all-stage3-target-libsanitizer:
45409 maybe-clean-stage3-target-libsanitizer:
45410 @if target-libsanitizer-bootstrap
45411 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
45412 all-stage3: all-stage3-target-libsanitizer
45413 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
45414 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
45415 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
45416 @r=`${PWD_COMMAND}`; export r; \
45417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45418 TFLAGS="$(STAGE3_TFLAGS)"; \
45419 $(RAW_CXX_TARGET_EXPORTS) \
45420 \
45421 cd $(TARGET_SUBDIR)/libsanitizer && \
45422 \
45423 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45424 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45425 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45426 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45427 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45428 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45429 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45430 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45431 TFLAGS="$(STAGE3_TFLAGS)" \
45432 $(TARGET-stage3-target-libsanitizer)
45433
45434 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
45435 clean-stage3: clean-stage3-target-libsanitizer
45436 clean-stage3-target-libsanitizer:
45437 @if [ $(current_stage) = stage3 ]; then \
45438 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45439 else \
45440 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
45441 $(MAKE) stage3-start; \
45442 fi; \
45443 cd $(TARGET_SUBDIR)/libsanitizer && \
45444 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45445 @endif target-libsanitizer-bootstrap
45446
45447
45448 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
45449 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
45450 maybe-all-stage4-target-libsanitizer:
45451 maybe-clean-stage4-target-libsanitizer:
45452 @if target-libsanitizer-bootstrap
45453 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
45454 all-stage4: all-stage4-target-libsanitizer
45455 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
45456 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
45457 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
45458 @r=`${PWD_COMMAND}`; export r; \
45459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45460 TFLAGS="$(STAGE4_TFLAGS)"; \
45461 $(RAW_CXX_TARGET_EXPORTS) \
45462 \
45463 cd $(TARGET_SUBDIR)/libsanitizer && \
45464 \
45465 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45466 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45467 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45468 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45469 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45470 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45471 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45472 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45473 TFLAGS="$(STAGE4_TFLAGS)" \
45474 $(TARGET-stage4-target-libsanitizer)
45475
45476 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
45477 clean-stage4: clean-stage4-target-libsanitizer
45478 clean-stage4-target-libsanitizer:
45479 @if [ $(current_stage) = stage4 ]; then \
45480 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45481 else \
45482 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
45483 $(MAKE) stage4-start; \
45484 fi; \
45485 cd $(TARGET_SUBDIR)/libsanitizer && \
45486 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45487 @endif target-libsanitizer-bootstrap
45488
45489
45490 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
45491 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
45492 maybe-all-stageprofile-target-libsanitizer:
45493 maybe-clean-stageprofile-target-libsanitizer:
45494 @if target-libsanitizer-bootstrap
45495 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
45496 all-stageprofile: all-stageprofile-target-libsanitizer
45497 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
45498 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
45499 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
45500 @r=`${PWD_COMMAND}`; export r; \
45501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45502 TFLAGS="$(STAGEprofile_TFLAGS)"; \
45503 $(RAW_CXX_TARGET_EXPORTS) \
45504 \
45505 cd $(TARGET_SUBDIR)/libsanitizer && \
45506 \
45507 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45508 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45509 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45510 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45511 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45512 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45513 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45514 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45515 TFLAGS="$(STAGEprofile_TFLAGS)" \
45516 $(TARGET-stageprofile-target-libsanitizer)
45517
45518 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
45519 clean-stageprofile: clean-stageprofile-target-libsanitizer
45520 clean-stageprofile-target-libsanitizer:
45521 @if [ $(current_stage) = stageprofile ]; then \
45522 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45523 else \
45524 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
45525 $(MAKE) stageprofile-start; \
45526 fi; \
45527 cd $(TARGET_SUBDIR)/libsanitizer && \
45528 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45529 @endif target-libsanitizer-bootstrap
45530
45531
45532 .PHONY: all-stagetrain-target-libsanitizer maybe-all-stagetrain-target-libsanitizer
45533 .PHONY: clean-stagetrain-target-libsanitizer maybe-clean-stagetrain-target-libsanitizer
45534 maybe-all-stagetrain-target-libsanitizer:
45535 maybe-clean-stagetrain-target-libsanitizer:
45536 @if target-libsanitizer-bootstrap
45537 maybe-all-stagetrain-target-libsanitizer: all-stagetrain-target-libsanitizer
45538 all-stagetrain: all-stagetrain-target-libsanitizer
45539 TARGET-stagetrain-target-libsanitizer = $(TARGET-target-libsanitizer)
45540 all-stagetrain-target-libsanitizer: configure-stagetrain-target-libsanitizer
45541 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
45542 @r=`${PWD_COMMAND}`; export r; \
45543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45544 TFLAGS="$(STAGEtrain_TFLAGS)"; \
45545 $(RAW_CXX_TARGET_EXPORTS) \
45546 \
45547 cd $(TARGET_SUBDIR)/libsanitizer && \
45548 \
45549 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45550 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45551 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45552 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45553 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45554 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45555 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45556 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45557 TFLAGS="$(STAGEtrain_TFLAGS)" \
45558 $(TARGET-stagetrain-target-libsanitizer)
45559
45560 maybe-clean-stagetrain-target-libsanitizer: clean-stagetrain-target-libsanitizer
45561 clean-stagetrain: clean-stagetrain-target-libsanitizer
45562 clean-stagetrain-target-libsanitizer:
45563 @if [ $(current_stage) = stagetrain ]; then \
45564 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45565 else \
45566 [ -f $(TARGET_SUBDIR)/stagetrain-libsanitizer/Makefile ] || exit 0; \
45567 $(MAKE) stagetrain-start; \
45568 fi; \
45569 cd $(TARGET_SUBDIR)/libsanitizer && \
45570 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45571 @endif target-libsanitizer-bootstrap
45572
45573
45574 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
45575 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
45576 maybe-all-stagefeedback-target-libsanitizer:
45577 maybe-clean-stagefeedback-target-libsanitizer:
45578 @if target-libsanitizer-bootstrap
45579 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
45580 all-stagefeedback: all-stagefeedback-target-libsanitizer
45581 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
45582 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
45583 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
45584 @r=`${PWD_COMMAND}`; export r; \
45585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45586 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
45587 $(RAW_CXX_TARGET_EXPORTS) \
45588 \
45589 cd $(TARGET_SUBDIR)/libsanitizer && \
45590 \
45591 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45592 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45593 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45594 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45595 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45596 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45597 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45598 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45599 TFLAGS="$(STAGEfeedback_TFLAGS)" \
45600 $(TARGET-stagefeedback-target-libsanitizer)
45601
45602 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
45603 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
45604 clean-stagefeedback-target-libsanitizer:
45605 @if [ $(current_stage) = stagefeedback ]; then \
45606 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45607 else \
45608 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
45609 $(MAKE) stagefeedback-start; \
45610 fi; \
45611 cd $(TARGET_SUBDIR)/libsanitizer && \
45612 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45613 @endif target-libsanitizer-bootstrap
45614
45615
45616 .PHONY: all-stageautoprofile-target-libsanitizer maybe-all-stageautoprofile-target-libsanitizer
45617 .PHONY: clean-stageautoprofile-target-libsanitizer maybe-clean-stageautoprofile-target-libsanitizer
45618 maybe-all-stageautoprofile-target-libsanitizer:
45619 maybe-clean-stageautoprofile-target-libsanitizer:
45620 @if target-libsanitizer-bootstrap
45621 maybe-all-stageautoprofile-target-libsanitizer: all-stageautoprofile-target-libsanitizer
45622 all-stageautoprofile: all-stageautoprofile-target-libsanitizer
45623 TARGET-stageautoprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
45624 all-stageautoprofile-target-libsanitizer: configure-stageautoprofile-target-libsanitizer
45625 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
45626 @r=`${PWD_COMMAND}`; export r; \
45627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45628 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
45629 $(RAW_CXX_TARGET_EXPORTS) \
45630 \
45631 cd $(TARGET_SUBDIR)/libsanitizer && \
45632 $$s/gcc/config/i386/$(AUTO_PROFILE) \
45633 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45634 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45635 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45636 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45637 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45638 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45639 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45640 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45641 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
45642 $(TARGET-stageautoprofile-target-libsanitizer)
45643
45644 maybe-clean-stageautoprofile-target-libsanitizer: clean-stageautoprofile-target-libsanitizer
45645 clean-stageautoprofile: clean-stageautoprofile-target-libsanitizer
45646 clean-stageautoprofile-target-libsanitizer:
45647 @if [ $(current_stage) = stageautoprofile ]; then \
45648 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45649 else \
45650 [ -f $(TARGET_SUBDIR)/stageautoprofile-libsanitizer/Makefile ] || exit 0; \
45651 $(MAKE) stageautoprofile-start; \
45652 fi; \
45653 cd $(TARGET_SUBDIR)/libsanitizer && \
45654 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45655 @endif target-libsanitizer-bootstrap
45656
45657
45658 .PHONY: all-stageautofeedback-target-libsanitizer maybe-all-stageautofeedback-target-libsanitizer
45659 .PHONY: clean-stageautofeedback-target-libsanitizer maybe-clean-stageautofeedback-target-libsanitizer
45660 maybe-all-stageautofeedback-target-libsanitizer:
45661 maybe-clean-stageautofeedback-target-libsanitizer:
45662 @if target-libsanitizer-bootstrap
45663 maybe-all-stageautofeedback-target-libsanitizer: all-stageautofeedback-target-libsanitizer
45664 all-stageautofeedback: all-stageautofeedback-target-libsanitizer
45665 TARGET-stageautofeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
45666 all-stageautofeedback-target-libsanitizer: configure-stageautofeedback-target-libsanitizer
45667 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
45668 @r=`${PWD_COMMAND}`; export r; \
45669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45670 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
45671 $(RAW_CXX_TARGET_EXPORTS) \
45672 \
45673 cd $(TARGET_SUBDIR)/libsanitizer && \
45674 \
45675 $(MAKE) $(BASE_FLAGS_TO_PASS) \
45676 CFLAGS="$(CFLAGS_FOR_TARGET)" \
45677 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
45678 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
45679 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
45680 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
45681 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
45682 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
45683 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
45684 $(TARGET-stageautofeedback-target-libsanitizer)
45685
45686 maybe-clean-stageautofeedback-target-libsanitizer: clean-stageautofeedback-target-libsanitizer
45687 clean-stageautofeedback: clean-stageautofeedback-target-libsanitizer
45688 clean-stageautofeedback-target-libsanitizer:
45689 @if [ $(current_stage) = stageautofeedback ]; then \
45690 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45691 else \
45692 [ -f $(TARGET_SUBDIR)/stageautofeedback-libsanitizer/Makefile ] || exit 0; \
45693 $(MAKE) stageautofeedback-start; \
45694 fi; \
45695 cd $(TARGET_SUBDIR)/libsanitizer && \
45696 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
45697 @endif target-libsanitizer-bootstrap
45698
45699
45700
45701
45702
45703
45704 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
45705 maybe-check-target-libsanitizer:
45706 @if target-libsanitizer
45707 maybe-check-target-libsanitizer: check-target-libsanitizer
45708
45709 check-target-libsanitizer:
45710 @: $(MAKE); $(unstage)
45711 @r=`${PWD_COMMAND}`; export r; \
45712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45713 $(RAW_CXX_TARGET_EXPORTS) \
45714 (cd $(TARGET_SUBDIR)/libsanitizer && \
45715 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
45716
45717 @endif target-libsanitizer
45718
45719 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
45720 maybe-install-target-libsanitizer:
45721 @if target-libsanitizer
45722 maybe-install-target-libsanitizer: install-target-libsanitizer
45723
45724 install-target-libsanitizer: installdirs
45725 @: $(MAKE); $(unstage)
45726 @r=`${PWD_COMMAND}`; export r; \
45727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45728 $(RAW_CXX_TARGET_EXPORTS) \
45729 (cd $(TARGET_SUBDIR)/libsanitizer && \
45730 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45731
45732 @endif target-libsanitizer
45733
45734 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
45735 maybe-install-strip-target-libsanitizer:
45736 @if target-libsanitizer
45737 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
45738
45739 install-strip-target-libsanitizer: installdirs
45740 @: $(MAKE); $(unstage)
45741 @r=`${PWD_COMMAND}`; export r; \
45742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45743 $(RAW_CXX_TARGET_EXPORTS) \
45744 (cd $(TARGET_SUBDIR)/libsanitizer && \
45745 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45746
45747 @endif target-libsanitizer
45748
45749 # Other targets (info, dvi, pdf, etc.)
45750
45751 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
45752 maybe-info-target-libsanitizer:
45753 @if target-libsanitizer
45754 maybe-info-target-libsanitizer: info-target-libsanitizer
45755
45756 info-target-libsanitizer: \
45757 configure-target-libsanitizer
45758 @: $(MAKE); $(unstage)
45759 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45760 r=`${PWD_COMMAND}`; export r; \
45761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45762 $(RAW_CXX_TARGET_EXPORTS) \
45763 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer"; \
45764 for flag in $(EXTRA_TARGET_FLAGS); do \
45765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45766 done; \
45767 (cd $(TARGET_SUBDIR)/libsanitizer && \
45768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45770 "RANLIB=$${RANLIB}" \
45771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45772 info) \
45773 || exit 1
45774
45775 @endif target-libsanitizer
45776
45777 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
45778 maybe-dvi-target-libsanitizer:
45779 @if target-libsanitizer
45780 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
45781
45782 dvi-target-libsanitizer: \
45783 configure-target-libsanitizer
45784 @: $(MAKE); $(unstage)
45785 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45786 r=`${PWD_COMMAND}`; export r; \
45787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45788 $(RAW_CXX_TARGET_EXPORTS) \
45789 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer"; \
45790 for flag in $(EXTRA_TARGET_FLAGS); do \
45791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45792 done; \
45793 (cd $(TARGET_SUBDIR)/libsanitizer && \
45794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45796 "RANLIB=$${RANLIB}" \
45797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45798 dvi) \
45799 || exit 1
45800
45801 @endif target-libsanitizer
45802
45803 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
45804 maybe-pdf-target-libsanitizer:
45805 @if target-libsanitizer
45806 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
45807
45808 pdf-target-libsanitizer: \
45809 configure-target-libsanitizer
45810 @: $(MAKE); $(unstage)
45811 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45812 r=`${PWD_COMMAND}`; export r; \
45813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45814 $(RAW_CXX_TARGET_EXPORTS) \
45815 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer"; \
45816 for flag in $(EXTRA_TARGET_FLAGS); do \
45817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45818 done; \
45819 (cd $(TARGET_SUBDIR)/libsanitizer && \
45820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45822 "RANLIB=$${RANLIB}" \
45823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45824 pdf) \
45825 || exit 1
45826
45827 @endif target-libsanitizer
45828
45829 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
45830 maybe-html-target-libsanitizer:
45831 @if target-libsanitizer
45832 maybe-html-target-libsanitizer: html-target-libsanitizer
45833
45834 html-target-libsanitizer: \
45835 configure-target-libsanitizer
45836 @: $(MAKE); $(unstage)
45837 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45838 r=`${PWD_COMMAND}`; export r; \
45839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45840 $(RAW_CXX_TARGET_EXPORTS) \
45841 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer"; \
45842 for flag in $(EXTRA_TARGET_FLAGS); do \
45843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45844 done; \
45845 (cd $(TARGET_SUBDIR)/libsanitizer && \
45846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45848 "RANLIB=$${RANLIB}" \
45849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45850 html) \
45851 || exit 1
45852
45853 @endif target-libsanitizer
45854
45855 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
45856 maybe-TAGS-target-libsanitizer:
45857 @if target-libsanitizer
45858 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
45859
45860 TAGS-target-libsanitizer: \
45861 configure-target-libsanitizer
45862 @: $(MAKE); $(unstage)
45863 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45864 r=`${PWD_COMMAND}`; export r; \
45865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45866 $(RAW_CXX_TARGET_EXPORTS) \
45867 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer"; \
45868 for flag in $(EXTRA_TARGET_FLAGS); do \
45869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45870 done; \
45871 (cd $(TARGET_SUBDIR)/libsanitizer && \
45872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45874 "RANLIB=$${RANLIB}" \
45875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45876 TAGS) \
45877 || exit 1
45878
45879 @endif target-libsanitizer
45880
45881 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
45882 maybe-install-info-target-libsanitizer:
45883 @if target-libsanitizer
45884 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
45885
45886 install-info-target-libsanitizer: \
45887 configure-target-libsanitizer \
45888 info-target-libsanitizer
45889 @: $(MAKE); $(unstage)
45890 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45891 r=`${PWD_COMMAND}`; export r; \
45892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45893 $(RAW_CXX_TARGET_EXPORTS) \
45894 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer"; \
45895 for flag in $(EXTRA_TARGET_FLAGS); do \
45896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45897 done; \
45898 (cd $(TARGET_SUBDIR)/libsanitizer && \
45899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45901 "RANLIB=$${RANLIB}" \
45902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45903 install-info) \
45904 || exit 1
45905
45906 @endif target-libsanitizer
45907
45908 .PHONY: maybe-install-dvi-target-libsanitizer install-dvi-target-libsanitizer
45909 maybe-install-dvi-target-libsanitizer:
45910 @if target-libsanitizer
45911 maybe-install-dvi-target-libsanitizer: install-dvi-target-libsanitizer
45912
45913 install-dvi-target-libsanitizer: \
45914 configure-target-libsanitizer \
45915 dvi-target-libsanitizer
45916 @: $(MAKE); $(unstage)
45917 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45918 r=`${PWD_COMMAND}`; export r; \
45919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45920 $(RAW_CXX_TARGET_EXPORTS) \
45921 echo "Doing install-dvi in $(TARGET_SUBDIR)/libsanitizer"; \
45922 for flag in $(EXTRA_TARGET_FLAGS); do \
45923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45924 done; \
45925 (cd $(TARGET_SUBDIR)/libsanitizer && \
45926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45928 "RANLIB=$${RANLIB}" \
45929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45930 install-dvi) \
45931 || exit 1
45932
45933 @endif target-libsanitizer
45934
45935 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
45936 maybe-install-pdf-target-libsanitizer:
45937 @if target-libsanitizer
45938 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
45939
45940 install-pdf-target-libsanitizer: \
45941 configure-target-libsanitizer \
45942 pdf-target-libsanitizer
45943 @: $(MAKE); $(unstage)
45944 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45945 r=`${PWD_COMMAND}`; export r; \
45946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45947 $(RAW_CXX_TARGET_EXPORTS) \
45948 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer"; \
45949 for flag in $(EXTRA_TARGET_FLAGS); do \
45950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45951 done; \
45952 (cd $(TARGET_SUBDIR)/libsanitizer && \
45953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45955 "RANLIB=$${RANLIB}" \
45956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45957 install-pdf) \
45958 || exit 1
45959
45960 @endif target-libsanitizer
45961
45962 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
45963 maybe-install-html-target-libsanitizer:
45964 @if target-libsanitizer
45965 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
45966
45967 install-html-target-libsanitizer: \
45968 configure-target-libsanitizer \
45969 html-target-libsanitizer
45970 @: $(MAKE); $(unstage)
45971 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45972 r=`${PWD_COMMAND}`; export r; \
45973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45974 $(RAW_CXX_TARGET_EXPORTS) \
45975 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer"; \
45976 for flag in $(EXTRA_TARGET_FLAGS); do \
45977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45978 done; \
45979 (cd $(TARGET_SUBDIR)/libsanitizer && \
45980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45982 "RANLIB=$${RANLIB}" \
45983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45984 install-html) \
45985 || exit 1
45986
45987 @endif target-libsanitizer
45988
45989 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
45990 maybe-installcheck-target-libsanitizer:
45991 @if target-libsanitizer
45992 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
45993
45994 installcheck-target-libsanitizer: \
45995 configure-target-libsanitizer
45996 @: $(MAKE); $(unstage)
45997 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
45998 r=`${PWD_COMMAND}`; export r; \
45999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46000 $(RAW_CXX_TARGET_EXPORTS) \
46001 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer"; \
46002 for flag in $(EXTRA_TARGET_FLAGS); do \
46003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46004 done; \
46005 (cd $(TARGET_SUBDIR)/libsanitizer && \
46006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46008 "RANLIB=$${RANLIB}" \
46009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46010 installcheck) \
46011 || exit 1
46012
46013 @endif target-libsanitizer
46014
46015 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
46016 maybe-mostlyclean-target-libsanitizer:
46017 @if target-libsanitizer
46018 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
46019
46020 mostlyclean-target-libsanitizer:
46021 @: $(MAKE); $(unstage)
46022 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46023 r=`${PWD_COMMAND}`; export r; \
46024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46025 $(RAW_CXX_TARGET_EXPORTS) \
46026 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer"; \
46027 for flag in $(EXTRA_TARGET_FLAGS); do \
46028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46029 done; \
46030 (cd $(TARGET_SUBDIR)/libsanitizer && \
46031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46033 "RANLIB=$${RANLIB}" \
46034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46035 mostlyclean) \
46036 || exit 1
46037
46038 @endif target-libsanitizer
46039
46040 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
46041 maybe-clean-target-libsanitizer:
46042 @if target-libsanitizer
46043 maybe-clean-target-libsanitizer: clean-target-libsanitizer
46044
46045 clean-target-libsanitizer:
46046 @: $(MAKE); $(unstage)
46047 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46048 r=`${PWD_COMMAND}`; export r; \
46049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46050 $(RAW_CXX_TARGET_EXPORTS) \
46051 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer"; \
46052 for flag in $(EXTRA_TARGET_FLAGS); do \
46053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46054 done; \
46055 (cd $(TARGET_SUBDIR)/libsanitizer && \
46056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46058 "RANLIB=$${RANLIB}" \
46059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46060 clean) \
46061 || exit 1
46062
46063 @endif target-libsanitizer
46064
46065 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
46066 maybe-distclean-target-libsanitizer:
46067 @if target-libsanitizer
46068 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
46069
46070 distclean-target-libsanitizer:
46071 @: $(MAKE); $(unstage)
46072 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46073 r=`${PWD_COMMAND}`; export r; \
46074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46075 $(RAW_CXX_TARGET_EXPORTS) \
46076 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer"; \
46077 for flag in $(EXTRA_TARGET_FLAGS); do \
46078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46079 done; \
46080 (cd $(TARGET_SUBDIR)/libsanitizer && \
46081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46083 "RANLIB=$${RANLIB}" \
46084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46085 distclean) \
46086 || exit 1
46087
46088 @endif target-libsanitizer
46089
46090 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
46091 maybe-maintainer-clean-target-libsanitizer:
46092 @if target-libsanitizer
46093 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
46094
46095 maintainer-clean-target-libsanitizer:
46096 @: $(MAKE); $(unstage)
46097 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
46098 r=`${PWD_COMMAND}`; export r; \
46099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46100 $(RAW_CXX_TARGET_EXPORTS) \
46101 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer"; \
46102 for flag in $(EXTRA_TARGET_FLAGS); do \
46103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46104 done; \
46105 (cd $(TARGET_SUBDIR)/libsanitizer && \
46106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46108 "RANLIB=$${RANLIB}" \
46109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46110 maintainer-clean) \
46111 || exit 1
46112
46113 @endif target-libsanitizer
46114
46115
46116
46117
46118
46119 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
46120 maybe-configure-target-libvtv:
46121 @if gcc-bootstrap
46122 configure-target-libvtv: stage_current
46123 @endif gcc-bootstrap
46124 @if target-libvtv
46125 maybe-configure-target-libvtv: configure-target-libvtv
46126 configure-target-libvtv:
46127 @r=`${PWD_COMMAND}`; export r; \
46128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46129 echo "Checking multilib configuration for libvtv..."; \
46130 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46131 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46132 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46133 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46134 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46135 else \
46136 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46137 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46138 fi; \
46139 else \
46140 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46141 fi; \
46142 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46143 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46144 $(RAW_CXX_TARGET_EXPORTS) \
46145 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
46146 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
46147 case $(srcdir) in \
46148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46149 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46151 esac; \
46152 module_srcdir=libvtv; \
46153 rm -f no-such-file || : ; \
46154 CONFIG_SITE=no-such-file $(SHELL) \
46155 $$s/$$module_srcdir/configure \
46156 --srcdir=$${topdir}/$$module_srcdir \
46157 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46158 --target=${target_alias} \
46159 || exit 1
46160 @endif target-libvtv
46161
46162
46163
46164 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
46165 maybe-configure-stage1-target-libvtv:
46166 @if target-libvtv-bootstrap
46167 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
46168 configure-stage1-target-libvtv:
46169 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
46170 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46171 @r=`${PWD_COMMAND}`; export r; \
46172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46173 TFLAGS="$(STAGE1_TFLAGS)"; \
46174 echo "Checking multilib configuration for libvtv..."; \
46175 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46176 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46177 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46178 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46179 else \
46180 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46181 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46182 fi; \
46183 else \
46184 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46185 fi; \
46186 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46187 $(RAW_CXX_TARGET_EXPORTS) \
46188 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46189 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46190 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46191 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv; \
46192 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46193 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46194 case $(srcdir) in \
46195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46196 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46198 esac; \
46199 module_srcdir=libvtv; \
46200 $(SHELL) $$s/$$module_srcdir/configure \
46201 --srcdir=$${topdir}/$$module_srcdir \
46202 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46203 --target=${target_alias} \
46204 \
46205 $(STAGE1_CONFIGURE_FLAGS)
46206 @endif target-libvtv-bootstrap
46207
46208 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
46209 maybe-configure-stage2-target-libvtv:
46210 @if target-libvtv-bootstrap
46211 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
46212 configure-stage2-target-libvtv:
46213 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
46214 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46215 @r=`${PWD_COMMAND}`; export r; \
46216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46217 TFLAGS="$(STAGE2_TFLAGS)"; \
46218 echo "Checking multilib configuration for libvtv..."; \
46219 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46220 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46221 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46222 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46223 else \
46224 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46225 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46226 fi; \
46227 else \
46228 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46229 fi; \
46230 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46231 $(RAW_CXX_TARGET_EXPORTS) \
46232 \
46233 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46234 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46235 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46236 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv; \
46237 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46238 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46239 case $(srcdir) in \
46240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46241 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46243 esac; \
46244 module_srcdir=libvtv; \
46245 $(SHELL) $$s/$$module_srcdir/configure \
46246 --srcdir=$${topdir}/$$module_srcdir \
46247 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46248 --target=${target_alias} \
46249 --with-build-libsubdir=$(HOST_SUBDIR) \
46250 $(STAGE2_CONFIGURE_FLAGS)
46251 @endif target-libvtv-bootstrap
46252
46253 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
46254 maybe-configure-stage3-target-libvtv:
46255 @if target-libvtv-bootstrap
46256 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
46257 configure-stage3-target-libvtv:
46258 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
46259 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46260 @r=`${PWD_COMMAND}`; export r; \
46261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46262 TFLAGS="$(STAGE3_TFLAGS)"; \
46263 echo "Checking multilib configuration for libvtv..."; \
46264 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46265 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46266 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46267 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46268 else \
46269 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46270 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46271 fi; \
46272 else \
46273 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46274 fi; \
46275 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46276 $(RAW_CXX_TARGET_EXPORTS) \
46277 \
46278 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46279 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46280 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46281 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv; \
46282 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46283 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46284 case $(srcdir) in \
46285 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46286 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46287 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46288 esac; \
46289 module_srcdir=libvtv; \
46290 $(SHELL) $$s/$$module_srcdir/configure \
46291 --srcdir=$${topdir}/$$module_srcdir \
46292 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46293 --target=${target_alias} \
46294 --with-build-libsubdir=$(HOST_SUBDIR) \
46295 $(STAGE3_CONFIGURE_FLAGS)
46296 @endif target-libvtv-bootstrap
46297
46298 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
46299 maybe-configure-stage4-target-libvtv:
46300 @if target-libvtv-bootstrap
46301 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
46302 configure-stage4-target-libvtv:
46303 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
46304 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46305 @r=`${PWD_COMMAND}`; export r; \
46306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46307 TFLAGS="$(STAGE4_TFLAGS)"; \
46308 echo "Checking multilib configuration for libvtv..."; \
46309 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46310 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46311 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46312 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46313 else \
46314 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46315 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46316 fi; \
46317 else \
46318 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46319 fi; \
46320 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46321 $(RAW_CXX_TARGET_EXPORTS) \
46322 \
46323 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46324 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46325 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46326 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv; \
46327 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46328 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46329 case $(srcdir) in \
46330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46331 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46333 esac; \
46334 module_srcdir=libvtv; \
46335 $(SHELL) $$s/$$module_srcdir/configure \
46336 --srcdir=$${topdir}/$$module_srcdir \
46337 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46338 --target=${target_alias} \
46339 --with-build-libsubdir=$(HOST_SUBDIR) \
46340 $(STAGE4_CONFIGURE_FLAGS)
46341 @endif target-libvtv-bootstrap
46342
46343 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
46344 maybe-configure-stageprofile-target-libvtv:
46345 @if target-libvtv-bootstrap
46346 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
46347 configure-stageprofile-target-libvtv:
46348 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
46349 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46350 @r=`${PWD_COMMAND}`; export r; \
46351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46352 TFLAGS="$(STAGEprofile_TFLAGS)"; \
46353 echo "Checking multilib configuration for libvtv..."; \
46354 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46355 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46356 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46357 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46358 else \
46359 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46360 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46361 fi; \
46362 else \
46363 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46364 fi; \
46365 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46366 $(RAW_CXX_TARGET_EXPORTS) \
46367 \
46368 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46369 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46370 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46371 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv; \
46372 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46373 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46374 case $(srcdir) in \
46375 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46376 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46377 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46378 esac; \
46379 module_srcdir=libvtv; \
46380 $(SHELL) $$s/$$module_srcdir/configure \
46381 --srcdir=$${topdir}/$$module_srcdir \
46382 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46383 --target=${target_alias} \
46384 --with-build-libsubdir=$(HOST_SUBDIR) \
46385 $(STAGEprofile_CONFIGURE_FLAGS)
46386 @endif target-libvtv-bootstrap
46387
46388 .PHONY: configure-stagetrain-target-libvtv maybe-configure-stagetrain-target-libvtv
46389 maybe-configure-stagetrain-target-libvtv:
46390 @if target-libvtv-bootstrap
46391 maybe-configure-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
46392 configure-stagetrain-target-libvtv:
46393 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
46394 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46395 @r=`${PWD_COMMAND}`; export r; \
46396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46397 TFLAGS="$(STAGEtrain_TFLAGS)"; \
46398 echo "Checking multilib configuration for libvtv..."; \
46399 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46400 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46401 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46402 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46403 else \
46404 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46405 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46406 fi; \
46407 else \
46408 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46409 fi; \
46410 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46411 $(RAW_CXX_TARGET_EXPORTS) \
46412 \
46413 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46414 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46415 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46416 echo Configuring stage train in $(TARGET_SUBDIR)/libvtv; \
46417 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46418 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46419 case $(srcdir) in \
46420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46421 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46423 esac; \
46424 module_srcdir=libvtv; \
46425 $(SHELL) $$s/$$module_srcdir/configure \
46426 --srcdir=$${topdir}/$$module_srcdir \
46427 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46428 --target=${target_alias} \
46429 --with-build-libsubdir=$(HOST_SUBDIR) \
46430 $(STAGEtrain_CONFIGURE_FLAGS)
46431 @endif target-libvtv-bootstrap
46432
46433 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
46434 maybe-configure-stagefeedback-target-libvtv:
46435 @if target-libvtv-bootstrap
46436 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
46437 configure-stagefeedback-target-libvtv:
46438 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
46439 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46440 @r=`${PWD_COMMAND}`; export r; \
46441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46442 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46443 echo "Checking multilib configuration for libvtv..."; \
46444 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46445 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46446 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46447 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46448 else \
46449 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46450 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46451 fi; \
46452 else \
46453 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46454 fi; \
46455 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46456 $(RAW_CXX_TARGET_EXPORTS) \
46457 \
46458 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46459 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46460 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46461 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv; \
46462 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46463 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46464 case $(srcdir) in \
46465 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46466 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46467 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46468 esac; \
46469 module_srcdir=libvtv; \
46470 $(SHELL) $$s/$$module_srcdir/configure \
46471 --srcdir=$${topdir}/$$module_srcdir \
46472 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46473 --target=${target_alias} \
46474 --with-build-libsubdir=$(HOST_SUBDIR) \
46475 $(STAGEfeedback_CONFIGURE_FLAGS)
46476 @endif target-libvtv-bootstrap
46477
46478 .PHONY: configure-stageautoprofile-target-libvtv maybe-configure-stageautoprofile-target-libvtv
46479 maybe-configure-stageautoprofile-target-libvtv:
46480 @if target-libvtv-bootstrap
46481 maybe-configure-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
46482 configure-stageautoprofile-target-libvtv:
46483 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
46484 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46485 @r=`${PWD_COMMAND}`; export r; \
46486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46487 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
46488 echo "Checking multilib configuration for libvtv..."; \
46489 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46490 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46491 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46492 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46493 else \
46494 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46495 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46496 fi; \
46497 else \
46498 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46499 fi; \
46500 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46501 $(RAW_CXX_TARGET_EXPORTS) \
46502 \
46503 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46504 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46505 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46506 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libvtv; \
46507 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46508 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46509 case $(srcdir) in \
46510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46511 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46513 esac; \
46514 module_srcdir=libvtv; \
46515 $(SHELL) $$s/$$module_srcdir/configure \
46516 --srcdir=$${topdir}/$$module_srcdir \
46517 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46518 --target=${target_alias} \
46519 --with-build-libsubdir=$(HOST_SUBDIR) \
46520 $(STAGEautoprofile_CONFIGURE_FLAGS)
46521 @endif target-libvtv-bootstrap
46522
46523 .PHONY: configure-stageautofeedback-target-libvtv maybe-configure-stageautofeedback-target-libvtv
46524 maybe-configure-stageautofeedback-target-libvtv:
46525 @if target-libvtv-bootstrap
46526 maybe-configure-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
46527 configure-stageautofeedback-target-libvtv:
46528 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
46529 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
46530 @r=`${PWD_COMMAND}`; export r; \
46531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46532 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
46533 echo "Checking multilib configuration for libvtv..."; \
46534 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null; \
46535 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46536 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
46537 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
46538 else \
46539 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
46540 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46541 fi; \
46542 else \
46543 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
46544 fi; \
46545 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
46546 $(RAW_CXX_TARGET_EXPORTS) \
46547 \
46548 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
46549 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
46550 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
46551 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libvtv; \
46552 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv; \
46553 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
46554 case $(srcdir) in \
46555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46556 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
46557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46558 esac; \
46559 module_srcdir=libvtv; \
46560 $(SHELL) $$s/$$module_srcdir/configure \
46561 --srcdir=$${topdir}/$$module_srcdir \
46562 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46563 --target=${target_alias} \
46564 --with-build-libsubdir=$(HOST_SUBDIR) \
46565 $(STAGEautofeedback_CONFIGURE_FLAGS)
46566 @endif target-libvtv-bootstrap
46567
46568
46569
46570
46571
46572 .PHONY: all-target-libvtv maybe-all-target-libvtv
46573 maybe-all-target-libvtv:
46574 @if gcc-bootstrap
46575 all-target-libvtv: stage_current
46576 @endif gcc-bootstrap
46577 @if target-libvtv
46578 TARGET-target-libvtv=all
46579 maybe-all-target-libvtv: all-target-libvtv
46580 all-target-libvtv: configure-target-libvtv
46581 @r=`${PWD_COMMAND}`; export r; \
46582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46583 $(RAW_CXX_TARGET_EXPORTS) \
46584 (cd $(TARGET_SUBDIR)/libvtv && \
46585 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46586 $(TARGET-target-libvtv))
46587 @endif target-libvtv
46588
46589
46590
46591 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
46592 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
46593 maybe-all-stage1-target-libvtv:
46594 maybe-clean-stage1-target-libvtv:
46595 @if target-libvtv-bootstrap
46596 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
46597 all-stage1: all-stage1-target-libvtv
46598 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
46599 all-stage1-target-libvtv: configure-stage1-target-libvtv
46600 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
46601 @r=`${PWD_COMMAND}`; export r; \
46602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46603 TFLAGS="$(STAGE1_TFLAGS)"; \
46604 $(RAW_CXX_TARGET_EXPORTS) \
46605 cd $(TARGET_SUBDIR)/libvtv && \
46606 \
46607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46608 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46609 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46610 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46614 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46615 \
46616 TFLAGS="$(STAGE1_TFLAGS)" \
46617 $(TARGET-stage1-target-libvtv)
46618
46619 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
46620 clean-stage1: clean-stage1-target-libvtv
46621 clean-stage1-target-libvtv:
46622 @if [ $(current_stage) = stage1 ]; then \
46623 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
46624 else \
46625 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
46626 $(MAKE) stage1-start; \
46627 fi; \
46628 cd $(TARGET_SUBDIR)/libvtv && \
46629 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46630 clean
46631 @endif target-libvtv-bootstrap
46632
46633
46634 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
46635 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
46636 maybe-all-stage2-target-libvtv:
46637 maybe-clean-stage2-target-libvtv:
46638 @if target-libvtv-bootstrap
46639 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
46640 all-stage2: all-stage2-target-libvtv
46641 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
46642 all-stage2-target-libvtv: configure-stage2-target-libvtv
46643 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
46644 @r=`${PWD_COMMAND}`; export r; \
46645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46646 TFLAGS="$(STAGE2_TFLAGS)"; \
46647 $(RAW_CXX_TARGET_EXPORTS) \
46648 \
46649 cd $(TARGET_SUBDIR)/libvtv && \
46650 \
46651 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46652 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46653 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46654 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46655 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46656 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46657 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46658 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46659 TFLAGS="$(STAGE2_TFLAGS)" \
46660 $(TARGET-stage2-target-libvtv)
46661
46662 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
46663 clean-stage2: clean-stage2-target-libvtv
46664 clean-stage2-target-libvtv:
46665 @if [ $(current_stage) = stage2 ]; then \
46666 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
46667 else \
46668 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
46669 $(MAKE) stage2-start; \
46670 fi; \
46671 cd $(TARGET_SUBDIR)/libvtv && \
46672 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
46673 @endif target-libvtv-bootstrap
46674
46675
46676 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
46677 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
46678 maybe-all-stage3-target-libvtv:
46679 maybe-clean-stage3-target-libvtv:
46680 @if target-libvtv-bootstrap
46681 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
46682 all-stage3: all-stage3-target-libvtv
46683 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
46684 all-stage3-target-libvtv: configure-stage3-target-libvtv
46685 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
46686 @r=`${PWD_COMMAND}`; export r; \
46687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46688 TFLAGS="$(STAGE3_TFLAGS)"; \
46689 $(RAW_CXX_TARGET_EXPORTS) \
46690 \
46691 cd $(TARGET_SUBDIR)/libvtv && \
46692 \
46693 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46694 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46695 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46696 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46697 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46698 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46699 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46700 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46701 TFLAGS="$(STAGE3_TFLAGS)" \
46702 $(TARGET-stage3-target-libvtv)
46703
46704 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
46705 clean-stage3: clean-stage3-target-libvtv
46706 clean-stage3-target-libvtv:
46707 @if [ $(current_stage) = stage3 ]; then \
46708 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
46709 else \
46710 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
46711 $(MAKE) stage3-start; \
46712 fi; \
46713 cd $(TARGET_SUBDIR)/libvtv && \
46714 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
46715 @endif target-libvtv-bootstrap
46716
46717
46718 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
46719 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
46720 maybe-all-stage4-target-libvtv:
46721 maybe-clean-stage4-target-libvtv:
46722 @if target-libvtv-bootstrap
46723 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
46724 all-stage4: all-stage4-target-libvtv
46725 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
46726 all-stage4-target-libvtv: configure-stage4-target-libvtv
46727 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
46728 @r=`${PWD_COMMAND}`; export r; \
46729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46730 TFLAGS="$(STAGE4_TFLAGS)"; \
46731 $(RAW_CXX_TARGET_EXPORTS) \
46732 \
46733 cd $(TARGET_SUBDIR)/libvtv && \
46734 \
46735 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46736 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46737 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46738 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46739 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46740 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46741 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46742 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46743 TFLAGS="$(STAGE4_TFLAGS)" \
46744 $(TARGET-stage4-target-libvtv)
46745
46746 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
46747 clean-stage4: clean-stage4-target-libvtv
46748 clean-stage4-target-libvtv:
46749 @if [ $(current_stage) = stage4 ]; then \
46750 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
46751 else \
46752 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
46753 $(MAKE) stage4-start; \
46754 fi; \
46755 cd $(TARGET_SUBDIR)/libvtv && \
46756 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
46757 @endif target-libvtv-bootstrap
46758
46759
46760 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
46761 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
46762 maybe-all-stageprofile-target-libvtv:
46763 maybe-clean-stageprofile-target-libvtv:
46764 @if target-libvtv-bootstrap
46765 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
46766 all-stageprofile: all-stageprofile-target-libvtv
46767 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
46768 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
46769 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
46770 @r=`${PWD_COMMAND}`; export r; \
46771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46772 TFLAGS="$(STAGEprofile_TFLAGS)"; \
46773 $(RAW_CXX_TARGET_EXPORTS) \
46774 \
46775 cd $(TARGET_SUBDIR)/libvtv && \
46776 \
46777 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46778 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46779 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46780 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46781 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46784 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46785 TFLAGS="$(STAGEprofile_TFLAGS)" \
46786 $(TARGET-stageprofile-target-libvtv)
46787
46788 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
46789 clean-stageprofile: clean-stageprofile-target-libvtv
46790 clean-stageprofile-target-libvtv:
46791 @if [ $(current_stage) = stageprofile ]; then \
46792 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
46793 else \
46794 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
46795 $(MAKE) stageprofile-start; \
46796 fi; \
46797 cd $(TARGET_SUBDIR)/libvtv && \
46798 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
46799 @endif target-libvtv-bootstrap
46800
46801
46802 .PHONY: all-stagetrain-target-libvtv maybe-all-stagetrain-target-libvtv
46803 .PHONY: clean-stagetrain-target-libvtv maybe-clean-stagetrain-target-libvtv
46804 maybe-all-stagetrain-target-libvtv:
46805 maybe-clean-stagetrain-target-libvtv:
46806 @if target-libvtv-bootstrap
46807 maybe-all-stagetrain-target-libvtv: all-stagetrain-target-libvtv
46808 all-stagetrain: all-stagetrain-target-libvtv
46809 TARGET-stagetrain-target-libvtv = $(TARGET-target-libvtv)
46810 all-stagetrain-target-libvtv: configure-stagetrain-target-libvtv
46811 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
46812 @r=`${PWD_COMMAND}`; export r; \
46813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46814 TFLAGS="$(STAGEtrain_TFLAGS)"; \
46815 $(RAW_CXX_TARGET_EXPORTS) \
46816 \
46817 cd $(TARGET_SUBDIR)/libvtv && \
46818 \
46819 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46820 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46821 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46822 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46823 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46824 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46825 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46826 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46827 TFLAGS="$(STAGEtrain_TFLAGS)" \
46828 $(TARGET-stagetrain-target-libvtv)
46829
46830 maybe-clean-stagetrain-target-libvtv: clean-stagetrain-target-libvtv
46831 clean-stagetrain: clean-stagetrain-target-libvtv
46832 clean-stagetrain-target-libvtv:
46833 @if [ $(current_stage) = stagetrain ]; then \
46834 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
46835 else \
46836 [ -f $(TARGET_SUBDIR)/stagetrain-libvtv/Makefile ] || exit 0; \
46837 $(MAKE) stagetrain-start; \
46838 fi; \
46839 cd $(TARGET_SUBDIR)/libvtv && \
46840 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
46841 @endif target-libvtv-bootstrap
46842
46843
46844 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
46845 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
46846 maybe-all-stagefeedback-target-libvtv:
46847 maybe-clean-stagefeedback-target-libvtv:
46848 @if target-libvtv-bootstrap
46849 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
46850 all-stagefeedback: all-stagefeedback-target-libvtv
46851 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
46852 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
46853 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
46854 @r=`${PWD_COMMAND}`; export r; \
46855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46856 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
46857 $(RAW_CXX_TARGET_EXPORTS) \
46858 \
46859 cd $(TARGET_SUBDIR)/libvtv && \
46860 \
46861 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46862 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46863 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46864 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46865 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46866 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46867 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46868 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46869 TFLAGS="$(STAGEfeedback_TFLAGS)" \
46870 $(TARGET-stagefeedback-target-libvtv)
46871
46872 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
46873 clean-stagefeedback: clean-stagefeedback-target-libvtv
46874 clean-stagefeedback-target-libvtv:
46875 @if [ $(current_stage) = stagefeedback ]; then \
46876 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
46877 else \
46878 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
46879 $(MAKE) stagefeedback-start; \
46880 fi; \
46881 cd $(TARGET_SUBDIR)/libvtv && \
46882 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
46883 @endif target-libvtv-bootstrap
46884
46885
46886 .PHONY: all-stageautoprofile-target-libvtv maybe-all-stageautoprofile-target-libvtv
46887 .PHONY: clean-stageautoprofile-target-libvtv maybe-clean-stageautoprofile-target-libvtv
46888 maybe-all-stageautoprofile-target-libvtv:
46889 maybe-clean-stageautoprofile-target-libvtv:
46890 @if target-libvtv-bootstrap
46891 maybe-all-stageautoprofile-target-libvtv: all-stageautoprofile-target-libvtv
46892 all-stageautoprofile: all-stageautoprofile-target-libvtv
46893 TARGET-stageautoprofile-target-libvtv = $(TARGET-target-libvtv)
46894 all-stageautoprofile-target-libvtv: configure-stageautoprofile-target-libvtv
46895 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
46896 @r=`${PWD_COMMAND}`; export r; \
46897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46898 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
46899 $(RAW_CXX_TARGET_EXPORTS) \
46900 \
46901 cd $(TARGET_SUBDIR)/libvtv && \
46902 $$s/gcc/config/i386/$(AUTO_PROFILE) \
46903 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46904 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46905 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46906 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46907 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46908 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46909 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46910 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46911 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
46912 $(TARGET-stageautoprofile-target-libvtv)
46913
46914 maybe-clean-stageautoprofile-target-libvtv: clean-stageautoprofile-target-libvtv
46915 clean-stageautoprofile: clean-stageautoprofile-target-libvtv
46916 clean-stageautoprofile-target-libvtv:
46917 @if [ $(current_stage) = stageautoprofile ]; then \
46918 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
46919 else \
46920 [ -f $(TARGET_SUBDIR)/stageautoprofile-libvtv/Makefile ] || exit 0; \
46921 $(MAKE) stageautoprofile-start; \
46922 fi; \
46923 cd $(TARGET_SUBDIR)/libvtv && \
46924 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
46925 @endif target-libvtv-bootstrap
46926
46927
46928 .PHONY: all-stageautofeedback-target-libvtv maybe-all-stageautofeedback-target-libvtv
46929 .PHONY: clean-stageautofeedback-target-libvtv maybe-clean-stageautofeedback-target-libvtv
46930 maybe-all-stageautofeedback-target-libvtv:
46931 maybe-clean-stageautofeedback-target-libvtv:
46932 @if target-libvtv-bootstrap
46933 maybe-all-stageautofeedback-target-libvtv: all-stageautofeedback-target-libvtv
46934 all-stageautofeedback: all-stageautofeedback-target-libvtv
46935 TARGET-stageautofeedback-target-libvtv = $(TARGET-target-libvtv)
46936 all-stageautofeedback-target-libvtv: configure-stageautofeedback-target-libvtv
46937 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
46938 @r=`${PWD_COMMAND}`; export r; \
46939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46940 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
46941 $(RAW_CXX_TARGET_EXPORTS) \
46942 \
46943 cd $(TARGET_SUBDIR)/libvtv && \
46944 \
46945 $(MAKE) $(BASE_FLAGS_TO_PASS) \
46946 CFLAGS="$(CFLAGS_FOR_TARGET)" \
46947 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
46948 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
46949 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
46950 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
46951 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
46952 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
46953 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
46954 $(TARGET-stageautofeedback-target-libvtv)
46955
46956 maybe-clean-stageautofeedback-target-libvtv: clean-stageautofeedback-target-libvtv
46957 clean-stageautofeedback: clean-stageautofeedback-target-libvtv
46958 clean-stageautofeedback-target-libvtv:
46959 @if [ $(current_stage) = stageautofeedback ]; then \
46960 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
46961 else \
46962 [ -f $(TARGET_SUBDIR)/stageautofeedback-libvtv/Makefile ] || exit 0; \
46963 $(MAKE) stageautofeedback-start; \
46964 fi; \
46965 cd $(TARGET_SUBDIR)/libvtv && \
46966 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
46967 @endif target-libvtv-bootstrap
46968
46969
46970
46971
46972
46973
46974 .PHONY: check-target-libvtv maybe-check-target-libvtv
46975 maybe-check-target-libvtv:
46976 @if target-libvtv
46977 maybe-check-target-libvtv: check-target-libvtv
46978
46979 check-target-libvtv:
46980 @: $(MAKE); $(unstage)
46981 @r=`${PWD_COMMAND}`; export r; \
46982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46983 $(RAW_CXX_TARGET_EXPORTS) \
46984 (cd $(TARGET_SUBDIR)/libvtv && \
46985 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
46986
46987 @endif target-libvtv
46988
46989 .PHONY: install-target-libvtv maybe-install-target-libvtv
46990 maybe-install-target-libvtv:
46991 @if target-libvtv
46992 maybe-install-target-libvtv: install-target-libvtv
46993
46994 install-target-libvtv: installdirs
46995 @: $(MAKE); $(unstage)
46996 @r=`${PWD_COMMAND}`; export r; \
46997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46998 $(RAW_CXX_TARGET_EXPORTS) \
46999 (cd $(TARGET_SUBDIR)/libvtv && \
47000 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47001
47002 @endif target-libvtv
47003
47004 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
47005 maybe-install-strip-target-libvtv:
47006 @if target-libvtv
47007 maybe-install-strip-target-libvtv: install-strip-target-libvtv
47008
47009 install-strip-target-libvtv: installdirs
47010 @: $(MAKE); $(unstage)
47011 @r=`${PWD_COMMAND}`; export r; \
47012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47013 $(RAW_CXX_TARGET_EXPORTS) \
47014 (cd $(TARGET_SUBDIR)/libvtv && \
47015 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47016
47017 @endif target-libvtv
47018
47019 # Other targets (info, dvi, pdf, etc.)
47020
47021 .PHONY: maybe-info-target-libvtv info-target-libvtv
47022 maybe-info-target-libvtv:
47023 @if target-libvtv
47024 maybe-info-target-libvtv: info-target-libvtv
47025
47026 info-target-libvtv: \
47027 configure-target-libvtv
47028 @: $(MAKE); $(unstage)
47029 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47030 r=`${PWD_COMMAND}`; export r; \
47031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47032 $(RAW_CXX_TARGET_EXPORTS) \
47033 echo "Doing info in $(TARGET_SUBDIR)/libvtv"; \
47034 for flag in $(EXTRA_TARGET_FLAGS); do \
47035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47036 done; \
47037 (cd $(TARGET_SUBDIR)/libvtv && \
47038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47040 "RANLIB=$${RANLIB}" \
47041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47042 info) \
47043 || exit 1
47044
47045 @endif target-libvtv
47046
47047 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
47048 maybe-dvi-target-libvtv:
47049 @if target-libvtv
47050 maybe-dvi-target-libvtv: dvi-target-libvtv
47051
47052 dvi-target-libvtv: \
47053 configure-target-libvtv
47054 @: $(MAKE); $(unstage)
47055 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47056 r=`${PWD_COMMAND}`; export r; \
47057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47058 $(RAW_CXX_TARGET_EXPORTS) \
47059 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv"; \
47060 for flag in $(EXTRA_TARGET_FLAGS); do \
47061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47062 done; \
47063 (cd $(TARGET_SUBDIR)/libvtv && \
47064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47066 "RANLIB=$${RANLIB}" \
47067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47068 dvi) \
47069 || exit 1
47070
47071 @endif target-libvtv
47072
47073 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
47074 maybe-pdf-target-libvtv:
47075 @if target-libvtv
47076 maybe-pdf-target-libvtv: pdf-target-libvtv
47077
47078 pdf-target-libvtv: \
47079 configure-target-libvtv
47080 @: $(MAKE); $(unstage)
47081 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47082 r=`${PWD_COMMAND}`; export r; \
47083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47084 $(RAW_CXX_TARGET_EXPORTS) \
47085 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv"; \
47086 for flag in $(EXTRA_TARGET_FLAGS); do \
47087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47088 done; \
47089 (cd $(TARGET_SUBDIR)/libvtv && \
47090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47092 "RANLIB=$${RANLIB}" \
47093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47094 pdf) \
47095 || exit 1
47096
47097 @endif target-libvtv
47098
47099 .PHONY: maybe-html-target-libvtv html-target-libvtv
47100 maybe-html-target-libvtv:
47101 @if target-libvtv
47102 maybe-html-target-libvtv: html-target-libvtv
47103
47104 html-target-libvtv: \
47105 configure-target-libvtv
47106 @: $(MAKE); $(unstage)
47107 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47108 r=`${PWD_COMMAND}`; export r; \
47109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47110 $(RAW_CXX_TARGET_EXPORTS) \
47111 echo "Doing html in $(TARGET_SUBDIR)/libvtv"; \
47112 for flag in $(EXTRA_TARGET_FLAGS); do \
47113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47114 done; \
47115 (cd $(TARGET_SUBDIR)/libvtv && \
47116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47118 "RANLIB=$${RANLIB}" \
47119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47120 html) \
47121 || exit 1
47122
47123 @endif target-libvtv
47124
47125 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
47126 maybe-TAGS-target-libvtv:
47127 @if target-libvtv
47128 maybe-TAGS-target-libvtv: TAGS-target-libvtv
47129
47130 TAGS-target-libvtv: \
47131 configure-target-libvtv
47132 @: $(MAKE); $(unstage)
47133 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47134 r=`${PWD_COMMAND}`; export r; \
47135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47136 $(RAW_CXX_TARGET_EXPORTS) \
47137 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv"; \
47138 for flag in $(EXTRA_TARGET_FLAGS); do \
47139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47140 done; \
47141 (cd $(TARGET_SUBDIR)/libvtv && \
47142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47144 "RANLIB=$${RANLIB}" \
47145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47146 TAGS) \
47147 || exit 1
47148
47149 @endif target-libvtv
47150
47151 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
47152 maybe-install-info-target-libvtv:
47153 @if target-libvtv
47154 maybe-install-info-target-libvtv: install-info-target-libvtv
47155
47156 install-info-target-libvtv: \
47157 configure-target-libvtv \
47158 info-target-libvtv
47159 @: $(MAKE); $(unstage)
47160 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47161 r=`${PWD_COMMAND}`; export r; \
47162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47163 $(RAW_CXX_TARGET_EXPORTS) \
47164 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv"; \
47165 for flag in $(EXTRA_TARGET_FLAGS); do \
47166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47167 done; \
47168 (cd $(TARGET_SUBDIR)/libvtv && \
47169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47171 "RANLIB=$${RANLIB}" \
47172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47173 install-info) \
47174 || exit 1
47175
47176 @endif target-libvtv
47177
47178 .PHONY: maybe-install-dvi-target-libvtv install-dvi-target-libvtv
47179 maybe-install-dvi-target-libvtv:
47180 @if target-libvtv
47181 maybe-install-dvi-target-libvtv: install-dvi-target-libvtv
47182
47183 install-dvi-target-libvtv: \
47184 configure-target-libvtv \
47185 dvi-target-libvtv
47186 @: $(MAKE); $(unstage)
47187 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47188 r=`${PWD_COMMAND}`; export r; \
47189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47190 $(RAW_CXX_TARGET_EXPORTS) \
47191 echo "Doing install-dvi in $(TARGET_SUBDIR)/libvtv"; \
47192 for flag in $(EXTRA_TARGET_FLAGS); do \
47193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47194 done; \
47195 (cd $(TARGET_SUBDIR)/libvtv && \
47196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47198 "RANLIB=$${RANLIB}" \
47199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47200 install-dvi) \
47201 || exit 1
47202
47203 @endif target-libvtv
47204
47205 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
47206 maybe-install-pdf-target-libvtv:
47207 @if target-libvtv
47208 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
47209
47210 install-pdf-target-libvtv: \
47211 configure-target-libvtv \
47212 pdf-target-libvtv
47213 @: $(MAKE); $(unstage)
47214 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47215 r=`${PWD_COMMAND}`; export r; \
47216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47217 $(RAW_CXX_TARGET_EXPORTS) \
47218 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv"; \
47219 for flag in $(EXTRA_TARGET_FLAGS); do \
47220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47221 done; \
47222 (cd $(TARGET_SUBDIR)/libvtv && \
47223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47225 "RANLIB=$${RANLIB}" \
47226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47227 install-pdf) \
47228 || exit 1
47229
47230 @endif target-libvtv
47231
47232 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
47233 maybe-install-html-target-libvtv:
47234 @if target-libvtv
47235 maybe-install-html-target-libvtv: install-html-target-libvtv
47236
47237 install-html-target-libvtv: \
47238 configure-target-libvtv \
47239 html-target-libvtv
47240 @: $(MAKE); $(unstage)
47241 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47242 r=`${PWD_COMMAND}`; export r; \
47243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47244 $(RAW_CXX_TARGET_EXPORTS) \
47245 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv"; \
47246 for flag in $(EXTRA_TARGET_FLAGS); do \
47247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47248 done; \
47249 (cd $(TARGET_SUBDIR)/libvtv && \
47250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47252 "RANLIB=$${RANLIB}" \
47253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47254 install-html) \
47255 || exit 1
47256
47257 @endif target-libvtv
47258
47259 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
47260 maybe-installcheck-target-libvtv:
47261 @if target-libvtv
47262 maybe-installcheck-target-libvtv: installcheck-target-libvtv
47263
47264 installcheck-target-libvtv: \
47265 configure-target-libvtv
47266 @: $(MAKE); $(unstage)
47267 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47268 r=`${PWD_COMMAND}`; export r; \
47269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47270 $(RAW_CXX_TARGET_EXPORTS) \
47271 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv"; \
47272 for flag in $(EXTRA_TARGET_FLAGS); do \
47273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47274 done; \
47275 (cd $(TARGET_SUBDIR)/libvtv && \
47276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47278 "RANLIB=$${RANLIB}" \
47279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47280 installcheck) \
47281 || exit 1
47282
47283 @endif target-libvtv
47284
47285 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
47286 maybe-mostlyclean-target-libvtv:
47287 @if target-libvtv
47288 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
47289
47290 mostlyclean-target-libvtv:
47291 @: $(MAKE); $(unstage)
47292 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47293 r=`${PWD_COMMAND}`; export r; \
47294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47295 $(RAW_CXX_TARGET_EXPORTS) \
47296 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv"; \
47297 for flag in $(EXTRA_TARGET_FLAGS); do \
47298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47299 done; \
47300 (cd $(TARGET_SUBDIR)/libvtv && \
47301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47303 "RANLIB=$${RANLIB}" \
47304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47305 mostlyclean) \
47306 || exit 1
47307
47308 @endif target-libvtv
47309
47310 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
47311 maybe-clean-target-libvtv:
47312 @if target-libvtv
47313 maybe-clean-target-libvtv: clean-target-libvtv
47314
47315 clean-target-libvtv:
47316 @: $(MAKE); $(unstage)
47317 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47318 r=`${PWD_COMMAND}`; export r; \
47319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47320 $(RAW_CXX_TARGET_EXPORTS) \
47321 echo "Doing clean in $(TARGET_SUBDIR)/libvtv"; \
47322 for flag in $(EXTRA_TARGET_FLAGS); do \
47323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47324 done; \
47325 (cd $(TARGET_SUBDIR)/libvtv && \
47326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47328 "RANLIB=$${RANLIB}" \
47329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47330 clean) \
47331 || exit 1
47332
47333 @endif target-libvtv
47334
47335 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
47336 maybe-distclean-target-libvtv:
47337 @if target-libvtv
47338 maybe-distclean-target-libvtv: distclean-target-libvtv
47339
47340 distclean-target-libvtv:
47341 @: $(MAKE); $(unstage)
47342 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47343 r=`${PWD_COMMAND}`; export r; \
47344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47345 $(RAW_CXX_TARGET_EXPORTS) \
47346 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv"; \
47347 for flag in $(EXTRA_TARGET_FLAGS); do \
47348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47349 done; \
47350 (cd $(TARGET_SUBDIR)/libvtv && \
47351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47353 "RANLIB=$${RANLIB}" \
47354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47355 distclean) \
47356 || exit 1
47357
47358 @endif target-libvtv
47359
47360 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
47361 maybe-maintainer-clean-target-libvtv:
47362 @if target-libvtv
47363 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
47364
47365 maintainer-clean-target-libvtv:
47366 @: $(MAKE); $(unstage)
47367 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
47368 r=`${PWD_COMMAND}`; export r; \
47369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47370 $(RAW_CXX_TARGET_EXPORTS) \
47371 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv"; \
47372 for flag in $(EXTRA_TARGET_FLAGS); do \
47373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47374 done; \
47375 (cd $(TARGET_SUBDIR)/libvtv && \
47376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47378 "RANLIB=$${RANLIB}" \
47379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47380 maintainer-clean) \
47381 || exit 1
47382
47383 @endif target-libvtv
47384
47385
47386
47387
47388
47389 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
47390 maybe-configure-target-liboffloadmic:
47391 @if gcc-bootstrap
47392 configure-target-liboffloadmic: stage_current
47393 @endif gcc-bootstrap
47394 @if target-liboffloadmic
47395 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
47396 configure-target-liboffloadmic:
47397 @: $(MAKE); $(unstage)
47398 @r=`${PWD_COMMAND}`; export r; \
47399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47400 echo "Checking multilib configuration for liboffloadmic..."; \
47401 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
47402 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null; \
47403 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
47404 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
47405 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
47406 else \
47407 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
47408 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
47409 fi; \
47410 else \
47411 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
47412 fi; \
47413 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
47414 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic; \
47415 $(NORMAL_TARGET_EXPORTS) \
47416 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
47417 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
47418 case $(srcdir) in \
47419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47420 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
47421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47422 esac; \
47423 module_srcdir=liboffloadmic; \
47424 rm -f no-such-file || : ; \
47425 CONFIG_SITE=no-such-file $(SHELL) \
47426 $$s/$$module_srcdir/configure \
47427 --srcdir=$${topdir}/$$module_srcdir \
47428 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47429 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
47430 || exit 1
47431 @endif target-liboffloadmic
47432
47433
47434
47435
47436
47437 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
47438 maybe-all-target-liboffloadmic:
47439 @if gcc-bootstrap
47440 all-target-liboffloadmic: stage_current
47441 @endif gcc-bootstrap
47442 @if target-liboffloadmic
47443 TARGET-target-liboffloadmic=all
47444 maybe-all-target-liboffloadmic: all-target-liboffloadmic
47445 all-target-liboffloadmic: configure-target-liboffloadmic
47446 @: $(MAKE); $(unstage)
47447 @r=`${PWD_COMMAND}`; export r; \
47448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47449 $(NORMAL_TARGET_EXPORTS) \
47450 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47451 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47452 $(TARGET-target-liboffloadmic))
47453 @endif target-liboffloadmic
47454
47455
47456
47457
47458
47459 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
47460 maybe-check-target-liboffloadmic:
47461 @if target-liboffloadmic
47462 maybe-check-target-liboffloadmic: check-target-liboffloadmic
47463
47464 check-target-liboffloadmic:
47465 @: $(MAKE); $(unstage)
47466 @r=`${PWD_COMMAND}`; export r; \
47467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47468 $(NORMAL_TARGET_EXPORTS) \
47469 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47470 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47471
47472 @endif target-liboffloadmic
47473
47474 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
47475 maybe-install-target-liboffloadmic:
47476 @if target-liboffloadmic
47477 maybe-install-target-liboffloadmic: install-target-liboffloadmic
47478
47479 install-target-liboffloadmic: installdirs
47480 @: $(MAKE); $(unstage)
47481 @r=`${PWD_COMMAND}`; export r; \
47482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47483 $(NORMAL_TARGET_EXPORTS) \
47484 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47485 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47486
47487 @endif target-liboffloadmic
47488
47489 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
47490 maybe-install-strip-target-liboffloadmic:
47491 @if target-liboffloadmic
47492 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
47493
47494 install-strip-target-liboffloadmic: installdirs
47495 @: $(MAKE); $(unstage)
47496 @r=`${PWD_COMMAND}`; export r; \
47497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47498 $(NORMAL_TARGET_EXPORTS) \
47499 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47500 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47501
47502 @endif target-liboffloadmic
47503
47504 # Other targets (info, dvi, pdf, etc.)
47505
47506 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
47507 maybe-info-target-liboffloadmic:
47508 @if target-liboffloadmic
47509 maybe-info-target-liboffloadmic: info-target-liboffloadmic
47510
47511 info-target-liboffloadmic: \
47512 configure-target-liboffloadmic
47513 @: $(MAKE); $(unstage)
47514 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
47515 r=`${PWD_COMMAND}`; export r; \
47516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47517 $(NORMAL_TARGET_EXPORTS) \
47518 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic"; \
47519 for flag in $(EXTRA_TARGET_FLAGS); do \
47520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47521 done; \
47522 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47525 "RANLIB=$${RANLIB}" \
47526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47527 info) \
47528 || exit 1
47529
47530 @endif target-liboffloadmic
47531
47532 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
47533 maybe-dvi-target-liboffloadmic:
47534 @if target-liboffloadmic
47535 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
47536
47537 dvi-target-liboffloadmic: \
47538 configure-target-liboffloadmic
47539 @: $(MAKE); $(unstage)
47540 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
47541 r=`${PWD_COMMAND}`; export r; \
47542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47543 $(NORMAL_TARGET_EXPORTS) \
47544 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
47545 for flag in $(EXTRA_TARGET_FLAGS); do \
47546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47547 done; \
47548 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47551 "RANLIB=$${RANLIB}" \
47552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47553 dvi) \
47554 || exit 1
47555
47556 @endif target-liboffloadmic
47557
47558 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
47559 maybe-pdf-target-liboffloadmic:
47560 @if target-liboffloadmic
47561 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
47562
47563 pdf-target-liboffloadmic: \
47564 configure-target-liboffloadmic
47565 @: $(MAKE); $(unstage)
47566 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
47567 r=`${PWD_COMMAND}`; export r; \
47568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47569 $(NORMAL_TARGET_EXPORTS) \
47570 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
47571 for flag in $(EXTRA_TARGET_FLAGS); do \
47572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47573 done; \
47574 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47577 "RANLIB=$${RANLIB}" \
47578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47579 pdf) \
47580 || exit 1
47581
47582 @endif target-liboffloadmic
47583
47584 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
47585 maybe-html-target-liboffloadmic:
47586 @if target-liboffloadmic
47587 maybe-html-target-liboffloadmic: html-target-liboffloadmic
47588
47589 html-target-liboffloadmic: \
47590 configure-target-liboffloadmic
47591 @: $(MAKE); $(unstage)
47592 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
47593 r=`${PWD_COMMAND}`; export r; \
47594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47595 $(NORMAL_TARGET_EXPORTS) \
47596 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic"; \
47597 for flag in $(EXTRA_TARGET_FLAGS); do \
47598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47599 done; \
47600 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47603 "RANLIB=$${RANLIB}" \
47604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47605 html) \
47606 || exit 1
47607
47608 @endif target-liboffloadmic
47609
47610 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
47611 maybe-TAGS-target-liboffloadmic:
47612 @if target-liboffloadmic
47613 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
47614
47615 TAGS-target-liboffloadmic: \
47616 configure-target-liboffloadmic
47617 @: $(MAKE); $(unstage)
47618 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
47619 r=`${PWD_COMMAND}`; export r; \
47620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47621 $(NORMAL_TARGET_EXPORTS) \
47622 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic"; \
47623 for flag in $(EXTRA_TARGET_FLAGS); do \
47624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47625 done; \
47626 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47629 "RANLIB=$${RANLIB}" \
47630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47631 TAGS) \
47632 || exit 1
47633
47634 @endif target-liboffloadmic
47635
47636 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
47637 maybe-install-info-target-liboffloadmic:
47638 @if target-liboffloadmic
47639 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
47640
47641 install-info-target-liboffloadmic: \
47642 configure-target-liboffloadmic \
47643 info-target-liboffloadmic
47644 @: $(MAKE); $(unstage)
47645 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
47646 r=`${PWD_COMMAND}`; export r; \
47647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47648 $(NORMAL_TARGET_EXPORTS) \
47649 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic"; \
47650 for flag in $(EXTRA_TARGET_FLAGS); do \
47651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47652 done; \
47653 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47656 "RANLIB=$${RANLIB}" \
47657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47658 install-info) \
47659 || exit 1
47660
47661 @endif target-liboffloadmic
47662
47663 .PHONY: maybe-install-dvi-target-liboffloadmic install-dvi-target-liboffloadmic
47664 maybe-install-dvi-target-liboffloadmic:
47665 @if target-liboffloadmic
47666 maybe-install-dvi-target-liboffloadmic: install-dvi-target-liboffloadmic
47667
47668 install-dvi-target-liboffloadmic: \
47669 configure-target-liboffloadmic \
47670 dvi-target-liboffloadmic
47671 @: $(MAKE); $(unstage)
47672 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
47673 r=`${PWD_COMMAND}`; export r; \
47674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47675 $(NORMAL_TARGET_EXPORTS) \
47676 echo "Doing install-dvi in $(TARGET_SUBDIR)/liboffloadmic"; \
47677 for flag in $(EXTRA_TARGET_FLAGS); do \
47678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47679 done; \
47680 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47683 "RANLIB=$${RANLIB}" \
47684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47685 install-dvi) \
47686 || exit 1
47687
47688 @endif target-liboffloadmic
47689
47690 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
47691 maybe-install-pdf-target-liboffloadmic:
47692 @if target-liboffloadmic
47693 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
47694
47695 install-pdf-target-liboffloadmic: \
47696 configure-target-liboffloadmic \
47697 pdf-target-liboffloadmic
47698 @: $(MAKE); $(unstage)
47699 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
47700 r=`${PWD_COMMAND}`; export r; \
47701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47702 $(NORMAL_TARGET_EXPORTS) \
47703 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic"; \
47704 for flag in $(EXTRA_TARGET_FLAGS); do \
47705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47706 done; \
47707 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47710 "RANLIB=$${RANLIB}" \
47711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47712 install-pdf) \
47713 || exit 1
47714
47715 @endif target-liboffloadmic
47716
47717 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
47718 maybe-install-html-target-liboffloadmic:
47719 @if target-liboffloadmic
47720 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
47721
47722 install-html-target-liboffloadmic: \
47723 configure-target-liboffloadmic \
47724 html-target-liboffloadmic
47725 @: $(MAKE); $(unstage)
47726 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
47727 r=`${PWD_COMMAND}`; export r; \
47728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47729 $(NORMAL_TARGET_EXPORTS) \
47730 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic"; \
47731 for flag in $(EXTRA_TARGET_FLAGS); do \
47732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47733 done; \
47734 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47737 "RANLIB=$${RANLIB}" \
47738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47739 install-html) \
47740 || exit 1
47741
47742 @endif target-liboffloadmic
47743
47744 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
47745 maybe-installcheck-target-liboffloadmic:
47746 @if target-liboffloadmic
47747 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
47748
47749 installcheck-target-liboffloadmic: \
47750 configure-target-liboffloadmic
47751 @: $(MAKE); $(unstage)
47752 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
47753 r=`${PWD_COMMAND}`; export r; \
47754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47755 $(NORMAL_TARGET_EXPORTS) \
47756 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic"; \
47757 for flag in $(EXTRA_TARGET_FLAGS); do \
47758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47759 done; \
47760 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47763 "RANLIB=$${RANLIB}" \
47764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47765 installcheck) \
47766 || exit 1
47767
47768 @endif target-liboffloadmic
47769
47770 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
47771 maybe-mostlyclean-target-liboffloadmic:
47772 @if target-liboffloadmic
47773 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
47774
47775 mostlyclean-target-liboffloadmic:
47776 @: $(MAKE); $(unstage)
47777 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
47778 r=`${PWD_COMMAND}`; export r; \
47779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47780 $(NORMAL_TARGET_EXPORTS) \
47781 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic"; \
47782 for flag in $(EXTRA_TARGET_FLAGS); do \
47783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47784 done; \
47785 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47788 "RANLIB=$${RANLIB}" \
47789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47790 mostlyclean) \
47791 || exit 1
47792
47793 @endif target-liboffloadmic
47794
47795 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
47796 maybe-clean-target-liboffloadmic:
47797 @if target-liboffloadmic
47798 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
47799
47800 clean-target-liboffloadmic:
47801 @: $(MAKE); $(unstage)
47802 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
47803 r=`${PWD_COMMAND}`; export r; \
47804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47805 $(NORMAL_TARGET_EXPORTS) \
47806 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic"; \
47807 for flag in $(EXTRA_TARGET_FLAGS); do \
47808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47809 done; \
47810 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47813 "RANLIB=$${RANLIB}" \
47814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47815 clean) \
47816 || exit 1
47817
47818 @endif target-liboffloadmic
47819
47820 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
47821 maybe-distclean-target-liboffloadmic:
47822 @if target-liboffloadmic
47823 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
47824
47825 distclean-target-liboffloadmic:
47826 @: $(MAKE); $(unstage)
47827 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
47828 r=`${PWD_COMMAND}`; export r; \
47829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47830 $(NORMAL_TARGET_EXPORTS) \
47831 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic"; \
47832 for flag in $(EXTRA_TARGET_FLAGS); do \
47833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47834 done; \
47835 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47838 "RANLIB=$${RANLIB}" \
47839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47840 distclean) \
47841 || exit 1
47842
47843 @endif target-liboffloadmic
47844
47845 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
47846 maybe-maintainer-clean-target-liboffloadmic:
47847 @if target-liboffloadmic
47848 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
47849
47850 maintainer-clean-target-liboffloadmic:
47851 @: $(MAKE); $(unstage)
47852 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0; \
47853 r=`${PWD_COMMAND}`; export r; \
47854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47855 $(NORMAL_TARGET_EXPORTS) \
47856 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic"; \
47857 for flag in $(EXTRA_TARGET_FLAGS); do \
47858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47859 done; \
47860 (cd $(TARGET_SUBDIR)/liboffloadmic && \
47861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47863 "RANLIB=$${RANLIB}" \
47864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47865 maintainer-clean) \
47866 || exit 1
47867
47868 @endif target-liboffloadmic
47869
47870
47871
47872
47873
47874 .PHONY: configure-target-libssp maybe-configure-target-libssp
47875 maybe-configure-target-libssp:
47876 @if gcc-bootstrap
47877 configure-target-libssp: stage_current
47878 @endif gcc-bootstrap
47879 @if target-libssp
47880 maybe-configure-target-libssp: configure-target-libssp
47881 configure-target-libssp:
47882 @: $(MAKE); $(unstage)
47883 @r=`${PWD_COMMAND}`; export r; \
47884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47885 echo "Checking multilib configuration for libssp..."; \
47886 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
47887 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null; \
47888 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
47889 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
47890 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
47891 else \
47892 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
47893 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
47894 fi; \
47895 else \
47896 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
47897 fi; \
47898 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
47899 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp; \
47900 $(NORMAL_TARGET_EXPORTS) \
47901 echo Configuring in $(TARGET_SUBDIR)/libssp; \
47902 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
47903 case $(srcdir) in \
47904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47905 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
47906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47907 esac; \
47908 module_srcdir=libssp; \
47909 rm -f no-such-file || : ; \
47910 CONFIG_SITE=no-such-file $(SHELL) \
47911 $$s/$$module_srcdir/configure \
47912 --srcdir=$${topdir}/$$module_srcdir \
47913 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47914 --target=${target_alias} \
47915 || exit 1
47916 @endif target-libssp
47917
47918
47919
47920
47921
47922 .PHONY: all-target-libssp maybe-all-target-libssp
47923 maybe-all-target-libssp:
47924 @if gcc-bootstrap
47925 all-target-libssp: stage_current
47926 @endif gcc-bootstrap
47927 @if target-libssp
47928 TARGET-target-libssp=all
47929 maybe-all-target-libssp: all-target-libssp
47930 all-target-libssp: configure-target-libssp
47931 @: $(MAKE); $(unstage)
47932 @r=`${PWD_COMMAND}`; export r; \
47933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47934 $(NORMAL_TARGET_EXPORTS) \
47935 (cd $(TARGET_SUBDIR)/libssp && \
47936 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47937 $(TARGET-target-libssp))
47938 @endif target-libssp
47939
47940
47941
47942
47943
47944 .PHONY: check-target-libssp maybe-check-target-libssp
47945 maybe-check-target-libssp:
47946 @if target-libssp
47947 maybe-check-target-libssp: check-target-libssp
47948
47949 check-target-libssp:
47950 @: $(MAKE); $(unstage)
47951 @r=`${PWD_COMMAND}`; export r; \
47952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47953 $(NORMAL_TARGET_EXPORTS) \
47954 (cd $(TARGET_SUBDIR)/libssp && \
47955 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47956
47957 @endif target-libssp
47958
47959 .PHONY: install-target-libssp maybe-install-target-libssp
47960 maybe-install-target-libssp:
47961 @if target-libssp
47962 maybe-install-target-libssp: install-target-libssp
47963
47964 install-target-libssp: installdirs
47965 @: $(MAKE); $(unstage)
47966 @r=`${PWD_COMMAND}`; export r; \
47967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47968 $(NORMAL_TARGET_EXPORTS) \
47969 (cd $(TARGET_SUBDIR)/libssp && \
47970 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47971
47972 @endif target-libssp
47973
47974 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
47975 maybe-install-strip-target-libssp:
47976 @if target-libssp
47977 maybe-install-strip-target-libssp: install-strip-target-libssp
47978
47979 install-strip-target-libssp: installdirs
47980 @: $(MAKE); $(unstage)
47981 @r=`${PWD_COMMAND}`; export r; \
47982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47983 $(NORMAL_TARGET_EXPORTS) \
47984 (cd $(TARGET_SUBDIR)/libssp && \
47985 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
47986
47987 @endif target-libssp
47988
47989 # Other targets (info, dvi, pdf, etc.)
47990
47991 .PHONY: maybe-info-target-libssp info-target-libssp
47992 maybe-info-target-libssp:
47993 @if target-libssp
47994 maybe-info-target-libssp: info-target-libssp
47995
47996 info-target-libssp: \
47997 configure-target-libssp
47998 @: $(MAKE); $(unstage)
47999 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48000 r=`${PWD_COMMAND}`; export r; \
48001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48002 $(NORMAL_TARGET_EXPORTS) \
48003 echo "Doing info in $(TARGET_SUBDIR)/libssp"; \
48004 for flag in $(EXTRA_TARGET_FLAGS); do \
48005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48006 done; \
48007 (cd $(TARGET_SUBDIR)/libssp && \
48008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48010 "RANLIB=$${RANLIB}" \
48011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48012 info) \
48013 || exit 1
48014
48015 @endif target-libssp
48016
48017 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
48018 maybe-dvi-target-libssp:
48019 @if target-libssp
48020 maybe-dvi-target-libssp: dvi-target-libssp
48021
48022 dvi-target-libssp: \
48023 configure-target-libssp
48024 @: $(MAKE); $(unstage)
48025 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48026 r=`${PWD_COMMAND}`; export r; \
48027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48028 $(NORMAL_TARGET_EXPORTS) \
48029 echo "Doing dvi in $(TARGET_SUBDIR)/libssp"; \
48030 for flag in $(EXTRA_TARGET_FLAGS); do \
48031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48032 done; \
48033 (cd $(TARGET_SUBDIR)/libssp && \
48034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48036 "RANLIB=$${RANLIB}" \
48037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48038 dvi) \
48039 || exit 1
48040
48041 @endif target-libssp
48042
48043 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
48044 maybe-pdf-target-libssp:
48045 @if target-libssp
48046 maybe-pdf-target-libssp: pdf-target-libssp
48047
48048 pdf-target-libssp: \
48049 configure-target-libssp
48050 @: $(MAKE); $(unstage)
48051 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48052 r=`${PWD_COMMAND}`; export r; \
48053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48054 $(NORMAL_TARGET_EXPORTS) \
48055 echo "Doing pdf in $(TARGET_SUBDIR)/libssp"; \
48056 for flag in $(EXTRA_TARGET_FLAGS); do \
48057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48058 done; \
48059 (cd $(TARGET_SUBDIR)/libssp && \
48060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48062 "RANLIB=$${RANLIB}" \
48063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48064 pdf) \
48065 || exit 1
48066
48067 @endif target-libssp
48068
48069 .PHONY: maybe-html-target-libssp html-target-libssp
48070 maybe-html-target-libssp:
48071 @if target-libssp
48072 maybe-html-target-libssp: html-target-libssp
48073
48074 html-target-libssp: \
48075 configure-target-libssp
48076 @: $(MAKE); $(unstage)
48077 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48078 r=`${PWD_COMMAND}`; export r; \
48079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48080 $(NORMAL_TARGET_EXPORTS) \
48081 echo "Doing html in $(TARGET_SUBDIR)/libssp"; \
48082 for flag in $(EXTRA_TARGET_FLAGS); do \
48083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48084 done; \
48085 (cd $(TARGET_SUBDIR)/libssp && \
48086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48088 "RANLIB=$${RANLIB}" \
48089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48090 html) \
48091 || exit 1
48092
48093 @endif target-libssp
48094
48095 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
48096 maybe-TAGS-target-libssp:
48097 @if target-libssp
48098 maybe-TAGS-target-libssp: TAGS-target-libssp
48099
48100 TAGS-target-libssp: \
48101 configure-target-libssp
48102 @: $(MAKE); $(unstage)
48103 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48104 r=`${PWD_COMMAND}`; export r; \
48105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48106 $(NORMAL_TARGET_EXPORTS) \
48107 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp"; \
48108 for flag in $(EXTRA_TARGET_FLAGS); do \
48109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48110 done; \
48111 (cd $(TARGET_SUBDIR)/libssp && \
48112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48114 "RANLIB=$${RANLIB}" \
48115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48116 TAGS) \
48117 || exit 1
48118
48119 @endif target-libssp
48120
48121 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
48122 maybe-install-info-target-libssp:
48123 @if target-libssp
48124 maybe-install-info-target-libssp: install-info-target-libssp
48125
48126 install-info-target-libssp: \
48127 configure-target-libssp \
48128 info-target-libssp
48129 @: $(MAKE); $(unstage)
48130 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48131 r=`${PWD_COMMAND}`; export r; \
48132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48133 $(NORMAL_TARGET_EXPORTS) \
48134 echo "Doing install-info in $(TARGET_SUBDIR)/libssp"; \
48135 for flag in $(EXTRA_TARGET_FLAGS); do \
48136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48137 done; \
48138 (cd $(TARGET_SUBDIR)/libssp && \
48139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48141 "RANLIB=$${RANLIB}" \
48142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48143 install-info) \
48144 || exit 1
48145
48146 @endif target-libssp
48147
48148 .PHONY: maybe-install-dvi-target-libssp install-dvi-target-libssp
48149 maybe-install-dvi-target-libssp:
48150 @if target-libssp
48151 maybe-install-dvi-target-libssp: install-dvi-target-libssp
48152
48153 install-dvi-target-libssp: \
48154 configure-target-libssp \
48155 dvi-target-libssp
48156 @: $(MAKE); $(unstage)
48157 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48158 r=`${PWD_COMMAND}`; export r; \
48159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48160 $(NORMAL_TARGET_EXPORTS) \
48161 echo "Doing install-dvi in $(TARGET_SUBDIR)/libssp"; \
48162 for flag in $(EXTRA_TARGET_FLAGS); do \
48163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48164 done; \
48165 (cd $(TARGET_SUBDIR)/libssp && \
48166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48168 "RANLIB=$${RANLIB}" \
48169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48170 install-dvi) \
48171 || exit 1
48172
48173 @endif target-libssp
48174
48175 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
48176 maybe-install-pdf-target-libssp:
48177 @if target-libssp
48178 maybe-install-pdf-target-libssp: install-pdf-target-libssp
48179
48180 install-pdf-target-libssp: \
48181 configure-target-libssp \
48182 pdf-target-libssp
48183 @: $(MAKE); $(unstage)
48184 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48185 r=`${PWD_COMMAND}`; export r; \
48186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48187 $(NORMAL_TARGET_EXPORTS) \
48188 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp"; \
48189 for flag in $(EXTRA_TARGET_FLAGS); do \
48190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48191 done; \
48192 (cd $(TARGET_SUBDIR)/libssp && \
48193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48195 "RANLIB=$${RANLIB}" \
48196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48197 install-pdf) \
48198 || exit 1
48199
48200 @endif target-libssp
48201
48202 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
48203 maybe-install-html-target-libssp:
48204 @if target-libssp
48205 maybe-install-html-target-libssp: install-html-target-libssp
48206
48207 install-html-target-libssp: \
48208 configure-target-libssp \
48209 html-target-libssp
48210 @: $(MAKE); $(unstage)
48211 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48212 r=`${PWD_COMMAND}`; export r; \
48213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48214 $(NORMAL_TARGET_EXPORTS) \
48215 echo "Doing install-html in $(TARGET_SUBDIR)/libssp"; \
48216 for flag in $(EXTRA_TARGET_FLAGS); do \
48217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48218 done; \
48219 (cd $(TARGET_SUBDIR)/libssp && \
48220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48222 "RANLIB=$${RANLIB}" \
48223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48224 install-html) \
48225 || exit 1
48226
48227 @endif target-libssp
48228
48229 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
48230 maybe-installcheck-target-libssp:
48231 @if target-libssp
48232 maybe-installcheck-target-libssp: installcheck-target-libssp
48233
48234 installcheck-target-libssp: \
48235 configure-target-libssp
48236 @: $(MAKE); $(unstage)
48237 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48238 r=`${PWD_COMMAND}`; export r; \
48239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48240 $(NORMAL_TARGET_EXPORTS) \
48241 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp"; \
48242 for flag in $(EXTRA_TARGET_FLAGS); do \
48243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48244 done; \
48245 (cd $(TARGET_SUBDIR)/libssp && \
48246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48248 "RANLIB=$${RANLIB}" \
48249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48250 installcheck) \
48251 || exit 1
48252
48253 @endif target-libssp
48254
48255 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
48256 maybe-mostlyclean-target-libssp:
48257 @if target-libssp
48258 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
48259
48260 mostlyclean-target-libssp:
48261 @: $(MAKE); $(unstage)
48262 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48263 r=`${PWD_COMMAND}`; export r; \
48264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48265 $(NORMAL_TARGET_EXPORTS) \
48266 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp"; \
48267 for flag in $(EXTRA_TARGET_FLAGS); do \
48268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48269 done; \
48270 (cd $(TARGET_SUBDIR)/libssp && \
48271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48273 "RANLIB=$${RANLIB}" \
48274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48275 mostlyclean) \
48276 || exit 1
48277
48278 @endif target-libssp
48279
48280 .PHONY: maybe-clean-target-libssp clean-target-libssp
48281 maybe-clean-target-libssp:
48282 @if target-libssp
48283 maybe-clean-target-libssp: clean-target-libssp
48284
48285 clean-target-libssp:
48286 @: $(MAKE); $(unstage)
48287 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48288 r=`${PWD_COMMAND}`; export r; \
48289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48290 $(NORMAL_TARGET_EXPORTS) \
48291 echo "Doing clean in $(TARGET_SUBDIR)/libssp"; \
48292 for flag in $(EXTRA_TARGET_FLAGS); do \
48293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48294 done; \
48295 (cd $(TARGET_SUBDIR)/libssp && \
48296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48298 "RANLIB=$${RANLIB}" \
48299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48300 clean) \
48301 || exit 1
48302
48303 @endif target-libssp
48304
48305 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
48306 maybe-distclean-target-libssp:
48307 @if target-libssp
48308 maybe-distclean-target-libssp: distclean-target-libssp
48309
48310 distclean-target-libssp:
48311 @: $(MAKE); $(unstage)
48312 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48313 r=`${PWD_COMMAND}`; export r; \
48314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48315 $(NORMAL_TARGET_EXPORTS) \
48316 echo "Doing distclean in $(TARGET_SUBDIR)/libssp"; \
48317 for flag in $(EXTRA_TARGET_FLAGS); do \
48318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48319 done; \
48320 (cd $(TARGET_SUBDIR)/libssp && \
48321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48323 "RANLIB=$${RANLIB}" \
48324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48325 distclean) \
48326 || exit 1
48327
48328 @endif target-libssp
48329
48330 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
48331 maybe-maintainer-clean-target-libssp:
48332 @if target-libssp
48333 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
48334
48335 maintainer-clean-target-libssp:
48336 @: $(MAKE); $(unstage)
48337 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0; \
48338 r=`${PWD_COMMAND}`; export r; \
48339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48340 $(NORMAL_TARGET_EXPORTS) \
48341 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp"; \
48342 for flag in $(EXTRA_TARGET_FLAGS); do \
48343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48344 done; \
48345 (cd $(TARGET_SUBDIR)/libssp && \
48346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48348 "RANLIB=$${RANLIB}" \
48349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48350 maintainer-clean) \
48351 || exit 1
48352
48353 @endif target-libssp
48354
48355
48356
48357
48358
48359 .PHONY: configure-target-newlib maybe-configure-target-newlib
48360 maybe-configure-target-newlib:
48361 @if gcc-bootstrap
48362 configure-target-newlib: stage_current
48363 @endif gcc-bootstrap
48364 @if target-newlib
48365 maybe-configure-target-newlib: configure-target-newlib
48366 configure-target-newlib:
48367 @: $(MAKE); $(unstage)
48368 @r=`${PWD_COMMAND}`; export r; \
48369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48370 echo "Checking multilib configuration for newlib..."; \
48371 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
48372 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null; \
48373 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
48374 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
48375 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
48376 else \
48377 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
48378 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
48379 fi; \
48380 else \
48381 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
48382 fi; \
48383 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
48384 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib; \
48385 $(NORMAL_TARGET_EXPORTS) \
48386 echo Configuring in $(TARGET_SUBDIR)/newlib; \
48387 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
48388 case $(srcdir) in \
48389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48390 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
48391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48392 esac; \
48393 module_srcdir=newlib; \
48394 rm -f no-such-file || : ; \
48395 CONFIG_SITE=no-such-file $(SHELL) \
48396 $$s/$$module_srcdir/configure \
48397 --srcdir=$${topdir}/$$module_srcdir \
48398 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48399 --target=${target_alias} \
48400 || exit 1
48401 @endif target-newlib
48402
48403
48404
48405
48406
48407 .PHONY: all-target-newlib maybe-all-target-newlib
48408 maybe-all-target-newlib:
48409 @if gcc-bootstrap
48410 all-target-newlib: stage_current
48411 @endif gcc-bootstrap
48412 @if target-newlib
48413 TARGET-target-newlib=all
48414 maybe-all-target-newlib: all-target-newlib
48415 all-target-newlib: configure-target-newlib
48416 @: $(MAKE); $(unstage)
48417 @r=`${PWD_COMMAND}`; export r; \
48418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48419 $(NORMAL_TARGET_EXPORTS) \
48420 (cd $(TARGET_SUBDIR)/newlib && \
48421 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48422 $(TARGET-target-newlib))
48423 @endif target-newlib
48424
48425
48426
48427
48428
48429 .PHONY: check-target-newlib maybe-check-target-newlib
48430 maybe-check-target-newlib:
48431 @if target-newlib
48432 maybe-check-target-newlib: check-target-newlib
48433
48434 check-target-newlib:
48435 @: $(MAKE); $(unstage)
48436 @r=`${PWD_COMMAND}`; export r; \
48437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48438 $(NORMAL_TARGET_EXPORTS) \
48439 (cd $(TARGET_SUBDIR)/newlib && \
48440 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48441
48442 @endif target-newlib
48443
48444 .PHONY: install-target-newlib maybe-install-target-newlib
48445 maybe-install-target-newlib:
48446 @if target-newlib
48447 maybe-install-target-newlib: install-target-newlib
48448
48449 install-target-newlib: installdirs
48450 @: $(MAKE); $(unstage)
48451 @r=`${PWD_COMMAND}`; export r; \
48452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48453 $(NORMAL_TARGET_EXPORTS) \
48454 (cd $(TARGET_SUBDIR)/newlib && \
48455 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48456
48457 @endif target-newlib
48458
48459 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
48460 maybe-install-strip-target-newlib:
48461 @if target-newlib
48462 maybe-install-strip-target-newlib: install-strip-target-newlib
48463
48464 install-strip-target-newlib: installdirs
48465 @: $(MAKE); $(unstage)
48466 @r=`${PWD_COMMAND}`; export r; \
48467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48468 $(NORMAL_TARGET_EXPORTS) \
48469 (cd $(TARGET_SUBDIR)/newlib && \
48470 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
48471
48472 @endif target-newlib
48473
48474 # Other targets (info, dvi, pdf, etc.)
48475
48476 .PHONY: maybe-info-target-newlib info-target-newlib
48477 maybe-info-target-newlib:
48478 @if target-newlib
48479 maybe-info-target-newlib: info-target-newlib
48480
48481 info-target-newlib: \
48482 configure-target-newlib
48483 @: $(MAKE); $(unstage)
48484 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48485 r=`${PWD_COMMAND}`; export r; \
48486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48487 $(NORMAL_TARGET_EXPORTS) \
48488 echo "Doing info in $(TARGET_SUBDIR)/newlib"; \
48489 for flag in $(EXTRA_TARGET_FLAGS); do \
48490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48491 done; \
48492 (cd $(TARGET_SUBDIR)/newlib && \
48493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48495 "RANLIB=$${RANLIB}" \
48496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48497 info) \
48498 || exit 1
48499
48500 @endif target-newlib
48501
48502 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
48503 maybe-dvi-target-newlib:
48504 @if target-newlib
48505 maybe-dvi-target-newlib: dvi-target-newlib
48506
48507 dvi-target-newlib: \
48508 configure-target-newlib
48509 @: $(MAKE); $(unstage)
48510 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48511 r=`${PWD_COMMAND}`; export r; \
48512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48513 $(NORMAL_TARGET_EXPORTS) \
48514 echo "Doing dvi in $(TARGET_SUBDIR)/newlib"; \
48515 for flag in $(EXTRA_TARGET_FLAGS); do \
48516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48517 done; \
48518 (cd $(TARGET_SUBDIR)/newlib && \
48519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48521 "RANLIB=$${RANLIB}" \
48522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48523 dvi) \
48524 || exit 1
48525
48526 @endif target-newlib
48527
48528 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
48529 maybe-pdf-target-newlib:
48530 @if target-newlib
48531 maybe-pdf-target-newlib: pdf-target-newlib
48532
48533 pdf-target-newlib: \
48534 configure-target-newlib
48535 @: $(MAKE); $(unstage)
48536 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48537 r=`${PWD_COMMAND}`; export r; \
48538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48539 $(NORMAL_TARGET_EXPORTS) \
48540 echo "Doing pdf in $(TARGET_SUBDIR)/newlib"; \
48541 for flag in $(EXTRA_TARGET_FLAGS); do \
48542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48543 done; \
48544 (cd $(TARGET_SUBDIR)/newlib && \
48545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48547 "RANLIB=$${RANLIB}" \
48548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48549 pdf) \
48550 || exit 1
48551
48552 @endif target-newlib
48553
48554 .PHONY: maybe-html-target-newlib html-target-newlib
48555 maybe-html-target-newlib:
48556 @if target-newlib
48557 maybe-html-target-newlib: html-target-newlib
48558
48559 html-target-newlib: \
48560 configure-target-newlib
48561 @: $(MAKE); $(unstage)
48562 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48563 r=`${PWD_COMMAND}`; export r; \
48564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48565 $(NORMAL_TARGET_EXPORTS) \
48566 echo "Doing html in $(TARGET_SUBDIR)/newlib"; \
48567 for flag in $(EXTRA_TARGET_FLAGS); do \
48568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48569 done; \
48570 (cd $(TARGET_SUBDIR)/newlib && \
48571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48573 "RANLIB=$${RANLIB}" \
48574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48575 html) \
48576 || exit 1
48577
48578 @endif target-newlib
48579
48580 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
48581 maybe-TAGS-target-newlib:
48582 @if target-newlib
48583 maybe-TAGS-target-newlib: TAGS-target-newlib
48584
48585 TAGS-target-newlib: \
48586 configure-target-newlib
48587 @: $(MAKE); $(unstage)
48588 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48589 r=`${PWD_COMMAND}`; export r; \
48590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48591 $(NORMAL_TARGET_EXPORTS) \
48592 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib"; \
48593 for flag in $(EXTRA_TARGET_FLAGS); do \
48594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48595 done; \
48596 (cd $(TARGET_SUBDIR)/newlib && \
48597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48599 "RANLIB=$${RANLIB}" \
48600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48601 TAGS) \
48602 || exit 1
48603
48604 @endif target-newlib
48605
48606 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
48607 maybe-install-info-target-newlib:
48608 @if target-newlib
48609 maybe-install-info-target-newlib: install-info-target-newlib
48610
48611 install-info-target-newlib: \
48612 configure-target-newlib \
48613 info-target-newlib
48614 @: $(MAKE); $(unstage)
48615 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48616 r=`${PWD_COMMAND}`; export r; \
48617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48618 $(NORMAL_TARGET_EXPORTS) \
48619 echo "Doing install-info in $(TARGET_SUBDIR)/newlib"; \
48620 for flag in $(EXTRA_TARGET_FLAGS); do \
48621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48622 done; \
48623 (cd $(TARGET_SUBDIR)/newlib && \
48624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48626 "RANLIB=$${RANLIB}" \
48627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48628 install-info) \
48629 || exit 1
48630
48631 @endif target-newlib
48632
48633 .PHONY: maybe-install-dvi-target-newlib install-dvi-target-newlib
48634 maybe-install-dvi-target-newlib:
48635 @if target-newlib
48636 maybe-install-dvi-target-newlib: install-dvi-target-newlib
48637
48638 install-dvi-target-newlib: \
48639 configure-target-newlib \
48640 dvi-target-newlib
48641 @: $(MAKE); $(unstage)
48642 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48643 r=`${PWD_COMMAND}`; export r; \
48644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48645 $(NORMAL_TARGET_EXPORTS) \
48646 echo "Doing install-dvi in $(TARGET_SUBDIR)/newlib"; \
48647 for flag in $(EXTRA_TARGET_FLAGS); do \
48648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48649 done; \
48650 (cd $(TARGET_SUBDIR)/newlib && \
48651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48653 "RANLIB=$${RANLIB}" \
48654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48655 install-dvi) \
48656 || exit 1
48657
48658 @endif target-newlib
48659
48660 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
48661 maybe-install-pdf-target-newlib:
48662 @if target-newlib
48663 maybe-install-pdf-target-newlib: install-pdf-target-newlib
48664
48665 install-pdf-target-newlib: \
48666 configure-target-newlib \
48667 pdf-target-newlib
48668 @: $(MAKE); $(unstage)
48669 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48670 r=`${PWD_COMMAND}`; export r; \
48671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48672 $(NORMAL_TARGET_EXPORTS) \
48673 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib"; \
48674 for flag in $(EXTRA_TARGET_FLAGS); do \
48675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48676 done; \
48677 (cd $(TARGET_SUBDIR)/newlib && \
48678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48680 "RANLIB=$${RANLIB}" \
48681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48682 install-pdf) \
48683 || exit 1
48684
48685 @endif target-newlib
48686
48687 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
48688 maybe-install-html-target-newlib:
48689 @if target-newlib
48690 maybe-install-html-target-newlib: install-html-target-newlib
48691
48692 install-html-target-newlib: \
48693 configure-target-newlib \
48694 html-target-newlib
48695 @: $(MAKE); $(unstage)
48696 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48697 r=`${PWD_COMMAND}`; export r; \
48698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48699 $(NORMAL_TARGET_EXPORTS) \
48700 echo "Doing install-html in $(TARGET_SUBDIR)/newlib"; \
48701 for flag in $(EXTRA_TARGET_FLAGS); do \
48702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48703 done; \
48704 (cd $(TARGET_SUBDIR)/newlib && \
48705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48707 "RANLIB=$${RANLIB}" \
48708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48709 install-html) \
48710 || exit 1
48711
48712 @endif target-newlib
48713
48714 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
48715 maybe-installcheck-target-newlib:
48716 @if target-newlib
48717 maybe-installcheck-target-newlib: installcheck-target-newlib
48718
48719 installcheck-target-newlib: \
48720 configure-target-newlib
48721 @: $(MAKE); $(unstage)
48722 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48723 r=`${PWD_COMMAND}`; export r; \
48724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48725 $(NORMAL_TARGET_EXPORTS) \
48726 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib"; \
48727 for flag in $(EXTRA_TARGET_FLAGS); do \
48728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48729 done; \
48730 (cd $(TARGET_SUBDIR)/newlib && \
48731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48733 "RANLIB=$${RANLIB}" \
48734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48735 installcheck) \
48736 || exit 1
48737
48738 @endif target-newlib
48739
48740 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
48741 maybe-mostlyclean-target-newlib:
48742 @if target-newlib
48743 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
48744
48745 mostlyclean-target-newlib:
48746 @: $(MAKE); $(unstage)
48747 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48748 r=`${PWD_COMMAND}`; export r; \
48749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48750 $(NORMAL_TARGET_EXPORTS) \
48751 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib"; \
48752 for flag in $(EXTRA_TARGET_FLAGS); do \
48753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48754 done; \
48755 (cd $(TARGET_SUBDIR)/newlib && \
48756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48758 "RANLIB=$${RANLIB}" \
48759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48760 mostlyclean) \
48761 || exit 1
48762
48763 @endif target-newlib
48764
48765 .PHONY: maybe-clean-target-newlib clean-target-newlib
48766 maybe-clean-target-newlib:
48767 @if target-newlib
48768 maybe-clean-target-newlib: clean-target-newlib
48769
48770 clean-target-newlib:
48771 @: $(MAKE); $(unstage)
48772 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48773 r=`${PWD_COMMAND}`; export r; \
48774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48775 $(NORMAL_TARGET_EXPORTS) \
48776 echo "Doing clean in $(TARGET_SUBDIR)/newlib"; \
48777 for flag in $(EXTRA_TARGET_FLAGS); do \
48778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48779 done; \
48780 (cd $(TARGET_SUBDIR)/newlib && \
48781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48783 "RANLIB=$${RANLIB}" \
48784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48785 clean) \
48786 || exit 1
48787
48788 @endif target-newlib
48789
48790 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
48791 maybe-distclean-target-newlib:
48792 @if target-newlib
48793 maybe-distclean-target-newlib: distclean-target-newlib
48794
48795 distclean-target-newlib:
48796 @: $(MAKE); $(unstage)
48797 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48798 r=`${PWD_COMMAND}`; export r; \
48799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48800 $(NORMAL_TARGET_EXPORTS) \
48801 echo "Doing distclean in $(TARGET_SUBDIR)/newlib"; \
48802 for flag in $(EXTRA_TARGET_FLAGS); do \
48803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48804 done; \
48805 (cd $(TARGET_SUBDIR)/newlib && \
48806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48808 "RANLIB=$${RANLIB}" \
48809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48810 distclean) \
48811 || exit 1
48812
48813 @endif target-newlib
48814
48815 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
48816 maybe-maintainer-clean-target-newlib:
48817 @if target-newlib
48818 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
48819
48820 maintainer-clean-target-newlib:
48821 @: $(MAKE); $(unstage)
48822 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0; \
48823 r=`${PWD_COMMAND}`; export r; \
48824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48825 $(NORMAL_TARGET_EXPORTS) \
48826 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib"; \
48827 for flag in $(EXTRA_TARGET_FLAGS); do \
48828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48829 done; \
48830 (cd $(TARGET_SUBDIR)/newlib && \
48831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48833 "RANLIB=$${RANLIB}" \
48834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48835 maintainer-clean) \
48836 || exit 1
48837
48838 @endif target-newlib
48839
48840
48841
48842
48843
48844 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
48845 maybe-configure-target-libgcc:
48846 @if gcc-bootstrap
48847 configure-target-libgcc: stage_current
48848 @endif gcc-bootstrap
48849 @if target-libgcc
48850 maybe-configure-target-libgcc: configure-target-libgcc
48851 configure-target-libgcc:
48852 @r=`${PWD_COMMAND}`; export r; \
48853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48854 echo "Checking multilib configuration for libgcc..."; \
48855 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
48856 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
48857 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48858 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48859 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48860 else \
48861 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48862 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48863 fi; \
48864 else \
48865 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48866 fi; \
48867 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48868 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
48869 $(NORMAL_TARGET_EXPORTS) \
48870 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
48871 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
48872 case $(srcdir) in \
48873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48874 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48876 esac; \
48877 module_srcdir=libgcc; \
48878 rm -f no-such-file || : ; \
48879 CONFIG_SITE=no-such-file $(SHELL) \
48880 $$s/$$module_srcdir/configure \
48881 --srcdir=$${topdir}/$$module_srcdir \
48882 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48883 --target=${target_alias} \
48884 || exit 1
48885 @endif target-libgcc
48886
48887
48888
48889 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
48890 maybe-configure-stage1-target-libgcc:
48891 @if target-libgcc-bootstrap
48892 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
48893 configure-stage1-target-libgcc:
48894 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
48895 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48896 @r=`${PWD_COMMAND}`; export r; \
48897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48898 TFLAGS="$(STAGE1_TFLAGS)"; \
48899 echo "Checking multilib configuration for libgcc..."; \
48900 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
48901 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48902 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48903 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48904 else \
48905 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48906 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48907 fi; \
48908 else \
48909 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48910 fi; \
48911 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48912 $(NORMAL_TARGET_EXPORTS) \
48913 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48914 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48915 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48916 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc; \
48917 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
48918 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48919 case $(srcdir) in \
48920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48921 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48923 esac; \
48924 module_srcdir=libgcc; \
48925 $(SHELL) $$s/$$module_srcdir/configure \
48926 --srcdir=$${topdir}/$$module_srcdir \
48927 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48928 --target=${target_alias} \
48929 \
48930 $(STAGE1_CONFIGURE_FLAGS)
48931 @endif target-libgcc-bootstrap
48932
48933 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
48934 maybe-configure-stage2-target-libgcc:
48935 @if target-libgcc-bootstrap
48936 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
48937 configure-stage2-target-libgcc:
48938 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
48939 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48940 @r=`${PWD_COMMAND}`; export r; \
48941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48942 TFLAGS="$(STAGE2_TFLAGS)"; \
48943 echo "Checking multilib configuration for libgcc..."; \
48944 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
48945 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48946 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48947 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48948 else \
48949 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48950 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48951 fi; \
48952 else \
48953 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48954 fi; \
48955 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
48956 $(NORMAL_TARGET_EXPORTS) \
48957 \
48958 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
48959 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
48960 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
48961 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc; \
48962 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
48963 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
48964 case $(srcdir) in \
48965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48966 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
48967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48968 esac; \
48969 module_srcdir=libgcc; \
48970 $(SHELL) $$s/$$module_srcdir/configure \
48971 --srcdir=$${topdir}/$$module_srcdir \
48972 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48973 --target=${target_alias} \
48974 --with-build-libsubdir=$(HOST_SUBDIR) \
48975 $(STAGE2_CONFIGURE_FLAGS)
48976 @endif target-libgcc-bootstrap
48977
48978 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
48979 maybe-configure-stage3-target-libgcc:
48980 @if target-libgcc-bootstrap
48981 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
48982 configure-stage3-target-libgcc:
48983 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
48984 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
48985 @r=`${PWD_COMMAND}`; export r; \
48986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48987 TFLAGS="$(STAGE3_TFLAGS)"; \
48988 echo "Checking multilib configuration for libgcc..."; \
48989 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
48990 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48991 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
48992 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
48993 else \
48994 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
48995 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48996 fi; \
48997 else \
48998 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
48999 fi; \
49000 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49001 $(NORMAL_TARGET_EXPORTS) \
49002 \
49003 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49004 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49005 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49006 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc; \
49007 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49008 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49009 case $(srcdir) in \
49010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49011 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49013 esac; \
49014 module_srcdir=libgcc; \
49015 $(SHELL) $$s/$$module_srcdir/configure \
49016 --srcdir=$${topdir}/$$module_srcdir \
49017 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49018 --target=${target_alias} \
49019 --with-build-libsubdir=$(HOST_SUBDIR) \
49020 $(STAGE3_CONFIGURE_FLAGS)
49021 @endif target-libgcc-bootstrap
49022
49023 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
49024 maybe-configure-stage4-target-libgcc:
49025 @if target-libgcc-bootstrap
49026 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
49027 configure-stage4-target-libgcc:
49028 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
49029 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49030 @r=`${PWD_COMMAND}`; export r; \
49031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49032 TFLAGS="$(STAGE4_TFLAGS)"; \
49033 echo "Checking multilib configuration for libgcc..."; \
49034 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49035 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49036 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49037 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49038 else \
49039 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49040 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49041 fi; \
49042 else \
49043 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49044 fi; \
49045 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49046 $(NORMAL_TARGET_EXPORTS) \
49047 \
49048 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49049 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49050 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49051 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc; \
49052 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49053 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49054 case $(srcdir) in \
49055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49056 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49058 esac; \
49059 module_srcdir=libgcc; \
49060 $(SHELL) $$s/$$module_srcdir/configure \
49061 --srcdir=$${topdir}/$$module_srcdir \
49062 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49063 --target=${target_alias} \
49064 --with-build-libsubdir=$(HOST_SUBDIR) \
49065 $(STAGE4_CONFIGURE_FLAGS)
49066 @endif target-libgcc-bootstrap
49067
49068 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
49069 maybe-configure-stageprofile-target-libgcc:
49070 @if target-libgcc-bootstrap
49071 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
49072 configure-stageprofile-target-libgcc:
49073 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
49074 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49075 @r=`${PWD_COMMAND}`; export r; \
49076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49077 TFLAGS="$(STAGEprofile_TFLAGS)"; \
49078 echo "Checking multilib configuration for libgcc..."; \
49079 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49080 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49081 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49082 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49083 else \
49084 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49085 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49086 fi; \
49087 else \
49088 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49089 fi; \
49090 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49091 $(NORMAL_TARGET_EXPORTS) \
49092 \
49093 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49094 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49095 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49096 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc; \
49097 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49098 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49099 case $(srcdir) in \
49100 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49101 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49102 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49103 esac; \
49104 module_srcdir=libgcc; \
49105 $(SHELL) $$s/$$module_srcdir/configure \
49106 --srcdir=$${topdir}/$$module_srcdir \
49107 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49108 --target=${target_alias} \
49109 --with-build-libsubdir=$(HOST_SUBDIR) \
49110 $(STAGEprofile_CONFIGURE_FLAGS)
49111 @endif target-libgcc-bootstrap
49112
49113 .PHONY: configure-stagetrain-target-libgcc maybe-configure-stagetrain-target-libgcc
49114 maybe-configure-stagetrain-target-libgcc:
49115 @if target-libgcc-bootstrap
49116 maybe-configure-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
49117 configure-stagetrain-target-libgcc:
49118 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
49119 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49120 @r=`${PWD_COMMAND}`; export r; \
49121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49122 TFLAGS="$(STAGEtrain_TFLAGS)"; \
49123 echo "Checking multilib configuration for libgcc..."; \
49124 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49125 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49126 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49127 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49128 else \
49129 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49130 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49131 fi; \
49132 else \
49133 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49134 fi; \
49135 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49136 $(NORMAL_TARGET_EXPORTS) \
49137 \
49138 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49139 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49140 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49141 echo Configuring stage train in $(TARGET_SUBDIR)/libgcc; \
49142 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49143 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49144 case $(srcdir) in \
49145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49146 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49148 esac; \
49149 module_srcdir=libgcc; \
49150 $(SHELL) $$s/$$module_srcdir/configure \
49151 --srcdir=$${topdir}/$$module_srcdir \
49152 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49153 --target=${target_alias} \
49154 --with-build-libsubdir=$(HOST_SUBDIR) \
49155 $(STAGEtrain_CONFIGURE_FLAGS)
49156 @endif target-libgcc-bootstrap
49157
49158 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
49159 maybe-configure-stagefeedback-target-libgcc:
49160 @if target-libgcc-bootstrap
49161 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
49162 configure-stagefeedback-target-libgcc:
49163 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
49164 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49165 @r=`${PWD_COMMAND}`; export r; \
49166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49167 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
49168 echo "Checking multilib configuration for libgcc..."; \
49169 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49170 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49171 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49172 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49173 else \
49174 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49175 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49176 fi; \
49177 else \
49178 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49179 fi; \
49180 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49181 $(NORMAL_TARGET_EXPORTS) \
49182 \
49183 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49184 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49185 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49186 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc; \
49187 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49188 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49189 case $(srcdir) in \
49190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49191 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49193 esac; \
49194 module_srcdir=libgcc; \
49195 $(SHELL) $$s/$$module_srcdir/configure \
49196 --srcdir=$${topdir}/$$module_srcdir \
49197 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49198 --target=${target_alias} \
49199 --with-build-libsubdir=$(HOST_SUBDIR) \
49200 $(STAGEfeedback_CONFIGURE_FLAGS)
49201 @endif target-libgcc-bootstrap
49202
49203 .PHONY: configure-stageautoprofile-target-libgcc maybe-configure-stageautoprofile-target-libgcc
49204 maybe-configure-stageautoprofile-target-libgcc:
49205 @if target-libgcc-bootstrap
49206 maybe-configure-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
49207 configure-stageautoprofile-target-libgcc:
49208 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
49209 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49210 @r=`${PWD_COMMAND}`; export r; \
49211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49212 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
49213 echo "Checking multilib configuration for libgcc..."; \
49214 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49215 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49216 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49217 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49218 else \
49219 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49220 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49221 fi; \
49222 else \
49223 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49224 fi; \
49225 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49226 $(NORMAL_TARGET_EXPORTS) \
49227 \
49228 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49229 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49230 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49231 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgcc; \
49232 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49233 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49234 case $(srcdir) in \
49235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49236 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49238 esac; \
49239 module_srcdir=libgcc; \
49240 $(SHELL) $$s/$$module_srcdir/configure \
49241 --srcdir=$${topdir}/$$module_srcdir \
49242 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49243 --target=${target_alias} \
49244 --with-build-libsubdir=$(HOST_SUBDIR) \
49245 $(STAGEautoprofile_CONFIGURE_FLAGS)
49246 @endif target-libgcc-bootstrap
49247
49248 .PHONY: configure-stageautofeedback-target-libgcc maybe-configure-stageautofeedback-target-libgcc
49249 maybe-configure-stageautofeedback-target-libgcc:
49250 @if target-libgcc-bootstrap
49251 maybe-configure-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
49252 configure-stageautofeedback-target-libgcc:
49253 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
49254 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
49255 @r=`${PWD_COMMAND}`; export r; \
49256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49257 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
49258 echo "Checking multilib configuration for libgcc..."; \
49259 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null; \
49260 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49261 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
49262 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
49263 else \
49264 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
49265 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49266 fi; \
49267 else \
49268 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
49269 fi; \
49270 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
49271 $(NORMAL_TARGET_EXPORTS) \
49272 \
49273 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
49274 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
49275 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
49276 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgcc; \
49277 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc; \
49278 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
49279 case $(srcdir) in \
49280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49281 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
49282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49283 esac; \
49284 module_srcdir=libgcc; \
49285 $(SHELL) $$s/$$module_srcdir/configure \
49286 --srcdir=$${topdir}/$$module_srcdir \
49287 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49288 --target=${target_alias} \
49289 --with-build-libsubdir=$(HOST_SUBDIR) \
49290 $(STAGEautofeedback_CONFIGURE_FLAGS)
49291 @endif target-libgcc-bootstrap
49292
49293
49294
49295
49296
49297 .PHONY: all-target-libgcc maybe-all-target-libgcc
49298 maybe-all-target-libgcc:
49299 @if gcc-bootstrap
49300 all-target-libgcc: stage_current
49301 @endif gcc-bootstrap
49302 @if target-libgcc
49303 TARGET-target-libgcc=all
49304 maybe-all-target-libgcc: all-target-libgcc
49305 all-target-libgcc: configure-target-libgcc
49306 @r=`${PWD_COMMAND}`; export r; \
49307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49308 $(NORMAL_TARGET_EXPORTS) \
49309 (cd $(TARGET_SUBDIR)/libgcc && \
49310 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49311 $(TARGET-target-libgcc))
49312 @endif target-libgcc
49313
49314
49315
49316 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
49317 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
49318 maybe-all-stage1-target-libgcc:
49319 maybe-clean-stage1-target-libgcc:
49320 @if target-libgcc-bootstrap
49321 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
49322 all-stage1: all-stage1-target-libgcc
49323 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
49324 all-stage1-target-libgcc: configure-stage1-target-libgcc
49325 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
49326 @r=`${PWD_COMMAND}`; export r; \
49327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49328 TFLAGS="$(STAGE1_TFLAGS)"; \
49329 $(NORMAL_TARGET_EXPORTS) \
49330 cd $(TARGET_SUBDIR)/libgcc && \
49331 \
49332 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49333 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49334 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49335 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49336 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49337 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49338 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49339 $(EXTRA_TARGET_FLAGS) \
49340 \
49341 TFLAGS="$(STAGE1_TFLAGS)" \
49342 $(TARGET-stage1-target-libgcc)
49343
49344 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
49345 clean-stage1: clean-stage1-target-libgcc
49346 clean-stage1-target-libgcc:
49347 @if [ $(current_stage) = stage1 ]; then \
49348 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49349 else \
49350 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
49351 $(MAKE) stage1-start; \
49352 fi; \
49353 cd $(TARGET_SUBDIR)/libgcc && \
49354 $(MAKE) $(EXTRA_TARGET_FLAGS) \
49355 clean
49356 @endif target-libgcc-bootstrap
49357
49358
49359 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
49360 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
49361 maybe-all-stage2-target-libgcc:
49362 maybe-clean-stage2-target-libgcc:
49363 @if target-libgcc-bootstrap
49364 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
49365 all-stage2: all-stage2-target-libgcc
49366 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
49367 all-stage2-target-libgcc: configure-stage2-target-libgcc
49368 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
49369 @r=`${PWD_COMMAND}`; export r; \
49370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49371 TFLAGS="$(STAGE2_TFLAGS)"; \
49372 $(NORMAL_TARGET_EXPORTS) \
49373 \
49374 cd $(TARGET_SUBDIR)/libgcc && \
49375 \
49376 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49377 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49378 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49379 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49380 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49381 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49382 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49383 $(EXTRA_TARGET_FLAGS) \
49384 TFLAGS="$(STAGE2_TFLAGS)" \
49385 $(TARGET-stage2-target-libgcc)
49386
49387 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
49388 clean-stage2: clean-stage2-target-libgcc
49389 clean-stage2-target-libgcc:
49390 @if [ $(current_stage) = stage2 ]; then \
49391 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49392 else \
49393 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
49394 $(MAKE) stage2-start; \
49395 fi; \
49396 cd $(TARGET_SUBDIR)/libgcc && \
49397 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49398 @endif target-libgcc-bootstrap
49399
49400
49401 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
49402 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
49403 maybe-all-stage3-target-libgcc:
49404 maybe-clean-stage3-target-libgcc:
49405 @if target-libgcc-bootstrap
49406 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
49407 all-stage3: all-stage3-target-libgcc
49408 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
49409 all-stage3-target-libgcc: configure-stage3-target-libgcc
49410 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
49411 @r=`${PWD_COMMAND}`; export r; \
49412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49413 TFLAGS="$(STAGE3_TFLAGS)"; \
49414 $(NORMAL_TARGET_EXPORTS) \
49415 \
49416 cd $(TARGET_SUBDIR)/libgcc && \
49417 \
49418 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49419 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49420 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49421 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49422 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49423 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49424 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49425 $(EXTRA_TARGET_FLAGS) \
49426 TFLAGS="$(STAGE3_TFLAGS)" \
49427 $(TARGET-stage3-target-libgcc)
49428
49429 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
49430 clean-stage3: clean-stage3-target-libgcc
49431 clean-stage3-target-libgcc:
49432 @if [ $(current_stage) = stage3 ]; then \
49433 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49434 else \
49435 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
49436 $(MAKE) stage3-start; \
49437 fi; \
49438 cd $(TARGET_SUBDIR)/libgcc && \
49439 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49440 @endif target-libgcc-bootstrap
49441
49442
49443 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
49444 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
49445 maybe-all-stage4-target-libgcc:
49446 maybe-clean-stage4-target-libgcc:
49447 @if target-libgcc-bootstrap
49448 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
49449 all-stage4: all-stage4-target-libgcc
49450 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
49451 all-stage4-target-libgcc: configure-stage4-target-libgcc
49452 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
49453 @r=`${PWD_COMMAND}`; export r; \
49454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49455 TFLAGS="$(STAGE4_TFLAGS)"; \
49456 $(NORMAL_TARGET_EXPORTS) \
49457 \
49458 cd $(TARGET_SUBDIR)/libgcc && \
49459 \
49460 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49461 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49462 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49463 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49464 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49465 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49466 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49467 $(EXTRA_TARGET_FLAGS) \
49468 TFLAGS="$(STAGE4_TFLAGS)" \
49469 $(TARGET-stage4-target-libgcc)
49470
49471 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
49472 clean-stage4: clean-stage4-target-libgcc
49473 clean-stage4-target-libgcc:
49474 @if [ $(current_stage) = stage4 ]; then \
49475 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49476 else \
49477 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
49478 $(MAKE) stage4-start; \
49479 fi; \
49480 cd $(TARGET_SUBDIR)/libgcc && \
49481 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49482 @endif target-libgcc-bootstrap
49483
49484
49485 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
49486 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
49487 maybe-all-stageprofile-target-libgcc:
49488 maybe-clean-stageprofile-target-libgcc:
49489 @if target-libgcc-bootstrap
49490 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
49491 all-stageprofile: all-stageprofile-target-libgcc
49492 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
49493 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
49494 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
49495 @r=`${PWD_COMMAND}`; export r; \
49496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49497 TFLAGS="$(STAGEprofile_TFLAGS)"; \
49498 $(NORMAL_TARGET_EXPORTS) \
49499 \
49500 cd $(TARGET_SUBDIR)/libgcc && \
49501 \
49502 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49503 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49504 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49505 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49506 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49507 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49508 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49509 $(EXTRA_TARGET_FLAGS) \
49510 TFLAGS="$(STAGEprofile_TFLAGS)" \
49511 $(TARGET-stageprofile-target-libgcc)
49512
49513 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
49514 clean-stageprofile: clean-stageprofile-target-libgcc
49515 clean-stageprofile-target-libgcc:
49516 @if [ $(current_stage) = stageprofile ]; then \
49517 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49518 else \
49519 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
49520 $(MAKE) stageprofile-start; \
49521 fi; \
49522 cd $(TARGET_SUBDIR)/libgcc && \
49523 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49524 @endif target-libgcc-bootstrap
49525
49526
49527 .PHONY: all-stagetrain-target-libgcc maybe-all-stagetrain-target-libgcc
49528 .PHONY: clean-stagetrain-target-libgcc maybe-clean-stagetrain-target-libgcc
49529 maybe-all-stagetrain-target-libgcc:
49530 maybe-clean-stagetrain-target-libgcc:
49531 @if target-libgcc-bootstrap
49532 maybe-all-stagetrain-target-libgcc: all-stagetrain-target-libgcc
49533 all-stagetrain: all-stagetrain-target-libgcc
49534 TARGET-stagetrain-target-libgcc = $(TARGET-target-libgcc)
49535 all-stagetrain-target-libgcc: configure-stagetrain-target-libgcc
49536 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
49537 @r=`${PWD_COMMAND}`; export r; \
49538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49539 TFLAGS="$(STAGEtrain_TFLAGS)"; \
49540 $(NORMAL_TARGET_EXPORTS) \
49541 \
49542 cd $(TARGET_SUBDIR)/libgcc && \
49543 \
49544 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49545 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49546 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49547 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49548 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49549 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49550 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49551 $(EXTRA_TARGET_FLAGS) \
49552 TFLAGS="$(STAGEtrain_TFLAGS)" \
49553 $(TARGET-stagetrain-target-libgcc)
49554
49555 maybe-clean-stagetrain-target-libgcc: clean-stagetrain-target-libgcc
49556 clean-stagetrain: clean-stagetrain-target-libgcc
49557 clean-stagetrain-target-libgcc:
49558 @if [ $(current_stage) = stagetrain ]; then \
49559 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49560 else \
49561 [ -f $(TARGET_SUBDIR)/stagetrain-libgcc/Makefile ] || exit 0; \
49562 $(MAKE) stagetrain-start; \
49563 fi; \
49564 cd $(TARGET_SUBDIR)/libgcc && \
49565 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49566 @endif target-libgcc-bootstrap
49567
49568
49569 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
49570 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
49571 maybe-all-stagefeedback-target-libgcc:
49572 maybe-clean-stagefeedback-target-libgcc:
49573 @if target-libgcc-bootstrap
49574 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
49575 all-stagefeedback: all-stagefeedback-target-libgcc
49576 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
49577 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
49578 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
49579 @r=`${PWD_COMMAND}`; export r; \
49580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49581 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
49582 $(NORMAL_TARGET_EXPORTS) \
49583 \
49584 cd $(TARGET_SUBDIR)/libgcc && \
49585 \
49586 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49587 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49588 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49589 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49590 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49591 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49592 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49593 $(EXTRA_TARGET_FLAGS) \
49594 TFLAGS="$(STAGEfeedback_TFLAGS)" \
49595 $(TARGET-stagefeedback-target-libgcc)
49596
49597 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
49598 clean-stagefeedback: clean-stagefeedback-target-libgcc
49599 clean-stagefeedback-target-libgcc:
49600 @if [ $(current_stage) = stagefeedback ]; then \
49601 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49602 else \
49603 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
49604 $(MAKE) stagefeedback-start; \
49605 fi; \
49606 cd $(TARGET_SUBDIR)/libgcc && \
49607 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49608 @endif target-libgcc-bootstrap
49609
49610
49611 .PHONY: all-stageautoprofile-target-libgcc maybe-all-stageautoprofile-target-libgcc
49612 .PHONY: clean-stageautoprofile-target-libgcc maybe-clean-stageautoprofile-target-libgcc
49613 maybe-all-stageautoprofile-target-libgcc:
49614 maybe-clean-stageautoprofile-target-libgcc:
49615 @if target-libgcc-bootstrap
49616 maybe-all-stageautoprofile-target-libgcc: all-stageautoprofile-target-libgcc
49617 all-stageautoprofile: all-stageautoprofile-target-libgcc
49618 TARGET-stageautoprofile-target-libgcc = $(TARGET-target-libgcc)
49619 all-stageautoprofile-target-libgcc: configure-stageautoprofile-target-libgcc
49620 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
49621 @r=`${PWD_COMMAND}`; export r; \
49622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49623 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
49624 $(NORMAL_TARGET_EXPORTS) \
49625 \
49626 cd $(TARGET_SUBDIR)/libgcc && \
49627 $$s/gcc/config/i386/$(AUTO_PROFILE) \
49628 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49629 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49630 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49631 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49632 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49633 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49634 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49635 $(EXTRA_TARGET_FLAGS) \
49636 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
49637 $(TARGET-stageautoprofile-target-libgcc)
49638
49639 maybe-clean-stageautoprofile-target-libgcc: clean-stageautoprofile-target-libgcc
49640 clean-stageautoprofile: clean-stageautoprofile-target-libgcc
49641 clean-stageautoprofile-target-libgcc:
49642 @if [ $(current_stage) = stageautoprofile ]; then \
49643 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49644 else \
49645 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgcc/Makefile ] || exit 0; \
49646 $(MAKE) stageautoprofile-start; \
49647 fi; \
49648 cd $(TARGET_SUBDIR)/libgcc && \
49649 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49650 @endif target-libgcc-bootstrap
49651
49652
49653 .PHONY: all-stageautofeedback-target-libgcc maybe-all-stageautofeedback-target-libgcc
49654 .PHONY: clean-stageautofeedback-target-libgcc maybe-clean-stageautofeedback-target-libgcc
49655 maybe-all-stageautofeedback-target-libgcc:
49656 maybe-clean-stageautofeedback-target-libgcc:
49657 @if target-libgcc-bootstrap
49658 maybe-all-stageautofeedback-target-libgcc: all-stageautofeedback-target-libgcc
49659 all-stageautofeedback: all-stageautofeedback-target-libgcc
49660 TARGET-stageautofeedback-target-libgcc = $(TARGET-target-libgcc)
49661 all-stageautofeedback-target-libgcc: configure-stageautofeedback-target-libgcc
49662 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
49663 @r=`${PWD_COMMAND}`; export r; \
49664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49665 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
49666 $(NORMAL_TARGET_EXPORTS) \
49667 \
49668 cd $(TARGET_SUBDIR)/libgcc && \
49669 \
49670 $(MAKE) $(BASE_FLAGS_TO_PASS) \
49671 CFLAGS="$(CFLAGS_FOR_TARGET)" \
49672 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
49673 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
49674 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
49675 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
49676 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
49677 $(EXTRA_TARGET_FLAGS) \
49678 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
49679 $(TARGET-stageautofeedback-target-libgcc)
49680
49681 maybe-clean-stageautofeedback-target-libgcc: clean-stageautofeedback-target-libgcc
49682 clean-stageautofeedback: clean-stageautofeedback-target-libgcc
49683 clean-stageautofeedback-target-libgcc:
49684 @if [ $(current_stage) = stageautofeedback ]; then \
49685 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49686 else \
49687 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgcc/Makefile ] || exit 0; \
49688 $(MAKE) stageautofeedback-start; \
49689 fi; \
49690 cd $(TARGET_SUBDIR)/libgcc && \
49691 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
49692 @endif target-libgcc-bootstrap
49693
49694
49695
49696
49697
49698
49699 .PHONY: check-target-libgcc maybe-check-target-libgcc
49700 maybe-check-target-libgcc:
49701 @if target-libgcc
49702 maybe-check-target-libgcc: check-target-libgcc
49703
49704 # Dummy target for uncheckable module.
49705 check-target-libgcc:
49706
49707 @endif target-libgcc
49708
49709 .PHONY: install-target-libgcc maybe-install-target-libgcc
49710 maybe-install-target-libgcc:
49711 @if target-libgcc
49712 maybe-install-target-libgcc: install-target-libgcc
49713
49714 install-target-libgcc: installdirs
49715 @: $(MAKE); $(unstage)
49716 @r=`${PWD_COMMAND}`; export r; \
49717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49718 $(NORMAL_TARGET_EXPORTS) \
49719 (cd $(TARGET_SUBDIR)/libgcc && \
49720 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49721
49722 @endif target-libgcc
49723
49724 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
49725 maybe-install-strip-target-libgcc:
49726 @if target-libgcc
49727 maybe-install-strip-target-libgcc: install-strip-target-libgcc
49728
49729 install-strip-target-libgcc: installdirs
49730 @: $(MAKE); $(unstage)
49731 @r=`${PWD_COMMAND}`; export r; \
49732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49733 $(NORMAL_TARGET_EXPORTS) \
49734 (cd $(TARGET_SUBDIR)/libgcc && \
49735 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
49736
49737 @endif target-libgcc
49738
49739 # Other targets (info, dvi, pdf, etc.)
49740
49741 .PHONY: maybe-info-target-libgcc info-target-libgcc
49742 maybe-info-target-libgcc:
49743 @if target-libgcc
49744 maybe-info-target-libgcc: info-target-libgcc
49745
49746 info-target-libgcc: \
49747 configure-target-libgcc
49748 @: $(MAKE); $(unstage)
49749 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49750 r=`${PWD_COMMAND}`; export r; \
49751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49752 $(NORMAL_TARGET_EXPORTS) \
49753 echo "Doing info in $(TARGET_SUBDIR)/libgcc"; \
49754 for flag in $(EXTRA_TARGET_FLAGS); do \
49755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49756 done; \
49757 (cd $(TARGET_SUBDIR)/libgcc && \
49758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49760 "RANLIB=$${RANLIB}" \
49761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49762 info) \
49763 || exit 1
49764
49765 @endif target-libgcc
49766
49767 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
49768 maybe-dvi-target-libgcc:
49769 @if target-libgcc
49770 maybe-dvi-target-libgcc: dvi-target-libgcc
49771
49772 dvi-target-libgcc: \
49773 configure-target-libgcc
49774 @: $(MAKE); $(unstage)
49775 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49776 r=`${PWD_COMMAND}`; export r; \
49777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49778 $(NORMAL_TARGET_EXPORTS) \
49779 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc"; \
49780 for flag in $(EXTRA_TARGET_FLAGS); do \
49781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49782 done; \
49783 (cd $(TARGET_SUBDIR)/libgcc && \
49784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49786 "RANLIB=$${RANLIB}" \
49787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49788 dvi) \
49789 || exit 1
49790
49791 @endif target-libgcc
49792
49793 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
49794 maybe-pdf-target-libgcc:
49795 @if target-libgcc
49796 maybe-pdf-target-libgcc: pdf-target-libgcc
49797
49798 pdf-target-libgcc: \
49799 configure-target-libgcc
49800 @: $(MAKE); $(unstage)
49801 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49802 r=`${PWD_COMMAND}`; export r; \
49803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49804 $(NORMAL_TARGET_EXPORTS) \
49805 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc"; \
49806 for flag in $(EXTRA_TARGET_FLAGS); do \
49807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49808 done; \
49809 (cd $(TARGET_SUBDIR)/libgcc && \
49810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49812 "RANLIB=$${RANLIB}" \
49813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49814 pdf) \
49815 || exit 1
49816
49817 @endif target-libgcc
49818
49819 .PHONY: maybe-html-target-libgcc html-target-libgcc
49820 maybe-html-target-libgcc:
49821 @if target-libgcc
49822 maybe-html-target-libgcc: html-target-libgcc
49823
49824 html-target-libgcc: \
49825 configure-target-libgcc
49826 @: $(MAKE); $(unstage)
49827 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49828 r=`${PWD_COMMAND}`; export r; \
49829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49830 $(NORMAL_TARGET_EXPORTS) \
49831 echo "Doing html in $(TARGET_SUBDIR)/libgcc"; \
49832 for flag in $(EXTRA_TARGET_FLAGS); do \
49833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49834 done; \
49835 (cd $(TARGET_SUBDIR)/libgcc && \
49836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49838 "RANLIB=$${RANLIB}" \
49839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49840 html) \
49841 || exit 1
49842
49843 @endif target-libgcc
49844
49845 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
49846 maybe-TAGS-target-libgcc:
49847 @if target-libgcc
49848 maybe-TAGS-target-libgcc: TAGS-target-libgcc
49849
49850 # libgcc doesn't support TAGS.
49851 TAGS-target-libgcc:
49852
49853 @endif target-libgcc
49854
49855 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
49856 maybe-install-info-target-libgcc:
49857 @if target-libgcc
49858 maybe-install-info-target-libgcc: install-info-target-libgcc
49859
49860 install-info-target-libgcc: \
49861 configure-target-libgcc \
49862 info-target-libgcc
49863 @: $(MAKE); $(unstage)
49864 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49865 r=`${PWD_COMMAND}`; export r; \
49866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49867 $(NORMAL_TARGET_EXPORTS) \
49868 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc"; \
49869 for flag in $(EXTRA_TARGET_FLAGS); do \
49870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49871 done; \
49872 (cd $(TARGET_SUBDIR)/libgcc && \
49873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49875 "RANLIB=$${RANLIB}" \
49876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49877 install-info) \
49878 || exit 1
49879
49880 @endif target-libgcc
49881
49882 .PHONY: maybe-install-dvi-target-libgcc install-dvi-target-libgcc
49883 maybe-install-dvi-target-libgcc:
49884 @if target-libgcc
49885 maybe-install-dvi-target-libgcc: install-dvi-target-libgcc
49886
49887 # libgcc doesn't support install-dvi.
49888 install-dvi-target-libgcc:
49889
49890 @endif target-libgcc
49891
49892 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
49893 maybe-install-pdf-target-libgcc:
49894 @if target-libgcc
49895 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
49896
49897 install-pdf-target-libgcc: \
49898 configure-target-libgcc \
49899 pdf-target-libgcc
49900 @: $(MAKE); $(unstage)
49901 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49902 r=`${PWD_COMMAND}`; export r; \
49903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49904 $(NORMAL_TARGET_EXPORTS) \
49905 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc"; \
49906 for flag in $(EXTRA_TARGET_FLAGS); do \
49907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49908 done; \
49909 (cd $(TARGET_SUBDIR)/libgcc && \
49910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49912 "RANLIB=$${RANLIB}" \
49913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49914 install-pdf) \
49915 || exit 1
49916
49917 @endif target-libgcc
49918
49919 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
49920 maybe-install-html-target-libgcc:
49921 @if target-libgcc
49922 maybe-install-html-target-libgcc: install-html-target-libgcc
49923
49924 install-html-target-libgcc: \
49925 configure-target-libgcc \
49926 html-target-libgcc
49927 @: $(MAKE); $(unstage)
49928 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49929 r=`${PWD_COMMAND}`; export r; \
49930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49931 $(NORMAL_TARGET_EXPORTS) \
49932 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc"; \
49933 for flag in $(EXTRA_TARGET_FLAGS); do \
49934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49935 done; \
49936 (cd $(TARGET_SUBDIR)/libgcc && \
49937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49939 "RANLIB=$${RANLIB}" \
49940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49941 install-html) \
49942 || exit 1
49943
49944 @endif target-libgcc
49945
49946 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
49947 maybe-installcheck-target-libgcc:
49948 @if target-libgcc
49949 maybe-installcheck-target-libgcc: installcheck-target-libgcc
49950
49951 installcheck-target-libgcc: \
49952 configure-target-libgcc
49953 @: $(MAKE); $(unstage)
49954 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49955 r=`${PWD_COMMAND}`; export r; \
49956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49957 $(NORMAL_TARGET_EXPORTS) \
49958 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc"; \
49959 for flag in $(EXTRA_TARGET_FLAGS); do \
49960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49961 done; \
49962 (cd $(TARGET_SUBDIR)/libgcc && \
49963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49965 "RANLIB=$${RANLIB}" \
49966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49967 installcheck) \
49968 || exit 1
49969
49970 @endif target-libgcc
49971
49972 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
49973 maybe-mostlyclean-target-libgcc:
49974 @if target-libgcc
49975 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
49976
49977 mostlyclean-target-libgcc:
49978 @: $(MAKE); $(unstage)
49979 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
49980 r=`${PWD_COMMAND}`; export r; \
49981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49982 $(NORMAL_TARGET_EXPORTS) \
49983 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc"; \
49984 for flag in $(EXTRA_TARGET_FLAGS); do \
49985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49986 done; \
49987 (cd $(TARGET_SUBDIR)/libgcc && \
49988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49990 "RANLIB=$${RANLIB}" \
49991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49992 mostlyclean) \
49993 || exit 1
49994
49995 @endif target-libgcc
49996
49997 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
49998 maybe-clean-target-libgcc:
49999 @if target-libgcc
50000 maybe-clean-target-libgcc: clean-target-libgcc
50001
50002 clean-target-libgcc:
50003 @: $(MAKE); $(unstage)
50004 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50005 r=`${PWD_COMMAND}`; export r; \
50006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50007 $(NORMAL_TARGET_EXPORTS) \
50008 echo "Doing clean in $(TARGET_SUBDIR)/libgcc"; \
50009 for flag in $(EXTRA_TARGET_FLAGS); do \
50010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50011 done; \
50012 (cd $(TARGET_SUBDIR)/libgcc && \
50013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50015 "RANLIB=$${RANLIB}" \
50016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50017 clean) \
50018 || exit 1
50019
50020 @endif target-libgcc
50021
50022 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
50023 maybe-distclean-target-libgcc:
50024 @if target-libgcc
50025 maybe-distclean-target-libgcc: distclean-target-libgcc
50026
50027 distclean-target-libgcc:
50028 @: $(MAKE); $(unstage)
50029 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50030 r=`${PWD_COMMAND}`; export r; \
50031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50032 $(NORMAL_TARGET_EXPORTS) \
50033 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc"; \
50034 for flag in $(EXTRA_TARGET_FLAGS); do \
50035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50036 done; \
50037 (cd $(TARGET_SUBDIR)/libgcc && \
50038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50040 "RANLIB=$${RANLIB}" \
50041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50042 distclean) \
50043 || exit 1
50044
50045 @endif target-libgcc
50046
50047 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
50048 maybe-maintainer-clean-target-libgcc:
50049 @if target-libgcc
50050 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
50051
50052 maintainer-clean-target-libgcc:
50053 @: $(MAKE); $(unstage)
50054 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
50055 r=`${PWD_COMMAND}`; export r; \
50056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50057 $(NORMAL_TARGET_EXPORTS) \
50058 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc"; \
50059 for flag in $(EXTRA_TARGET_FLAGS); do \
50060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50061 done; \
50062 (cd $(TARGET_SUBDIR)/libgcc && \
50063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50065 "RANLIB=$${RANLIB}" \
50066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50067 maintainer-clean) \
50068 || exit 1
50069
50070 @endif target-libgcc
50071
50072
50073
50074
50075
50076 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
50077 maybe-configure-target-libbacktrace:
50078 @if gcc-bootstrap
50079 configure-target-libbacktrace: stage_current
50080 @endif gcc-bootstrap
50081 @if target-libbacktrace
50082 maybe-configure-target-libbacktrace: configure-target-libbacktrace
50083 configure-target-libbacktrace:
50084 @r=`${PWD_COMMAND}`; export r; \
50085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50086 echo "Checking multilib configuration for libbacktrace..."; \
50087 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50088 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50089 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50090 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50091 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50092 else \
50093 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50094 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50095 fi; \
50096 else \
50097 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50098 fi; \
50099 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50100 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50101 $(NORMAL_TARGET_EXPORTS) \
50102 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
50103 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
50104 case $(srcdir) in \
50105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50106 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50108 esac; \
50109 module_srcdir=libbacktrace; \
50110 rm -f no-such-file || : ; \
50111 CONFIG_SITE=no-such-file $(SHELL) \
50112 $$s/$$module_srcdir/configure \
50113 --srcdir=$${topdir}/$$module_srcdir \
50114 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50115 --target=${target_alias} \
50116 || exit 1
50117 @endif target-libbacktrace
50118
50119
50120
50121 .PHONY: configure-stage1-target-libbacktrace maybe-configure-stage1-target-libbacktrace
50122 maybe-configure-stage1-target-libbacktrace:
50123 @if target-libbacktrace-bootstrap
50124 maybe-configure-stage1-target-libbacktrace: configure-stage1-target-libbacktrace
50125 configure-stage1-target-libbacktrace:
50126 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
50127 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50128 @r=`${PWD_COMMAND}`; export r; \
50129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50130 TFLAGS="$(STAGE1_TFLAGS)"; \
50131 echo "Checking multilib configuration for libbacktrace..."; \
50132 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50133 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50134 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50135 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50136 else \
50137 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50138 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50139 fi; \
50140 else \
50141 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50142 fi; \
50143 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50144 $(NORMAL_TARGET_EXPORTS) \
50145 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50146 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50147 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50148 echo Configuring stage 1 in $(TARGET_SUBDIR)/libbacktrace; \
50149 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50150 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50151 case $(srcdir) in \
50152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50153 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50155 esac; \
50156 module_srcdir=libbacktrace; \
50157 $(SHELL) $$s/$$module_srcdir/configure \
50158 --srcdir=$${topdir}/$$module_srcdir \
50159 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50160 --target=${target_alias} \
50161 \
50162 $(STAGE1_CONFIGURE_FLAGS)
50163 @endif target-libbacktrace-bootstrap
50164
50165 .PHONY: configure-stage2-target-libbacktrace maybe-configure-stage2-target-libbacktrace
50166 maybe-configure-stage2-target-libbacktrace:
50167 @if target-libbacktrace-bootstrap
50168 maybe-configure-stage2-target-libbacktrace: configure-stage2-target-libbacktrace
50169 configure-stage2-target-libbacktrace:
50170 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
50171 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50172 @r=`${PWD_COMMAND}`; export r; \
50173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50174 TFLAGS="$(STAGE2_TFLAGS)"; \
50175 echo "Checking multilib configuration for libbacktrace..."; \
50176 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50177 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50178 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50179 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50180 else \
50181 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50182 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50183 fi; \
50184 else \
50185 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50186 fi; \
50187 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50188 $(NORMAL_TARGET_EXPORTS) \
50189 \
50190 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50191 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50192 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50193 echo Configuring stage 2 in $(TARGET_SUBDIR)/libbacktrace; \
50194 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50195 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50196 case $(srcdir) in \
50197 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50198 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50199 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50200 esac; \
50201 module_srcdir=libbacktrace; \
50202 $(SHELL) $$s/$$module_srcdir/configure \
50203 --srcdir=$${topdir}/$$module_srcdir \
50204 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50205 --target=${target_alias} \
50206 --with-build-libsubdir=$(HOST_SUBDIR) \
50207 $(STAGE2_CONFIGURE_FLAGS)
50208 @endif target-libbacktrace-bootstrap
50209
50210 .PHONY: configure-stage3-target-libbacktrace maybe-configure-stage3-target-libbacktrace
50211 maybe-configure-stage3-target-libbacktrace:
50212 @if target-libbacktrace-bootstrap
50213 maybe-configure-stage3-target-libbacktrace: configure-stage3-target-libbacktrace
50214 configure-stage3-target-libbacktrace:
50215 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
50216 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50217 @r=`${PWD_COMMAND}`; export r; \
50218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50219 TFLAGS="$(STAGE3_TFLAGS)"; \
50220 echo "Checking multilib configuration for libbacktrace..."; \
50221 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50222 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50223 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50224 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50225 else \
50226 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50227 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50228 fi; \
50229 else \
50230 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50231 fi; \
50232 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50233 $(NORMAL_TARGET_EXPORTS) \
50234 \
50235 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50236 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50237 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50238 echo Configuring stage 3 in $(TARGET_SUBDIR)/libbacktrace; \
50239 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50240 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50241 case $(srcdir) in \
50242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50243 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50245 esac; \
50246 module_srcdir=libbacktrace; \
50247 $(SHELL) $$s/$$module_srcdir/configure \
50248 --srcdir=$${topdir}/$$module_srcdir \
50249 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50250 --target=${target_alias} \
50251 --with-build-libsubdir=$(HOST_SUBDIR) \
50252 $(STAGE3_CONFIGURE_FLAGS)
50253 @endif target-libbacktrace-bootstrap
50254
50255 .PHONY: configure-stage4-target-libbacktrace maybe-configure-stage4-target-libbacktrace
50256 maybe-configure-stage4-target-libbacktrace:
50257 @if target-libbacktrace-bootstrap
50258 maybe-configure-stage4-target-libbacktrace: configure-stage4-target-libbacktrace
50259 configure-stage4-target-libbacktrace:
50260 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
50261 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50262 @r=`${PWD_COMMAND}`; export r; \
50263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50264 TFLAGS="$(STAGE4_TFLAGS)"; \
50265 echo "Checking multilib configuration for libbacktrace..."; \
50266 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50267 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50268 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50269 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50270 else \
50271 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50272 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50273 fi; \
50274 else \
50275 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50276 fi; \
50277 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50278 $(NORMAL_TARGET_EXPORTS) \
50279 \
50280 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50281 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50282 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50283 echo Configuring stage 4 in $(TARGET_SUBDIR)/libbacktrace; \
50284 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50285 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50286 case $(srcdir) in \
50287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50288 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50290 esac; \
50291 module_srcdir=libbacktrace; \
50292 $(SHELL) $$s/$$module_srcdir/configure \
50293 --srcdir=$${topdir}/$$module_srcdir \
50294 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50295 --target=${target_alias} \
50296 --with-build-libsubdir=$(HOST_SUBDIR) \
50297 $(STAGE4_CONFIGURE_FLAGS)
50298 @endif target-libbacktrace-bootstrap
50299
50300 .PHONY: configure-stageprofile-target-libbacktrace maybe-configure-stageprofile-target-libbacktrace
50301 maybe-configure-stageprofile-target-libbacktrace:
50302 @if target-libbacktrace-bootstrap
50303 maybe-configure-stageprofile-target-libbacktrace: configure-stageprofile-target-libbacktrace
50304 configure-stageprofile-target-libbacktrace:
50305 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
50306 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50307 @r=`${PWD_COMMAND}`; export r; \
50308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50309 TFLAGS="$(STAGEprofile_TFLAGS)"; \
50310 echo "Checking multilib configuration for libbacktrace..."; \
50311 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50312 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50313 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50314 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50315 else \
50316 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50317 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50318 fi; \
50319 else \
50320 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50321 fi; \
50322 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50323 $(NORMAL_TARGET_EXPORTS) \
50324 \
50325 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50326 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50327 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50328 echo Configuring stage profile in $(TARGET_SUBDIR)/libbacktrace; \
50329 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50330 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50331 case $(srcdir) in \
50332 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50333 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50334 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50335 esac; \
50336 module_srcdir=libbacktrace; \
50337 $(SHELL) $$s/$$module_srcdir/configure \
50338 --srcdir=$${topdir}/$$module_srcdir \
50339 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50340 --target=${target_alias} \
50341 --with-build-libsubdir=$(HOST_SUBDIR) \
50342 $(STAGEprofile_CONFIGURE_FLAGS)
50343 @endif target-libbacktrace-bootstrap
50344
50345 .PHONY: configure-stagetrain-target-libbacktrace maybe-configure-stagetrain-target-libbacktrace
50346 maybe-configure-stagetrain-target-libbacktrace:
50347 @if target-libbacktrace-bootstrap
50348 maybe-configure-stagetrain-target-libbacktrace: configure-stagetrain-target-libbacktrace
50349 configure-stagetrain-target-libbacktrace:
50350 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
50351 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50352 @r=`${PWD_COMMAND}`; export r; \
50353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50354 TFLAGS="$(STAGEtrain_TFLAGS)"; \
50355 echo "Checking multilib configuration for libbacktrace..."; \
50356 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50357 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50358 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50359 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50360 else \
50361 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50362 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50363 fi; \
50364 else \
50365 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50366 fi; \
50367 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50368 $(NORMAL_TARGET_EXPORTS) \
50369 \
50370 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50371 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50372 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50373 echo Configuring stage train in $(TARGET_SUBDIR)/libbacktrace; \
50374 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50375 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50376 case $(srcdir) in \
50377 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50378 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50379 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50380 esac; \
50381 module_srcdir=libbacktrace; \
50382 $(SHELL) $$s/$$module_srcdir/configure \
50383 --srcdir=$${topdir}/$$module_srcdir \
50384 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50385 --target=${target_alias} \
50386 --with-build-libsubdir=$(HOST_SUBDIR) \
50387 $(STAGEtrain_CONFIGURE_FLAGS)
50388 @endif target-libbacktrace-bootstrap
50389
50390 .PHONY: configure-stagefeedback-target-libbacktrace maybe-configure-stagefeedback-target-libbacktrace
50391 maybe-configure-stagefeedback-target-libbacktrace:
50392 @if target-libbacktrace-bootstrap
50393 maybe-configure-stagefeedback-target-libbacktrace: configure-stagefeedback-target-libbacktrace
50394 configure-stagefeedback-target-libbacktrace:
50395 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
50396 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50397 @r=`${PWD_COMMAND}`; export r; \
50398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50399 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
50400 echo "Checking multilib configuration for libbacktrace..."; \
50401 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50402 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50403 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50404 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50405 else \
50406 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50407 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50408 fi; \
50409 else \
50410 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50411 fi; \
50412 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50413 $(NORMAL_TARGET_EXPORTS) \
50414 \
50415 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50416 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50417 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50418 echo Configuring stage feedback in $(TARGET_SUBDIR)/libbacktrace; \
50419 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50420 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50421 case $(srcdir) in \
50422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50423 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50425 esac; \
50426 module_srcdir=libbacktrace; \
50427 $(SHELL) $$s/$$module_srcdir/configure \
50428 --srcdir=$${topdir}/$$module_srcdir \
50429 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50430 --target=${target_alias} \
50431 --with-build-libsubdir=$(HOST_SUBDIR) \
50432 $(STAGEfeedback_CONFIGURE_FLAGS)
50433 @endif target-libbacktrace-bootstrap
50434
50435 .PHONY: configure-stageautoprofile-target-libbacktrace maybe-configure-stageautoprofile-target-libbacktrace
50436 maybe-configure-stageautoprofile-target-libbacktrace:
50437 @if target-libbacktrace-bootstrap
50438 maybe-configure-stageautoprofile-target-libbacktrace: configure-stageautoprofile-target-libbacktrace
50439 configure-stageautoprofile-target-libbacktrace:
50440 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50441 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50442 @r=`${PWD_COMMAND}`; export r; \
50443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50444 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50445 echo "Checking multilib configuration for libbacktrace..."; \
50446 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50447 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50448 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50449 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50450 else \
50451 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50452 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50453 fi; \
50454 else \
50455 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50456 fi; \
50457 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50458 $(NORMAL_TARGET_EXPORTS) \
50459 \
50460 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50461 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50462 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50463 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libbacktrace; \
50464 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50465 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50466 case $(srcdir) in \
50467 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50468 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50469 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50470 esac; \
50471 module_srcdir=libbacktrace; \
50472 $(SHELL) $$s/$$module_srcdir/configure \
50473 --srcdir=$${topdir}/$$module_srcdir \
50474 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50475 --target=${target_alias} \
50476 --with-build-libsubdir=$(HOST_SUBDIR) \
50477 $(STAGEautoprofile_CONFIGURE_FLAGS)
50478 @endif target-libbacktrace-bootstrap
50479
50480 .PHONY: configure-stageautofeedback-target-libbacktrace maybe-configure-stageautofeedback-target-libbacktrace
50481 maybe-configure-stageautofeedback-target-libbacktrace:
50482 @if target-libbacktrace-bootstrap
50483 maybe-configure-stageautofeedback-target-libbacktrace: configure-stageautofeedback-target-libbacktrace
50484 configure-stageautofeedback-target-libbacktrace:
50485 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50486 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50487 @r=`${PWD_COMMAND}`; export r; \
50488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50489 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50490 echo "Checking multilib configuration for libbacktrace..."; \
50491 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50492 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50493 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50494 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50495 else \
50496 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50497 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50498 fi; \
50499 else \
50500 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50501 fi; \
50502 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50503 $(NORMAL_TARGET_EXPORTS) \
50504 \
50505 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50506 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50507 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50508 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libbacktrace; \
50509 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50510 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50511 case $(srcdir) in \
50512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50513 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50515 esac; \
50516 module_srcdir=libbacktrace; \
50517 $(SHELL) $$s/$$module_srcdir/configure \
50518 --srcdir=$${topdir}/$$module_srcdir \
50519 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50520 --target=${target_alias} \
50521 --with-build-libsubdir=$(HOST_SUBDIR) \
50522 $(STAGEautofeedback_CONFIGURE_FLAGS)
50523 @endif target-libbacktrace-bootstrap
50524
50525
50526
50527
50528
50529 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
50530 maybe-all-target-libbacktrace:
50531 @if gcc-bootstrap
50532 all-target-libbacktrace: stage_current
50533 @endif gcc-bootstrap
50534 @if target-libbacktrace
50535 TARGET-target-libbacktrace=all
50536 maybe-all-target-libbacktrace: all-target-libbacktrace
50537 all-target-libbacktrace: configure-target-libbacktrace
50538 @r=`${PWD_COMMAND}`; export r; \
50539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50540 $(NORMAL_TARGET_EXPORTS) \
50541 (cd $(TARGET_SUBDIR)/libbacktrace && \
50542 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50543 $(TARGET-target-libbacktrace))
50544 @endif target-libbacktrace
50545
50546
50547
50548 .PHONY: all-stage1-target-libbacktrace maybe-all-stage1-target-libbacktrace
50549 .PHONY: clean-stage1-target-libbacktrace maybe-clean-stage1-target-libbacktrace
50550 maybe-all-stage1-target-libbacktrace:
50551 maybe-clean-stage1-target-libbacktrace:
50552 @if target-libbacktrace-bootstrap
50553 maybe-all-stage1-target-libbacktrace: all-stage1-target-libbacktrace
50554 all-stage1: all-stage1-target-libbacktrace
50555 TARGET-stage1-target-libbacktrace = $(TARGET-target-libbacktrace)
50556 all-stage1-target-libbacktrace: configure-stage1-target-libbacktrace
50557 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
50558 @r=`${PWD_COMMAND}`; export r; \
50559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50560 TFLAGS="$(STAGE1_TFLAGS)"; \
50561 $(NORMAL_TARGET_EXPORTS) \
50562 cd $(TARGET_SUBDIR)/libbacktrace && \
50563 \
50564 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50565 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50566 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50567 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50568 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50569 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50570 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50571 $(EXTRA_TARGET_FLAGS) \
50572 \
50573 TFLAGS="$(STAGE1_TFLAGS)" \
50574 $(TARGET-stage1-target-libbacktrace)
50575
50576 maybe-clean-stage1-target-libbacktrace: clean-stage1-target-libbacktrace
50577 clean-stage1: clean-stage1-target-libbacktrace
50578 clean-stage1-target-libbacktrace:
50579 @if [ $(current_stage) = stage1 ]; then \
50580 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50581 else \
50582 [ -f $(TARGET_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
50583 $(MAKE) stage1-start; \
50584 fi; \
50585 cd $(TARGET_SUBDIR)/libbacktrace && \
50586 $(MAKE) $(EXTRA_TARGET_FLAGS) \
50587 clean
50588 @endif target-libbacktrace-bootstrap
50589
50590
50591 .PHONY: all-stage2-target-libbacktrace maybe-all-stage2-target-libbacktrace
50592 .PHONY: clean-stage2-target-libbacktrace maybe-clean-stage2-target-libbacktrace
50593 maybe-all-stage2-target-libbacktrace:
50594 maybe-clean-stage2-target-libbacktrace:
50595 @if target-libbacktrace-bootstrap
50596 maybe-all-stage2-target-libbacktrace: all-stage2-target-libbacktrace
50597 all-stage2: all-stage2-target-libbacktrace
50598 TARGET-stage2-target-libbacktrace = $(TARGET-target-libbacktrace)
50599 all-stage2-target-libbacktrace: configure-stage2-target-libbacktrace
50600 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
50601 @r=`${PWD_COMMAND}`; export r; \
50602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50603 TFLAGS="$(STAGE2_TFLAGS)"; \
50604 $(NORMAL_TARGET_EXPORTS) \
50605 \
50606 cd $(TARGET_SUBDIR)/libbacktrace && \
50607 \
50608 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50609 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50610 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50611 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50612 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50613 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50614 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50615 $(EXTRA_TARGET_FLAGS) \
50616 TFLAGS="$(STAGE2_TFLAGS)" \
50617 $(TARGET-stage2-target-libbacktrace)
50618
50619 maybe-clean-stage2-target-libbacktrace: clean-stage2-target-libbacktrace
50620 clean-stage2: clean-stage2-target-libbacktrace
50621 clean-stage2-target-libbacktrace:
50622 @if [ $(current_stage) = stage2 ]; then \
50623 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50624 else \
50625 [ -f $(TARGET_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
50626 $(MAKE) stage2-start; \
50627 fi; \
50628 cd $(TARGET_SUBDIR)/libbacktrace && \
50629 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50630 @endif target-libbacktrace-bootstrap
50631
50632
50633 .PHONY: all-stage3-target-libbacktrace maybe-all-stage3-target-libbacktrace
50634 .PHONY: clean-stage3-target-libbacktrace maybe-clean-stage3-target-libbacktrace
50635 maybe-all-stage3-target-libbacktrace:
50636 maybe-clean-stage3-target-libbacktrace:
50637 @if target-libbacktrace-bootstrap
50638 maybe-all-stage3-target-libbacktrace: all-stage3-target-libbacktrace
50639 all-stage3: all-stage3-target-libbacktrace
50640 TARGET-stage3-target-libbacktrace = $(TARGET-target-libbacktrace)
50641 all-stage3-target-libbacktrace: configure-stage3-target-libbacktrace
50642 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
50643 @r=`${PWD_COMMAND}`; export r; \
50644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50645 TFLAGS="$(STAGE3_TFLAGS)"; \
50646 $(NORMAL_TARGET_EXPORTS) \
50647 \
50648 cd $(TARGET_SUBDIR)/libbacktrace && \
50649 \
50650 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50651 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50652 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50653 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50654 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50655 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50656 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50657 $(EXTRA_TARGET_FLAGS) \
50658 TFLAGS="$(STAGE3_TFLAGS)" \
50659 $(TARGET-stage3-target-libbacktrace)
50660
50661 maybe-clean-stage3-target-libbacktrace: clean-stage3-target-libbacktrace
50662 clean-stage3: clean-stage3-target-libbacktrace
50663 clean-stage3-target-libbacktrace:
50664 @if [ $(current_stage) = stage3 ]; then \
50665 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50666 else \
50667 [ -f $(TARGET_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
50668 $(MAKE) stage3-start; \
50669 fi; \
50670 cd $(TARGET_SUBDIR)/libbacktrace && \
50671 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50672 @endif target-libbacktrace-bootstrap
50673
50674
50675 .PHONY: all-stage4-target-libbacktrace maybe-all-stage4-target-libbacktrace
50676 .PHONY: clean-stage4-target-libbacktrace maybe-clean-stage4-target-libbacktrace
50677 maybe-all-stage4-target-libbacktrace:
50678 maybe-clean-stage4-target-libbacktrace:
50679 @if target-libbacktrace-bootstrap
50680 maybe-all-stage4-target-libbacktrace: all-stage4-target-libbacktrace
50681 all-stage4: all-stage4-target-libbacktrace
50682 TARGET-stage4-target-libbacktrace = $(TARGET-target-libbacktrace)
50683 all-stage4-target-libbacktrace: configure-stage4-target-libbacktrace
50684 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
50685 @r=`${PWD_COMMAND}`; export r; \
50686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50687 TFLAGS="$(STAGE4_TFLAGS)"; \
50688 $(NORMAL_TARGET_EXPORTS) \
50689 \
50690 cd $(TARGET_SUBDIR)/libbacktrace && \
50691 \
50692 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50693 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50694 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50695 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50696 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50697 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50698 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50699 $(EXTRA_TARGET_FLAGS) \
50700 TFLAGS="$(STAGE4_TFLAGS)" \
50701 $(TARGET-stage4-target-libbacktrace)
50702
50703 maybe-clean-stage4-target-libbacktrace: clean-stage4-target-libbacktrace
50704 clean-stage4: clean-stage4-target-libbacktrace
50705 clean-stage4-target-libbacktrace:
50706 @if [ $(current_stage) = stage4 ]; then \
50707 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50708 else \
50709 [ -f $(TARGET_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
50710 $(MAKE) stage4-start; \
50711 fi; \
50712 cd $(TARGET_SUBDIR)/libbacktrace && \
50713 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50714 @endif target-libbacktrace-bootstrap
50715
50716
50717 .PHONY: all-stageprofile-target-libbacktrace maybe-all-stageprofile-target-libbacktrace
50718 .PHONY: clean-stageprofile-target-libbacktrace maybe-clean-stageprofile-target-libbacktrace
50719 maybe-all-stageprofile-target-libbacktrace:
50720 maybe-clean-stageprofile-target-libbacktrace:
50721 @if target-libbacktrace-bootstrap
50722 maybe-all-stageprofile-target-libbacktrace: all-stageprofile-target-libbacktrace
50723 all-stageprofile: all-stageprofile-target-libbacktrace
50724 TARGET-stageprofile-target-libbacktrace = $(TARGET-target-libbacktrace)
50725 all-stageprofile-target-libbacktrace: configure-stageprofile-target-libbacktrace
50726 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
50727 @r=`${PWD_COMMAND}`; export r; \
50728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50729 TFLAGS="$(STAGEprofile_TFLAGS)"; \
50730 $(NORMAL_TARGET_EXPORTS) \
50731 \
50732 cd $(TARGET_SUBDIR)/libbacktrace && \
50733 \
50734 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50735 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50736 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50737 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50738 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50739 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50740 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50741 $(EXTRA_TARGET_FLAGS) \
50742 TFLAGS="$(STAGEprofile_TFLAGS)" \
50743 $(TARGET-stageprofile-target-libbacktrace)
50744
50745 maybe-clean-stageprofile-target-libbacktrace: clean-stageprofile-target-libbacktrace
50746 clean-stageprofile: clean-stageprofile-target-libbacktrace
50747 clean-stageprofile-target-libbacktrace:
50748 @if [ $(current_stage) = stageprofile ]; then \
50749 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50750 else \
50751 [ -f $(TARGET_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
50752 $(MAKE) stageprofile-start; \
50753 fi; \
50754 cd $(TARGET_SUBDIR)/libbacktrace && \
50755 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50756 @endif target-libbacktrace-bootstrap
50757
50758
50759 .PHONY: all-stagetrain-target-libbacktrace maybe-all-stagetrain-target-libbacktrace
50760 .PHONY: clean-stagetrain-target-libbacktrace maybe-clean-stagetrain-target-libbacktrace
50761 maybe-all-stagetrain-target-libbacktrace:
50762 maybe-clean-stagetrain-target-libbacktrace:
50763 @if target-libbacktrace-bootstrap
50764 maybe-all-stagetrain-target-libbacktrace: all-stagetrain-target-libbacktrace
50765 all-stagetrain: all-stagetrain-target-libbacktrace
50766 TARGET-stagetrain-target-libbacktrace = $(TARGET-target-libbacktrace)
50767 all-stagetrain-target-libbacktrace: configure-stagetrain-target-libbacktrace
50768 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
50769 @r=`${PWD_COMMAND}`; export r; \
50770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50771 TFLAGS="$(STAGEtrain_TFLAGS)"; \
50772 $(NORMAL_TARGET_EXPORTS) \
50773 \
50774 cd $(TARGET_SUBDIR)/libbacktrace && \
50775 \
50776 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50777 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50778 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50779 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50780 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50781 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50782 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50783 $(EXTRA_TARGET_FLAGS) \
50784 TFLAGS="$(STAGEtrain_TFLAGS)" \
50785 $(TARGET-stagetrain-target-libbacktrace)
50786
50787 maybe-clean-stagetrain-target-libbacktrace: clean-stagetrain-target-libbacktrace
50788 clean-stagetrain: clean-stagetrain-target-libbacktrace
50789 clean-stagetrain-target-libbacktrace:
50790 @if [ $(current_stage) = stagetrain ]; then \
50791 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50792 else \
50793 [ -f $(TARGET_SUBDIR)/stagetrain-libbacktrace/Makefile ] || exit 0; \
50794 $(MAKE) stagetrain-start; \
50795 fi; \
50796 cd $(TARGET_SUBDIR)/libbacktrace && \
50797 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50798 @endif target-libbacktrace-bootstrap
50799
50800
50801 .PHONY: all-stagefeedback-target-libbacktrace maybe-all-stagefeedback-target-libbacktrace
50802 .PHONY: clean-stagefeedback-target-libbacktrace maybe-clean-stagefeedback-target-libbacktrace
50803 maybe-all-stagefeedback-target-libbacktrace:
50804 maybe-clean-stagefeedback-target-libbacktrace:
50805 @if target-libbacktrace-bootstrap
50806 maybe-all-stagefeedback-target-libbacktrace: all-stagefeedback-target-libbacktrace
50807 all-stagefeedback: all-stagefeedback-target-libbacktrace
50808 TARGET-stagefeedback-target-libbacktrace = $(TARGET-target-libbacktrace)
50809 all-stagefeedback-target-libbacktrace: configure-stagefeedback-target-libbacktrace
50810 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
50811 @r=`${PWD_COMMAND}`; export r; \
50812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50813 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
50814 $(NORMAL_TARGET_EXPORTS) \
50815 \
50816 cd $(TARGET_SUBDIR)/libbacktrace && \
50817 \
50818 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50819 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50820 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50821 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50822 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50823 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50824 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50825 $(EXTRA_TARGET_FLAGS) \
50826 TFLAGS="$(STAGEfeedback_TFLAGS)" \
50827 $(TARGET-stagefeedback-target-libbacktrace)
50828
50829 maybe-clean-stagefeedback-target-libbacktrace: clean-stagefeedback-target-libbacktrace
50830 clean-stagefeedback: clean-stagefeedback-target-libbacktrace
50831 clean-stagefeedback-target-libbacktrace:
50832 @if [ $(current_stage) = stagefeedback ]; then \
50833 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50834 else \
50835 [ -f $(TARGET_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
50836 $(MAKE) stagefeedback-start; \
50837 fi; \
50838 cd $(TARGET_SUBDIR)/libbacktrace && \
50839 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50840 @endif target-libbacktrace-bootstrap
50841
50842
50843 .PHONY: all-stageautoprofile-target-libbacktrace maybe-all-stageautoprofile-target-libbacktrace
50844 .PHONY: clean-stageautoprofile-target-libbacktrace maybe-clean-stageautoprofile-target-libbacktrace
50845 maybe-all-stageautoprofile-target-libbacktrace:
50846 maybe-clean-stageautoprofile-target-libbacktrace:
50847 @if target-libbacktrace-bootstrap
50848 maybe-all-stageautoprofile-target-libbacktrace: all-stageautoprofile-target-libbacktrace
50849 all-stageautoprofile: all-stageautoprofile-target-libbacktrace
50850 TARGET-stageautoprofile-target-libbacktrace = $(TARGET-target-libbacktrace)
50851 all-stageautoprofile-target-libbacktrace: configure-stageautoprofile-target-libbacktrace
50852 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50853 @r=`${PWD_COMMAND}`; export r; \
50854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50855 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50856 $(NORMAL_TARGET_EXPORTS) \
50857 \
50858 cd $(TARGET_SUBDIR)/libbacktrace && \
50859 $$s/gcc/config/i386/$(AUTO_PROFILE) \
50860 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50861 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50862 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50863 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50864 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50865 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50866 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50867 $(EXTRA_TARGET_FLAGS) \
50868 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
50869 $(TARGET-stageautoprofile-target-libbacktrace)
50870
50871 maybe-clean-stageautoprofile-target-libbacktrace: clean-stageautoprofile-target-libbacktrace
50872 clean-stageautoprofile: clean-stageautoprofile-target-libbacktrace
50873 clean-stageautoprofile-target-libbacktrace:
50874 @if [ $(current_stage) = stageautoprofile ]; then \
50875 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50876 else \
50877 [ -f $(TARGET_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
50878 $(MAKE) stageautoprofile-start; \
50879 fi; \
50880 cd $(TARGET_SUBDIR)/libbacktrace && \
50881 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50882 @endif target-libbacktrace-bootstrap
50883
50884
50885 .PHONY: all-stageautofeedback-target-libbacktrace maybe-all-stageautofeedback-target-libbacktrace
50886 .PHONY: clean-stageautofeedback-target-libbacktrace maybe-clean-stageautofeedback-target-libbacktrace
50887 maybe-all-stageautofeedback-target-libbacktrace:
50888 maybe-clean-stageautofeedback-target-libbacktrace:
50889 @if target-libbacktrace-bootstrap
50890 maybe-all-stageautofeedback-target-libbacktrace: all-stageautofeedback-target-libbacktrace
50891 all-stageautofeedback: all-stageautofeedback-target-libbacktrace
50892 TARGET-stageautofeedback-target-libbacktrace = $(TARGET-target-libbacktrace)
50893 all-stageautofeedback-target-libbacktrace: configure-stageautofeedback-target-libbacktrace
50894 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50895 @r=`${PWD_COMMAND}`; export r; \
50896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50897 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50898 $(NORMAL_TARGET_EXPORTS) \
50899 \
50900 cd $(TARGET_SUBDIR)/libbacktrace && \
50901 \
50902 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50903 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50904 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50905 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50906 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50907 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50908 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50909 $(EXTRA_TARGET_FLAGS) \
50910 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
50911 $(TARGET-stageautofeedback-target-libbacktrace)
50912
50913 maybe-clean-stageautofeedback-target-libbacktrace: clean-stageautofeedback-target-libbacktrace
50914 clean-stageautofeedback: clean-stageautofeedback-target-libbacktrace
50915 clean-stageautofeedback-target-libbacktrace:
50916 @if [ $(current_stage) = stageautofeedback ]; then \
50917 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50918 else \
50919 [ -f $(TARGET_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
50920 $(MAKE) stageautofeedback-start; \
50921 fi; \
50922 cd $(TARGET_SUBDIR)/libbacktrace && \
50923 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50924 @endif target-libbacktrace-bootstrap
50925
50926
50927
50928
50929
50930
50931 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
50932 maybe-check-target-libbacktrace:
50933 @if target-libbacktrace
50934 maybe-check-target-libbacktrace: check-target-libbacktrace
50935
50936 check-target-libbacktrace:
50937 @: $(MAKE); $(unstage)
50938 @r=`${PWD_COMMAND}`; export r; \
50939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50940 $(NORMAL_TARGET_EXPORTS) \
50941 (cd $(TARGET_SUBDIR)/libbacktrace && \
50942 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50943
50944 @endif target-libbacktrace
50945
50946 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
50947 maybe-install-target-libbacktrace:
50948 @if target-libbacktrace
50949 maybe-install-target-libbacktrace: install-target-libbacktrace
50950
50951 install-target-libbacktrace: installdirs
50952 @: $(MAKE); $(unstage)
50953 @r=`${PWD_COMMAND}`; export r; \
50954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50955 $(NORMAL_TARGET_EXPORTS) \
50956 (cd $(TARGET_SUBDIR)/libbacktrace && \
50957 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50958
50959 @endif target-libbacktrace
50960
50961 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
50962 maybe-install-strip-target-libbacktrace:
50963 @if target-libbacktrace
50964 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
50965
50966 install-strip-target-libbacktrace: installdirs
50967 @: $(MAKE); $(unstage)
50968 @r=`${PWD_COMMAND}`; export r; \
50969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50970 $(NORMAL_TARGET_EXPORTS) \
50971 (cd $(TARGET_SUBDIR)/libbacktrace && \
50972 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
50973
50974 @endif target-libbacktrace
50975
50976 # Other targets (info, dvi, pdf, etc.)
50977
50978 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
50979 maybe-info-target-libbacktrace:
50980 @if target-libbacktrace
50981 maybe-info-target-libbacktrace: info-target-libbacktrace
50982
50983 info-target-libbacktrace: \
50984 configure-target-libbacktrace
50985 @: $(MAKE); $(unstage)
50986 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50987 r=`${PWD_COMMAND}`; export r; \
50988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50989 $(NORMAL_TARGET_EXPORTS) \
50990 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace"; \
50991 for flag in $(EXTRA_TARGET_FLAGS); do \
50992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50993 done; \
50994 (cd $(TARGET_SUBDIR)/libbacktrace && \
50995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50997 "RANLIB=$${RANLIB}" \
50998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50999 info) \
51000 || exit 1
51001
51002 @endif target-libbacktrace
51003
51004 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
51005 maybe-dvi-target-libbacktrace:
51006 @if target-libbacktrace
51007 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
51008
51009 dvi-target-libbacktrace: \
51010 configure-target-libbacktrace
51011 @: $(MAKE); $(unstage)
51012 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51013 r=`${PWD_COMMAND}`; export r; \
51014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51015 $(NORMAL_TARGET_EXPORTS) \
51016 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace"; \
51017 for flag in $(EXTRA_TARGET_FLAGS); do \
51018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51019 done; \
51020 (cd $(TARGET_SUBDIR)/libbacktrace && \
51021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51023 "RANLIB=$${RANLIB}" \
51024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51025 dvi) \
51026 || exit 1
51027
51028 @endif target-libbacktrace
51029
51030 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
51031 maybe-pdf-target-libbacktrace:
51032 @if target-libbacktrace
51033 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
51034
51035 pdf-target-libbacktrace: \
51036 configure-target-libbacktrace
51037 @: $(MAKE); $(unstage)
51038 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51039 r=`${PWD_COMMAND}`; export r; \
51040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51041 $(NORMAL_TARGET_EXPORTS) \
51042 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace"; \
51043 for flag in $(EXTRA_TARGET_FLAGS); do \
51044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51045 done; \
51046 (cd $(TARGET_SUBDIR)/libbacktrace && \
51047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51049 "RANLIB=$${RANLIB}" \
51050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51051 pdf) \
51052 || exit 1
51053
51054 @endif target-libbacktrace
51055
51056 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
51057 maybe-html-target-libbacktrace:
51058 @if target-libbacktrace
51059 maybe-html-target-libbacktrace: html-target-libbacktrace
51060
51061 html-target-libbacktrace: \
51062 configure-target-libbacktrace
51063 @: $(MAKE); $(unstage)
51064 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51065 r=`${PWD_COMMAND}`; export r; \
51066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51067 $(NORMAL_TARGET_EXPORTS) \
51068 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace"; \
51069 for flag in $(EXTRA_TARGET_FLAGS); do \
51070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51071 done; \
51072 (cd $(TARGET_SUBDIR)/libbacktrace && \
51073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51075 "RANLIB=$${RANLIB}" \
51076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51077 html) \
51078 || exit 1
51079
51080 @endif target-libbacktrace
51081
51082 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
51083 maybe-TAGS-target-libbacktrace:
51084 @if target-libbacktrace
51085 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
51086
51087 TAGS-target-libbacktrace: \
51088 configure-target-libbacktrace
51089 @: $(MAKE); $(unstage)
51090 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51091 r=`${PWD_COMMAND}`; export r; \
51092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51093 $(NORMAL_TARGET_EXPORTS) \
51094 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace"; \
51095 for flag in $(EXTRA_TARGET_FLAGS); do \
51096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51097 done; \
51098 (cd $(TARGET_SUBDIR)/libbacktrace && \
51099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51101 "RANLIB=$${RANLIB}" \
51102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51103 TAGS) \
51104 || exit 1
51105
51106 @endif target-libbacktrace
51107
51108 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
51109 maybe-install-info-target-libbacktrace:
51110 @if target-libbacktrace
51111 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
51112
51113 install-info-target-libbacktrace: \
51114 configure-target-libbacktrace \
51115 info-target-libbacktrace
51116 @: $(MAKE); $(unstage)
51117 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51118 r=`${PWD_COMMAND}`; export r; \
51119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51120 $(NORMAL_TARGET_EXPORTS) \
51121 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace"; \
51122 for flag in $(EXTRA_TARGET_FLAGS); do \
51123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51124 done; \
51125 (cd $(TARGET_SUBDIR)/libbacktrace && \
51126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51128 "RANLIB=$${RANLIB}" \
51129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51130 install-info) \
51131 || exit 1
51132
51133 @endif target-libbacktrace
51134
51135 .PHONY: maybe-install-dvi-target-libbacktrace install-dvi-target-libbacktrace
51136 maybe-install-dvi-target-libbacktrace:
51137 @if target-libbacktrace
51138 maybe-install-dvi-target-libbacktrace: install-dvi-target-libbacktrace
51139
51140 install-dvi-target-libbacktrace: \
51141 configure-target-libbacktrace \
51142 dvi-target-libbacktrace
51143 @: $(MAKE); $(unstage)
51144 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51145 r=`${PWD_COMMAND}`; export r; \
51146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51147 $(NORMAL_TARGET_EXPORTS) \
51148 echo "Doing install-dvi in $(TARGET_SUBDIR)/libbacktrace"; \
51149 for flag in $(EXTRA_TARGET_FLAGS); do \
51150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51151 done; \
51152 (cd $(TARGET_SUBDIR)/libbacktrace && \
51153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51155 "RANLIB=$${RANLIB}" \
51156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51157 install-dvi) \
51158 || exit 1
51159
51160 @endif target-libbacktrace
51161
51162 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
51163 maybe-install-pdf-target-libbacktrace:
51164 @if target-libbacktrace
51165 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
51166
51167 install-pdf-target-libbacktrace: \
51168 configure-target-libbacktrace \
51169 pdf-target-libbacktrace
51170 @: $(MAKE); $(unstage)
51171 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51172 r=`${PWD_COMMAND}`; export r; \
51173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51174 $(NORMAL_TARGET_EXPORTS) \
51175 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace"; \
51176 for flag in $(EXTRA_TARGET_FLAGS); do \
51177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51178 done; \
51179 (cd $(TARGET_SUBDIR)/libbacktrace && \
51180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51182 "RANLIB=$${RANLIB}" \
51183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51184 install-pdf) \
51185 || exit 1
51186
51187 @endif target-libbacktrace
51188
51189 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
51190 maybe-install-html-target-libbacktrace:
51191 @if target-libbacktrace
51192 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
51193
51194 install-html-target-libbacktrace: \
51195 configure-target-libbacktrace \
51196 html-target-libbacktrace
51197 @: $(MAKE); $(unstage)
51198 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51199 r=`${PWD_COMMAND}`; export r; \
51200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51201 $(NORMAL_TARGET_EXPORTS) \
51202 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace"; \
51203 for flag in $(EXTRA_TARGET_FLAGS); do \
51204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51205 done; \
51206 (cd $(TARGET_SUBDIR)/libbacktrace && \
51207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51209 "RANLIB=$${RANLIB}" \
51210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51211 install-html) \
51212 || exit 1
51213
51214 @endif target-libbacktrace
51215
51216 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
51217 maybe-installcheck-target-libbacktrace:
51218 @if target-libbacktrace
51219 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
51220
51221 installcheck-target-libbacktrace: \
51222 configure-target-libbacktrace
51223 @: $(MAKE); $(unstage)
51224 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51225 r=`${PWD_COMMAND}`; export r; \
51226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51227 $(NORMAL_TARGET_EXPORTS) \
51228 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace"; \
51229 for flag in $(EXTRA_TARGET_FLAGS); do \
51230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51231 done; \
51232 (cd $(TARGET_SUBDIR)/libbacktrace && \
51233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51235 "RANLIB=$${RANLIB}" \
51236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51237 installcheck) \
51238 || exit 1
51239
51240 @endif target-libbacktrace
51241
51242 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
51243 maybe-mostlyclean-target-libbacktrace:
51244 @if target-libbacktrace
51245 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
51246
51247 mostlyclean-target-libbacktrace:
51248 @: $(MAKE); $(unstage)
51249 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51250 r=`${PWD_COMMAND}`; export r; \
51251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51252 $(NORMAL_TARGET_EXPORTS) \
51253 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace"; \
51254 for flag in $(EXTRA_TARGET_FLAGS); do \
51255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51256 done; \
51257 (cd $(TARGET_SUBDIR)/libbacktrace && \
51258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51260 "RANLIB=$${RANLIB}" \
51261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51262 mostlyclean) \
51263 || exit 1
51264
51265 @endif target-libbacktrace
51266
51267 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
51268 maybe-clean-target-libbacktrace:
51269 @if target-libbacktrace
51270 maybe-clean-target-libbacktrace: clean-target-libbacktrace
51271
51272 clean-target-libbacktrace:
51273 @: $(MAKE); $(unstage)
51274 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51275 r=`${PWD_COMMAND}`; export r; \
51276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51277 $(NORMAL_TARGET_EXPORTS) \
51278 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace"; \
51279 for flag in $(EXTRA_TARGET_FLAGS); do \
51280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51281 done; \
51282 (cd $(TARGET_SUBDIR)/libbacktrace && \
51283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51285 "RANLIB=$${RANLIB}" \
51286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51287 clean) \
51288 || exit 1
51289
51290 @endif target-libbacktrace
51291
51292 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
51293 maybe-distclean-target-libbacktrace:
51294 @if target-libbacktrace
51295 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
51296
51297 distclean-target-libbacktrace:
51298 @: $(MAKE); $(unstage)
51299 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51300 r=`${PWD_COMMAND}`; export r; \
51301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51302 $(NORMAL_TARGET_EXPORTS) \
51303 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace"; \
51304 for flag in $(EXTRA_TARGET_FLAGS); do \
51305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51306 done; \
51307 (cd $(TARGET_SUBDIR)/libbacktrace && \
51308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51310 "RANLIB=$${RANLIB}" \
51311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51312 distclean) \
51313 || exit 1
51314
51315 @endif target-libbacktrace
51316
51317 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
51318 maybe-maintainer-clean-target-libbacktrace:
51319 @if target-libbacktrace
51320 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
51321
51322 maintainer-clean-target-libbacktrace:
51323 @: $(MAKE); $(unstage)
51324 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
51325 r=`${PWD_COMMAND}`; export r; \
51326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51327 $(NORMAL_TARGET_EXPORTS) \
51328 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace"; \
51329 for flag in $(EXTRA_TARGET_FLAGS); do \
51330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51331 done; \
51332 (cd $(TARGET_SUBDIR)/libbacktrace && \
51333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51335 "RANLIB=$${RANLIB}" \
51336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51337 maintainer-clean) \
51338 || exit 1
51339
51340 @endif target-libbacktrace
51341
51342
51343
51344
51345
51346 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
51347 maybe-configure-target-libquadmath:
51348 @if gcc-bootstrap
51349 configure-target-libquadmath: stage_current
51350 @endif gcc-bootstrap
51351 @if target-libquadmath
51352 maybe-configure-target-libquadmath: configure-target-libquadmath
51353 configure-target-libquadmath:
51354 @: $(MAKE); $(unstage)
51355 @r=`${PWD_COMMAND}`; export r; \
51356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51357 echo "Checking multilib configuration for libquadmath..."; \
51358 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
51359 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null; \
51360 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
51361 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
51362 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
51363 else \
51364 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
51365 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
51366 fi; \
51367 else \
51368 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
51369 fi; \
51370 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
51371 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath; \
51372 $(NORMAL_TARGET_EXPORTS) \
51373 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
51374 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
51375 case $(srcdir) in \
51376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51377 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
51378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51379 esac; \
51380 module_srcdir=libquadmath; \
51381 rm -f no-such-file || : ; \
51382 CONFIG_SITE=no-such-file $(SHELL) \
51383 $$s/$$module_srcdir/configure \
51384 --srcdir=$${topdir}/$$module_srcdir \
51385 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51386 --target=${target_alias} \
51387 || exit 1
51388 @endif target-libquadmath
51389
51390
51391
51392
51393
51394 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
51395 maybe-all-target-libquadmath:
51396 @if gcc-bootstrap
51397 all-target-libquadmath: stage_current
51398 @endif gcc-bootstrap
51399 @if target-libquadmath
51400 TARGET-target-libquadmath=all
51401 maybe-all-target-libquadmath: all-target-libquadmath
51402 all-target-libquadmath: configure-target-libquadmath
51403 @: $(MAKE); $(unstage)
51404 @r=`${PWD_COMMAND}`; export r; \
51405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51406 $(NORMAL_TARGET_EXPORTS) \
51407 (cd $(TARGET_SUBDIR)/libquadmath && \
51408 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51409 $(TARGET-target-libquadmath))
51410 @endif target-libquadmath
51411
51412
51413
51414
51415
51416 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
51417 maybe-check-target-libquadmath:
51418 @if target-libquadmath
51419 maybe-check-target-libquadmath: check-target-libquadmath
51420
51421 check-target-libquadmath:
51422 @: $(MAKE); $(unstage)
51423 @r=`${PWD_COMMAND}`; export r; \
51424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51425 $(NORMAL_TARGET_EXPORTS) \
51426 (cd $(TARGET_SUBDIR)/libquadmath && \
51427 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51428
51429 @endif target-libquadmath
51430
51431 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
51432 maybe-install-target-libquadmath:
51433 @if target-libquadmath
51434 maybe-install-target-libquadmath: install-target-libquadmath
51435
51436 install-target-libquadmath: installdirs
51437 @: $(MAKE); $(unstage)
51438 @r=`${PWD_COMMAND}`; export r; \
51439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51440 $(NORMAL_TARGET_EXPORTS) \
51441 (cd $(TARGET_SUBDIR)/libquadmath && \
51442 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51443
51444 @endif target-libquadmath
51445
51446 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
51447 maybe-install-strip-target-libquadmath:
51448 @if target-libquadmath
51449 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
51450
51451 install-strip-target-libquadmath: installdirs
51452 @: $(MAKE); $(unstage)
51453 @r=`${PWD_COMMAND}`; export r; \
51454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51455 $(NORMAL_TARGET_EXPORTS) \
51456 (cd $(TARGET_SUBDIR)/libquadmath && \
51457 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51458
51459 @endif target-libquadmath
51460
51461 # Other targets (info, dvi, pdf, etc.)
51462
51463 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
51464 maybe-info-target-libquadmath:
51465 @if target-libquadmath
51466 maybe-info-target-libquadmath: info-target-libquadmath
51467
51468 info-target-libquadmath: \
51469 configure-target-libquadmath
51470 @: $(MAKE); $(unstage)
51471 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51472 r=`${PWD_COMMAND}`; export r; \
51473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51474 $(NORMAL_TARGET_EXPORTS) \
51475 echo "Doing info in $(TARGET_SUBDIR)/libquadmath"; \
51476 for flag in $(EXTRA_TARGET_FLAGS); do \
51477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51478 done; \
51479 (cd $(TARGET_SUBDIR)/libquadmath && \
51480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51482 "RANLIB=$${RANLIB}" \
51483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51484 info) \
51485 || exit 1
51486
51487 @endif target-libquadmath
51488
51489 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
51490 maybe-dvi-target-libquadmath:
51491 @if target-libquadmath
51492 maybe-dvi-target-libquadmath: dvi-target-libquadmath
51493
51494 dvi-target-libquadmath: \
51495 configure-target-libquadmath
51496 @: $(MAKE); $(unstage)
51497 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51498 r=`${PWD_COMMAND}`; export r; \
51499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51500 $(NORMAL_TARGET_EXPORTS) \
51501 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath"; \
51502 for flag in $(EXTRA_TARGET_FLAGS); do \
51503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51504 done; \
51505 (cd $(TARGET_SUBDIR)/libquadmath && \
51506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51508 "RANLIB=$${RANLIB}" \
51509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51510 dvi) \
51511 || exit 1
51512
51513 @endif target-libquadmath
51514
51515 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
51516 maybe-pdf-target-libquadmath:
51517 @if target-libquadmath
51518 maybe-pdf-target-libquadmath: pdf-target-libquadmath
51519
51520 pdf-target-libquadmath: \
51521 configure-target-libquadmath
51522 @: $(MAKE); $(unstage)
51523 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51524 r=`${PWD_COMMAND}`; export r; \
51525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51526 $(NORMAL_TARGET_EXPORTS) \
51527 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath"; \
51528 for flag in $(EXTRA_TARGET_FLAGS); do \
51529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51530 done; \
51531 (cd $(TARGET_SUBDIR)/libquadmath && \
51532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51534 "RANLIB=$${RANLIB}" \
51535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51536 pdf) \
51537 || exit 1
51538
51539 @endif target-libquadmath
51540
51541 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
51542 maybe-html-target-libquadmath:
51543 @if target-libquadmath
51544 maybe-html-target-libquadmath: html-target-libquadmath
51545
51546 html-target-libquadmath: \
51547 configure-target-libquadmath
51548 @: $(MAKE); $(unstage)
51549 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51550 r=`${PWD_COMMAND}`; export r; \
51551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51552 $(NORMAL_TARGET_EXPORTS) \
51553 echo "Doing html in $(TARGET_SUBDIR)/libquadmath"; \
51554 for flag in $(EXTRA_TARGET_FLAGS); do \
51555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51556 done; \
51557 (cd $(TARGET_SUBDIR)/libquadmath && \
51558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51560 "RANLIB=$${RANLIB}" \
51561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51562 html) \
51563 || exit 1
51564
51565 @endif target-libquadmath
51566
51567 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
51568 maybe-TAGS-target-libquadmath:
51569 @if target-libquadmath
51570 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
51571
51572 TAGS-target-libquadmath: \
51573 configure-target-libquadmath
51574 @: $(MAKE); $(unstage)
51575 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51576 r=`${PWD_COMMAND}`; export r; \
51577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51578 $(NORMAL_TARGET_EXPORTS) \
51579 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath"; \
51580 for flag in $(EXTRA_TARGET_FLAGS); do \
51581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51582 done; \
51583 (cd $(TARGET_SUBDIR)/libquadmath && \
51584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51586 "RANLIB=$${RANLIB}" \
51587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51588 TAGS) \
51589 || exit 1
51590
51591 @endif target-libquadmath
51592
51593 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
51594 maybe-install-info-target-libquadmath:
51595 @if target-libquadmath
51596 maybe-install-info-target-libquadmath: install-info-target-libquadmath
51597
51598 install-info-target-libquadmath: \
51599 configure-target-libquadmath \
51600 info-target-libquadmath
51601 @: $(MAKE); $(unstage)
51602 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51603 r=`${PWD_COMMAND}`; export r; \
51604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51605 $(NORMAL_TARGET_EXPORTS) \
51606 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath"; \
51607 for flag in $(EXTRA_TARGET_FLAGS); do \
51608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51609 done; \
51610 (cd $(TARGET_SUBDIR)/libquadmath && \
51611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51613 "RANLIB=$${RANLIB}" \
51614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51615 install-info) \
51616 || exit 1
51617
51618 @endif target-libquadmath
51619
51620 .PHONY: maybe-install-dvi-target-libquadmath install-dvi-target-libquadmath
51621 maybe-install-dvi-target-libquadmath:
51622 @if target-libquadmath
51623 maybe-install-dvi-target-libquadmath: install-dvi-target-libquadmath
51624
51625 install-dvi-target-libquadmath: \
51626 configure-target-libquadmath \
51627 dvi-target-libquadmath
51628 @: $(MAKE); $(unstage)
51629 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51630 r=`${PWD_COMMAND}`; export r; \
51631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51632 $(NORMAL_TARGET_EXPORTS) \
51633 echo "Doing install-dvi in $(TARGET_SUBDIR)/libquadmath"; \
51634 for flag in $(EXTRA_TARGET_FLAGS); do \
51635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51636 done; \
51637 (cd $(TARGET_SUBDIR)/libquadmath && \
51638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51640 "RANLIB=$${RANLIB}" \
51641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51642 install-dvi) \
51643 || exit 1
51644
51645 @endif target-libquadmath
51646
51647 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
51648 maybe-install-pdf-target-libquadmath:
51649 @if target-libquadmath
51650 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
51651
51652 install-pdf-target-libquadmath: \
51653 configure-target-libquadmath \
51654 pdf-target-libquadmath
51655 @: $(MAKE); $(unstage)
51656 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51657 r=`${PWD_COMMAND}`; export r; \
51658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51659 $(NORMAL_TARGET_EXPORTS) \
51660 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath"; \
51661 for flag in $(EXTRA_TARGET_FLAGS); do \
51662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51663 done; \
51664 (cd $(TARGET_SUBDIR)/libquadmath && \
51665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51667 "RANLIB=$${RANLIB}" \
51668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51669 install-pdf) \
51670 || exit 1
51671
51672 @endif target-libquadmath
51673
51674 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
51675 maybe-install-html-target-libquadmath:
51676 @if target-libquadmath
51677 maybe-install-html-target-libquadmath: install-html-target-libquadmath
51678
51679 install-html-target-libquadmath: \
51680 configure-target-libquadmath \
51681 html-target-libquadmath
51682 @: $(MAKE); $(unstage)
51683 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51684 r=`${PWD_COMMAND}`; export r; \
51685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51686 $(NORMAL_TARGET_EXPORTS) \
51687 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath"; \
51688 for flag in $(EXTRA_TARGET_FLAGS); do \
51689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51690 done; \
51691 (cd $(TARGET_SUBDIR)/libquadmath && \
51692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51694 "RANLIB=$${RANLIB}" \
51695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51696 install-html) \
51697 || exit 1
51698
51699 @endif target-libquadmath
51700
51701 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
51702 maybe-installcheck-target-libquadmath:
51703 @if target-libquadmath
51704 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
51705
51706 installcheck-target-libquadmath: \
51707 configure-target-libquadmath
51708 @: $(MAKE); $(unstage)
51709 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51710 r=`${PWD_COMMAND}`; export r; \
51711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51712 $(NORMAL_TARGET_EXPORTS) \
51713 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath"; \
51714 for flag in $(EXTRA_TARGET_FLAGS); do \
51715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51716 done; \
51717 (cd $(TARGET_SUBDIR)/libquadmath && \
51718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51720 "RANLIB=$${RANLIB}" \
51721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51722 installcheck) \
51723 || exit 1
51724
51725 @endif target-libquadmath
51726
51727 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
51728 maybe-mostlyclean-target-libquadmath:
51729 @if target-libquadmath
51730 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
51731
51732 mostlyclean-target-libquadmath:
51733 @: $(MAKE); $(unstage)
51734 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51735 r=`${PWD_COMMAND}`; export r; \
51736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51737 $(NORMAL_TARGET_EXPORTS) \
51738 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath"; \
51739 for flag in $(EXTRA_TARGET_FLAGS); do \
51740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51741 done; \
51742 (cd $(TARGET_SUBDIR)/libquadmath && \
51743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51745 "RANLIB=$${RANLIB}" \
51746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51747 mostlyclean) \
51748 || exit 1
51749
51750 @endif target-libquadmath
51751
51752 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
51753 maybe-clean-target-libquadmath:
51754 @if target-libquadmath
51755 maybe-clean-target-libquadmath: clean-target-libquadmath
51756
51757 clean-target-libquadmath:
51758 @: $(MAKE); $(unstage)
51759 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51760 r=`${PWD_COMMAND}`; export r; \
51761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51762 $(NORMAL_TARGET_EXPORTS) \
51763 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath"; \
51764 for flag in $(EXTRA_TARGET_FLAGS); do \
51765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51766 done; \
51767 (cd $(TARGET_SUBDIR)/libquadmath && \
51768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51770 "RANLIB=$${RANLIB}" \
51771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51772 clean) \
51773 || exit 1
51774
51775 @endif target-libquadmath
51776
51777 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
51778 maybe-distclean-target-libquadmath:
51779 @if target-libquadmath
51780 maybe-distclean-target-libquadmath: distclean-target-libquadmath
51781
51782 distclean-target-libquadmath:
51783 @: $(MAKE); $(unstage)
51784 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51785 r=`${PWD_COMMAND}`; export r; \
51786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51787 $(NORMAL_TARGET_EXPORTS) \
51788 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath"; \
51789 for flag in $(EXTRA_TARGET_FLAGS); do \
51790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51791 done; \
51792 (cd $(TARGET_SUBDIR)/libquadmath && \
51793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51795 "RANLIB=$${RANLIB}" \
51796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51797 distclean) \
51798 || exit 1
51799
51800 @endif target-libquadmath
51801
51802 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
51803 maybe-maintainer-clean-target-libquadmath:
51804 @if target-libquadmath
51805 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
51806
51807 maintainer-clean-target-libquadmath:
51808 @: $(MAKE); $(unstage)
51809 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0; \
51810 r=`${PWD_COMMAND}`; export r; \
51811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51812 $(NORMAL_TARGET_EXPORTS) \
51813 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath"; \
51814 for flag in $(EXTRA_TARGET_FLAGS); do \
51815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51816 done; \
51817 (cd $(TARGET_SUBDIR)/libquadmath && \
51818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51820 "RANLIB=$${RANLIB}" \
51821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51822 maintainer-clean) \
51823 || exit 1
51824
51825 @endif target-libquadmath
51826
51827
51828
51829
51830
51831 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
51832 maybe-configure-target-libgfortran:
51833 @if gcc-bootstrap
51834 configure-target-libgfortran: stage_current
51835 @endif gcc-bootstrap
51836 @if target-libgfortran
51837 maybe-configure-target-libgfortran: configure-target-libgfortran
51838 configure-target-libgfortran:
51839 @: $(MAKE); $(unstage)
51840 @r=`${PWD_COMMAND}`; export r; \
51841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51842 echo "Checking multilib configuration for libgfortran..."; \
51843 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
51844 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null; \
51845 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
51846 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
51847 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
51848 else \
51849 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
51850 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
51851 fi; \
51852 else \
51853 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
51854 fi; \
51855 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
51856 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran; \
51857 $(NORMAL_TARGET_EXPORTS) \
51858 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
51859 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
51860 case $(srcdir) in \
51861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
51862 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
51863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
51864 esac; \
51865 module_srcdir=libgfortran; \
51866 rm -f no-such-file || : ; \
51867 CONFIG_SITE=no-such-file $(SHELL) \
51868 $$s/$$module_srcdir/configure \
51869 --srcdir=$${topdir}/$$module_srcdir \
51870 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
51871 --target=${target_alias} \
51872 || exit 1
51873 @endif target-libgfortran
51874
51875
51876
51877
51878
51879 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
51880 maybe-all-target-libgfortran:
51881 @if gcc-bootstrap
51882 all-target-libgfortran: stage_current
51883 @endif gcc-bootstrap
51884 @if target-libgfortran
51885 TARGET-target-libgfortran=all
51886 maybe-all-target-libgfortran: all-target-libgfortran
51887 all-target-libgfortran: configure-target-libgfortran
51888 @: $(MAKE); $(unstage)
51889 @r=`${PWD_COMMAND}`; export r; \
51890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51891 $(NORMAL_TARGET_EXPORTS) \
51892 (cd $(TARGET_SUBDIR)/libgfortran && \
51893 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
51894 $(TARGET-target-libgfortran))
51895 @endif target-libgfortran
51896
51897
51898
51899
51900
51901 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
51902 maybe-check-target-libgfortran:
51903 @if target-libgfortran
51904 maybe-check-target-libgfortran: check-target-libgfortran
51905
51906 check-target-libgfortran:
51907 @: $(MAKE); $(unstage)
51908 @r=`${PWD_COMMAND}`; export r; \
51909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51910 $(NORMAL_TARGET_EXPORTS) \
51911 (cd $(TARGET_SUBDIR)/libgfortran && \
51912 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
51913
51914 @endif target-libgfortran
51915
51916 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
51917 maybe-install-target-libgfortran:
51918 @if target-libgfortran
51919 maybe-install-target-libgfortran: install-target-libgfortran
51920
51921 install-target-libgfortran: installdirs
51922 @: $(MAKE); $(unstage)
51923 @r=`${PWD_COMMAND}`; export r; \
51924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51925 $(NORMAL_TARGET_EXPORTS) \
51926 (cd $(TARGET_SUBDIR)/libgfortran && \
51927 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
51928
51929 @endif target-libgfortran
51930
51931 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
51932 maybe-install-strip-target-libgfortran:
51933 @if target-libgfortran
51934 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
51935
51936 install-strip-target-libgfortran: installdirs
51937 @: $(MAKE); $(unstage)
51938 @r=`${PWD_COMMAND}`; export r; \
51939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51940 $(NORMAL_TARGET_EXPORTS) \
51941 (cd $(TARGET_SUBDIR)/libgfortran && \
51942 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
51943
51944 @endif target-libgfortran
51945
51946 # Other targets (info, dvi, pdf, etc.)
51947
51948 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
51949 maybe-info-target-libgfortran:
51950 @if target-libgfortran
51951 maybe-info-target-libgfortran: info-target-libgfortran
51952
51953 info-target-libgfortran: \
51954 configure-target-libgfortran
51955 @: $(MAKE); $(unstage)
51956 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51957 r=`${PWD_COMMAND}`; export r; \
51958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51959 $(NORMAL_TARGET_EXPORTS) \
51960 echo "Doing info in $(TARGET_SUBDIR)/libgfortran"; \
51961 for flag in $(EXTRA_TARGET_FLAGS); do \
51962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51963 done; \
51964 (cd $(TARGET_SUBDIR)/libgfortran && \
51965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51967 "RANLIB=$${RANLIB}" \
51968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51969 info) \
51970 || exit 1
51971
51972 @endif target-libgfortran
51973
51974 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
51975 maybe-dvi-target-libgfortran:
51976 @if target-libgfortran
51977 maybe-dvi-target-libgfortran: dvi-target-libgfortran
51978
51979 dvi-target-libgfortran: \
51980 configure-target-libgfortran
51981 @: $(MAKE); $(unstage)
51982 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
51983 r=`${PWD_COMMAND}`; export r; \
51984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51985 $(NORMAL_TARGET_EXPORTS) \
51986 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran"; \
51987 for flag in $(EXTRA_TARGET_FLAGS); do \
51988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
51989 done; \
51990 (cd $(TARGET_SUBDIR)/libgfortran && \
51991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
51992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
51993 "RANLIB=$${RANLIB}" \
51994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
51995 dvi) \
51996 || exit 1
51997
51998 @endif target-libgfortran
51999
52000 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
52001 maybe-pdf-target-libgfortran:
52002 @if target-libgfortran
52003 maybe-pdf-target-libgfortran: pdf-target-libgfortran
52004
52005 pdf-target-libgfortran: \
52006 configure-target-libgfortran
52007 @: $(MAKE); $(unstage)
52008 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52009 r=`${PWD_COMMAND}`; export r; \
52010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52011 $(NORMAL_TARGET_EXPORTS) \
52012 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran"; \
52013 for flag in $(EXTRA_TARGET_FLAGS); do \
52014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52015 done; \
52016 (cd $(TARGET_SUBDIR)/libgfortran && \
52017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52019 "RANLIB=$${RANLIB}" \
52020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52021 pdf) \
52022 || exit 1
52023
52024 @endif target-libgfortran
52025
52026 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
52027 maybe-html-target-libgfortran:
52028 @if target-libgfortran
52029 maybe-html-target-libgfortran: html-target-libgfortran
52030
52031 html-target-libgfortran: \
52032 configure-target-libgfortran
52033 @: $(MAKE); $(unstage)
52034 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52035 r=`${PWD_COMMAND}`; export r; \
52036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52037 $(NORMAL_TARGET_EXPORTS) \
52038 echo "Doing html in $(TARGET_SUBDIR)/libgfortran"; \
52039 for flag in $(EXTRA_TARGET_FLAGS); do \
52040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52041 done; \
52042 (cd $(TARGET_SUBDIR)/libgfortran && \
52043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52045 "RANLIB=$${RANLIB}" \
52046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52047 html) \
52048 || exit 1
52049
52050 @endif target-libgfortran
52051
52052 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
52053 maybe-TAGS-target-libgfortran:
52054 @if target-libgfortran
52055 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
52056
52057 TAGS-target-libgfortran: \
52058 configure-target-libgfortran
52059 @: $(MAKE); $(unstage)
52060 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52061 r=`${PWD_COMMAND}`; export r; \
52062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52063 $(NORMAL_TARGET_EXPORTS) \
52064 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran"; \
52065 for flag in $(EXTRA_TARGET_FLAGS); do \
52066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52067 done; \
52068 (cd $(TARGET_SUBDIR)/libgfortran && \
52069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52071 "RANLIB=$${RANLIB}" \
52072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52073 TAGS) \
52074 || exit 1
52075
52076 @endif target-libgfortran
52077
52078 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
52079 maybe-install-info-target-libgfortran:
52080 @if target-libgfortran
52081 maybe-install-info-target-libgfortran: install-info-target-libgfortran
52082
52083 install-info-target-libgfortran: \
52084 configure-target-libgfortran \
52085 info-target-libgfortran
52086 @: $(MAKE); $(unstage)
52087 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52088 r=`${PWD_COMMAND}`; export r; \
52089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52090 $(NORMAL_TARGET_EXPORTS) \
52091 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran"; \
52092 for flag in $(EXTRA_TARGET_FLAGS); do \
52093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52094 done; \
52095 (cd $(TARGET_SUBDIR)/libgfortran && \
52096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52098 "RANLIB=$${RANLIB}" \
52099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52100 install-info) \
52101 || exit 1
52102
52103 @endif target-libgfortran
52104
52105 .PHONY: maybe-install-dvi-target-libgfortran install-dvi-target-libgfortran
52106 maybe-install-dvi-target-libgfortran:
52107 @if target-libgfortran
52108 maybe-install-dvi-target-libgfortran: install-dvi-target-libgfortran
52109
52110 install-dvi-target-libgfortran: \
52111 configure-target-libgfortran \
52112 dvi-target-libgfortran
52113 @: $(MAKE); $(unstage)
52114 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52115 r=`${PWD_COMMAND}`; export r; \
52116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52117 $(NORMAL_TARGET_EXPORTS) \
52118 echo "Doing install-dvi in $(TARGET_SUBDIR)/libgfortran"; \
52119 for flag in $(EXTRA_TARGET_FLAGS); do \
52120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52121 done; \
52122 (cd $(TARGET_SUBDIR)/libgfortran && \
52123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52125 "RANLIB=$${RANLIB}" \
52126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52127 install-dvi) \
52128 || exit 1
52129
52130 @endif target-libgfortran
52131
52132 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
52133 maybe-install-pdf-target-libgfortran:
52134 @if target-libgfortran
52135 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
52136
52137 install-pdf-target-libgfortran: \
52138 configure-target-libgfortran \
52139 pdf-target-libgfortran
52140 @: $(MAKE); $(unstage)
52141 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52142 r=`${PWD_COMMAND}`; export r; \
52143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52144 $(NORMAL_TARGET_EXPORTS) \
52145 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran"; \
52146 for flag in $(EXTRA_TARGET_FLAGS); do \
52147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52148 done; \
52149 (cd $(TARGET_SUBDIR)/libgfortran && \
52150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52152 "RANLIB=$${RANLIB}" \
52153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52154 install-pdf) \
52155 || exit 1
52156
52157 @endif target-libgfortran
52158
52159 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
52160 maybe-install-html-target-libgfortran:
52161 @if target-libgfortran
52162 maybe-install-html-target-libgfortran: install-html-target-libgfortran
52163
52164 install-html-target-libgfortran: \
52165 configure-target-libgfortran \
52166 html-target-libgfortran
52167 @: $(MAKE); $(unstage)
52168 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52169 r=`${PWD_COMMAND}`; export r; \
52170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52171 $(NORMAL_TARGET_EXPORTS) \
52172 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran"; \
52173 for flag in $(EXTRA_TARGET_FLAGS); do \
52174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52175 done; \
52176 (cd $(TARGET_SUBDIR)/libgfortran && \
52177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52179 "RANLIB=$${RANLIB}" \
52180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52181 install-html) \
52182 || exit 1
52183
52184 @endif target-libgfortran
52185
52186 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
52187 maybe-installcheck-target-libgfortran:
52188 @if target-libgfortran
52189 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
52190
52191 installcheck-target-libgfortran: \
52192 configure-target-libgfortran
52193 @: $(MAKE); $(unstage)
52194 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52195 r=`${PWD_COMMAND}`; export r; \
52196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52197 $(NORMAL_TARGET_EXPORTS) \
52198 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran"; \
52199 for flag in $(EXTRA_TARGET_FLAGS); do \
52200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52201 done; \
52202 (cd $(TARGET_SUBDIR)/libgfortran && \
52203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52205 "RANLIB=$${RANLIB}" \
52206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52207 installcheck) \
52208 || exit 1
52209
52210 @endif target-libgfortran
52211
52212 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
52213 maybe-mostlyclean-target-libgfortran:
52214 @if target-libgfortran
52215 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
52216
52217 mostlyclean-target-libgfortran:
52218 @: $(MAKE); $(unstage)
52219 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52220 r=`${PWD_COMMAND}`; export r; \
52221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52222 $(NORMAL_TARGET_EXPORTS) \
52223 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran"; \
52224 for flag in $(EXTRA_TARGET_FLAGS); do \
52225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52226 done; \
52227 (cd $(TARGET_SUBDIR)/libgfortran && \
52228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52230 "RANLIB=$${RANLIB}" \
52231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52232 mostlyclean) \
52233 || exit 1
52234
52235 @endif target-libgfortran
52236
52237 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
52238 maybe-clean-target-libgfortran:
52239 @if target-libgfortran
52240 maybe-clean-target-libgfortran: clean-target-libgfortran
52241
52242 clean-target-libgfortran:
52243 @: $(MAKE); $(unstage)
52244 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52245 r=`${PWD_COMMAND}`; export r; \
52246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52247 $(NORMAL_TARGET_EXPORTS) \
52248 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran"; \
52249 for flag in $(EXTRA_TARGET_FLAGS); do \
52250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52251 done; \
52252 (cd $(TARGET_SUBDIR)/libgfortran && \
52253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52255 "RANLIB=$${RANLIB}" \
52256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52257 clean) \
52258 || exit 1
52259
52260 @endif target-libgfortran
52261
52262 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
52263 maybe-distclean-target-libgfortran:
52264 @if target-libgfortran
52265 maybe-distclean-target-libgfortran: distclean-target-libgfortran
52266
52267 distclean-target-libgfortran:
52268 @: $(MAKE); $(unstage)
52269 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52270 r=`${PWD_COMMAND}`; export r; \
52271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52272 $(NORMAL_TARGET_EXPORTS) \
52273 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran"; \
52274 for flag in $(EXTRA_TARGET_FLAGS); do \
52275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52276 done; \
52277 (cd $(TARGET_SUBDIR)/libgfortran && \
52278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52280 "RANLIB=$${RANLIB}" \
52281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52282 distclean) \
52283 || exit 1
52284
52285 @endif target-libgfortran
52286
52287 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
52288 maybe-maintainer-clean-target-libgfortran:
52289 @if target-libgfortran
52290 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
52291
52292 maintainer-clean-target-libgfortran:
52293 @: $(MAKE); $(unstage)
52294 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0; \
52295 r=`${PWD_COMMAND}`; export r; \
52296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52297 $(NORMAL_TARGET_EXPORTS) \
52298 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran"; \
52299 for flag in $(EXTRA_TARGET_FLAGS); do \
52300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52301 done; \
52302 (cd $(TARGET_SUBDIR)/libgfortran && \
52303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52305 "RANLIB=$${RANLIB}" \
52306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52307 maintainer-clean) \
52308 || exit 1
52309
52310 @endif target-libgfortran
52311
52312
52313
52314
52315
52316 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
52317 maybe-configure-target-libobjc:
52318 @if gcc-bootstrap
52319 configure-target-libobjc: stage_current
52320 @endif gcc-bootstrap
52321 @if target-libobjc
52322 maybe-configure-target-libobjc: configure-target-libobjc
52323 configure-target-libobjc:
52324 @: $(MAKE); $(unstage)
52325 @r=`${PWD_COMMAND}`; export r; \
52326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52327 echo "Checking multilib configuration for libobjc..."; \
52328 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
52329 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null; \
52330 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
52331 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
52332 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
52333 else \
52334 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
52335 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
52336 fi; \
52337 else \
52338 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
52339 fi; \
52340 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
52341 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc; \
52342 $(NORMAL_TARGET_EXPORTS) \
52343 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
52344 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
52345 case $(srcdir) in \
52346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52347 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
52348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52349 esac; \
52350 module_srcdir=libobjc; \
52351 rm -f no-such-file || : ; \
52352 CONFIG_SITE=no-such-file $(SHELL) \
52353 $$s/$$module_srcdir/configure \
52354 --srcdir=$${topdir}/$$module_srcdir \
52355 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52356 --target=${target_alias} \
52357 || exit 1
52358 @endif target-libobjc
52359
52360
52361
52362
52363
52364 .PHONY: all-target-libobjc maybe-all-target-libobjc
52365 maybe-all-target-libobjc:
52366 @if gcc-bootstrap
52367 all-target-libobjc: stage_current
52368 @endif gcc-bootstrap
52369 @if target-libobjc
52370 TARGET-target-libobjc=all
52371 maybe-all-target-libobjc: all-target-libobjc
52372 all-target-libobjc: configure-target-libobjc
52373 @: $(MAKE); $(unstage)
52374 @r=`${PWD_COMMAND}`; export r; \
52375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52376 $(NORMAL_TARGET_EXPORTS) \
52377 (cd $(TARGET_SUBDIR)/libobjc && \
52378 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52379 $(TARGET-target-libobjc))
52380 @endif target-libobjc
52381
52382
52383
52384
52385
52386 .PHONY: check-target-libobjc maybe-check-target-libobjc
52387 maybe-check-target-libobjc:
52388 @if target-libobjc
52389 maybe-check-target-libobjc: check-target-libobjc
52390
52391 check-target-libobjc:
52392 @: $(MAKE); $(unstage)
52393 @r=`${PWD_COMMAND}`; export r; \
52394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52395 $(NORMAL_TARGET_EXPORTS) \
52396 (cd $(TARGET_SUBDIR)/libobjc && \
52397 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52398
52399 @endif target-libobjc
52400
52401 .PHONY: install-target-libobjc maybe-install-target-libobjc
52402 maybe-install-target-libobjc:
52403 @if target-libobjc
52404 maybe-install-target-libobjc: install-target-libobjc
52405
52406 install-target-libobjc: installdirs
52407 @: $(MAKE); $(unstage)
52408 @r=`${PWD_COMMAND}`; export r; \
52409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52410 $(NORMAL_TARGET_EXPORTS) \
52411 (cd $(TARGET_SUBDIR)/libobjc && \
52412 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52413
52414 @endif target-libobjc
52415
52416 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
52417 maybe-install-strip-target-libobjc:
52418 @if target-libobjc
52419 maybe-install-strip-target-libobjc: install-strip-target-libobjc
52420
52421 install-strip-target-libobjc: installdirs
52422 @: $(MAKE); $(unstage)
52423 @r=`${PWD_COMMAND}`; export r; \
52424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52425 $(NORMAL_TARGET_EXPORTS) \
52426 (cd $(TARGET_SUBDIR)/libobjc && \
52427 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52428
52429 @endif target-libobjc
52430
52431 # Other targets (info, dvi, pdf, etc.)
52432
52433 .PHONY: maybe-info-target-libobjc info-target-libobjc
52434 maybe-info-target-libobjc:
52435 @if target-libobjc
52436 maybe-info-target-libobjc: info-target-libobjc
52437
52438 info-target-libobjc: \
52439 configure-target-libobjc
52440 @: $(MAKE); $(unstage)
52441 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52442 r=`${PWD_COMMAND}`; export r; \
52443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52444 $(NORMAL_TARGET_EXPORTS) \
52445 echo "Doing info in $(TARGET_SUBDIR)/libobjc"; \
52446 for flag in $(EXTRA_TARGET_FLAGS); do \
52447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52448 done; \
52449 (cd $(TARGET_SUBDIR)/libobjc && \
52450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52452 "RANLIB=$${RANLIB}" \
52453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52454 info) \
52455 || exit 1
52456
52457 @endif target-libobjc
52458
52459 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
52460 maybe-dvi-target-libobjc:
52461 @if target-libobjc
52462 maybe-dvi-target-libobjc: dvi-target-libobjc
52463
52464 dvi-target-libobjc: \
52465 configure-target-libobjc
52466 @: $(MAKE); $(unstage)
52467 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52468 r=`${PWD_COMMAND}`; export r; \
52469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52470 $(NORMAL_TARGET_EXPORTS) \
52471 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc"; \
52472 for flag in $(EXTRA_TARGET_FLAGS); do \
52473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52474 done; \
52475 (cd $(TARGET_SUBDIR)/libobjc && \
52476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52478 "RANLIB=$${RANLIB}" \
52479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52480 dvi) \
52481 || exit 1
52482
52483 @endif target-libobjc
52484
52485 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
52486 maybe-pdf-target-libobjc:
52487 @if target-libobjc
52488 maybe-pdf-target-libobjc: pdf-target-libobjc
52489
52490 pdf-target-libobjc: \
52491 configure-target-libobjc
52492 @: $(MAKE); $(unstage)
52493 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52494 r=`${PWD_COMMAND}`; export r; \
52495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52496 $(NORMAL_TARGET_EXPORTS) \
52497 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc"; \
52498 for flag in $(EXTRA_TARGET_FLAGS); do \
52499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52500 done; \
52501 (cd $(TARGET_SUBDIR)/libobjc && \
52502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52504 "RANLIB=$${RANLIB}" \
52505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52506 pdf) \
52507 || exit 1
52508
52509 @endif target-libobjc
52510
52511 .PHONY: maybe-html-target-libobjc html-target-libobjc
52512 maybe-html-target-libobjc:
52513 @if target-libobjc
52514 maybe-html-target-libobjc: html-target-libobjc
52515
52516 html-target-libobjc: \
52517 configure-target-libobjc
52518 @: $(MAKE); $(unstage)
52519 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52520 r=`${PWD_COMMAND}`; export r; \
52521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52522 $(NORMAL_TARGET_EXPORTS) \
52523 echo "Doing html in $(TARGET_SUBDIR)/libobjc"; \
52524 for flag in $(EXTRA_TARGET_FLAGS); do \
52525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52526 done; \
52527 (cd $(TARGET_SUBDIR)/libobjc && \
52528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52530 "RANLIB=$${RANLIB}" \
52531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52532 html) \
52533 || exit 1
52534
52535 @endif target-libobjc
52536
52537 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
52538 maybe-TAGS-target-libobjc:
52539 @if target-libobjc
52540 maybe-TAGS-target-libobjc: TAGS-target-libobjc
52541
52542 # libobjc doesn't support TAGS.
52543 TAGS-target-libobjc:
52544
52545 @endif target-libobjc
52546
52547 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
52548 maybe-install-info-target-libobjc:
52549 @if target-libobjc
52550 maybe-install-info-target-libobjc: install-info-target-libobjc
52551
52552 install-info-target-libobjc: \
52553 configure-target-libobjc \
52554 info-target-libobjc
52555 @: $(MAKE); $(unstage)
52556 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52557 r=`${PWD_COMMAND}`; export r; \
52558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52559 $(NORMAL_TARGET_EXPORTS) \
52560 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc"; \
52561 for flag in $(EXTRA_TARGET_FLAGS); do \
52562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52563 done; \
52564 (cd $(TARGET_SUBDIR)/libobjc && \
52565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52567 "RANLIB=$${RANLIB}" \
52568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52569 install-info) \
52570 || exit 1
52571
52572 @endif target-libobjc
52573
52574 .PHONY: maybe-install-dvi-target-libobjc install-dvi-target-libobjc
52575 maybe-install-dvi-target-libobjc:
52576 @if target-libobjc
52577 maybe-install-dvi-target-libobjc: install-dvi-target-libobjc
52578
52579 # libobjc doesn't support install-dvi.
52580 install-dvi-target-libobjc:
52581
52582 @endif target-libobjc
52583
52584 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
52585 maybe-install-pdf-target-libobjc:
52586 @if target-libobjc
52587 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
52588
52589 install-pdf-target-libobjc: \
52590 configure-target-libobjc \
52591 pdf-target-libobjc
52592 @: $(MAKE); $(unstage)
52593 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52594 r=`${PWD_COMMAND}`; export r; \
52595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52596 $(NORMAL_TARGET_EXPORTS) \
52597 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc"; \
52598 for flag in $(EXTRA_TARGET_FLAGS); do \
52599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52600 done; \
52601 (cd $(TARGET_SUBDIR)/libobjc && \
52602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52604 "RANLIB=$${RANLIB}" \
52605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52606 install-pdf) \
52607 || exit 1
52608
52609 @endif target-libobjc
52610
52611 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
52612 maybe-install-html-target-libobjc:
52613 @if target-libobjc
52614 maybe-install-html-target-libobjc: install-html-target-libobjc
52615
52616 install-html-target-libobjc: \
52617 configure-target-libobjc \
52618 html-target-libobjc
52619 @: $(MAKE); $(unstage)
52620 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52621 r=`${PWD_COMMAND}`; export r; \
52622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52623 $(NORMAL_TARGET_EXPORTS) \
52624 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc"; \
52625 for flag in $(EXTRA_TARGET_FLAGS); do \
52626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52627 done; \
52628 (cd $(TARGET_SUBDIR)/libobjc && \
52629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52631 "RANLIB=$${RANLIB}" \
52632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52633 install-html) \
52634 || exit 1
52635
52636 @endif target-libobjc
52637
52638 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
52639 maybe-installcheck-target-libobjc:
52640 @if target-libobjc
52641 maybe-installcheck-target-libobjc: installcheck-target-libobjc
52642
52643 installcheck-target-libobjc: \
52644 configure-target-libobjc
52645 @: $(MAKE); $(unstage)
52646 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52647 r=`${PWD_COMMAND}`; export r; \
52648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52649 $(NORMAL_TARGET_EXPORTS) \
52650 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc"; \
52651 for flag in $(EXTRA_TARGET_FLAGS); do \
52652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52653 done; \
52654 (cd $(TARGET_SUBDIR)/libobjc && \
52655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52657 "RANLIB=$${RANLIB}" \
52658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52659 installcheck) \
52660 || exit 1
52661
52662 @endif target-libobjc
52663
52664 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
52665 maybe-mostlyclean-target-libobjc:
52666 @if target-libobjc
52667 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
52668
52669 mostlyclean-target-libobjc:
52670 @: $(MAKE); $(unstage)
52671 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52672 r=`${PWD_COMMAND}`; export r; \
52673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52674 $(NORMAL_TARGET_EXPORTS) \
52675 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc"; \
52676 for flag in $(EXTRA_TARGET_FLAGS); do \
52677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52678 done; \
52679 (cd $(TARGET_SUBDIR)/libobjc && \
52680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52682 "RANLIB=$${RANLIB}" \
52683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52684 mostlyclean) \
52685 || exit 1
52686
52687 @endif target-libobjc
52688
52689 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
52690 maybe-clean-target-libobjc:
52691 @if target-libobjc
52692 maybe-clean-target-libobjc: clean-target-libobjc
52693
52694 clean-target-libobjc:
52695 @: $(MAKE); $(unstage)
52696 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52697 r=`${PWD_COMMAND}`; export r; \
52698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52699 $(NORMAL_TARGET_EXPORTS) \
52700 echo "Doing clean in $(TARGET_SUBDIR)/libobjc"; \
52701 for flag in $(EXTRA_TARGET_FLAGS); do \
52702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52703 done; \
52704 (cd $(TARGET_SUBDIR)/libobjc && \
52705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52707 "RANLIB=$${RANLIB}" \
52708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52709 clean) \
52710 || exit 1
52711
52712 @endif target-libobjc
52713
52714 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
52715 maybe-distclean-target-libobjc:
52716 @if target-libobjc
52717 maybe-distclean-target-libobjc: distclean-target-libobjc
52718
52719 distclean-target-libobjc:
52720 @: $(MAKE); $(unstage)
52721 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52722 r=`${PWD_COMMAND}`; export r; \
52723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52724 $(NORMAL_TARGET_EXPORTS) \
52725 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc"; \
52726 for flag in $(EXTRA_TARGET_FLAGS); do \
52727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52728 done; \
52729 (cd $(TARGET_SUBDIR)/libobjc && \
52730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52732 "RANLIB=$${RANLIB}" \
52733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52734 distclean) \
52735 || exit 1
52736
52737 @endif target-libobjc
52738
52739 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
52740 maybe-maintainer-clean-target-libobjc:
52741 @if target-libobjc
52742 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
52743
52744 maintainer-clean-target-libobjc:
52745 @: $(MAKE); $(unstage)
52746 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0; \
52747 r=`${PWD_COMMAND}`; export r; \
52748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52749 $(NORMAL_TARGET_EXPORTS) \
52750 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc"; \
52751 for flag in $(EXTRA_TARGET_FLAGS); do \
52752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52753 done; \
52754 (cd $(TARGET_SUBDIR)/libobjc && \
52755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52757 "RANLIB=$${RANLIB}" \
52758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52759 maintainer-clean) \
52760 || exit 1
52761
52762 @endif target-libobjc
52763
52764
52765
52766
52767
52768 .PHONY: configure-target-libgo maybe-configure-target-libgo
52769 maybe-configure-target-libgo:
52770 @if gcc-bootstrap
52771 configure-target-libgo: stage_current
52772 @endif gcc-bootstrap
52773 @if target-libgo
52774 maybe-configure-target-libgo: configure-target-libgo
52775 configure-target-libgo:
52776 @: $(MAKE); $(unstage)
52777 @r=`${PWD_COMMAND}`; export r; \
52778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52779 echo "Checking multilib configuration for libgo..."; \
52780 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
52781 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null; \
52782 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
52783 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
52784 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
52785 else \
52786 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
52787 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
52788 fi; \
52789 else \
52790 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
52791 fi; \
52792 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
52793 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo; \
52794 $(NORMAL_TARGET_EXPORTS) \
52795 echo Configuring in $(TARGET_SUBDIR)/libgo; \
52796 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
52797 case $(srcdir) in \
52798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
52799 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
52800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
52801 esac; \
52802 module_srcdir=libgo; \
52803 rm -f no-such-file || : ; \
52804 CONFIG_SITE=no-such-file $(SHELL) \
52805 $$s/$$module_srcdir/configure \
52806 --srcdir=$${topdir}/$$module_srcdir \
52807 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
52808 --target=${target_alias} \
52809 || exit 1
52810 @endif target-libgo
52811
52812
52813
52814
52815
52816 .PHONY: all-target-libgo maybe-all-target-libgo
52817 maybe-all-target-libgo:
52818 @if gcc-bootstrap
52819 all-target-libgo: stage_current
52820 @endif gcc-bootstrap
52821 @if target-libgo
52822 TARGET-target-libgo=all
52823 maybe-all-target-libgo: all-target-libgo
52824 all-target-libgo: configure-target-libgo
52825 @: $(MAKE); $(unstage)
52826 @r=`${PWD_COMMAND}`; export r; \
52827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52828 $(NORMAL_TARGET_EXPORTS) \
52829 (cd $(TARGET_SUBDIR)/libgo && \
52830 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
52831 $(TARGET-target-libgo))
52832 @endif target-libgo
52833
52834
52835
52836
52837
52838 .PHONY: check-target-libgo maybe-check-target-libgo
52839 maybe-check-target-libgo:
52840 @if target-libgo
52841 maybe-check-target-libgo: check-target-libgo
52842
52843 check-target-libgo:
52844 @: $(MAKE); $(unstage)
52845 @r=`${PWD_COMMAND}`; export r; \
52846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52847 $(NORMAL_TARGET_EXPORTS) \
52848 (cd $(TARGET_SUBDIR)/libgo && \
52849 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
52850
52851 @endif target-libgo
52852
52853 .PHONY: install-target-libgo maybe-install-target-libgo
52854 maybe-install-target-libgo:
52855 @if target-libgo
52856 maybe-install-target-libgo: install-target-libgo
52857
52858 install-target-libgo: installdirs
52859 @: $(MAKE); $(unstage)
52860 @r=`${PWD_COMMAND}`; export r; \
52861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52862 $(NORMAL_TARGET_EXPORTS) \
52863 (cd $(TARGET_SUBDIR)/libgo && \
52864 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
52865
52866 @endif target-libgo
52867
52868 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
52869 maybe-install-strip-target-libgo:
52870 @if target-libgo
52871 maybe-install-strip-target-libgo: install-strip-target-libgo
52872
52873 install-strip-target-libgo: installdirs
52874 @: $(MAKE); $(unstage)
52875 @r=`${PWD_COMMAND}`; export r; \
52876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52877 $(NORMAL_TARGET_EXPORTS) \
52878 (cd $(TARGET_SUBDIR)/libgo && \
52879 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
52880
52881 @endif target-libgo
52882
52883 # Other targets (info, dvi, pdf, etc.)
52884
52885 .PHONY: maybe-info-target-libgo info-target-libgo
52886 maybe-info-target-libgo:
52887 @if target-libgo
52888 maybe-info-target-libgo: info-target-libgo
52889
52890 info-target-libgo: \
52891 configure-target-libgo
52892 @: $(MAKE); $(unstage)
52893 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52894 r=`${PWD_COMMAND}`; export r; \
52895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52896 $(NORMAL_TARGET_EXPORTS) \
52897 echo "Doing info in $(TARGET_SUBDIR)/libgo"; \
52898 for flag in $(EXTRA_TARGET_FLAGS); do \
52899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52900 done; \
52901 (cd $(TARGET_SUBDIR)/libgo && \
52902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52904 "RANLIB=$${RANLIB}" \
52905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52906 info) \
52907 || exit 1
52908
52909 @endif target-libgo
52910
52911 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
52912 maybe-dvi-target-libgo:
52913 @if target-libgo
52914 maybe-dvi-target-libgo: dvi-target-libgo
52915
52916 dvi-target-libgo: \
52917 configure-target-libgo
52918 @: $(MAKE); $(unstage)
52919 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52920 r=`${PWD_COMMAND}`; export r; \
52921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52922 $(NORMAL_TARGET_EXPORTS) \
52923 echo "Doing dvi in $(TARGET_SUBDIR)/libgo"; \
52924 for flag in $(EXTRA_TARGET_FLAGS); do \
52925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52926 done; \
52927 (cd $(TARGET_SUBDIR)/libgo && \
52928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52930 "RANLIB=$${RANLIB}" \
52931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52932 dvi) \
52933 || exit 1
52934
52935 @endif target-libgo
52936
52937 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
52938 maybe-pdf-target-libgo:
52939 @if target-libgo
52940 maybe-pdf-target-libgo: pdf-target-libgo
52941
52942 pdf-target-libgo: \
52943 configure-target-libgo
52944 @: $(MAKE); $(unstage)
52945 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52946 r=`${PWD_COMMAND}`; export r; \
52947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52948 $(NORMAL_TARGET_EXPORTS) \
52949 echo "Doing pdf in $(TARGET_SUBDIR)/libgo"; \
52950 for flag in $(EXTRA_TARGET_FLAGS); do \
52951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52952 done; \
52953 (cd $(TARGET_SUBDIR)/libgo && \
52954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52956 "RANLIB=$${RANLIB}" \
52957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52958 pdf) \
52959 || exit 1
52960
52961 @endif target-libgo
52962
52963 .PHONY: maybe-html-target-libgo html-target-libgo
52964 maybe-html-target-libgo:
52965 @if target-libgo
52966 maybe-html-target-libgo: html-target-libgo
52967
52968 html-target-libgo: \
52969 configure-target-libgo
52970 @: $(MAKE); $(unstage)
52971 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52972 r=`${PWD_COMMAND}`; export r; \
52973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52974 $(NORMAL_TARGET_EXPORTS) \
52975 echo "Doing html in $(TARGET_SUBDIR)/libgo"; \
52976 for flag in $(EXTRA_TARGET_FLAGS); do \
52977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
52978 done; \
52979 (cd $(TARGET_SUBDIR)/libgo && \
52980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
52981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
52982 "RANLIB=$${RANLIB}" \
52983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
52984 html) \
52985 || exit 1
52986
52987 @endif target-libgo
52988
52989 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
52990 maybe-TAGS-target-libgo:
52991 @if target-libgo
52992 maybe-TAGS-target-libgo: TAGS-target-libgo
52993
52994 TAGS-target-libgo: \
52995 configure-target-libgo
52996 @: $(MAKE); $(unstage)
52997 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
52998 r=`${PWD_COMMAND}`; export r; \
52999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53000 $(NORMAL_TARGET_EXPORTS) \
53001 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo"; \
53002 for flag in $(EXTRA_TARGET_FLAGS); do \
53003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53004 done; \
53005 (cd $(TARGET_SUBDIR)/libgo && \
53006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53008 "RANLIB=$${RANLIB}" \
53009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53010 TAGS) \
53011 || exit 1
53012
53013 @endif target-libgo
53014
53015 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
53016 maybe-install-info-target-libgo:
53017 @if target-libgo
53018 maybe-install-info-target-libgo: install-info-target-libgo
53019
53020 install-info-target-libgo: \
53021 configure-target-libgo \
53022 info-target-libgo
53023 @: $(MAKE); $(unstage)
53024 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
53025 r=`${PWD_COMMAND}`; export r; \
53026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53027 $(NORMAL_TARGET_EXPORTS) \
53028 echo "Doing install-info in $(TARGET_SUBDIR)/libgo"; \
53029 for flag in $(EXTRA_TARGET_FLAGS); do \
53030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53031 done; \
53032 (cd $(TARGET_SUBDIR)/libgo && \
53033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53035 "RANLIB=$${RANLIB}" \
53036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53037 install-info) \
53038 || exit 1
53039
53040 @endif target-libgo
53041
53042 .PHONY: maybe-install-dvi-target-libgo install-dvi-target-libgo
53043 maybe-install-dvi-target-libgo:
53044 @if target-libgo
53045 maybe-install-dvi-target-libgo: install-dvi-target-libgo
53046
53047 install-dvi-target-libgo: \
53048 configure-target-libgo \
53049 dvi-target-libgo
53050 @: $(MAKE); $(unstage)
53051 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
53052 r=`${PWD_COMMAND}`; export r; \
53053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53054 $(NORMAL_TARGET_EXPORTS) \
53055 echo "Doing install-dvi in $(TARGET_SUBDIR)/libgo"; \
53056 for flag in $(EXTRA_TARGET_FLAGS); do \
53057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53058 done; \
53059 (cd $(TARGET_SUBDIR)/libgo && \
53060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53062 "RANLIB=$${RANLIB}" \
53063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53064 install-dvi) \
53065 || exit 1
53066
53067 @endif target-libgo
53068
53069 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
53070 maybe-install-pdf-target-libgo:
53071 @if target-libgo
53072 maybe-install-pdf-target-libgo: install-pdf-target-libgo
53073
53074 install-pdf-target-libgo: \
53075 configure-target-libgo \
53076 pdf-target-libgo
53077 @: $(MAKE); $(unstage)
53078 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
53079 r=`${PWD_COMMAND}`; export r; \
53080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53081 $(NORMAL_TARGET_EXPORTS) \
53082 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo"; \
53083 for flag in $(EXTRA_TARGET_FLAGS); do \
53084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53085 done; \
53086 (cd $(TARGET_SUBDIR)/libgo && \
53087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53089 "RANLIB=$${RANLIB}" \
53090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53091 install-pdf) \
53092 || exit 1
53093
53094 @endif target-libgo
53095
53096 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
53097 maybe-install-html-target-libgo:
53098 @if target-libgo
53099 maybe-install-html-target-libgo: install-html-target-libgo
53100
53101 install-html-target-libgo: \
53102 configure-target-libgo \
53103 html-target-libgo
53104 @: $(MAKE); $(unstage)
53105 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
53106 r=`${PWD_COMMAND}`; export r; \
53107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53108 $(NORMAL_TARGET_EXPORTS) \
53109 echo "Doing install-html in $(TARGET_SUBDIR)/libgo"; \
53110 for flag in $(EXTRA_TARGET_FLAGS); do \
53111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53112 done; \
53113 (cd $(TARGET_SUBDIR)/libgo && \
53114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53116 "RANLIB=$${RANLIB}" \
53117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53118 install-html) \
53119 || exit 1
53120
53121 @endif target-libgo
53122
53123 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
53124 maybe-installcheck-target-libgo:
53125 @if target-libgo
53126 maybe-installcheck-target-libgo: installcheck-target-libgo
53127
53128 installcheck-target-libgo: \
53129 configure-target-libgo
53130 @: $(MAKE); $(unstage)
53131 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
53132 r=`${PWD_COMMAND}`; export r; \
53133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53134 $(NORMAL_TARGET_EXPORTS) \
53135 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo"; \
53136 for flag in $(EXTRA_TARGET_FLAGS); do \
53137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53138 done; \
53139 (cd $(TARGET_SUBDIR)/libgo && \
53140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53142 "RANLIB=$${RANLIB}" \
53143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53144 installcheck) \
53145 || exit 1
53146
53147 @endif target-libgo
53148
53149 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
53150 maybe-mostlyclean-target-libgo:
53151 @if target-libgo
53152 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
53153
53154 mostlyclean-target-libgo:
53155 @: $(MAKE); $(unstage)
53156 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
53157 r=`${PWD_COMMAND}`; export r; \
53158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53159 $(NORMAL_TARGET_EXPORTS) \
53160 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo"; \
53161 for flag in $(EXTRA_TARGET_FLAGS); do \
53162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53163 done; \
53164 (cd $(TARGET_SUBDIR)/libgo && \
53165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53167 "RANLIB=$${RANLIB}" \
53168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53169 mostlyclean) \
53170 || exit 1
53171
53172 @endif target-libgo
53173
53174 .PHONY: maybe-clean-target-libgo clean-target-libgo
53175 maybe-clean-target-libgo:
53176 @if target-libgo
53177 maybe-clean-target-libgo: clean-target-libgo
53178
53179 clean-target-libgo:
53180 @: $(MAKE); $(unstage)
53181 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
53182 r=`${PWD_COMMAND}`; export r; \
53183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53184 $(NORMAL_TARGET_EXPORTS) \
53185 echo "Doing clean in $(TARGET_SUBDIR)/libgo"; \
53186 for flag in $(EXTRA_TARGET_FLAGS); do \
53187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53188 done; \
53189 (cd $(TARGET_SUBDIR)/libgo && \
53190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53192 "RANLIB=$${RANLIB}" \
53193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53194 clean) \
53195 || exit 1
53196
53197 @endif target-libgo
53198
53199 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
53200 maybe-distclean-target-libgo:
53201 @if target-libgo
53202 maybe-distclean-target-libgo: distclean-target-libgo
53203
53204 distclean-target-libgo:
53205 @: $(MAKE); $(unstage)
53206 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
53207 r=`${PWD_COMMAND}`; export r; \
53208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53209 $(NORMAL_TARGET_EXPORTS) \
53210 echo "Doing distclean in $(TARGET_SUBDIR)/libgo"; \
53211 for flag in $(EXTRA_TARGET_FLAGS); do \
53212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53213 done; \
53214 (cd $(TARGET_SUBDIR)/libgo && \
53215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53217 "RANLIB=$${RANLIB}" \
53218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53219 distclean) \
53220 || exit 1
53221
53222 @endif target-libgo
53223
53224 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
53225 maybe-maintainer-clean-target-libgo:
53226 @if target-libgo
53227 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
53228
53229 maintainer-clean-target-libgo:
53230 @: $(MAKE); $(unstage)
53231 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0; \
53232 r=`${PWD_COMMAND}`; export r; \
53233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53234 $(NORMAL_TARGET_EXPORTS) \
53235 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo"; \
53236 for flag in $(EXTRA_TARGET_FLAGS); do \
53237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
53238 done; \
53239 (cd $(TARGET_SUBDIR)/libgo && \
53240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
53241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
53242 "RANLIB=$${RANLIB}" \
53243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
53244 maintainer-clean) \
53245 || exit 1
53246
53247 @endif target-libgo
53248
53249
53250
53251
53252
53253 .PHONY: configure-target-libphobos maybe-configure-target-libphobos
53254 maybe-configure-target-libphobos:
53255 @if gcc-bootstrap
53256 configure-target-libphobos: stage_current
53257 @endif gcc-bootstrap
53258 @if target-libphobos
53259 maybe-configure-target-libphobos: configure-target-libphobos
53260 configure-target-libphobos:
53261 @r=`${PWD_COMMAND}`; export r; \
53262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53263 echo "Checking multilib configuration for libphobos..."; \
53264 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53265 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53266 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53267 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53268 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53269 else \
53270 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53271 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53272 fi; \
53273 else \
53274 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53275 fi; \
53276 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53277 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53278 $(NORMAL_TARGET_EXPORTS) \
53279 echo Configuring in $(TARGET_SUBDIR)/libphobos; \
53280 cd "$(TARGET_SUBDIR)/libphobos" || exit 1; \
53281 case $(srcdir) in \
53282 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53283 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53284 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53285 esac; \
53286 module_srcdir=libphobos; \
53287 rm -f no-such-file || : ; \
53288 CONFIG_SITE=no-such-file $(SHELL) \
53289 $$s/$$module_srcdir/configure \
53290 --srcdir=$${topdir}/$$module_srcdir \
53291 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53292 --target=${target_alias} \
53293 || exit 1
53294 @endif target-libphobos
53295
53296
53297
53298 .PHONY: configure-stage1-target-libphobos maybe-configure-stage1-target-libphobos
53299 maybe-configure-stage1-target-libphobos:
53300 @if target-libphobos-bootstrap
53301 maybe-configure-stage1-target-libphobos: configure-stage1-target-libphobos
53302 configure-stage1-target-libphobos:
53303 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
53304 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53305 @r=`${PWD_COMMAND}`; export r; \
53306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53307 TFLAGS="$(STAGE1_TFLAGS)"; \
53308 echo "Checking multilib configuration for libphobos..."; \
53309 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53310 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53311 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53312 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53313 else \
53314 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53315 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53316 fi; \
53317 else \
53318 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53319 fi; \
53320 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53321 $(NORMAL_TARGET_EXPORTS) \
53322 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53323 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53324 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53325 echo Configuring stage 1 in $(TARGET_SUBDIR)/libphobos; \
53326 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53327 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53328 case $(srcdir) in \
53329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53330 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53332 esac; \
53333 module_srcdir=libphobos; \
53334 $(SHELL) $$s/$$module_srcdir/configure \
53335 --srcdir=$${topdir}/$$module_srcdir \
53336 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53337 --target=${target_alias} \
53338 \
53339 $(STAGE1_CONFIGURE_FLAGS)
53340 @endif target-libphobos-bootstrap
53341
53342 .PHONY: configure-stage2-target-libphobos maybe-configure-stage2-target-libphobos
53343 maybe-configure-stage2-target-libphobos:
53344 @if target-libphobos-bootstrap
53345 maybe-configure-stage2-target-libphobos: configure-stage2-target-libphobos
53346 configure-stage2-target-libphobos:
53347 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
53348 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53349 @r=`${PWD_COMMAND}`; export r; \
53350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53351 TFLAGS="$(STAGE2_TFLAGS)"; \
53352 echo "Checking multilib configuration for libphobos..."; \
53353 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53354 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53355 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53356 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53357 else \
53358 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53359 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53360 fi; \
53361 else \
53362 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53363 fi; \
53364 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53365 $(NORMAL_TARGET_EXPORTS) \
53366 \
53367 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53368 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53369 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53370 echo Configuring stage 2 in $(TARGET_SUBDIR)/libphobos; \
53371 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53372 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53373 case $(srcdir) in \
53374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53375 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53377 esac; \
53378 module_srcdir=libphobos; \
53379 $(SHELL) $$s/$$module_srcdir/configure \
53380 --srcdir=$${topdir}/$$module_srcdir \
53381 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53382 --target=${target_alias} \
53383 --with-build-libsubdir=$(HOST_SUBDIR) \
53384 $(STAGE2_CONFIGURE_FLAGS)
53385 @endif target-libphobos-bootstrap
53386
53387 .PHONY: configure-stage3-target-libphobos maybe-configure-stage3-target-libphobos
53388 maybe-configure-stage3-target-libphobos:
53389 @if target-libphobos-bootstrap
53390 maybe-configure-stage3-target-libphobos: configure-stage3-target-libphobos
53391 configure-stage3-target-libphobos:
53392 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
53393 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53394 @r=`${PWD_COMMAND}`; export r; \
53395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53396 TFLAGS="$(STAGE3_TFLAGS)"; \
53397 echo "Checking multilib configuration for libphobos..."; \
53398 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53399 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53400 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53401 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53402 else \
53403 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53404 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53405 fi; \
53406 else \
53407 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53408 fi; \
53409 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53410 $(NORMAL_TARGET_EXPORTS) \
53411 \
53412 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53413 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53414 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53415 echo Configuring stage 3 in $(TARGET_SUBDIR)/libphobos; \
53416 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53417 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53418 case $(srcdir) in \
53419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53420 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53422 esac; \
53423 module_srcdir=libphobos; \
53424 $(SHELL) $$s/$$module_srcdir/configure \
53425 --srcdir=$${topdir}/$$module_srcdir \
53426 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53427 --target=${target_alias} \
53428 --with-build-libsubdir=$(HOST_SUBDIR) \
53429 $(STAGE3_CONFIGURE_FLAGS)
53430 @endif target-libphobos-bootstrap
53431
53432 .PHONY: configure-stage4-target-libphobos maybe-configure-stage4-target-libphobos
53433 maybe-configure-stage4-target-libphobos:
53434 @if target-libphobos-bootstrap
53435 maybe-configure-stage4-target-libphobos: configure-stage4-target-libphobos
53436 configure-stage4-target-libphobos:
53437 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
53438 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53439 @r=`${PWD_COMMAND}`; export r; \
53440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53441 TFLAGS="$(STAGE4_TFLAGS)"; \
53442 echo "Checking multilib configuration for libphobos..."; \
53443 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53444 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53445 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53446 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53447 else \
53448 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53449 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53450 fi; \
53451 else \
53452 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53453 fi; \
53454 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53455 $(NORMAL_TARGET_EXPORTS) \
53456 \
53457 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53458 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53459 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53460 echo Configuring stage 4 in $(TARGET_SUBDIR)/libphobos; \
53461 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53462 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53463 case $(srcdir) in \
53464 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53465 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53466 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53467 esac; \
53468 module_srcdir=libphobos; \
53469 $(SHELL) $$s/$$module_srcdir/configure \
53470 --srcdir=$${topdir}/$$module_srcdir \
53471 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53472 --target=${target_alias} \
53473 --with-build-libsubdir=$(HOST_SUBDIR) \
53474 $(STAGE4_CONFIGURE_FLAGS)
53475 @endif target-libphobos-bootstrap
53476
53477 .PHONY: configure-stageprofile-target-libphobos maybe-configure-stageprofile-target-libphobos
53478 maybe-configure-stageprofile-target-libphobos:
53479 @if target-libphobos-bootstrap
53480 maybe-configure-stageprofile-target-libphobos: configure-stageprofile-target-libphobos
53481 configure-stageprofile-target-libphobos:
53482 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
53483 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53484 @r=`${PWD_COMMAND}`; export r; \
53485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53486 TFLAGS="$(STAGEprofile_TFLAGS)"; \
53487 echo "Checking multilib configuration for libphobos..."; \
53488 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53489 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53490 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53491 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53492 else \
53493 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53494 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53495 fi; \
53496 else \
53497 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53498 fi; \
53499 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53500 $(NORMAL_TARGET_EXPORTS) \
53501 \
53502 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53503 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53504 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53505 echo Configuring stage profile in $(TARGET_SUBDIR)/libphobos; \
53506 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53507 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53508 case $(srcdir) in \
53509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53510 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53512 esac; \
53513 module_srcdir=libphobos; \
53514 $(SHELL) $$s/$$module_srcdir/configure \
53515 --srcdir=$${topdir}/$$module_srcdir \
53516 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53517 --target=${target_alias} \
53518 --with-build-libsubdir=$(HOST_SUBDIR) \
53519 $(STAGEprofile_CONFIGURE_FLAGS)
53520 @endif target-libphobos-bootstrap
53521
53522 .PHONY: configure-stagetrain-target-libphobos maybe-configure-stagetrain-target-libphobos
53523 maybe-configure-stagetrain-target-libphobos:
53524 @if target-libphobos-bootstrap
53525 maybe-configure-stagetrain-target-libphobos: configure-stagetrain-target-libphobos
53526 configure-stagetrain-target-libphobos:
53527 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
53528 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53529 @r=`${PWD_COMMAND}`; export r; \
53530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53531 TFLAGS="$(STAGEtrain_TFLAGS)"; \
53532 echo "Checking multilib configuration for libphobos..."; \
53533 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53534 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53535 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53536 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53537 else \
53538 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53539 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53540 fi; \
53541 else \
53542 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53543 fi; \
53544 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53545 $(NORMAL_TARGET_EXPORTS) \
53546 \
53547 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53548 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53549 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53550 echo Configuring stage train in $(TARGET_SUBDIR)/libphobos; \
53551 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53552 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53553 case $(srcdir) in \
53554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53555 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53557 esac; \
53558 module_srcdir=libphobos; \
53559 $(SHELL) $$s/$$module_srcdir/configure \
53560 --srcdir=$${topdir}/$$module_srcdir \
53561 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53562 --target=${target_alias} \
53563 --with-build-libsubdir=$(HOST_SUBDIR) \
53564 $(STAGEtrain_CONFIGURE_FLAGS)
53565 @endif target-libphobos-bootstrap
53566
53567 .PHONY: configure-stagefeedback-target-libphobos maybe-configure-stagefeedback-target-libphobos
53568 maybe-configure-stagefeedback-target-libphobos:
53569 @if target-libphobos-bootstrap
53570 maybe-configure-stagefeedback-target-libphobos: configure-stagefeedback-target-libphobos
53571 configure-stagefeedback-target-libphobos:
53572 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
53573 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53574 @r=`${PWD_COMMAND}`; export r; \
53575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53576 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
53577 echo "Checking multilib configuration for libphobos..."; \
53578 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53579 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53580 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53581 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53582 else \
53583 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53584 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53585 fi; \
53586 else \
53587 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53588 fi; \
53589 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53590 $(NORMAL_TARGET_EXPORTS) \
53591 \
53592 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53593 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53594 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53595 echo Configuring stage feedback in $(TARGET_SUBDIR)/libphobos; \
53596 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53597 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53598 case $(srcdir) in \
53599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53600 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53602 esac; \
53603 module_srcdir=libphobos; \
53604 $(SHELL) $$s/$$module_srcdir/configure \
53605 --srcdir=$${topdir}/$$module_srcdir \
53606 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53607 --target=${target_alias} \
53608 --with-build-libsubdir=$(HOST_SUBDIR) \
53609 $(STAGEfeedback_CONFIGURE_FLAGS)
53610 @endif target-libphobos-bootstrap
53611
53612 .PHONY: configure-stageautoprofile-target-libphobos maybe-configure-stageautoprofile-target-libphobos
53613 maybe-configure-stageautoprofile-target-libphobos:
53614 @if target-libphobos-bootstrap
53615 maybe-configure-stageautoprofile-target-libphobos: configure-stageautoprofile-target-libphobos
53616 configure-stageautoprofile-target-libphobos:
53617 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
53618 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53619 @r=`${PWD_COMMAND}`; export r; \
53620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53621 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
53622 echo "Checking multilib configuration for libphobos..."; \
53623 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53624 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53625 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53626 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53627 else \
53628 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53629 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53630 fi; \
53631 else \
53632 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53633 fi; \
53634 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53635 $(NORMAL_TARGET_EXPORTS) \
53636 \
53637 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53638 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53639 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53640 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libphobos; \
53641 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53642 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53643 case $(srcdir) in \
53644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53645 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53647 esac; \
53648 module_srcdir=libphobos; \
53649 $(SHELL) $$s/$$module_srcdir/configure \
53650 --srcdir=$${topdir}/$$module_srcdir \
53651 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53652 --target=${target_alias} \
53653 --with-build-libsubdir=$(HOST_SUBDIR) \
53654 $(STAGEautoprofile_CONFIGURE_FLAGS)
53655 @endif target-libphobos-bootstrap
53656
53657 .PHONY: configure-stageautofeedback-target-libphobos maybe-configure-stageautofeedback-target-libphobos
53658 maybe-configure-stageautofeedback-target-libphobos:
53659 @if target-libphobos-bootstrap
53660 maybe-configure-stageautofeedback-target-libphobos: configure-stageautofeedback-target-libphobos
53661 configure-stageautofeedback-target-libphobos:
53662 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
53663 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53664 @r=`${PWD_COMMAND}`; export r; \
53665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53666 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
53667 echo "Checking multilib configuration for libphobos..."; \
53668 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53669 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53670 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53671 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53672 else \
53673 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53674 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53675 fi; \
53676 else \
53677 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53678 fi; \
53679 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53680 $(NORMAL_TARGET_EXPORTS) \
53681 \
53682 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53683 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53684 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53685 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libphobos; \
53686 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53687 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53688 case $(srcdir) in \
53689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53690 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53692 esac; \
53693 module_srcdir=libphobos; \
53694 $(SHELL) $$s/$$module_srcdir/configure \
53695 --srcdir=$${topdir}/$$module_srcdir \
53696 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53697 --target=${target_alias} \
53698 --with-build-libsubdir=$(HOST_SUBDIR) \
53699 $(STAGEautofeedback_CONFIGURE_FLAGS)
53700 @endif target-libphobos-bootstrap
53701
53702
53703
53704
53705
53706 .PHONY: all-target-libphobos maybe-all-target-libphobos
53707 maybe-all-target-libphobos:
53708 @if gcc-bootstrap
53709 all-target-libphobos: stage_current
53710 @endif gcc-bootstrap
53711 @if target-libphobos
53712 TARGET-target-libphobos=all
53713 maybe-all-target-libphobos: all-target-libphobos
53714 all-target-libphobos: configure-target-libphobos
53715 @r=`${PWD_COMMAND}`; export r; \
53716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53717 $(NORMAL_TARGET_EXPORTS) \
53718 (cd $(TARGET_SUBDIR)/libphobos && \
53719 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
53720 $(TARGET-target-libphobos))
53721 @endif target-libphobos
53722
53723
53724
53725 .PHONY: all-stage1-target-libphobos maybe-all-stage1-target-libphobos
53726 .PHONY: clean-stage1-target-libphobos maybe-clean-stage1-target-libphobos
53727 maybe-all-stage1-target-libphobos:
53728 maybe-clean-stage1-target-libphobos:
53729 @if target-libphobos-bootstrap
53730 maybe-all-stage1-target-libphobos: all-stage1-target-libphobos
53731 all-stage1: all-stage1-target-libphobos
53732 TARGET-stage1-target-libphobos = $(TARGET-target-libphobos)
53733 all-stage1-target-libphobos: configure-stage1-target-libphobos
53734 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
53735 @r=`${PWD_COMMAND}`; export r; \
53736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53737 TFLAGS="$(STAGE1_TFLAGS)"; \
53738 $(NORMAL_TARGET_EXPORTS) \
53739 cd $(TARGET_SUBDIR)/libphobos && \
53740 \
53741 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53742 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53743 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53744 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53745 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53746 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53747 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53748 $(EXTRA_TARGET_FLAGS) \
53749 \
53750 TFLAGS="$(STAGE1_TFLAGS)" \
53751 $(TARGET-stage1-target-libphobos)
53752
53753 maybe-clean-stage1-target-libphobos: clean-stage1-target-libphobos
53754 clean-stage1: clean-stage1-target-libphobos
53755 clean-stage1-target-libphobos:
53756 @if [ $(current_stage) = stage1 ]; then \
53757 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53758 else \
53759 [ -f $(TARGET_SUBDIR)/stage1-libphobos/Makefile ] || exit 0; \
53760 $(MAKE) stage1-start; \
53761 fi; \
53762 cd $(TARGET_SUBDIR)/libphobos && \
53763 $(MAKE) $(EXTRA_TARGET_FLAGS) \
53764 clean
53765 @endif target-libphobos-bootstrap
53766
53767
53768 .PHONY: all-stage2-target-libphobos maybe-all-stage2-target-libphobos
53769 .PHONY: clean-stage2-target-libphobos maybe-clean-stage2-target-libphobos
53770 maybe-all-stage2-target-libphobos:
53771 maybe-clean-stage2-target-libphobos:
53772 @if target-libphobos-bootstrap
53773 maybe-all-stage2-target-libphobos: all-stage2-target-libphobos
53774 all-stage2: all-stage2-target-libphobos
53775 TARGET-stage2-target-libphobos = $(TARGET-target-libphobos)
53776 all-stage2-target-libphobos: configure-stage2-target-libphobos
53777 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
53778 @r=`${PWD_COMMAND}`; export r; \
53779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53780 TFLAGS="$(STAGE2_TFLAGS)"; \
53781 $(NORMAL_TARGET_EXPORTS) \
53782 \
53783 cd $(TARGET_SUBDIR)/libphobos && \
53784 \
53785 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53786 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53787 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53788 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53789 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53790 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53791 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53792 $(EXTRA_TARGET_FLAGS) \
53793 TFLAGS="$(STAGE2_TFLAGS)" \
53794 $(TARGET-stage2-target-libphobos)
53795
53796 maybe-clean-stage2-target-libphobos: clean-stage2-target-libphobos
53797 clean-stage2: clean-stage2-target-libphobos
53798 clean-stage2-target-libphobos:
53799 @if [ $(current_stage) = stage2 ]; then \
53800 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53801 else \
53802 [ -f $(TARGET_SUBDIR)/stage2-libphobos/Makefile ] || exit 0; \
53803 $(MAKE) stage2-start; \
53804 fi; \
53805 cd $(TARGET_SUBDIR)/libphobos && \
53806 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53807 @endif target-libphobos-bootstrap
53808
53809
53810 .PHONY: all-stage3-target-libphobos maybe-all-stage3-target-libphobos
53811 .PHONY: clean-stage3-target-libphobos maybe-clean-stage3-target-libphobos
53812 maybe-all-stage3-target-libphobos:
53813 maybe-clean-stage3-target-libphobos:
53814 @if target-libphobos-bootstrap
53815 maybe-all-stage3-target-libphobos: all-stage3-target-libphobos
53816 all-stage3: all-stage3-target-libphobos
53817 TARGET-stage3-target-libphobos = $(TARGET-target-libphobos)
53818 all-stage3-target-libphobos: configure-stage3-target-libphobos
53819 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
53820 @r=`${PWD_COMMAND}`; export r; \
53821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53822 TFLAGS="$(STAGE3_TFLAGS)"; \
53823 $(NORMAL_TARGET_EXPORTS) \
53824 \
53825 cd $(TARGET_SUBDIR)/libphobos && \
53826 \
53827 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53828 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53829 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53830 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53831 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53832 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53833 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53834 $(EXTRA_TARGET_FLAGS) \
53835 TFLAGS="$(STAGE3_TFLAGS)" \
53836 $(TARGET-stage3-target-libphobos)
53837
53838 maybe-clean-stage3-target-libphobos: clean-stage3-target-libphobos
53839 clean-stage3: clean-stage3-target-libphobos
53840 clean-stage3-target-libphobos:
53841 @if [ $(current_stage) = stage3 ]; then \
53842 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53843 else \
53844 [ -f $(TARGET_SUBDIR)/stage3-libphobos/Makefile ] || exit 0; \
53845 $(MAKE) stage3-start; \
53846 fi; \
53847 cd $(TARGET_SUBDIR)/libphobos && \
53848 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53849 @endif target-libphobos-bootstrap
53850
53851
53852 .PHONY: all-stage4-target-libphobos maybe-all-stage4-target-libphobos
53853 .PHONY: clean-stage4-target-libphobos maybe-clean-stage4-target-libphobos
53854 maybe-all-stage4-target-libphobos:
53855 maybe-clean-stage4-target-libphobos:
53856 @if target-libphobos-bootstrap
53857 maybe-all-stage4-target-libphobos: all-stage4-target-libphobos
53858 all-stage4: all-stage4-target-libphobos
53859 TARGET-stage4-target-libphobos = $(TARGET-target-libphobos)
53860 all-stage4-target-libphobos: configure-stage4-target-libphobos
53861 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
53862 @r=`${PWD_COMMAND}`; export r; \
53863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53864 TFLAGS="$(STAGE4_TFLAGS)"; \
53865 $(NORMAL_TARGET_EXPORTS) \
53866 \
53867 cd $(TARGET_SUBDIR)/libphobos && \
53868 \
53869 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53870 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53871 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53872 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53873 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53874 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53875 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53876 $(EXTRA_TARGET_FLAGS) \
53877 TFLAGS="$(STAGE4_TFLAGS)" \
53878 $(TARGET-stage4-target-libphobos)
53879
53880 maybe-clean-stage4-target-libphobos: clean-stage4-target-libphobos
53881 clean-stage4: clean-stage4-target-libphobos
53882 clean-stage4-target-libphobos:
53883 @if [ $(current_stage) = stage4 ]; then \
53884 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53885 else \
53886 [ -f $(TARGET_SUBDIR)/stage4-libphobos/Makefile ] || exit 0; \
53887 $(MAKE) stage4-start; \
53888 fi; \
53889 cd $(TARGET_SUBDIR)/libphobos && \
53890 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53891 @endif target-libphobos-bootstrap
53892
53893
53894 .PHONY: all-stageprofile-target-libphobos maybe-all-stageprofile-target-libphobos
53895 .PHONY: clean-stageprofile-target-libphobos maybe-clean-stageprofile-target-libphobos
53896 maybe-all-stageprofile-target-libphobos:
53897 maybe-clean-stageprofile-target-libphobos:
53898 @if target-libphobos-bootstrap
53899 maybe-all-stageprofile-target-libphobos: all-stageprofile-target-libphobos
53900 all-stageprofile: all-stageprofile-target-libphobos
53901 TARGET-stageprofile-target-libphobos = $(TARGET-target-libphobos)
53902 all-stageprofile-target-libphobos: configure-stageprofile-target-libphobos
53903 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
53904 @r=`${PWD_COMMAND}`; export r; \
53905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53906 TFLAGS="$(STAGEprofile_TFLAGS)"; \
53907 $(NORMAL_TARGET_EXPORTS) \
53908 \
53909 cd $(TARGET_SUBDIR)/libphobos && \
53910 \
53911 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53912 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53913 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53914 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53915 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53916 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53917 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53918 $(EXTRA_TARGET_FLAGS) \
53919 TFLAGS="$(STAGEprofile_TFLAGS)" \
53920 $(TARGET-stageprofile-target-libphobos)
53921
53922 maybe-clean-stageprofile-target-libphobos: clean-stageprofile-target-libphobos
53923 clean-stageprofile: clean-stageprofile-target-libphobos
53924 clean-stageprofile-target-libphobos:
53925 @if [ $(current_stage) = stageprofile ]; then \
53926 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53927 else \
53928 [ -f $(TARGET_SUBDIR)/stageprofile-libphobos/Makefile ] || exit 0; \
53929 $(MAKE) stageprofile-start; \
53930 fi; \
53931 cd $(TARGET_SUBDIR)/libphobos && \
53932 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53933 @endif target-libphobos-bootstrap
53934
53935
53936 .PHONY: all-stagetrain-target-libphobos maybe-all-stagetrain-target-libphobos
53937 .PHONY: clean-stagetrain-target-libphobos maybe-clean-stagetrain-target-libphobos
53938 maybe-all-stagetrain-target-libphobos:
53939 maybe-clean-stagetrain-target-libphobos:
53940 @if target-libphobos-bootstrap
53941 maybe-all-stagetrain-target-libphobos: all-stagetrain-target-libphobos
53942 all-stagetrain: all-stagetrain-target-libphobos
53943 TARGET-stagetrain-target-libphobos = $(TARGET-target-libphobos)
53944 all-stagetrain-target-libphobos: configure-stagetrain-target-libphobos
53945 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
53946 @r=`${PWD_COMMAND}`; export r; \
53947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53948 TFLAGS="$(STAGEtrain_TFLAGS)"; \
53949 $(NORMAL_TARGET_EXPORTS) \
53950 \
53951 cd $(TARGET_SUBDIR)/libphobos && \
53952 \
53953 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53954 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53955 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53956 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53957 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53958 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53959 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53960 $(EXTRA_TARGET_FLAGS) \
53961 TFLAGS="$(STAGEtrain_TFLAGS)" \
53962 $(TARGET-stagetrain-target-libphobos)
53963
53964 maybe-clean-stagetrain-target-libphobos: clean-stagetrain-target-libphobos
53965 clean-stagetrain: clean-stagetrain-target-libphobos
53966 clean-stagetrain-target-libphobos:
53967 @if [ $(current_stage) = stagetrain ]; then \
53968 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53969 else \
53970 [ -f $(TARGET_SUBDIR)/stagetrain-libphobos/Makefile ] || exit 0; \
53971 $(MAKE) stagetrain-start; \
53972 fi; \
53973 cd $(TARGET_SUBDIR)/libphobos && \
53974 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53975 @endif target-libphobos-bootstrap
53976
53977
53978 .PHONY: all-stagefeedback-target-libphobos maybe-all-stagefeedback-target-libphobos
53979 .PHONY: clean-stagefeedback-target-libphobos maybe-clean-stagefeedback-target-libphobos
53980 maybe-all-stagefeedback-target-libphobos:
53981 maybe-clean-stagefeedback-target-libphobos:
53982 @if target-libphobos-bootstrap
53983 maybe-all-stagefeedback-target-libphobos: all-stagefeedback-target-libphobos
53984 all-stagefeedback: all-stagefeedback-target-libphobos
53985 TARGET-stagefeedback-target-libphobos = $(TARGET-target-libphobos)
53986 all-stagefeedback-target-libphobos: configure-stagefeedback-target-libphobos
53987 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
53988 @r=`${PWD_COMMAND}`; export r; \
53989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53990 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
53991 $(NORMAL_TARGET_EXPORTS) \
53992 \
53993 cd $(TARGET_SUBDIR)/libphobos && \
53994 \
53995 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53996 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53997 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53998 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53999 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
54000 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
54001 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
54002 $(EXTRA_TARGET_FLAGS) \
54003 TFLAGS="$(STAGEfeedback_TFLAGS)" \
54004 $(TARGET-stagefeedback-target-libphobos)
54005
54006 maybe-clean-stagefeedback-target-libphobos: clean-stagefeedback-target-libphobos
54007 clean-stagefeedback: clean-stagefeedback-target-libphobos
54008 clean-stagefeedback-target-libphobos:
54009 @if [ $(current_stage) = stagefeedback ]; then \
54010 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54011 else \
54012 [ -f $(TARGET_SUBDIR)/stagefeedback-libphobos/Makefile ] || exit 0; \
54013 $(MAKE) stagefeedback-start; \
54014 fi; \
54015 cd $(TARGET_SUBDIR)/libphobos && \
54016 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
54017 @endif target-libphobos-bootstrap
54018
54019
54020 .PHONY: all-stageautoprofile-target-libphobos maybe-all-stageautoprofile-target-libphobos
54021 .PHONY: clean-stageautoprofile-target-libphobos maybe-clean-stageautoprofile-target-libphobos
54022 maybe-all-stageautoprofile-target-libphobos:
54023 maybe-clean-stageautoprofile-target-libphobos:
54024 @if target-libphobos-bootstrap
54025 maybe-all-stageautoprofile-target-libphobos: all-stageautoprofile-target-libphobos
54026 all-stageautoprofile: all-stageautoprofile-target-libphobos
54027 TARGET-stageautoprofile-target-libphobos = $(TARGET-target-libphobos)
54028 all-stageautoprofile-target-libphobos: configure-stageautoprofile-target-libphobos
54029 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
54030 @r=`${PWD_COMMAND}`; export r; \
54031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54032 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
54033 $(NORMAL_TARGET_EXPORTS) \
54034 \
54035 cd $(TARGET_SUBDIR)/libphobos && \
54036 $$s/gcc/config/i386/$(AUTO_PROFILE) \
54037 $(MAKE) $(BASE_FLAGS_TO_PASS) \
54038 CFLAGS="$(CFLAGS_FOR_TARGET)" \
54039 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
54040 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
54041 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
54042 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
54043 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
54044 $(EXTRA_TARGET_FLAGS) \
54045 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
54046 $(TARGET-stageautoprofile-target-libphobos)
54047
54048 maybe-clean-stageautoprofile-target-libphobos: clean-stageautoprofile-target-libphobos
54049 clean-stageautoprofile: clean-stageautoprofile-target-libphobos
54050 clean-stageautoprofile-target-libphobos:
54051 @if [ $(current_stage) = stageautoprofile ]; then \
54052 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54053 else \
54054 [ -f $(TARGET_SUBDIR)/stageautoprofile-libphobos/Makefile ] || exit 0; \
54055 $(MAKE) stageautoprofile-start; \
54056 fi; \
54057 cd $(TARGET_SUBDIR)/libphobos && \
54058 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
54059 @endif target-libphobos-bootstrap
54060
54061
54062 .PHONY: all-stageautofeedback-target-libphobos maybe-all-stageautofeedback-target-libphobos
54063 .PHONY: clean-stageautofeedback-target-libphobos maybe-clean-stageautofeedback-target-libphobos
54064 maybe-all-stageautofeedback-target-libphobos:
54065 maybe-clean-stageautofeedback-target-libphobos:
54066 @if target-libphobos-bootstrap
54067 maybe-all-stageautofeedback-target-libphobos: all-stageautofeedback-target-libphobos
54068 all-stageautofeedback: all-stageautofeedback-target-libphobos
54069 TARGET-stageautofeedback-target-libphobos = $(TARGET-target-libphobos)
54070 all-stageautofeedback-target-libphobos: configure-stageautofeedback-target-libphobos
54071 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
54072 @r=`${PWD_COMMAND}`; export r; \
54073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54074 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
54075 $(NORMAL_TARGET_EXPORTS) \
54076 \
54077 cd $(TARGET_SUBDIR)/libphobos && \
54078 \
54079 $(MAKE) $(BASE_FLAGS_TO_PASS) \
54080 CFLAGS="$(CFLAGS_FOR_TARGET)" \
54081 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
54082 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
54083 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
54084 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
54085 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
54086 $(EXTRA_TARGET_FLAGS) \
54087 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
54088 $(TARGET-stageautofeedback-target-libphobos)
54089
54090 maybe-clean-stageautofeedback-target-libphobos: clean-stageautofeedback-target-libphobos
54091 clean-stageautofeedback: clean-stageautofeedback-target-libphobos
54092 clean-stageautofeedback-target-libphobos:
54093 @if [ $(current_stage) = stageautofeedback ]; then \
54094 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54095 else \
54096 [ -f $(TARGET_SUBDIR)/stageautofeedback-libphobos/Makefile ] || exit 0; \
54097 $(MAKE) stageautofeedback-start; \
54098 fi; \
54099 cd $(TARGET_SUBDIR)/libphobos && \
54100 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
54101 @endif target-libphobos-bootstrap
54102
54103
54104
54105
54106
54107
54108 .PHONY: check-target-libphobos maybe-check-target-libphobos
54109 maybe-check-target-libphobos:
54110 @if target-libphobos
54111 maybe-check-target-libphobos: check-target-libphobos
54112
54113 check-target-libphobos:
54114 @: $(MAKE); $(unstage)
54115 @r=`${PWD_COMMAND}`; export r; \
54116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54117 $(NORMAL_TARGET_EXPORTS) \
54118 (cd $(TARGET_SUBDIR)/libphobos && \
54119 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
54120
54121 @endif target-libphobos
54122
54123 .PHONY: install-target-libphobos maybe-install-target-libphobos
54124 maybe-install-target-libphobos:
54125 @if target-libphobos
54126 maybe-install-target-libphobos: install-target-libphobos
54127
54128 install-target-libphobos: installdirs
54129 @: $(MAKE); $(unstage)
54130 @r=`${PWD_COMMAND}`; export r; \
54131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54132 $(NORMAL_TARGET_EXPORTS) \
54133 (cd $(TARGET_SUBDIR)/libphobos && \
54134 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54135
54136 @endif target-libphobos
54137
54138 .PHONY: install-strip-target-libphobos maybe-install-strip-target-libphobos
54139 maybe-install-strip-target-libphobos:
54140 @if target-libphobos
54141 maybe-install-strip-target-libphobos: install-strip-target-libphobos
54142
54143 install-strip-target-libphobos: installdirs
54144 @: $(MAKE); $(unstage)
54145 @r=`${PWD_COMMAND}`; export r; \
54146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54147 $(NORMAL_TARGET_EXPORTS) \
54148 (cd $(TARGET_SUBDIR)/libphobos && \
54149 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54150
54151 @endif target-libphobos
54152
54153 # Other targets (info, dvi, pdf, etc.)
54154
54155 .PHONY: maybe-info-target-libphobos info-target-libphobos
54156 maybe-info-target-libphobos:
54157 @if target-libphobos
54158 maybe-info-target-libphobos: info-target-libphobos
54159
54160 info-target-libphobos: \
54161 configure-target-libphobos
54162 @: $(MAKE); $(unstage)
54163 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54164 r=`${PWD_COMMAND}`; export r; \
54165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54166 $(NORMAL_TARGET_EXPORTS) \
54167 echo "Doing info in $(TARGET_SUBDIR)/libphobos"; \
54168 for flag in $(EXTRA_TARGET_FLAGS); do \
54169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54170 done; \
54171 (cd $(TARGET_SUBDIR)/libphobos && \
54172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54174 "RANLIB=$${RANLIB}" \
54175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54176 info) \
54177 || exit 1
54178
54179 @endif target-libphobos
54180
54181 .PHONY: maybe-dvi-target-libphobos dvi-target-libphobos
54182 maybe-dvi-target-libphobos:
54183 @if target-libphobos
54184 maybe-dvi-target-libphobos: dvi-target-libphobos
54185
54186 dvi-target-libphobos: \
54187 configure-target-libphobos
54188 @: $(MAKE); $(unstage)
54189 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54190 r=`${PWD_COMMAND}`; export r; \
54191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54192 $(NORMAL_TARGET_EXPORTS) \
54193 echo "Doing dvi in $(TARGET_SUBDIR)/libphobos"; \
54194 for flag in $(EXTRA_TARGET_FLAGS); do \
54195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54196 done; \
54197 (cd $(TARGET_SUBDIR)/libphobos && \
54198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54200 "RANLIB=$${RANLIB}" \
54201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54202 dvi) \
54203 || exit 1
54204
54205 @endif target-libphobos
54206
54207 .PHONY: maybe-pdf-target-libphobos pdf-target-libphobos
54208 maybe-pdf-target-libphobos:
54209 @if target-libphobos
54210 maybe-pdf-target-libphobos: pdf-target-libphobos
54211
54212 pdf-target-libphobos: \
54213 configure-target-libphobos
54214 @: $(MAKE); $(unstage)
54215 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54216 r=`${PWD_COMMAND}`; export r; \
54217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54218 $(NORMAL_TARGET_EXPORTS) \
54219 echo "Doing pdf in $(TARGET_SUBDIR)/libphobos"; \
54220 for flag in $(EXTRA_TARGET_FLAGS); do \
54221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54222 done; \
54223 (cd $(TARGET_SUBDIR)/libphobos && \
54224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54226 "RANLIB=$${RANLIB}" \
54227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54228 pdf) \
54229 || exit 1
54230
54231 @endif target-libphobos
54232
54233 .PHONY: maybe-html-target-libphobos html-target-libphobos
54234 maybe-html-target-libphobos:
54235 @if target-libphobos
54236 maybe-html-target-libphobos: html-target-libphobos
54237
54238 html-target-libphobos: \
54239 configure-target-libphobos
54240 @: $(MAKE); $(unstage)
54241 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54242 r=`${PWD_COMMAND}`; export r; \
54243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54244 $(NORMAL_TARGET_EXPORTS) \
54245 echo "Doing html in $(TARGET_SUBDIR)/libphobos"; \
54246 for flag in $(EXTRA_TARGET_FLAGS); do \
54247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54248 done; \
54249 (cd $(TARGET_SUBDIR)/libphobos && \
54250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54252 "RANLIB=$${RANLIB}" \
54253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54254 html) \
54255 || exit 1
54256
54257 @endif target-libphobos
54258
54259 .PHONY: maybe-TAGS-target-libphobos TAGS-target-libphobos
54260 maybe-TAGS-target-libphobos:
54261 @if target-libphobos
54262 maybe-TAGS-target-libphobos: TAGS-target-libphobos
54263
54264 TAGS-target-libphobos: \
54265 configure-target-libphobos
54266 @: $(MAKE); $(unstage)
54267 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54268 r=`${PWD_COMMAND}`; export r; \
54269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54270 $(NORMAL_TARGET_EXPORTS) \
54271 echo "Doing TAGS in $(TARGET_SUBDIR)/libphobos"; \
54272 for flag in $(EXTRA_TARGET_FLAGS); do \
54273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54274 done; \
54275 (cd $(TARGET_SUBDIR)/libphobos && \
54276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54278 "RANLIB=$${RANLIB}" \
54279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54280 TAGS) \
54281 || exit 1
54282
54283 @endif target-libphobos
54284
54285 .PHONY: maybe-install-info-target-libphobos install-info-target-libphobos
54286 maybe-install-info-target-libphobos:
54287 @if target-libphobos
54288 maybe-install-info-target-libphobos: install-info-target-libphobos
54289
54290 install-info-target-libphobos: \
54291 configure-target-libphobos \
54292 info-target-libphobos
54293 @: $(MAKE); $(unstage)
54294 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54295 r=`${PWD_COMMAND}`; export r; \
54296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54297 $(NORMAL_TARGET_EXPORTS) \
54298 echo "Doing install-info in $(TARGET_SUBDIR)/libphobos"; \
54299 for flag in $(EXTRA_TARGET_FLAGS); do \
54300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54301 done; \
54302 (cd $(TARGET_SUBDIR)/libphobos && \
54303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54305 "RANLIB=$${RANLIB}" \
54306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54307 install-info) \
54308 || exit 1
54309
54310 @endif target-libphobos
54311
54312 .PHONY: maybe-install-dvi-target-libphobos install-dvi-target-libphobos
54313 maybe-install-dvi-target-libphobos:
54314 @if target-libphobos
54315 maybe-install-dvi-target-libphobos: install-dvi-target-libphobos
54316
54317 install-dvi-target-libphobos: \
54318 configure-target-libphobos \
54319 dvi-target-libphobos
54320 @: $(MAKE); $(unstage)
54321 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54322 r=`${PWD_COMMAND}`; export r; \
54323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54324 $(NORMAL_TARGET_EXPORTS) \
54325 echo "Doing install-dvi in $(TARGET_SUBDIR)/libphobos"; \
54326 for flag in $(EXTRA_TARGET_FLAGS); do \
54327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54328 done; \
54329 (cd $(TARGET_SUBDIR)/libphobos && \
54330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54332 "RANLIB=$${RANLIB}" \
54333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54334 install-dvi) \
54335 || exit 1
54336
54337 @endif target-libphobos
54338
54339 .PHONY: maybe-install-pdf-target-libphobos install-pdf-target-libphobos
54340 maybe-install-pdf-target-libphobos:
54341 @if target-libphobos
54342 maybe-install-pdf-target-libphobos: install-pdf-target-libphobos
54343
54344 install-pdf-target-libphobos: \
54345 configure-target-libphobos \
54346 pdf-target-libphobos
54347 @: $(MAKE); $(unstage)
54348 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54349 r=`${PWD_COMMAND}`; export r; \
54350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54351 $(NORMAL_TARGET_EXPORTS) \
54352 echo "Doing install-pdf in $(TARGET_SUBDIR)/libphobos"; \
54353 for flag in $(EXTRA_TARGET_FLAGS); do \
54354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54355 done; \
54356 (cd $(TARGET_SUBDIR)/libphobos && \
54357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54359 "RANLIB=$${RANLIB}" \
54360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54361 install-pdf) \
54362 || exit 1
54363
54364 @endif target-libphobos
54365
54366 .PHONY: maybe-install-html-target-libphobos install-html-target-libphobos
54367 maybe-install-html-target-libphobos:
54368 @if target-libphobos
54369 maybe-install-html-target-libphobos: install-html-target-libphobos
54370
54371 install-html-target-libphobos: \
54372 configure-target-libphobos \
54373 html-target-libphobos
54374 @: $(MAKE); $(unstage)
54375 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54376 r=`${PWD_COMMAND}`; export r; \
54377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54378 $(NORMAL_TARGET_EXPORTS) \
54379 echo "Doing install-html in $(TARGET_SUBDIR)/libphobos"; \
54380 for flag in $(EXTRA_TARGET_FLAGS); do \
54381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54382 done; \
54383 (cd $(TARGET_SUBDIR)/libphobos && \
54384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54386 "RANLIB=$${RANLIB}" \
54387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54388 install-html) \
54389 || exit 1
54390
54391 @endif target-libphobos
54392
54393 .PHONY: maybe-installcheck-target-libphobos installcheck-target-libphobos
54394 maybe-installcheck-target-libphobos:
54395 @if target-libphobos
54396 maybe-installcheck-target-libphobos: installcheck-target-libphobos
54397
54398 installcheck-target-libphobos: \
54399 configure-target-libphobos
54400 @: $(MAKE); $(unstage)
54401 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54402 r=`${PWD_COMMAND}`; export r; \
54403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54404 $(NORMAL_TARGET_EXPORTS) \
54405 echo "Doing installcheck in $(TARGET_SUBDIR)/libphobos"; \
54406 for flag in $(EXTRA_TARGET_FLAGS); do \
54407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54408 done; \
54409 (cd $(TARGET_SUBDIR)/libphobos && \
54410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54412 "RANLIB=$${RANLIB}" \
54413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54414 installcheck) \
54415 || exit 1
54416
54417 @endif target-libphobos
54418
54419 .PHONY: maybe-mostlyclean-target-libphobos mostlyclean-target-libphobos
54420 maybe-mostlyclean-target-libphobos:
54421 @if target-libphobos
54422 maybe-mostlyclean-target-libphobos: mostlyclean-target-libphobos
54423
54424 mostlyclean-target-libphobos:
54425 @: $(MAKE); $(unstage)
54426 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54427 r=`${PWD_COMMAND}`; export r; \
54428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54429 $(NORMAL_TARGET_EXPORTS) \
54430 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libphobos"; \
54431 for flag in $(EXTRA_TARGET_FLAGS); do \
54432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54433 done; \
54434 (cd $(TARGET_SUBDIR)/libphobos && \
54435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54437 "RANLIB=$${RANLIB}" \
54438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54439 mostlyclean) \
54440 || exit 1
54441
54442 @endif target-libphobos
54443
54444 .PHONY: maybe-clean-target-libphobos clean-target-libphobos
54445 maybe-clean-target-libphobos:
54446 @if target-libphobos
54447 maybe-clean-target-libphobos: clean-target-libphobos
54448
54449 clean-target-libphobos:
54450 @: $(MAKE); $(unstage)
54451 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54452 r=`${PWD_COMMAND}`; export r; \
54453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54454 $(NORMAL_TARGET_EXPORTS) \
54455 echo "Doing clean in $(TARGET_SUBDIR)/libphobos"; \
54456 for flag in $(EXTRA_TARGET_FLAGS); do \
54457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54458 done; \
54459 (cd $(TARGET_SUBDIR)/libphobos && \
54460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54462 "RANLIB=$${RANLIB}" \
54463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54464 clean) \
54465 || exit 1
54466
54467 @endif target-libphobos
54468
54469 .PHONY: maybe-distclean-target-libphobos distclean-target-libphobos
54470 maybe-distclean-target-libphobos:
54471 @if target-libphobos
54472 maybe-distclean-target-libphobos: distclean-target-libphobos
54473
54474 distclean-target-libphobos:
54475 @: $(MAKE); $(unstage)
54476 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54477 r=`${PWD_COMMAND}`; export r; \
54478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54479 $(NORMAL_TARGET_EXPORTS) \
54480 echo "Doing distclean in $(TARGET_SUBDIR)/libphobos"; \
54481 for flag in $(EXTRA_TARGET_FLAGS); do \
54482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54483 done; \
54484 (cd $(TARGET_SUBDIR)/libphobos && \
54485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54487 "RANLIB=$${RANLIB}" \
54488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54489 distclean) \
54490 || exit 1
54491
54492 @endif target-libphobos
54493
54494 .PHONY: maybe-maintainer-clean-target-libphobos maintainer-clean-target-libphobos
54495 maybe-maintainer-clean-target-libphobos:
54496 @if target-libphobos
54497 maybe-maintainer-clean-target-libphobos: maintainer-clean-target-libphobos
54498
54499 maintainer-clean-target-libphobos:
54500 @: $(MAKE); $(unstage)
54501 @[ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54502 r=`${PWD_COMMAND}`; export r; \
54503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54504 $(NORMAL_TARGET_EXPORTS) \
54505 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libphobos"; \
54506 for flag in $(EXTRA_TARGET_FLAGS); do \
54507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54508 done; \
54509 (cd $(TARGET_SUBDIR)/libphobos && \
54510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54512 "RANLIB=$${RANLIB}" \
54513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54514 maintainer-clean) \
54515 || exit 1
54516
54517 @endif target-libphobos
54518
54519
54520
54521
54522
54523 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
54524 maybe-configure-target-libtermcap:
54525 @if gcc-bootstrap
54526 configure-target-libtermcap: stage_current
54527 @endif gcc-bootstrap
54528 @if target-libtermcap
54529 maybe-configure-target-libtermcap: configure-target-libtermcap
54530 configure-target-libtermcap:
54531 @: $(MAKE); $(unstage)
54532 @r=`${PWD_COMMAND}`; export r; \
54533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54534 echo "Checking multilib configuration for libtermcap..."; \
54535 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
54536 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null; \
54537 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
54538 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
54539 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
54540 else \
54541 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
54542 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
54543 fi; \
54544 else \
54545 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
54546 fi; \
54547 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
54548 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap; \
54549 $(NORMAL_TARGET_EXPORTS) \
54550 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
54551 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
54552 case $(srcdir) in \
54553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54554 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
54555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54556 esac; \
54557 module_srcdir=libtermcap; \
54558 rm -f no-such-file || : ; \
54559 CONFIG_SITE=no-such-file $(SHELL) \
54560 $$s/$$module_srcdir/configure \
54561 --srcdir=$${topdir}/$$module_srcdir \
54562 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54563 --target=${target_alias} \
54564 || exit 1
54565 @endif target-libtermcap
54566
54567
54568
54569
54570
54571 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
54572 maybe-all-target-libtermcap:
54573 @if gcc-bootstrap
54574 all-target-libtermcap: stage_current
54575 @endif gcc-bootstrap
54576 @if target-libtermcap
54577 TARGET-target-libtermcap=all
54578 maybe-all-target-libtermcap: all-target-libtermcap
54579 all-target-libtermcap: configure-target-libtermcap
54580 @: $(MAKE); $(unstage)
54581 @r=`${PWD_COMMAND}`; export r; \
54582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54583 $(NORMAL_TARGET_EXPORTS) \
54584 (cd $(TARGET_SUBDIR)/libtermcap && \
54585 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
54586 $(TARGET-target-libtermcap))
54587 @endif target-libtermcap
54588
54589
54590
54591
54592
54593 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
54594 maybe-check-target-libtermcap:
54595 @if target-libtermcap
54596 maybe-check-target-libtermcap: check-target-libtermcap
54597
54598 # Dummy target for uncheckable module.
54599 check-target-libtermcap:
54600
54601 @endif target-libtermcap
54602
54603 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
54604 maybe-install-target-libtermcap:
54605 @if target-libtermcap
54606 maybe-install-target-libtermcap: install-target-libtermcap
54607
54608 install-target-libtermcap: installdirs
54609 @: $(MAKE); $(unstage)
54610 @r=`${PWD_COMMAND}`; export r; \
54611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54612 $(NORMAL_TARGET_EXPORTS) \
54613 (cd $(TARGET_SUBDIR)/libtermcap && \
54614 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
54615
54616 @endif target-libtermcap
54617
54618 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
54619 maybe-install-strip-target-libtermcap:
54620 @if target-libtermcap
54621 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
54622
54623 install-strip-target-libtermcap: installdirs
54624 @: $(MAKE); $(unstage)
54625 @r=`${PWD_COMMAND}`; export r; \
54626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54627 $(NORMAL_TARGET_EXPORTS) \
54628 (cd $(TARGET_SUBDIR)/libtermcap && \
54629 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
54630
54631 @endif target-libtermcap
54632
54633 # Other targets (info, dvi, pdf, etc.)
54634
54635 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
54636 maybe-info-target-libtermcap:
54637 @if target-libtermcap
54638 maybe-info-target-libtermcap: info-target-libtermcap
54639
54640 info-target-libtermcap: \
54641 configure-target-libtermcap
54642 @: $(MAKE); $(unstage)
54643 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54644 r=`${PWD_COMMAND}`; export r; \
54645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54646 $(NORMAL_TARGET_EXPORTS) \
54647 echo "Doing info in $(TARGET_SUBDIR)/libtermcap"; \
54648 for flag in $(EXTRA_TARGET_FLAGS); do \
54649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54650 done; \
54651 (cd $(TARGET_SUBDIR)/libtermcap && \
54652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54654 "RANLIB=$${RANLIB}" \
54655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54656 info) \
54657 || exit 1
54658
54659 @endif target-libtermcap
54660
54661 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
54662 maybe-dvi-target-libtermcap:
54663 @if target-libtermcap
54664 maybe-dvi-target-libtermcap: dvi-target-libtermcap
54665
54666 dvi-target-libtermcap: \
54667 configure-target-libtermcap
54668 @: $(MAKE); $(unstage)
54669 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54670 r=`${PWD_COMMAND}`; export r; \
54671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54672 $(NORMAL_TARGET_EXPORTS) \
54673 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap"; \
54674 for flag in $(EXTRA_TARGET_FLAGS); do \
54675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54676 done; \
54677 (cd $(TARGET_SUBDIR)/libtermcap && \
54678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54680 "RANLIB=$${RANLIB}" \
54681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54682 dvi) \
54683 || exit 1
54684
54685 @endif target-libtermcap
54686
54687 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
54688 maybe-pdf-target-libtermcap:
54689 @if target-libtermcap
54690 maybe-pdf-target-libtermcap: pdf-target-libtermcap
54691
54692 pdf-target-libtermcap: \
54693 configure-target-libtermcap
54694 @: $(MAKE); $(unstage)
54695 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54696 r=`${PWD_COMMAND}`; export r; \
54697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54698 $(NORMAL_TARGET_EXPORTS) \
54699 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap"; \
54700 for flag in $(EXTRA_TARGET_FLAGS); do \
54701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54702 done; \
54703 (cd $(TARGET_SUBDIR)/libtermcap && \
54704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54706 "RANLIB=$${RANLIB}" \
54707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54708 pdf) \
54709 || exit 1
54710
54711 @endif target-libtermcap
54712
54713 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
54714 maybe-html-target-libtermcap:
54715 @if target-libtermcap
54716 maybe-html-target-libtermcap: html-target-libtermcap
54717
54718 html-target-libtermcap: \
54719 configure-target-libtermcap
54720 @: $(MAKE); $(unstage)
54721 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54722 r=`${PWD_COMMAND}`; export r; \
54723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54724 $(NORMAL_TARGET_EXPORTS) \
54725 echo "Doing html in $(TARGET_SUBDIR)/libtermcap"; \
54726 for flag in $(EXTRA_TARGET_FLAGS); do \
54727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54728 done; \
54729 (cd $(TARGET_SUBDIR)/libtermcap && \
54730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54732 "RANLIB=$${RANLIB}" \
54733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54734 html) \
54735 || exit 1
54736
54737 @endif target-libtermcap
54738
54739 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
54740 maybe-TAGS-target-libtermcap:
54741 @if target-libtermcap
54742 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
54743
54744 TAGS-target-libtermcap: \
54745 configure-target-libtermcap
54746 @: $(MAKE); $(unstage)
54747 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54748 r=`${PWD_COMMAND}`; export r; \
54749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54750 $(NORMAL_TARGET_EXPORTS) \
54751 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap"; \
54752 for flag in $(EXTRA_TARGET_FLAGS); do \
54753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54754 done; \
54755 (cd $(TARGET_SUBDIR)/libtermcap && \
54756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54758 "RANLIB=$${RANLIB}" \
54759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54760 TAGS) \
54761 || exit 1
54762
54763 @endif target-libtermcap
54764
54765 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
54766 maybe-install-info-target-libtermcap:
54767 @if target-libtermcap
54768 maybe-install-info-target-libtermcap: install-info-target-libtermcap
54769
54770 install-info-target-libtermcap: \
54771 configure-target-libtermcap \
54772 info-target-libtermcap
54773 @: $(MAKE); $(unstage)
54774 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54775 r=`${PWD_COMMAND}`; export r; \
54776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54777 $(NORMAL_TARGET_EXPORTS) \
54778 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap"; \
54779 for flag in $(EXTRA_TARGET_FLAGS); do \
54780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54781 done; \
54782 (cd $(TARGET_SUBDIR)/libtermcap && \
54783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54785 "RANLIB=$${RANLIB}" \
54786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54787 install-info) \
54788 || exit 1
54789
54790 @endif target-libtermcap
54791
54792 .PHONY: maybe-install-dvi-target-libtermcap install-dvi-target-libtermcap
54793 maybe-install-dvi-target-libtermcap:
54794 @if target-libtermcap
54795 maybe-install-dvi-target-libtermcap: install-dvi-target-libtermcap
54796
54797 install-dvi-target-libtermcap: \
54798 configure-target-libtermcap \
54799 dvi-target-libtermcap
54800 @: $(MAKE); $(unstage)
54801 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54802 r=`${PWD_COMMAND}`; export r; \
54803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54804 $(NORMAL_TARGET_EXPORTS) \
54805 echo "Doing install-dvi in $(TARGET_SUBDIR)/libtermcap"; \
54806 for flag in $(EXTRA_TARGET_FLAGS); do \
54807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54808 done; \
54809 (cd $(TARGET_SUBDIR)/libtermcap && \
54810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54812 "RANLIB=$${RANLIB}" \
54813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54814 install-dvi) \
54815 || exit 1
54816
54817 @endif target-libtermcap
54818
54819 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
54820 maybe-install-pdf-target-libtermcap:
54821 @if target-libtermcap
54822 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
54823
54824 install-pdf-target-libtermcap: \
54825 configure-target-libtermcap \
54826 pdf-target-libtermcap
54827 @: $(MAKE); $(unstage)
54828 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54829 r=`${PWD_COMMAND}`; export r; \
54830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54831 $(NORMAL_TARGET_EXPORTS) \
54832 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap"; \
54833 for flag in $(EXTRA_TARGET_FLAGS); do \
54834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54835 done; \
54836 (cd $(TARGET_SUBDIR)/libtermcap && \
54837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54839 "RANLIB=$${RANLIB}" \
54840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54841 install-pdf) \
54842 || exit 1
54843
54844 @endif target-libtermcap
54845
54846 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
54847 maybe-install-html-target-libtermcap:
54848 @if target-libtermcap
54849 maybe-install-html-target-libtermcap: install-html-target-libtermcap
54850
54851 install-html-target-libtermcap: \
54852 configure-target-libtermcap \
54853 html-target-libtermcap
54854 @: $(MAKE); $(unstage)
54855 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54856 r=`${PWD_COMMAND}`; export r; \
54857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54858 $(NORMAL_TARGET_EXPORTS) \
54859 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap"; \
54860 for flag in $(EXTRA_TARGET_FLAGS); do \
54861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54862 done; \
54863 (cd $(TARGET_SUBDIR)/libtermcap && \
54864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54866 "RANLIB=$${RANLIB}" \
54867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54868 install-html) \
54869 || exit 1
54870
54871 @endif target-libtermcap
54872
54873 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
54874 maybe-installcheck-target-libtermcap:
54875 @if target-libtermcap
54876 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
54877
54878 installcheck-target-libtermcap: \
54879 configure-target-libtermcap
54880 @: $(MAKE); $(unstage)
54881 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0; \
54882 r=`${PWD_COMMAND}`; export r; \
54883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54884 $(NORMAL_TARGET_EXPORTS) \
54885 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap"; \
54886 for flag in $(EXTRA_TARGET_FLAGS); do \
54887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
54888 done; \
54889 (cd $(TARGET_SUBDIR)/libtermcap && \
54890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
54891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
54892 "RANLIB=$${RANLIB}" \
54893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
54894 installcheck) \
54895 || exit 1
54896
54897 @endif target-libtermcap
54898
54899 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
54900 maybe-mostlyclean-target-libtermcap:
54901 @if target-libtermcap
54902 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
54903
54904 # libtermcap doesn't support mostlyclean.
54905 mostlyclean-target-libtermcap:
54906
54907 @endif target-libtermcap
54908
54909 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
54910 maybe-clean-target-libtermcap:
54911 @if target-libtermcap
54912 maybe-clean-target-libtermcap: clean-target-libtermcap
54913
54914 # libtermcap doesn't support clean.
54915 clean-target-libtermcap:
54916
54917 @endif target-libtermcap
54918
54919 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
54920 maybe-distclean-target-libtermcap:
54921 @if target-libtermcap
54922 maybe-distclean-target-libtermcap: distclean-target-libtermcap
54923
54924 # libtermcap doesn't support distclean.
54925 distclean-target-libtermcap:
54926
54927 @endif target-libtermcap
54928
54929 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
54930 maybe-maintainer-clean-target-libtermcap:
54931 @if target-libtermcap
54932 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
54933
54934 # libtermcap doesn't support maintainer-clean.
54935 maintainer-clean-target-libtermcap:
54936
54937 @endif target-libtermcap
54938
54939
54940
54941
54942
54943 .PHONY: configure-target-winsup maybe-configure-target-winsup
54944 maybe-configure-target-winsup:
54945 @if gcc-bootstrap
54946 configure-target-winsup: stage_current
54947 @endif gcc-bootstrap
54948 @if target-winsup
54949 maybe-configure-target-winsup: configure-target-winsup
54950 configure-target-winsup:
54951 @: $(MAKE); $(unstage)
54952 @r=`${PWD_COMMAND}`; export r; \
54953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54954 echo "Checking multilib configuration for winsup..."; \
54955 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
54956 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null; \
54957 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
54958 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
54959 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
54960 else \
54961 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
54962 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
54963 fi; \
54964 else \
54965 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
54966 fi; \
54967 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
54968 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup; \
54969 $(NORMAL_TARGET_EXPORTS) \
54970 echo Configuring in $(TARGET_SUBDIR)/winsup; \
54971 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
54972 case $(srcdir) in \
54973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
54974 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
54975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
54976 esac; \
54977 module_srcdir=winsup; \
54978 rm -f no-such-file || : ; \
54979 CONFIG_SITE=no-such-file $(SHELL) \
54980 $$s/$$module_srcdir/configure \
54981 --srcdir=$${topdir}/$$module_srcdir \
54982 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
54983 --target=${target_alias} \
54984 || exit 1
54985 @endif target-winsup
54986
54987
54988
54989
54990
54991 .PHONY: all-target-winsup maybe-all-target-winsup
54992 maybe-all-target-winsup:
54993 @if gcc-bootstrap
54994 all-target-winsup: stage_current
54995 @endif gcc-bootstrap
54996 @if target-winsup
54997 TARGET-target-winsup=all
54998 maybe-all-target-winsup: all-target-winsup
54999 all-target-winsup: configure-target-winsup
55000 @: $(MAKE); $(unstage)
55001 @r=`${PWD_COMMAND}`; export r; \
55002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55003 $(NORMAL_TARGET_EXPORTS) \
55004 (cd $(TARGET_SUBDIR)/winsup && \
55005 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
55006 $(TARGET-target-winsup))
55007 @endif target-winsup
55008
55009
55010
55011
55012
55013 .PHONY: check-target-winsup maybe-check-target-winsup
55014 maybe-check-target-winsup:
55015 @if target-winsup
55016 maybe-check-target-winsup: check-target-winsup
55017
55018 check-target-winsup:
55019 @: $(MAKE); $(unstage)
55020 @r=`${PWD_COMMAND}`; export r; \
55021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55022 $(NORMAL_TARGET_EXPORTS) \
55023 (cd $(TARGET_SUBDIR)/winsup && \
55024 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
55025
55026 @endif target-winsup
55027
55028 .PHONY: install-target-winsup maybe-install-target-winsup
55029 maybe-install-target-winsup:
55030 @if target-winsup
55031 maybe-install-target-winsup: install-target-winsup
55032
55033 install-target-winsup: installdirs
55034 @: $(MAKE); $(unstage)
55035 @r=`${PWD_COMMAND}`; export r; \
55036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55037 $(NORMAL_TARGET_EXPORTS) \
55038 (cd $(TARGET_SUBDIR)/winsup && \
55039 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
55040
55041 @endif target-winsup
55042
55043 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
55044 maybe-install-strip-target-winsup:
55045 @if target-winsup
55046 maybe-install-strip-target-winsup: install-strip-target-winsup
55047
55048 install-strip-target-winsup: installdirs
55049 @: $(MAKE); $(unstage)
55050 @r=`${PWD_COMMAND}`; export r; \
55051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55052 $(NORMAL_TARGET_EXPORTS) \
55053 (cd $(TARGET_SUBDIR)/winsup && \
55054 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
55055
55056 @endif target-winsup
55057
55058 # Other targets (info, dvi, pdf, etc.)
55059
55060 .PHONY: maybe-info-target-winsup info-target-winsup
55061 maybe-info-target-winsup:
55062 @if target-winsup
55063 maybe-info-target-winsup: info-target-winsup
55064
55065 info-target-winsup: \
55066 configure-target-winsup
55067 @: $(MAKE); $(unstage)
55068 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55069 r=`${PWD_COMMAND}`; export r; \
55070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55071 $(NORMAL_TARGET_EXPORTS) \
55072 echo "Doing info in $(TARGET_SUBDIR)/winsup"; \
55073 for flag in $(EXTRA_TARGET_FLAGS); do \
55074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55075 done; \
55076 (cd $(TARGET_SUBDIR)/winsup && \
55077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55079 "RANLIB=$${RANLIB}" \
55080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55081 info) \
55082 || exit 1
55083
55084 @endif target-winsup
55085
55086 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
55087 maybe-dvi-target-winsup:
55088 @if target-winsup
55089 maybe-dvi-target-winsup: dvi-target-winsup
55090
55091 dvi-target-winsup: \
55092 configure-target-winsup
55093 @: $(MAKE); $(unstage)
55094 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55095 r=`${PWD_COMMAND}`; export r; \
55096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55097 $(NORMAL_TARGET_EXPORTS) \
55098 echo "Doing dvi in $(TARGET_SUBDIR)/winsup"; \
55099 for flag in $(EXTRA_TARGET_FLAGS); do \
55100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55101 done; \
55102 (cd $(TARGET_SUBDIR)/winsup && \
55103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55105 "RANLIB=$${RANLIB}" \
55106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55107 dvi) \
55108 || exit 1
55109
55110 @endif target-winsup
55111
55112 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
55113 maybe-pdf-target-winsup:
55114 @if target-winsup
55115 maybe-pdf-target-winsup: pdf-target-winsup
55116
55117 pdf-target-winsup: \
55118 configure-target-winsup
55119 @: $(MAKE); $(unstage)
55120 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55121 r=`${PWD_COMMAND}`; export r; \
55122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55123 $(NORMAL_TARGET_EXPORTS) \
55124 echo "Doing pdf in $(TARGET_SUBDIR)/winsup"; \
55125 for flag in $(EXTRA_TARGET_FLAGS); do \
55126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55127 done; \
55128 (cd $(TARGET_SUBDIR)/winsup && \
55129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55131 "RANLIB=$${RANLIB}" \
55132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55133 pdf) \
55134 || exit 1
55135
55136 @endif target-winsup
55137
55138 .PHONY: maybe-html-target-winsup html-target-winsup
55139 maybe-html-target-winsup:
55140 @if target-winsup
55141 maybe-html-target-winsup: html-target-winsup
55142
55143 html-target-winsup: \
55144 configure-target-winsup
55145 @: $(MAKE); $(unstage)
55146 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55147 r=`${PWD_COMMAND}`; export r; \
55148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55149 $(NORMAL_TARGET_EXPORTS) \
55150 echo "Doing html in $(TARGET_SUBDIR)/winsup"; \
55151 for flag in $(EXTRA_TARGET_FLAGS); do \
55152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55153 done; \
55154 (cd $(TARGET_SUBDIR)/winsup && \
55155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55157 "RANLIB=$${RANLIB}" \
55158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55159 html) \
55160 || exit 1
55161
55162 @endif target-winsup
55163
55164 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
55165 maybe-TAGS-target-winsup:
55166 @if target-winsup
55167 maybe-TAGS-target-winsup: TAGS-target-winsup
55168
55169 TAGS-target-winsup: \
55170 configure-target-winsup
55171 @: $(MAKE); $(unstage)
55172 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55173 r=`${PWD_COMMAND}`; export r; \
55174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55175 $(NORMAL_TARGET_EXPORTS) \
55176 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup"; \
55177 for flag in $(EXTRA_TARGET_FLAGS); do \
55178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55179 done; \
55180 (cd $(TARGET_SUBDIR)/winsup && \
55181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55183 "RANLIB=$${RANLIB}" \
55184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55185 TAGS) \
55186 || exit 1
55187
55188 @endif target-winsup
55189
55190 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
55191 maybe-install-info-target-winsup:
55192 @if target-winsup
55193 maybe-install-info-target-winsup: install-info-target-winsup
55194
55195 install-info-target-winsup: \
55196 configure-target-winsup \
55197 info-target-winsup
55198 @: $(MAKE); $(unstage)
55199 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55200 r=`${PWD_COMMAND}`; export r; \
55201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55202 $(NORMAL_TARGET_EXPORTS) \
55203 echo "Doing install-info in $(TARGET_SUBDIR)/winsup"; \
55204 for flag in $(EXTRA_TARGET_FLAGS); do \
55205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55206 done; \
55207 (cd $(TARGET_SUBDIR)/winsup && \
55208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55210 "RANLIB=$${RANLIB}" \
55211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55212 install-info) \
55213 || exit 1
55214
55215 @endif target-winsup
55216
55217 .PHONY: maybe-install-dvi-target-winsup install-dvi-target-winsup
55218 maybe-install-dvi-target-winsup:
55219 @if target-winsup
55220 maybe-install-dvi-target-winsup: install-dvi-target-winsup
55221
55222 install-dvi-target-winsup: \
55223 configure-target-winsup \
55224 dvi-target-winsup
55225 @: $(MAKE); $(unstage)
55226 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55227 r=`${PWD_COMMAND}`; export r; \
55228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55229 $(NORMAL_TARGET_EXPORTS) \
55230 echo "Doing install-dvi in $(TARGET_SUBDIR)/winsup"; \
55231 for flag in $(EXTRA_TARGET_FLAGS); do \
55232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55233 done; \
55234 (cd $(TARGET_SUBDIR)/winsup && \
55235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55237 "RANLIB=$${RANLIB}" \
55238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55239 install-dvi) \
55240 || exit 1
55241
55242 @endif target-winsup
55243
55244 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
55245 maybe-install-pdf-target-winsup:
55246 @if target-winsup
55247 maybe-install-pdf-target-winsup: install-pdf-target-winsup
55248
55249 install-pdf-target-winsup: \
55250 configure-target-winsup \
55251 pdf-target-winsup
55252 @: $(MAKE); $(unstage)
55253 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55254 r=`${PWD_COMMAND}`; export r; \
55255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55256 $(NORMAL_TARGET_EXPORTS) \
55257 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup"; \
55258 for flag in $(EXTRA_TARGET_FLAGS); do \
55259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55260 done; \
55261 (cd $(TARGET_SUBDIR)/winsup && \
55262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55264 "RANLIB=$${RANLIB}" \
55265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55266 install-pdf) \
55267 || exit 1
55268
55269 @endif target-winsup
55270
55271 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
55272 maybe-install-html-target-winsup:
55273 @if target-winsup
55274 maybe-install-html-target-winsup: install-html-target-winsup
55275
55276 install-html-target-winsup: \
55277 configure-target-winsup \
55278 html-target-winsup
55279 @: $(MAKE); $(unstage)
55280 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55281 r=`${PWD_COMMAND}`; export r; \
55282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55283 $(NORMAL_TARGET_EXPORTS) \
55284 echo "Doing install-html in $(TARGET_SUBDIR)/winsup"; \
55285 for flag in $(EXTRA_TARGET_FLAGS); do \
55286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55287 done; \
55288 (cd $(TARGET_SUBDIR)/winsup && \
55289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55291 "RANLIB=$${RANLIB}" \
55292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55293 install-html) \
55294 || exit 1
55295
55296 @endif target-winsup
55297
55298 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
55299 maybe-installcheck-target-winsup:
55300 @if target-winsup
55301 maybe-installcheck-target-winsup: installcheck-target-winsup
55302
55303 installcheck-target-winsup: \
55304 configure-target-winsup
55305 @: $(MAKE); $(unstage)
55306 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55307 r=`${PWD_COMMAND}`; export r; \
55308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55309 $(NORMAL_TARGET_EXPORTS) \
55310 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup"; \
55311 for flag in $(EXTRA_TARGET_FLAGS); do \
55312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55313 done; \
55314 (cd $(TARGET_SUBDIR)/winsup && \
55315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55317 "RANLIB=$${RANLIB}" \
55318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55319 installcheck) \
55320 || exit 1
55321
55322 @endif target-winsup
55323
55324 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
55325 maybe-mostlyclean-target-winsup:
55326 @if target-winsup
55327 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
55328
55329 mostlyclean-target-winsup:
55330 @: $(MAKE); $(unstage)
55331 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55332 r=`${PWD_COMMAND}`; export r; \
55333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55334 $(NORMAL_TARGET_EXPORTS) \
55335 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup"; \
55336 for flag in $(EXTRA_TARGET_FLAGS); do \
55337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55338 done; \
55339 (cd $(TARGET_SUBDIR)/winsup && \
55340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55342 "RANLIB=$${RANLIB}" \
55343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55344 mostlyclean) \
55345 || exit 1
55346
55347 @endif target-winsup
55348
55349 .PHONY: maybe-clean-target-winsup clean-target-winsup
55350 maybe-clean-target-winsup:
55351 @if target-winsup
55352 maybe-clean-target-winsup: clean-target-winsup
55353
55354 clean-target-winsup:
55355 @: $(MAKE); $(unstage)
55356 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55357 r=`${PWD_COMMAND}`; export r; \
55358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55359 $(NORMAL_TARGET_EXPORTS) \
55360 echo "Doing clean in $(TARGET_SUBDIR)/winsup"; \
55361 for flag in $(EXTRA_TARGET_FLAGS); do \
55362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55363 done; \
55364 (cd $(TARGET_SUBDIR)/winsup && \
55365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55367 "RANLIB=$${RANLIB}" \
55368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55369 clean) \
55370 || exit 1
55371
55372 @endif target-winsup
55373
55374 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
55375 maybe-distclean-target-winsup:
55376 @if target-winsup
55377 maybe-distclean-target-winsup: distclean-target-winsup
55378
55379 distclean-target-winsup:
55380 @: $(MAKE); $(unstage)
55381 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55382 r=`${PWD_COMMAND}`; export r; \
55383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55384 $(NORMAL_TARGET_EXPORTS) \
55385 echo "Doing distclean in $(TARGET_SUBDIR)/winsup"; \
55386 for flag in $(EXTRA_TARGET_FLAGS); do \
55387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55388 done; \
55389 (cd $(TARGET_SUBDIR)/winsup && \
55390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55392 "RANLIB=$${RANLIB}" \
55393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55394 distclean) \
55395 || exit 1
55396
55397 @endif target-winsup
55398
55399 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
55400 maybe-maintainer-clean-target-winsup:
55401 @if target-winsup
55402 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
55403
55404 maintainer-clean-target-winsup:
55405 @: $(MAKE); $(unstage)
55406 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0; \
55407 r=`${PWD_COMMAND}`; export r; \
55408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55409 $(NORMAL_TARGET_EXPORTS) \
55410 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup"; \
55411 for flag in $(EXTRA_TARGET_FLAGS); do \
55412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55413 done; \
55414 (cd $(TARGET_SUBDIR)/winsup && \
55415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55417 "RANLIB=$${RANLIB}" \
55418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55419 maintainer-clean) \
55420 || exit 1
55421
55422 @endif target-winsup
55423
55424
55425
55426
55427
55428 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
55429 maybe-configure-target-libgloss:
55430 @if gcc-bootstrap
55431 configure-target-libgloss: stage_current
55432 @endif gcc-bootstrap
55433 @if target-libgloss
55434 maybe-configure-target-libgloss: configure-target-libgloss
55435 configure-target-libgloss:
55436 @: $(MAKE); $(unstage)
55437 @r=`${PWD_COMMAND}`; export r; \
55438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55439 echo "Checking multilib configuration for libgloss..."; \
55440 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
55441 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null; \
55442 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
55443 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
55444 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
55445 else \
55446 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
55447 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
55448 fi; \
55449 else \
55450 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
55451 fi; \
55452 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
55453 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss; \
55454 $(NORMAL_TARGET_EXPORTS) \
55455 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
55456 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
55457 case $(srcdir) in \
55458 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
55459 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
55460 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
55461 esac; \
55462 module_srcdir=libgloss; \
55463 rm -f no-such-file || : ; \
55464 CONFIG_SITE=no-such-file $(SHELL) \
55465 $$s/$$module_srcdir/configure \
55466 --srcdir=$${topdir}/$$module_srcdir \
55467 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
55468 --target=${target_alias} \
55469 || exit 1
55470 @endif target-libgloss
55471
55472
55473
55474
55475
55476 .PHONY: all-target-libgloss maybe-all-target-libgloss
55477 maybe-all-target-libgloss:
55478 @if gcc-bootstrap
55479 all-target-libgloss: stage_current
55480 @endif gcc-bootstrap
55481 @if target-libgloss
55482 TARGET-target-libgloss=all
55483 maybe-all-target-libgloss: all-target-libgloss
55484 all-target-libgloss: configure-target-libgloss
55485 @: $(MAKE); $(unstage)
55486 @r=`${PWD_COMMAND}`; export r; \
55487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55488 $(NORMAL_TARGET_EXPORTS) \
55489 (cd $(TARGET_SUBDIR)/libgloss && \
55490 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
55491 $(TARGET-target-libgloss))
55492 @endif target-libgloss
55493
55494
55495
55496
55497
55498 .PHONY: check-target-libgloss maybe-check-target-libgloss
55499 maybe-check-target-libgloss:
55500 @if target-libgloss
55501 maybe-check-target-libgloss: check-target-libgloss
55502
55503 # Dummy target for uncheckable module.
55504 check-target-libgloss:
55505
55506 @endif target-libgloss
55507
55508 .PHONY: install-target-libgloss maybe-install-target-libgloss
55509 maybe-install-target-libgloss:
55510 @if target-libgloss
55511 maybe-install-target-libgloss: install-target-libgloss
55512
55513 install-target-libgloss: installdirs
55514 @: $(MAKE); $(unstage)
55515 @r=`${PWD_COMMAND}`; export r; \
55516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55517 $(NORMAL_TARGET_EXPORTS) \
55518 (cd $(TARGET_SUBDIR)/libgloss && \
55519 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
55520
55521 @endif target-libgloss
55522
55523 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
55524 maybe-install-strip-target-libgloss:
55525 @if target-libgloss
55526 maybe-install-strip-target-libgloss: install-strip-target-libgloss
55527
55528 install-strip-target-libgloss: installdirs
55529 @: $(MAKE); $(unstage)
55530 @r=`${PWD_COMMAND}`; export r; \
55531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55532 $(NORMAL_TARGET_EXPORTS) \
55533 (cd $(TARGET_SUBDIR)/libgloss && \
55534 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
55535
55536 @endif target-libgloss
55537
55538 # Other targets (info, dvi, pdf, etc.)
55539
55540 .PHONY: maybe-info-target-libgloss info-target-libgloss
55541 maybe-info-target-libgloss:
55542 @if target-libgloss
55543 maybe-info-target-libgloss: info-target-libgloss
55544
55545 info-target-libgloss: \
55546 configure-target-libgloss
55547 @: $(MAKE); $(unstage)
55548 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55549 r=`${PWD_COMMAND}`; export r; \
55550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55551 $(NORMAL_TARGET_EXPORTS) \
55552 echo "Doing info in $(TARGET_SUBDIR)/libgloss"; \
55553 for flag in $(EXTRA_TARGET_FLAGS); do \
55554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55555 done; \
55556 (cd $(TARGET_SUBDIR)/libgloss && \
55557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55559 "RANLIB=$${RANLIB}" \
55560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55561 info) \
55562 || exit 1
55563
55564 @endif target-libgloss
55565
55566 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
55567 maybe-dvi-target-libgloss:
55568 @if target-libgloss
55569 maybe-dvi-target-libgloss: dvi-target-libgloss
55570
55571 dvi-target-libgloss: \
55572 configure-target-libgloss
55573 @: $(MAKE); $(unstage)
55574 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55575 r=`${PWD_COMMAND}`; export r; \
55576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55577 $(NORMAL_TARGET_EXPORTS) \
55578 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss"; \
55579 for flag in $(EXTRA_TARGET_FLAGS); do \
55580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55581 done; \
55582 (cd $(TARGET_SUBDIR)/libgloss && \
55583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55585 "RANLIB=$${RANLIB}" \
55586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55587 dvi) \
55588 || exit 1
55589
55590 @endif target-libgloss
55591
55592 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
55593 maybe-pdf-target-libgloss:
55594 @if target-libgloss
55595 maybe-pdf-target-libgloss: pdf-target-libgloss
55596
55597 pdf-target-libgloss: \
55598 configure-target-libgloss
55599 @: $(MAKE); $(unstage)
55600 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55601 r=`${PWD_COMMAND}`; export r; \
55602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55603 $(NORMAL_TARGET_EXPORTS) \
55604 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss"; \
55605 for flag in $(EXTRA_TARGET_FLAGS); do \
55606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55607 done; \
55608 (cd $(TARGET_SUBDIR)/libgloss && \
55609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55611 "RANLIB=$${RANLIB}" \
55612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55613 pdf) \
55614 || exit 1
55615
55616 @endif target-libgloss
55617
55618 .PHONY: maybe-html-target-libgloss html-target-libgloss
55619 maybe-html-target-libgloss:
55620 @if target-libgloss
55621 maybe-html-target-libgloss: html-target-libgloss
55622
55623 html-target-libgloss: \
55624 configure-target-libgloss
55625 @: $(MAKE); $(unstage)
55626 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55627 r=`${PWD_COMMAND}`; export r; \
55628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55629 $(NORMAL_TARGET_EXPORTS) \
55630 echo "Doing html in $(TARGET_SUBDIR)/libgloss"; \
55631 for flag in $(EXTRA_TARGET_FLAGS); do \
55632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55633 done; \
55634 (cd $(TARGET_SUBDIR)/libgloss && \
55635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55637 "RANLIB=$${RANLIB}" \
55638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55639 html) \
55640 || exit 1
55641
55642 @endif target-libgloss
55643
55644 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
55645 maybe-TAGS-target-libgloss:
55646 @if target-libgloss
55647 maybe-TAGS-target-libgloss: TAGS-target-libgloss
55648
55649 TAGS-target-libgloss: \
55650 configure-target-libgloss
55651 @: $(MAKE); $(unstage)
55652 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55653 r=`${PWD_COMMAND}`; export r; \
55654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55655 $(NORMAL_TARGET_EXPORTS) \
55656 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss"; \
55657 for flag in $(EXTRA_TARGET_FLAGS); do \
55658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55659 done; \
55660 (cd $(TARGET_SUBDIR)/libgloss && \
55661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55663 "RANLIB=$${RANLIB}" \
55664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55665 TAGS) \
55666 || exit 1
55667
55668 @endif target-libgloss
55669
55670 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
55671 maybe-install-info-target-libgloss:
55672 @if target-libgloss
55673 maybe-install-info-target-libgloss: install-info-target-libgloss
55674
55675 install-info-target-libgloss: \
55676 configure-target-libgloss \
55677 info-target-libgloss
55678 @: $(MAKE); $(unstage)
55679 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55680 r=`${PWD_COMMAND}`; export r; \
55681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55682 $(NORMAL_TARGET_EXPORTS) \
55683 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss"; \
55684 for flag in $(EXTRA_TARGET_FLAGS); do \
55685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55686 done; \
55687 (cd $(TARGET_SUBDIR)/libgloss && \
55688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55690 "RANLIB=$${RANLIB}" \
55691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55692 install-info) \
55693 || exit 1
55694
55695 @endif target-libgloss
55696
55697 .PHONY: maybe-install-dvi-target-libgloss install-dvi-target-libgloss
55698 maybe-install-dvi-target-libgloss:
55699 @if target-libgloss
55700 maybe-install-dvi-target-libgloss: install-dvi-target-libgloss
55701
55702 install-dvi-target-libgloss: \
55703 configure-target-libgloss \
55704 dvi-target-libgloss
55705 @: $(MAKE); $(unstage)
55706 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55707 r=`${PWD_COMMAND}`; export r; \
55708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55709 $(NORMAL_TARGET_EXPORTS) \
55710 echo "Doing install-dvi in $(TARGET_SUBDIR)/libgloss"; \
55711 for flag in $(EXTRA_TARGET_FLAGS); do \
55712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55713 done; \
55714 (cd $(TARGET_SUBDIR)/libgloss && \
55715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55717 "RANLIB=$${RANLIB}" \
55718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55719 install-dvi) \
55720 || exit 1
55721
55722 @endif target-libgloss
55723
55724 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
55725 maybe-install-pdf-target-libgloss:
55726 @if target-libgloss
55727 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
55728
55729 install-pdf-target-libgloss: \
55730 configure-target-libgloss \
55731 pdf-target-libgloss
55732 @: $(MAKE); $(unstage)
55733 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55734 r=`${PWD_COMMAND}`; export r; \
55735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55736 $(NORMAL_TARGET_EXPORTS) \
55737 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss"; \
55738 for flag in $(EXTRA_TARGET_FLAGS); do \
55739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55740 done; \
55741 (cd $(TARGET_SUBDIR)/libgloss && \
55742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55744 "RANLIB=$${RANLIB}" \
55745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55746 install-pdf) \
55747 || exit 1
55748
55749 @endif target-libgloss
55750
55751 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
55752 maybe-install-html-target-libgloss:
55753 @if target-libgloss
55754 maybe-install-html-target-libgloss: install-html-target-libgloss
55755
55756 install-html-target-libgloss: \
55757 configure-target-libgloss \
55758 html-target-libgloss
55759 @: $(MAKE); $(unstage)
55760 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55761 r=`${PWD_COMMAND}`; export r; \
55762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55763 $(NORMAL_TARGET_EXPORTS) \
55764 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss"; \
55765 for flag in $(EXTRA_TARGET_FLAGS); do \
55766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55767 done; \
55768 (cd $(TARGET_SUBDIR)/libgloss && \
55769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55771 "RANLIB=$${RANLIB}" \
55772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55773 install-html) \
55774 || exit 1
55775
55776 @endif target-libgloss
55777
55778 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
55779 maybe-installcheck-target-libgloss:
55780 @if target-libgloss
55781 maybe-installcheck-target-libgloss: installcheck-target-libgloss
55782
55783 installcheck-target-libgloss: \
55784 configure-target-libgloss
55785 @: $(MAKE); $(unstage)
55786 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55787 r=`${PWD_COMMAND}`; export r; \
55788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55789 $(NORMAL_TARGET_EXPORTS) \
55790 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss"; \
55791 for flag in $(EXTRA_TARGET_FLAGS); do \
55792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55793 done; \
55794 (cd $(TARGET_SUBDIR)/libgloss && \
55795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55797 "RANLIB=$${RANLIB}" \
55798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55799 installcheck) \
55800 || exit 1
55801
55802 @endif target-libgloss
55803
55804 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
55805 maybe-mostlyclean-target-libgloss:
55806 @if target-libgloss
55807 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
55808
55809 mostlyclean-target-libgloss:
55810 @: $(MAKE); $(unstage)
55811 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55812 r=`${PWD_COMMAND}`; export r; \
55813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55814 $(NORMAL_TARGET_EXPORTS) \
55815 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss"; \
55816 for flag in $(EXTRA_TARGET_FLAGS); do \
55817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55818 done; \
55819 (cd $(TARGET_SUBDIR)/libgloss && \
55820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55822 "RANLIB=$${RANLIB}" \
55823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55824 mostlyclean) \
55825 || exit 1
55826
55827 @endif target-libgloss
55828
55829 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
55830 maybe-clean-target-libgloss:
55831 @if target-libgloss
55832 maybe-clean-target-libgloss: clean-target-libgloss
55833
55834 clean-target-libgloss:
55835 @: $(MAKE); $(unstage)
55836 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55837 r=`${PWD_COMMAND}`; export r; \
55838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55839 $(NORMAL_TARGET_EXPORTS) \
55840 echo "Doing clean in $(TARGET_SUBDIR)/libgloss"; \
55841 for flag in $(EXTRA_TARGET_FLAGS); do \
55842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55843 done; \
55844 (cd $(TARGET_SUBDIR)/libgloss && \
55845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55847 "RANLIB=$${RANLIB}" \
55848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55849 clean) \
55850 || exit 1
55851
55852 @endif target-libgloss
55853
55854 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
55855 maybe-distclean-target-libgloss:
55856 @if target-libgloss
55857 maybe-distclean-target-libgloss: distclean-target-libgloss
55858
55859 distclean-target-libgloss:
55860 @: $(MAKE); $(unstage)
55861 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55862 r=`${PWD_COMMAND}`; export r; \
55863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55864 $(NORMAL_TARGET_EXPORTS) \
55865 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss"; \
55866 for flag in $(EXTRA_TARGET_FLAGS); do \
55867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55868 done; \
55869 (cd $(TARGET_SUBDIR)/libgloss && \
55870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55872 "RANLIB=$${RANLIB}" \
55873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55874 distclean) \
55875 || exit 1
55876
55877 @endif target-libgloss
55878
55879 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
55880 maybe-maintainer-clean-target-libgloss:
55881 @if target-libgloss
55882 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
55883
55884 maintainer-clean-target-libgloss:
55885 @: $(MAKE); $(unstage)
55886 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0; \
55887 r=`${PWD_COMMAND}`; export r; \
55888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55889 $(NORMAL_TARGET_EXPORTS) \
55890 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss"; \
55891 for flag in $(EXTRA_TARGET_FLAGS); do \
55892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
55893 done; \
55894 (cd $(TARGET_SUBDIR)/libgloss && \
55895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
55896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
55897 "RANLIB=$${RANLIB}" \
55898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
55899 maintainer-clean) \
55900 || exit 1
55901
55902 @endif target-libgloss
55903
55904
55905
55906
55907
55908 .PHONY: configure-target-libffi maybe-configure-target-libffi
55909 maybe-configure-target-libffi:
55910 @if gcc-bootstrap
55911 configure-target-libffi: stage_current
55912 @endif gcc-bootstrap
55913 @if target-libffi
55914 maybe-configure-target-libffi: configure-target-libffi
55915 configure-target-libffi:
55916 @: $(MAKE); $(unstage)
55917 @r=`${PWD_COMMAND}`; export r; \
55918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55919 echo "Checking multilib configuration for libffi..."; \
55920 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
55921 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null; \
55922 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
55923 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
55924 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
55925 else \
55926 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
55927 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
55928 fi; \
55929 else \
55930 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
55931 fi; \
55932 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
55933 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi; \
55934 $(NORMAL_TARGET_EXPORTS) \
55935 echo Configuring in $(TARGET_SUBDIR)/libffi; \
55936 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
55937 case $(srcdir) in \
55938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
55939 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
55940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
55941 esac; \
55942 module_srcdir=libffi; \
55943 rm -f no-such-file || : ; \
55944 CONFIG_SITE=no-such-file $(SHELL) \
55945 $$s/$$module_srcdir/configure \
55946 --srcdir=$${topdir}/$$module_srcdir \
55947 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
55948 --target=${target_alias} \
55949 || exit 1
55950 @endif target-libffi
55951
55952
55953
55954
55955
55956 .PHONY: all-target-libffi maybe-all-target-libffi
55957 maybe-all-target-libffi:
55958 @if gcc-bootstrap
55959 all-target-libffi: stage_current
55960 @endif gcc-bootstrap
55961 @if target-libffi
55962 TARGET-target-libffi=all
55963 maybe-all-target-libffi: all-target-libffi
55964 all-target-libffi: configure-target-libffi
55965 @: $(MAKE); $(unstage)
55966 @r=`${PWD_COMMAND}`; export r; \
55967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55968 $(NORMAL_TARGET_EXPORTS) \
55969 (cd $(TARGET_SUBDIR)/libffi && \
55970 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
55971 $(TARGET-target-libffi))
55972 @endif target-libffi
55973
55974
55975
55976
55977
55978 .PHONY: check-target-libffi maybe-check-target-libffi
55979 maybe-check-target-libffi:
55980 @if target-libffi
55981 maybe-check-target-libffi: check-target-libffi
55982
55983 check-target-libffi:
55984 @: $(MAKE); $(unstage)
55985 @r=`${PWD_COMMAND}`; export r; \
55986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
55987 $(NORMAL_TARGET_EXPORTS) \
55988 (cd $(TARGET_SUBDIR)/libffi && \
55989 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
55990
55991 @endif target-libffi
55992
55993 .PHONY: install-target-libffi maybe-install-target-libffi
55994 maybe-install-target-libffi:
55995 @if target-libffi
55996 maybe-install-target-libffi: install-target-libffi
55997
55998 # Dummy target for uninstallable.
55999 install-target-libffi:
56000
56001 @endif target-libffi
56002
56003 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
56004 maybe-install-strip-target-libffi:
56005 @if target-libffi
56006 maybe-install-strip-target-libffi: install-strip-target-libffi
56007
56008 # Dummy target for uninstallable.
56009 install-strip-target-libffi:
56010
56011 @endif target-libffi
56012
56013 # Other targets (info, dvi, pdf, etc.)
56014
56015 .PHONY: maybe-info-target-libffi info-target-libffi
56016 maybe-info-target-libffi:
56017 @if target-libffi
56018 maybe-info-target-libffi: info-target-libffi
56019
56020 info-target-libffi: \
56021 configure-target-libffi
56022 @: $(MAKE); $(unstage)
56023 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56024 r=`${PWD_COMMAND}`; export r; \
56025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56026 $(NORMAL_TARGET_EXPORTS) \
56027 echo "Doing info in $(TARGET_SUBDIR)/libffi"; \
56028 for flag in $(EXTRA_TARGET_FLAGS); do \
56029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56030 done; \
56031 (cd $(TARGET_SUBDIR)/libffi && \
56032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56034 "RANLIB=$${RANLIB}" \
56035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56036 info) \
56037 || exit 1
56038
56039 @endif target-libffi
56040
56041 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
56042 maybe-dvi-target-libffi:
56043 @if target-libffi
56044 maybe-dvi-target-libffi: dvi-target-libffi
56045
56046 dvi-target-libffi: \
56047 configure-target-libffi
56048 @: $(MAKE); $(unstage)
56049 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56050 r=`${PWD_COMMAND}`; export r; \
56051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56052 $(NORMAL_TARGET_EXPORTS) \
56053 echo "Doing dvi in $(TARGET_SUBDIR)/libffi"; \
56054 for flag in $(EXTRA_TARGET_FLAGS); do \
56055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56056 done; \
56057 (cd $(TARGET_SUBDIR)/libffi && \
56058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56060 "RANLIB=$${RANLIB}" \
56061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56062 dvi) \
56063 || exit 1
56064
56065 @endif target-libffi
56066
56067 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
56068 maybe-pdf-target-libffi:
56069 @if target-libffi
56070 maybe-pdf-target-libffi: pdf-target-libffi
56071
56072 pdf-target-libffi: \
56073 configure-target-libffi
56074 @: $(MAKE); $(unstage)
56075 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56076 r=`${PWD_COMMAND}`; export r; \
56077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56078 $(NORMAL_TARGET_EXPORTS) \
56079 echo "Doing pdf in $(TARGET_SUBDIR)/libffi"; \
56080 for flag in $(EXTRA_TARGET_FLAGS); do \
56081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56082 done; \
56083 (cd $(TARGET_SUBDIR)/libffi && \
56084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56086 "RANLIB=$${RANLIB}" \
56087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56088 pdf) \
56089 || exit 1
56090
56091 @endif target-libffi
56092
56093 .PHONY: maybe-html-target-libffi html-target-libffi
56094 maybe-html-target-libffi:
56095 @if target-libffi
56096 maybe-html-target-libffi: html-target-libffi
56097
56098 html-target-libffi: \
56099 configure-target-libffi
56100 @: $(MAKE); $(unstage)
56101 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56102 r=`${PWD_COMMAND}`; export r; \
56103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56104 $(NORMAL_TARGET_EXPORTS) \
56105 echo "Doing html in $(TARGET_SUBDIR)/libffi"; \
56106 for flag in $(EXTRA_TARGET_FLAGS); do \
56107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56108 done; \
56109 (cd $(TARGET_SUBDIR)/libffi && \
56110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56112 "RANLIB=$${RANLIB}" \
56113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56114 html) \
56115 || exit 1
56116
56117 @endif target-libffi
56118
56119 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
56120 maybe-TAGS-target-libffi:
56121 @if target-libffi
56122 maybe-TAGS-target-libffi: TAGS-target-libffi
56123
56124 TAGS-target-libffi: \
56125 configure-target-libffi
56126 @: $(MAKE); $(unstage)
56127 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56128 r=`${PWD_COMMAND}`; export r; \
56129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56130 $(NORMAL_TARGET_EXPORTS) \
56131 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi"; \
56132 for flag in $(EXTRA_TARGET_FLAGS); do \
56133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56134 done; \
56135 (cd $(TARGET_SUBDIR)/libffi && \
56136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56138 "RANLIB=$${RANLIB}" \
56139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56140 TAGS) \
56141 || exit 1
56142
56143 @endif target-libffi
56144
56145 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
56146 maybe-install-info-target-libffi:
56147 @if target-libffi
56148 maybe-install-info-target-libffi: install-info-target-libffi
56149
56150 install-info-target-libffi: \
56151 configure-target-libffi \
56152 info-target-libffi
56153 @: $(MAKE); $(unstage)
56154 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56155 r=`${PWD_COMMAND}`; export r; \
56156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56157 $(NORMAL_TARGET_EXPORTS) \
56158 echo "Doing install-info in $(TARGET_SUBDIR)/libffi"; \
56159 for flag in $(EXTRA_TARGET_FLAGS); do \
56160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56161 done; \
56162 (cd $(TARGET_SUBDIR)/libffi && \
56163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56165 "RANLIB=$${RANLIB}" \
56166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56167 install-info) \
56168 || exit 1
56169
56170 @endif target-libffi
56171
56172 .PHONY: maybe-install-dvi-target-libffi install-dvi-target-libffi
56173 maybe-install-dvi-target-libffi:
56174 @if target-libffi
56175 maybe-install-dvi-target-libffi: install-dvi-target-libffi
56176
56177 install-dvi-target-libffi: \
56178 configure-target-libffi \
56179 dvi-target-libffi
56180 @: $(MAKE); $(unstage)
56181 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56182 r=`${PWD_COMMAND}`; export r; \
56183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56184 $(NORMAL_TARGET_EXPORTS) \
56185 echo "Doing install-dvi in $(TARGET_SUBDIR)/libffi"; \
56186 for flag in $(EXTRA_TARGET_FLAGS); do \
56187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56188 done; \
56189 (cd $(TARGET_SUBDIR)/libffi && \
56190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56192 "RANLIB=$${RANLIB}" \
56193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56194 install-dvi) \
56195 || exit 1
56196
56197 @endif target-libffi
56198
56199 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
56200 maybe-install-pdf-target-libffi:
56201 @if target-libffi
56202 maybe-install-pdf-target-libffi: install-pdf-target-libffi
56203
56204 install-pdf-target-libffi: \
56205 configure-target-libffi \
56206 pdf-target-libffi
56207 @: $(MAKE); $(unstage)
56208 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56209 r=`${PWD_COMMAND}`; export r; \
56210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56211 $(NORMAL_TARGET_EXPORTS) \
56212 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi"; \
56213 for flag in $(EXTRA_TARGET_FLAGS); do \
56214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56215 done; \
56216 (cd $(TARGET_SUBDIR)/libffi && \
56217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56219 "RANLIB=$${RANLIB}" \
56220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56221 install-pdf) \
56222 || exit 1
56223
56224 @endif target-libffi
56225
56226 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
56227 maybe-install-html-target-libffi:
56228 @if target-libffi
56229 maybe-install-html-target-libffi: install-html-target-libffi
56230
56231 install-html-target-libffi: \
56232 configure-target-libffi \
56233 html-target-libffi
56234 @: $(MAKE); $(unstage)
56235 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56236 r=`${PWD_COMMAND}`; export r; \
56237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56238 $(NORMAL_TARGET_EXPORTS) \
56239 echo "Doing install-html in $(TARGET_SUBDIR)/libffi"; \
56240 for flag in $(EXTRA_TARGET_FLAGS); do \
56241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56242 done; \
56243 (cd $(TARGET_SUBDIR)/libffi && \
56244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56246 "RANLIB=$${RANLIB}" \
56247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56248 install-html) \
56249 || exit 1
56250
56251 @endif target-libffi
56252
56253 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
56254 maybe-installcheck-target-libffi:
56255 @if target-libffi
56256 maybe-installcheck-target-libffi: installcheck-target-libffi
56257
56258 installcheck-target-libffi: \
56259 configure-target-libffi
56260 @: $(MAKE); $(unstage)
56261 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56262 r=`${PWD_COMMAND}`; export r; \
56263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56264 $(NORMAL_TARGET_EXPORTS) \
56265 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi"; \
56266 for flag in $(EXTRA_TARGET_FLAGS); do \
56267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56268 done; \
56269 (cd $(TARGET_SUBDIR)/libffi && \
56270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56272 "RANLIB=$${RANLIB}" \
56273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56274 installcheck) \
56275 || exit 1
56276
56277 @endif target-libffi
56278
56279 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
56280 maybe-mostlyclean-target-libffi:
56281 @if target-libffi
56282 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
56283
56284 mostlyclean-target-libffi:
56285 @: $(MAKE); $(unstage)
56286 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56287 r=`${PWD_COMMAND}`; export r; \
56288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56289 $(NORMAL_TARGET_EXPORTS) \
56290 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi"; \
56291 for flag in $(EXTRA_TARGET_FLAGS); do \
56292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56293 done; \
56294 (cd $(TARGET_SUBDIR)/libffi && \
56295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56297 "RANLIB=$${RANLIB}" \
56298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56299 mostlyclean) \
56300 || exit 1
56301
56302 @endif target-libffi
56303
56304 .PHONY: maybe-clean-target-libffi clean-target-libffi
56305 maybe-clean-target-libffi:
56306 @if target-libffi
56307 maybe-clean-target-libffi: clean-target-libffi
56308
56309 clean-target-libffi:
56310 @: $(MAKE); $(unstage)
56311 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56312 r=`${PWD_COMMAND}`; export r; \
56313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56314 $(NORMAL_TARGET_EXPORTS) \
56315 echo "Doing clean in $(TARGET_SUBDIR)/libffi"; \
56316 for flag in $(EXTRA_TARGET_FLAGS); do \
56317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56318 done; \
56319 (cd $(TARGET_SUBDIR)/libffi && \
56320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56322 "RANLIB=$${RANLIB}" \
56323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56324 clean) \
56325 || exit 1
56326
56327 @endif target-libffi
56328
56329 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
56330 maybe-distclean-target-libffi:
56331 @if target-libffi
56332 maybe-distclean-target-libffi: distclean-target-libffi
56333
56334 distclean-target-libffi:
56335 @: $(MAKE); $(unstage)
56336 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56337 r=`${PWD_COMMAND}`; export r; \
56338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56339 $(NORMAL_TARGET_EXPORTS) \
56340 echo "Doing distclean in $(TARGET_SUBDIR)/libffi"; \
56341 for flag in $(EXTRA_TARGET_FLAGS); do \
56342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56343 done; \
56344 (cd $(TARGET_SUBDIR)/libffi && \
56345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56347 "RANLIB=$${RANLIB}" \
56348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56349 distclean) \
56350 || exit 1
56351
56352 @endif target-libffi
56353
56354 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
56355 maybe-maintainer-clean-target-libffi:
56356 @if target-libffi
56357 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
56358
56359 maintainer-clean-target-libffi:
56360 @: $(MAKE); $(unstage)
56361 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0; \
56362 r=`${PWD_COMMAND}`; export r; \
56363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56364 $(NORMAL_TARGET_EXPORTS) \
56365 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi"; \
56366 for flag in $(EXTRA_TARGET_FLAGS); do \
56367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
56368 done; \
56369 (cd $(TARGET_SUBDIR)/libffi && \
56370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
56371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
56372 "RANLIB=$${RANLIB}" \
56373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
56374 maintainer-clean) \
56375 || exit 1
56376
56377 @endif target-libffi
56378
56379
56380
56381
56382
56383 .PHONY: configure-target-zlib maybe-configure-target-zlib
56384 maybe-configure-target-zlib:
56385 @if gcc-bootstrap
56386 configure-target-zlib: stage_current
56387 @endif gcc-bootstrap
56388 @if target-zlib
56389 maybe-configure-target-zlib: configure-target-zlib
56390 configure-target-zlib:
56391 @r=`${PWD_COMMAND}`; export r; \
56392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56393 echo "Checking multilib configuration for zlib..."; \
56394 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56395 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56396 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56397 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56398 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56399 else \
56400 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56401 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56402 fi; \
56403 else \
56404 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56405 fi; \
56406 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56407 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56408 $(NORMAL_TARGET_EXPORTS) \
56409 echo Configuring in $(TARGET_SUBDIR)/zlib; \
56410 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
56411 case $(srcdir) in \
56412 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56413 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56414 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56415 esac; \
56416 module_srcdir=zlib; \
56417 rm -f no-such-file || : ; \
56418 CONFIG_SITE=no-such-file $(SHELL) \
56419 $$s/$$module_srcdir/configure \
56420 --srcdir=$${topdir}/$$module_srcdir \
56421 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56422 --target=${target_alias} \
56423 || exit 1
56424 @endif target-zlib
56425
56426
56427
56428 .PHONY: configure-stage1-target-zlib maybe-configure-stage1-target-zlib
56429 maybe-configure-stage1-target-zlib:
56430 @if target-zlib-bootstrap
56431 maybe-configure-stage1-target-zlib: configure-stage1-target-zlib
56432 configure-stage1-target-zlib:
56433 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
56434 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56435 @r=`${PWD_COMMAND}`; export r; \
56436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56437 TFLAGS="$(STAGE1_TFLAGS)"; \
56438 echo "Checking multilib configuration for zlib..."; \
56439 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56440 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56441 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56442 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56443 else \
56444 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56445 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56446 fi; \
56447 else \
56448 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56449 fi; \
56450 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56451 $(NORMAL_TARGET_EXPORTS) \
56452 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56453 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56454 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56455 echo Configuring stage 1 in $(TARGET_SUBDIR)/zlib; \
56456 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56457 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56458 case $(srcdir) in \
56459 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56460 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56461 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56462 esac; \
56463 module_srcdir=zlib; \
56464 $(SHELL) $$s/$$module_srcdir/configure \
56465 --srcdir=$${topdir}/$$module_srcdir \
56466 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56467 --target=${target_alias} \
56468 \
56469 $(STAGE1_CONFIGURE_FLAGS)
56470 @endif target-zlib-bootstrap
56471
56472 .PHONY: configure-stage2-target-zlib maybe-configure-stage2-target-zlib
56473 maybe-configure-stage2-target-zlib:
56474 @if target-zlib-bootstrap
56475 maybe-configure-stage2-target-zlib: configure-stage2-target-zlib
56476 configure-stage2-target-zlib:
56477 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
56478 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56479 @r=`${PWD_COMMAND}`; export r; \
56480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56481 TFLAGS="$(STAGE2_TFLAGS)"; \
56482 echo "Checking multilib configuration for zlib..."; \
56483 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56484 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56485 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56486 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56487 else \
56488 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56489 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56490 fi; \
56491 else \
56492 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56493 fi; \
56494 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56495 $(NORMAL_TARGET_EXPORTS) \
56496 \
56497 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56498 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56499 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56500 echo Configuring stage 2 in $(TARGET_SUBDIR)/zlib; \
56501 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56502 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56503 case $(srcdir) in \
56504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56505 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56507 esac; \
56508 module_srcdir=zlib; \
56509 $(SHELL) $$s/$$module_srcdir/configure \
56510 --srcdir=$${topdir}/$$module_srcdir \
56511 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56512 --target=${target_alias} \
56513 --with-build-libsubdir=$(HOST_SUBDIR) \
56514 $(STAGE2_CONFIGURE_FLAGS)
56515 @endif target-zlib-bootstrap
56516
56517 .PHONY: configure-stage3-target-zlib maybe-configure-stage3-target-zlib
56518 maybe-configure-stage3-target-zlib:
56519 @if target-zlib-bootstrap
56520 maybe-configure-stage3-target-zlib: configure-stage3-target-zlib
56521 configure-stage3-target-zlib:
56522 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
56523 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56524 @r=`${PWD_COMMAND}`; export r; \
56525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56526 TFLAGS="$(STAGE3_TFLAGS)"; \
56527 echo "Checking multilib configuration for zlib..."; \
56528 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56529 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56530 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56531 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56532 else \
56533 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56534 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56535 fi; \
56536 else \
56537 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56538 fi; \
56539 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56540 $(NORMAL_TARGET_EXPORTS) \
56541 \
56542 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56543 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56544 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56545 echo Configuring stage 3 in $(TARGET_SUBDIR)/zlib; \
56546 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56547 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56548 case $(srcdir) in \
56549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56550 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56552 esac; \
56553 module_srcdir=zlib; \
56554 $(SHELL) $$s/$$module_srcdir/configure \
56555 --srcdir=$${topdir}/$$module_srcdir \
56556 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56557 --target=${target_alias} \
56558 --with-build-libsubdir=$(HOST_SUBDIR) \
56559 $(STAGE3_CONFIGURE_FLAGS)
56560 @endif target-zlib-bootstrap
56561
56562 .PHONY: configure-stage4-target-zlib maybe-configure-stage4-target-zlib
56563 maybe-configure-stage4-target-zlib:
56564 @if target-zlib-bootstrap
56565 maybe-configure-stage4-target-zlib: configure-stage4-target-zlib
56566 configure-stage4-target-zlib:
56567 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
56568 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56569 @r=`${PWD_COMMAND}`; export r; \
56570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56571 TFLAGS="$(STAGE4_TFLAGS)"; \
56572 echo "Checking multilib configuration for zlib..."; \
56573 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56574 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56575 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56576 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56577 else \
56578 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56579 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56580 fi; \
56581 else \
56582 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56583 fi; \
56584 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56585 $(NORMAL_TARGET_EXPORTS) \
56586 \
56587 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56588 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56589 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56590 echo Configuring stage 4 in $(TARGET_SUBDIR)/zlib; \
56591 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56592 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56593 case $(srcdir) in \
56594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56595 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56597 esac; \
56598 module_srcdir=zlib; \
56599 $(SHELL) $$s/$$module_srcdir/configure \
56600 --srcdir=$${topdir}/$$module_srcdir \
56601 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56602 --target=${target_alias} \
56603 --with-build-libsubdir=$(HOST_SUBDIR) \
56604 $(STAGE4_CONFIGURE_FLAGS)
56605 @endif target-zlib-bootstrap
56606
56607 .PHONY: configure-stageprofile-target-zlib maybe-configure-stageprofile-target-zlib
56608 maybe-configure-stageprofile-target-zlib:
56609 @if target-zlib-bootstrap
56610 maybe-configure-stageprofile-target-zlib: configure-stageprofile-target-zlib
56611 configure-stageprofile-target-zlib:
56612 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
56613 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56614 @r=`${PWD_COMMAND}`; export r; \
56615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56616 TFLAGS="$(STAGEprofile_TFLAGS)"; \
56617 echo "Checking multilib configuration for zlib..."; \
56618 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56619 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56620 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56621 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56622 else \
56623 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56624 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56625 fi; \
56626 else \
56627 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56628 fi; \
56629 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56630 $(NORMAL_TARGET_EXPORTS) \
56631 \
56632 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56633 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56634 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56635 echo Configuring stage profile in $(TARGET_SUBDIR)/zlib; \
56636 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56637 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56638 case $(srcdir) in \
56639 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56640 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56641 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56642 esac; \
56643 module_srcdir=zlib; \
56644 $(SHELL) $$s/$$module_srcdir/configure \
56645 --srcdir=$${topdir}/$$module_srcdir \
56646 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56647 --target=${target_alias} \
56648 --with-build-libsubdir=$(HOST_SUBDIR) \
56649 $(STAGEprofile_CONFIGURE_FLAGS)
56650 @endif target-zlib-bootstrap
56651
56652 .PHONY: configure-stagetrain-target-zlib maybe-configure-stagetrain-target-zlib
56653 maybe-configure-stagetrain-target-zlib:
56654 @if target-zlib-bootstrap
56655 maybe-configure-stagetrain-target-zlib: configure-stagetrain-target-zlib
56656 configure-stagetrain-target-zlib:
56657 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
56658 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56659 @r=`${PWD_COMMAND}`; export r; \
56660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56661 TFLAGS="$(STAGEtrain_TFLAGS)"; \
56662 echo "Checking multilib configuration for zlib..."; \
56663 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56664 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56665 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56666 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56667 else \
56668 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56669 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56670 fi; \
56671 else \
56672 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56673 fi; \
56674 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56675 $(NORMAL_TARGET_EXPORTS) \
56676 \
56677 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56678 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56679 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56680 echo Configuring stage train in $(TARGET_SUBDIR)/zlib; \
56681 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56682 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56683 case $(srcdir) in \
56684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56685 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56687 esac; \
56688 module_srcdir=zlib; \
56689 $(SHELL) $$s/$$module_srcdir/configure \
56690 --srcdir=$${topdir}/$$module_srcdir \
56691 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56692 --target=${target_alias} \
56693 --with-build-libsubdir=$(HOST_SUBDIR) \
56694 $(STAGEtrain_CONFIGURE_FLAGS)
56695 @endif target-zlib-bootstrap
56696
56697 .PHONY: configure-stagefeedback-target-zlib maybe-configure-stagefeedback-target-zlib
56698 maybe-configure-stagefeedback-target-zlib:
56699 @if target-zlib-bootstrap
56700 maybe-configure-stagefeedback-target-zlib: configure-stagefeedback-target-zlib
56701 configure-stagefeedback-target-zlib:
56702 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
56703 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56704 @r=`${PWD_COMMAND}`; export r; \
56705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56706 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
56707 echo "Checking multilib configuration for zlib..."; \
56708 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56709 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56710 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56711 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56712 else \
56713 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56714 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56715 fi; \
56716 else \
56717 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56718 fi; \
56719 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56720 $(NORMAL_TARGET_EXPORTS) \
56721 \
56722 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56723 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56724 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56725 echo Configuring stage feedback in $(TARGET_SUBDIR)/zlib; \
56726 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56727 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56728 case $(srcdir) in \
56729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56730 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56732 esac; \
56733 module_srcdir=zlib; \
56734 $(SHELL) $$s/$$module_srcdir/configure \
56735 --srcdir=$${topdir}/$$module_srcdir \
56736 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56737 --target=${target_alias} \
56738 --with-build-libsubdir=$(HOST_SUBDIR) \
56739 $(STAGEfeedback_CONFIGURE_FLAGS)
56740 @endif target-zlib-bootstrap
56741
56742 .PHONY: configure-stageautoprofile-target-zlib maybe-configure-stageautoprofile-target-zlib
56743 maybe-configure-stageautoprofile-target-zlib:
56744 @if target-zlib-bootstrap
56745 maybe-configure-stageautoprofile-target-zlib: configure-stageautoprofile-target-zlib
56746 configure-stageautoprofile-target-zlib:
56747 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
56748 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56749 @r=`${PWD_COMMAND}`; export r; \
56750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56751 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
56752 echo "Checking multilib configuration for zlib..."; \
56753 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56754 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56755 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56756 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56757 else \
56758 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56759 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56760 fi; \
56761 else \
56762 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56763 fi; \
56764 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56765 $(NORMAL_TARGET_EXPORTS) \
56766 \
56767 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56768 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56769 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56770 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/zlib; \
56771 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56772 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56773 case $(srcdir) in \
56774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56775 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56777 esac; \
56778 module_srcdir=zlib; \
56779 $(SHELL) $$s/$$module_srcdir/configure \
56780 --srcdir=$${topdir}/$$module_srcdir \
56781 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56782 --target=${target_alias} \
56783 --with-build-libsubdir=$(HOST_SUBDIR) \
56784 $(STAGEautoprofile_CONFIGURE_FLAGS)
56785 @endif target-zlib-bootstrap
56786
56787 .PHONY: configure-stageautofeedback-target-zlib maybe-configure-stageautofeedback-target-zlib
56788 maybe-configure-stageautofeedback-target-zlib:
56789 @if target-zlib-bootstrap
56790 maybe-configure-stageautofeedback-target-zlib: configure-stageautofeedback-target-zlib
56791 configure-stageautofeedback-target-zlib:
56792 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
56793 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56794 @r=`${PWD_COMMAND}`; export r; \
56795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56796 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
56797 echo "Checking multilib configuration for zlib..."; \
56798 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56799 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56800 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56801 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56802 else \
56803 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56804 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56805 fi; \
56806 else \
56807 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56808 fi; \
56809 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56810 $(NORMAL_TARGET_EXPORTS) \
56811 \
56812 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56813 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56814 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56815 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/zlib; \
56816 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56817 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56818 case $(srcdir) in \
56819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56820 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56822 esac; \
56823 module_srcdir=zlib; \
56824 $(SHELL) $$s/$$module_srcdir/configure \
56825 --srcdir=$${topdir}/$$module_srcdir \
56826 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56827 --target=${target_alias} \
56828 --with-build-libsubdir=$(HOST_SUBDIR) \
56829 $(STAGEautofeedback_CONFIGURE_FLAGS)
56830 @endif target-zlib-bootstrap
56831
56832
56833
56834
56835
56836 .PHONY: all-target-zlib maybe-all-target-zlib
56837 maybe-all-target-zlib:
56838 @if gcc-bootstrap
56839 all-target-zlib: stage_current
56840 @endif gcc-bootstrap
56841 @if target-zlib
56842 TARGET-target-zlib=all
56843 maybe-all-target-zlib: all-target-zlib
56844 all-target-zlib: configure-target-zlib
56845 @r=`${PWD_COMMAND}`; export r; \
56846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56847 $(NORMAL_TARGET_EXPORTS) \
56848 (cd $(TARGET_SUBDIR)/zlib && \
56849 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
56850 $(TARGET-target-zlib))
56851 @endif target-zlib
56852
56853
56854
56855 .PHONY: all-stage1-target-zlib maybe-all-stage1-target-zlib
56856 .PHONY: clean-stage1-target-zlib maybe-clean-stage1-target-zlib
56857 maybe-all-stage1-target-zlib:
56858 maybe-clean-stage1-target-zlib:
56859 @if target-zlib-bootstrap
56860 maybe-all-stage1-target-zlib: all-stage1-target-zlib
56861 all-stage1: all-stage1-target-zlib
56862 TARGET-stage1-target-zlib = $(TARGET-target-zlib)
56863 all-stage1-target-zlib: configure-stage1-target-zlib
56864 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
56865 @r=`${PWD_COMMAND}`; export r; \
56866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56867 TFLAGS="$(STAGE1_TFLAGS)"; \
56868 $(NORMAL_TARGET_EXPORTS) \
56869 cd $(TARGET_SUBDIR)/zlib && \
56870 \
56871 $(MAKE) $(BASE_FLAGS_TO_PASS) \
56872 CFLAGS="$(CFLAGS_FOR_TARGET)" \
56873 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
56874 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
56875 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
56876 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
56877 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
56878 $(EXTRA_TARGET_FLAGS) \
56879 \
56880 TFLAGS="$(STAGE1_TFLAGS)" \
56881 $(TARGET-stage1-target-zlib)
56882
56883 maybe-clean-stage1-target-zlib: clean-stage1-target-zlib
56884 clean-stage1: clean-stage1-target-zlib
56885 clean-stage1-target-zlib:
56886 @if [ $(current_stage) = stage1 ]; then \
56887 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
56888 else \
56889 [ -f $(TARGET_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
56890 $(MAKE) stage1-start; \
56891 fi; \
56892 cd $(TARGET_SUBDIR)/zlib && \
56893 $(MAKE) $(EXTRA_TARGET_FLAGS) \
56894 clean
56895 @endif target-zlib-bootstrap
56896
56897
56898 .PHONY: all-stage2-target-zlib maybe-all-stage2-target-zlib
56899 .PHONY: clean-stage2-target-zlib maybe-clean-stage2-target-zlib
56900 maybe-all-stage2-target-zlib:
56901 maybe-clean-stage2-target-zlib:
56902 @if target-zlib-bootstrap
56903 maybe-all-stage2-target-zlib: all-stage2-target-zlib
56904 all-stage2: all-stage2-target-zlib
56905 TARGET-stage2-target-zlib = $(TARGET-target-zlib)
56906 all-stage2-target-zlib: configure-stage2-target-zlib
56907 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
56908 @r=`${PWD_COMMAND}`; export r; \
56909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56910 TFLAGS="$(STAGE2_TFLAGS)"; \
56911 $(NORMAL_TARGET_EXPORTS) \
56912 \
56913 cd $(TARGET_SUBDIR)/zlib && \
56914 \
56915 $(MAKE) $(BASE_FLAGS_TO_PASS) \
56916 CFLAGS="$(CFLAGS_FOR_TARGET)" \
56917 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
56918 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
56919 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
56920 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
56921 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
56922 $(EXTRA_TARGET_FLAGS) \
56923 TFLAGS="$(STAGE2_TFLAGS)" \
56924 $(TARGET-stage2-target-zlib)
56925
56926 maybe-clean-stage2-target-zlib: clean-stage2-target-zlib
56927 clean-stage2: clean-stage2-target-zlib
56928 clean-stage2-target-zlib:
56929 @if [ $(current_stage) = stage2 ]; then \
56930 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
56931 else \
56932 [ -f $(TARGET_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
56933 $(MAKE) stage2-start; \
56934 fi; \
56935 cd $(TARGET_SUBDIR)/zlib && \
56936 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
56937 @endif target-zlib-bootstrap
56938
56939
56940 .PHONY: all-stage3-target-zlib maybe-all-stage3-target-zlib
56941 .PHONY: clean-stage3-target-zlib maybe-clean-stage3-target-zlib
56942 maybe-all-stage3-target-zlib:
56943 maybe-clean-stage3-target-zlib:
56944 @if target-zlib-bootstrap
56945 maybe-all-stage3-target-zlib: all-stage3-target-zlib
56946 all-stage3: all-stage3-target-zlib
56947 TARGET-stage3-target-zlib = $(TARGET-target-zlib)
56948 all-stage3-target-zlib: configure-stage3-target-zlib
56949 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
56950 @r=`${PWD_COMMAND}`; export r; \
56951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56952 TFLAGS="$(STAGE3_TFLAGS)"; \
56953 $(NORMAL_TARGET_EXPORTS) \
56954 \
56955 cd $(TARGET_SUBDIR)/zlib && \
56956 \
56957 $(MAKE) $(BASE_FLAGS_TO_PASS) \
56958 CFLAGS="$(CFLAGS_FOR_TARGET)" \
56959 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
56960 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
56961 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
56962 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
56963 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
56964 $(EXTRA_TARGET_FLAGS) \
56965 TFLAGS="$(STAGE3_TFLAGS)" \
56966 $(TARGET-stage3-target-zlib)
56967
56968 maybe-clean-stage3-target-zlib: clean-stage3-target-zlib
56969 clean-stage3: clean-stage3-target-zlib
56970 clean-stage3-target-zlib:
56971 @if [ $(current_stage) = stage3 ]; then \
56972 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
56973 else \
56974 [ -f $(TARGET_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
56975 $(MAKE) stage3-start; \
56976 fi; \
56977 cd $(TARGET_SUBDIR)/zlib && \
56978 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
56979 @endif target-zlib-bootstrap
56980
56981
56982 .PHONY: all-stage4-target-zlib maybe-all-stage4-target-zlib
56983 .PHONY: clean-stage4-target-zlib maybe-clean-stage4-target-zlib
56984 maybe-all-stage4-target-zlib:
56985 maybe-clean-stage4-target-zlib:
56986 @if target-zlib-bootstrap
56987 maybe-all-stage4-target-zlib: all-stage4-target-zlib
56988 all-stage4: all-stage4-target-zlib
56989 TARGET-stage4-target-zlib = $(TARGET-target-zlib)
56990 all-stage4-target-zlib: configure-stage4-target-zlib
56991 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
56992 @r=`${PWD_COMMAND}`; export r; \
56993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56994 TFLAGS="$(STAGE4_TFLAGS)"; \
56995 $(NORMAL_TARGET_EXPORTS) \
56996 \
56997 cd $(TARGET_SUBDIR)/zlib && \
56998 \
56999 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57000 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57001 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57002 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57003 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57004 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57005 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57006 $(EXTRA_TARGET_FLAGS) \
57007 TFLAGS="$(STAGE4_TFLAGS)" \
57008 $(TARGET-stage4-target-zlib)
57009
57010 maybe-clean-stage4-target-zlib: clean-stage4-target-zlib
57011 clean-stage4: clean-stage4-target-zlib
57012 clean-stage4-target-zlib:
57013 @if [ $(current_stage) = stage4 ]; then \
57014 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57015 else \
57016 [ -f $(TARGET_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
57017 $(MAKE) stage4-start; \
57018 fi; \
57019 cd $(TARGET_SUBDIR)/zlib && \
57020 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57021 @endif target-zlib-bootstrap
57022
57023
57024 .PHONY: all-stageprofile-target-zlib maybe-all-stageprofile-target-zlib
57025 .PHONY: clean-stageprofile-target-zlib maybe-clean-stageprofile-target-zlib
57026 maybe-all-stageprofile-target-zlib:
57027 maybe-clean-stageprofile-target-zlib:
57028 @if target-zlib-bootstrap
57029 maybe-all-stageprofile-target-zlib: all-stageprofile-target-zlib
57030 all-stageprofile: all-stageprofile-target-zlib
57031 TARGET-stageprofile-target-zlib = $(TARGET-target-zlib)
57032 all-stageprofile-target-zlib: configure-stageprofile-target-zlib
57033 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
57034 @r=`${PWD_COMMAND}`; export r; \
57035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57036 TFLAGS="$(STAGEprofile_TFLAGS)"; \
57037 $(NORMAL_TARGET_EXPORTS) \
57038 \
57039 cd $(TARGET_SUBDIR)/zlib && \
57040 \
57041 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57042 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57043 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57044 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57045 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57046 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57047 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57048 $(EXTRA_TARGET_FLAGS) \
57049 TFLAGS="$(STAGEprofile_TFLAGS)" \
57050 $(TARGET-stageprofile-target-zlib)
57051
57052 maybe-clean-stageprofile-target-zlib: clean-stageprofile-target-zlib
57053 clean-stageprofile: clean-stageprofile-target-zlib
57054 clean-stageprofile-target-zlib:
57055 @if [ $(current_stage) = stageprofile ]; then \
57056 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57057 else \
57058 [ -f $(TARGET_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
57059 $(MAKE) stageprofile-start; \
57060 fi; \
57061 cd $(TARGET_SUBDIR)/zlib && \
57062 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57063 @endif target-zlib-bootstrap
57064
57065
57066 .PHONY: all-stagetrain-target-zlib maybe-all-stagetrain-target-zlib
57067 .PHONY: clean-stagetrain-target-zlib maybe-clean-stagetrain-target-zlib
57068 maybe-all-stagetrain-target-zlib:
57069 maybe-clean-stagetrain-target-zlib:
57070 @if target-zlib-bootstrap
57071 maybe-all-stagetrain-target-zlib: all-stagetrain-target-zlib
57072 all-stagetrain: all-stagetrain-target-zlib
57073 TARGET-stagetrain-target-zlib = $(TARGET-target-zlib)
57074 all-stagetrain-target-zlib: configure-stagetrain-target-zlib
57075 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
57076 @r=`${PWD_COMMAND}`; export r; \
57077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57078 TFLAGS="$(STAGEtrain_TFLAGS)"; \
57079 $(NORMAL_TARGET_EXPORTS) \
57080 \
57081 cd $(TARGET_SUBDIR)/zlib && \
57082 \
57083 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57084 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57085 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57086 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57087 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57088 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57089 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57090 $(EXTRA_TARGET_FLAGS) \
57091 TFLAGS="$(STAGEtrain_TFLAGS)" \
57092 $(TARGET-stagetrain-target-zlib)
57093
57094 maybe-clean-stagetrain-target-zlib: clean-stagetrain-target-zlib
57095 clean-stagetrain: clean-stagetrain-target-zlib
57096 clean-stagetrain-target-zlib:
57097 @if [ $(current_stage) = stagetrain ]; then \
57098 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57099 else \
57100 [ -f $(TARGET_SUBDIR)/stagetrain-zlib/Makefile ] || exit 0; \
57101 $(MAKE) stagetrain-start; \
57102 fi; \
57103 cd $(TARGET_SUBDIR)/zlib && \
57104 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57105 @endif target-zlib-bootstrap
57106
57107
57108 .PHONY: all-stagefeedback-target-zlib maybe-all-stagefeedback-target-zlib
57109 .PHONY: clean-stagefeedback-target-zlib maybe-clean-stagefeedback-target-zlib
57110 maybe-all-stagefeedback-target-zlib:
57111 maybe-clean-stagefeedback-target-zlib:
57112 @if target-zlib-bootstrap
57113 maybe-all-stagefeedback-target-zlib: all-stagefeedback-target-zlib
57114 all-stagefeedback: all-stagefeedback-target-zlib
57115 TARGET-stagefeedback-target-zlib = $(TARGET-target-zlib)
57116 all-stagefeedback-target-zlib: configure-stagefeedback-target-zlib
57117 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
57118 @r=`${PWD_COMMAND}`; export r; \
57119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57120 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
57121 $(NORMAL_TARGET_EXPORTS) \
57122 \
57123 cd $(TARGET_SUBDIR)/zlib && \
57124 \
57125 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57126 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57127 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57128 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57129 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57130 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57131 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57132 $(EXTRA_TARGET_FLAGS) \
57133 TFLAGS="$(STAGEfeedback_TFLAGS)" \
57134 $(TARGET-stagefeedback-target-zlib)
57135
57136 maybe-clean-stagefeedback-target-zlib: clean-stagefeedback-target-zlib
57137 clean-stagefeedback: clean-stagefeedback-target-zlib
57138 clean-stagefeedback-target-zlib:
57139 @if [ $(current_stage) = stagefeedback ]; then \
57140 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57141 else \
57142 [ -f $(TARGET_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
57143 $(MAKE) stagefeedback-start; \
57144 fi; \
57145 cd $(TARGET_SUBDIR)/zlib && \
57146 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57147 @endif target-zlib-bootstrap
57148
57149
57150 .PHONY: all-stageautoprofile-target-zlib maybe-all-stageautoprofile-target-zlib
57151 .PHONY: clean-stageautoprofile-target-zlib maybe-clean-stageautoprofile-target-zlib
57152 maybe-all-stageautoprofile-target-zlib:
57153 maybe-clean-stageautoprofile-target-zlib:
57154 @if target-zlib-bootstrap
57155 maybe-all-stageautoprofile-target-zlib: all-stageautoprofile-target-zlib
57156 all-stageautoprofile: all-stageautoprofile-target-zlib
57157 TARGET-stageautoprofile-target-zlib = $(TARGET-target-zlib)
57158 all-stageautoprofile-target-zlib: configure-stageautoprofile-target-zlib
57159 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
57160 @r=`${PWD_COMMAND}`; export r; \
57161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57162 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
57163 $(NORMAL_TARGET_EXPORTS) \
57164 \
57165 cd $(TARGET_SUBDIR)/zlib && \
57166 $$s/gcc/config/i386/$(AUTO_PROFILE) \
57167 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57168 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57169 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57170 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57171 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57172 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57173 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57174 $(EXTRA_TARGET_FLAGS) \
57175 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
57176 $(TARGET-stageautoprofile-target-zlib)
57177
57178 maybe-clean-stageautoprofile-target-zlib: clean-stageautoprofile-target-zlib
57179 clean-stageautoprofile: clean-stageautoprofile-target-zlib
57180 clean-stageautoprofile-target-zlib:
57181 @if [ $(current_stage) = stageautoprofile ]; then \
57182 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57183 else \
57184 [ -f $(TARGET_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
57185 $(MAKE) stageautoprofile-start; \
57186 fi; \
57187 cd $(TARGET_SUBDIR)/zlib && \
57188 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57189 @endif target-zlib-bootstrap
57190
57191
57192 .PHONY: all-stageautofeedback-target-zlib maybe-all-stageautofeedback-target-zlib
57193 .PHONY: clean-stageautofeedback-target-zlib maybe-clean-stageautofeedback-target-zlib
57194 maybe-all-stageautofeedback-target-zlib:
57195 maybe-clean-stageautofeedback-target-zlib:
57196 @if target-zlib-bootstrap
57197 maybe-all-stageautofeedback-target-zlib: all-stageautofeedback-target-zlib
57198 all-stageautofeedback: all-stageautofeedback-target-zlib
57199 TARGET-stageautofeedback-target-zlib = $(TARGET-target-zlib)
57200 all-stageautofeedback-target-zlib: configure-stageautofeedback-target-zlib
57201 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
57202 @r=`${PWD_COMMAND}`; export r; \
57203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57204 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
57205 $(NORMAL_TARGET_EXPORTS) \
57206 \
57207 cd $(TARGET_SUBDIR)/zlib && \
57208 \
57209 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57210 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57211 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57212 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57213 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57214 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57215 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57216 $(EXTRA_TARGET_FLAGS) \
57217 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
57218 $(TARGET-stageautofeedback-target-zlib)
57219
57220 maybe-clean-stageautofeedback-target-zlib: clean-stageautofeedback-target-zlib
57221 clean-stageautofeedback: clean-stageautofeedback-target-zlib
57222 clean-stageautofeedback-target-zlib:
57223 @if [ $(current_stage) = stageautofeedback ]; then \
57224 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57225 else \
57226 [ -f $(TARGET_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
57227 $(MAKE) stageautofeedback-start; \
57228 fi; \
57229 cd $(TARGET_SUBDIR)/zlib && \
57230 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57231 @endif target-zlib-bootstrap
57232
57233
57234
57235
57236
57237
57238 .PHONY: check-target-zlib maybe-check-target-zlib
57239 maybe-check-target-zlib:
57240 @if target-zlib
57241 maybe-check-target-zlib: check-target-zlib
57242
57243 check-target-zlib:
57244 @: $(MAKE); $(unstage)
57245 @r=`${PWD_COMMAND}`; export r; \
57246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57247 $(NORMAL_TARGET_EXPORTS) \
57248 (cd $(TARGET_SUBDIR)/zlib && \
57249 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
57250
57251 @endif target-zlib
57252
57253 .PHONY: install-target-zlib maybe-install-target-zlib
57254 maybe-install-target-zlib:
57255 @if target-zlib
57256 maybe-install-target-zlib: install-target-zlib
57257
57258 install-target-zlib: installdirs
57259 @: $(MAKE); $(unstage)
57260 @r=`${PWD_COMMAND}`; export r; \
57261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57262 $(NORMAL_TARGET_EXPORTS) \
57263 (cd $(TARGET_SUBDIR)/zlib && \
57264 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
57265
57266 @endif target-zlib
57267
57268 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
57269 maybe-install-strip-target-zlib:
57270 @if target-zlib
57271 maybe-install-strip-target-zlib: install-strip-target-zlib
57272
57273 install-strip-target-zlib: installdirs
57274 @: $(MAKE); $(unstage)
57275 @r=`${PWD_COMMAND}`; export r; \
57276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57277 $(NORMAL_TARGET_EXPORTS) \
57278 (cd $(TARGET_SUBDIR)/zlib && \
57279 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
57280
57281 @endif target-zlib
57282
57283 # Other targets (info, dvi, pdf, etc.)
57284
57285 .PHONY: maybe-info-target-zlib info-target-zlib
57286 maybe-info-target-zlib:
57287 @if target-zlib
57288 maybe-info-target-zlib: info-target-zlib
57289
57290 info-target-zlib: \
57291 configure-target-zlib
57292 @: $(MAKE); $(unstage)
57293 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57294 r=`${PWD_COMMAND}`; export r; \
57295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57296 $(NORMAL_TARGET_EXPORTS) \
57297 echo "Doing info in $(TARGET_SUBDIR)/zlib"; \
57298 for flag in $(EXTRA_TARGET_FLAGS); do \
57299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57300 done; \
57301 (cd $(TARGET_SUBDIR)/zlib && \
57302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57304 "RANLIB=$${RANLIB}" \
57305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57306 info) \
57307 || exit 1
57308
57309 @endif target-zlib
57310
57311 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
57312 maybe-dvi-target-zlib:
57313 @if target-zlib
57314 maybe-dvi-target-zlib: dvi-target-zlib
57315
57316 dvi-target-zlib: \
57317 configure-target-zlib
57318 @: $(MAKE); $(unstage)
57319 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57320 r=`${PWD_COMMAND}`; export r; \
57321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57322 $(NORMAL_TARGET_EXPORTS) \
57323 echo "Doing dvi in $(TARGET_SUBDIR)/zlib"; \
57324 for flag in $(EXTRA_TARGET_FLAGS); do \
57325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57326 done; \
57327 (cd $(TARGET_SUBDIR)/zlib && \
57328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57330 "RANLIB=$${RANLIB}" \
57331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57332 dvi) \
57333 || exit 1
57334
57335 @endif target-zlib
57336
57337 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
57338 maybe-pdf-target-zlib:
57339 @if target-zlib
57340 maybe-pdf-target-zlib: pdf-target-zlib
57341
57342 pdf-target-zlib: \
57343 configure-target-zlib
57344 @: $(MAKE); $(unstage)
57345 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57346 r=`${PWD_COMMAND}`; export r; \
57347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57348 $(NORMAL_TARGET_EXPORTS) \
57349 echo "Doing pdf in $(TARGET_SUBDIR)/zlib"; \
57350 for flag in $(EXTRA_TARGET_FLAGS); do \
57351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57352 done; \
57353 (cd $(TARGET_SUBDIR)/zlib && \
57354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57356 "RANLIB=$${RANLIB}" \
57357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57358 pdf) \
57359 || exit 1
57360
57361 @endif target-zlib
57362
57363 .PHONY: maybe-html-target-zlib html-target-zlib
57364 maybe-html-target-zlib:
57365 @if target-zlib
57366 maybe-html-target-zlib: html-target-zlib
57367
57368 html-target-zlib: \
57369 configure-target-zlib
57370 @: $(MAKE); $(unstage)
57371 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57372 r=`${PWD_COMMAND}`; export r; \
57373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57374 $(NORMAL_TARGET_EXPORTS) \
57375 echo "Doing html in $(TARGET_SUBDIR)/zlib"; \
57376 for flag in $(EXTRA_TARGET_FLAGS); do \
57377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57378 done; \
57379 (cd $(TARGET_SUBDIR)/zlib && \
57380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57382 "RANLIB=$${RANLIB}" \
57383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57384 html) \
57385 || exit 1
57386
57387 @endif target-zlib
57388
57389 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
57390 maybe-TAGS-target-zlib:
57391 @if target-zlib
57392 maybe-TAGS-target-zlib: TAGS-target-zlib
57393
57394 TAGS-target-zlib: \
57395 configure-target-zlib
57396 @: $(MAKE); $(unstage)
57397 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57398 r=`${PWD_COMMAND}`; export r; \
57399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57400 $(NORMAL_TARGET_EXPORTS) \
57401 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib"; \
57402 for flag in $(EXTRA_TARGET_FLAGS); do \
57403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57404 done; \
57405 (cd $(TARGET_SUBDIR)/zlib && \
57406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57408 "RANLIB=$${RANLIB}" \
57409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57410 TAGS) \
57411 || exit 1
57412
57413 @endif target-zlib
57414
57415 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
57416 maybe-install-info-target-zlib:
57417 @if target-zlib
57418 maybe-install-info-target-zlib: install-info-target-zlib
57419
57420 install-info-target-zlib: \
57421 configure-target-zlib \
57422 info-target-zlib
57423 @: $(MAKE); $(unstage)
57424 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57425 r=`${PWD_COMMAND}`; export r; \
57426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57427 $(NORMAL_TARGET_EXPORTS) \
57428 echo "Doing install-info in $(TARGET_SUBDIR)/zlib"; \
57429 for flag in $(EXTRA_TARGET_FLAGS); do \
57430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57431 done; \
57432 (cd $(TARGET_SUBDIR)/zlib && \
57433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57435 "RANLIB=$${RANLIB}" \
57436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57437 install-info) \
57438 || exit 1
57439
57440 @endif target-zlib
57441
57442 .PHONY: maybe-install-dvi-target-zlib install-dvi-target-zlib
57443 maybe-install-dvi-target-zlib:
57444 @if target-zlib
57445 maybe-install-dvi-target-zlib: install-dvi-target-zlib
57446
57447 install-dvi-target-zlib: \
57448 configure-target-zlib \
57449 dvi-target-zlib
57450 @: $(MAKE); $(unstage)
57451 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57452 r=`${PWD_COMMAND}`; export r; \
57453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57454 $(NORMAL_TARGET_EXPORTS) \
57455 echo "Doing install-dvi in $(TARGET_SUBDIR)/zlib"; \
57456 for flag in $(EXTRA_TARGET_FLAGS); do \
57457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57458 done; \
57459 (cd $(TARGET_SUBDIR)/zlib && \
57460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57462 "RANLIB=$${RANLIB}" \
57463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57464 install-dvi) \
57465 || exit 1
57466
57467 @endif target-zlib
57468
57469 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
57470 maybe-install-pdf-target-zlib:
57471 @if target-zlib
57472 maybe-install-pdf-target-zlib: install-pdf-target-zlib
57473
57474 install-pdf-target-zlib: \
57475 configure-target-zlib \
57476 pdf-target-zlib
57477 @: $(MAKE); $(unstage)
57478 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57479 r=`${PWD_COMMAND}`; export r; \
57480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57481 $(NORMAL_TARGET_EXPORTS) \
57482 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib"; \
57483 for flag in $(EXTRA_TARGET_FLAGS); do \
57484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57485 done; \
57486 (cd $(TARGET_SUBDIR)/zlib && \
57487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57489 "RANLIB=$${RANLIB}" \
57490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57491 install-pdf) \
57492 || exit 1
57493
57494 @endif target-zlib
57495
57496 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
57497 maybe-install-html-target-zlib:
57498 @if target-zlib
57499 maybe-install-html-target-zlib: install-html-target-zlib
57500
57501 install-html-target-zlib: \
57502 configure-target-zlib \
57503 html-target-zlib
57504 @: $(MAKE); $(unstage)
57505 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57506 r=`${PWD_COMMAND}`; export r; \
57507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57508 $(NORMAL_TARGET_EXPORTS) \
57509 echo "Doing install-html in $(TARGET_SUBDIR)/zlib"; \
57510 for flag in $(EXTRA_TARGET_FLAGS); do \
57511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57512 done; \
57513 (cd $(TARGET_SUBDIR)/zlib && \
57514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57516 "RANLIB=$${RANLIB}" \
57517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57518 install-html) \
57519 || exit 1
57520
57521 @endif target-zlib
57522
57523 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
57524 maybe-installcheck-target-zlib:
57525 @if target-zlib
57526 maybe-installcheck-target-zlib: installcheck-target-zlib
57527
57528 installcheck-target-zlib: \
57529 configure-target-zlib
57530 @: $(MAKE); $(unstage)
57531 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57532 r=`${PWD_COMMAND}`; export r; \
57533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57534 $(NORMAL_TARGET_EXPORTS) \
57535 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib"; \
57536 for flag in $(EXTRA_TARGET_FLAGS); do \
57537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57538 done; \
57539 (cd $(TARGET_SUBDIR)/zlib && \
57540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57542 "RANLIB=$${RANLIB}" \
57543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57544 installcheck) \
57545 || exit 1
57546
57547 @endif target-zlib
57548
57549 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
57550 maybe-mostlyclean-target-zlib:
57551 @if target-zlib
57552 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
57553
57554 mostlyclean-target-zlib:
57555 @: $(MAKE); $(unstage)
57556 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57557 r=`${PWD_COMMAND}`; export r; \
57558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57559 $(NORMAL_TARGET_EXPORTS) \
57560 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib"; \
57561 for flag in $(EXTRA_TARGET_FLAGS); do \
57562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57563 done; \
57564 (cd $(TARGET_SUBDIR)/zlib && \
57565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57567 "RANLIB=$${RANLIB}" \
57568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57569 mostlyclean) \
57570 || exit 1
57571
57572 @endif target-zlib
57573
57574 .PHONY: maybe-clean-target-zlib clean-target-zlib
57575 maybe-clean-target-zlib:
57576 @if target-zlib
57577 maybe-clean-target-zlib: clean-target-zlib
57578
57579 clean-target-zlib:
57580 @: $(MAKE); $(unstage)
57581 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57582 r=`${PWD_COMMAND}`; export r; \
57583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57584 $(NORMAL_TARGET_EXPORTS) \
57585 echo "Doing clean in $(TARGET_SUBDIR)/zlib"; \
57586 for flag in $(EXTRA_TARGET_FLAGS); do \
57587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57588 done; \
57589 (cd $(TARGET_SUBDIR)/zlib && \
57590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57592 "RANLIB=$${RANLIB}" \
57593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57594 clean) \
57595 || exit 1
57596
57597 @endif target-zlib
57598
57599 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
57600 maybe-distclean-target-zlib:
57601 @if target-zlib
57602 maybe-distclean-target-zlib: distclean-target-zlib
57603
57604 distclean-target-zlib:
57605 @: $(MAKE); $(unstage)
57606 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57607 r=`${PWD_COMMAND}`; export r; \
57608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57609 $(NORMAL_TARGET_EXPORTS) \
57610 echo "Doing distclean in $(TARGET_SUBDIR)/zlib"; \
57611 for flag in $(EXTRA_TARGET_FLAGS); do \
57612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57613 done; \
57614 (cd $(TARGET_SUBDIR)/zlib && \
57615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57617 "RANLIB=$${RANLIB}" \
57618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57619 distclean) \
57620 || exit 1
57621
57622 @endif target-zlib
57623
57624 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
57625 maybe-maintainer-clean-target-zlib:
57626 @if target-zlib
57627 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
57628
57629 maintainer-clean-target-zlib:
57630 @: $(MAKE); $(unstage)
57631 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57632 r=`${PWD_COMMAND}`; export r; \
57633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57634 $(NORMAL_TARGET_EXPORTS) \
57635 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib"; \
57636 for flag in $(EXTRA_TARGET_FLAGS); do \
57637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57638 done; \
57639 (cd $(TARGET_SUBDIR)/zlib && \
57640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57642 "RANLIB=$${RANLIB}" \
57643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57644 maintainer-clean) \
57645 || exit 1
57646
57647 @endif target-zlib
57648
57649
57650
57651
57652
57653 .PHONY: configure-target-rda maybe-configure-target-rda
57654 maybe-configure-target-rda:
57655 @if gcc-bootstrap
57656 configure-target-rda: stage_current
57657 @endif gcc-bootstrap
57658 @if target-rda
57659 maybe-configure-target-rda: configure-target-rda
57660 configure-target-rda:
57661 @: $(MAKE); $(unstage)
57662 @r=`${PWD_COMMAND}`; export r; \
57663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57664 echo "Checking multilib configuration for rda..."; \
57665 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
57666 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null; \
57667 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
57668 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
57669 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
57670 else \
57671 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
57672 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
57673 fi; \
57674 else \
57675 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
57676 fi; \
57677 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
57678 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda; \
57679 $(NORMAL_TARGET_EXPORTS) \
57680 echo Configuring in $(TARGET_SUBDIR)/rda; \
57681 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
57682 case $(srcdir) in \
57683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
57684 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
57685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
57686 esac; \
57687 module_srcdir=rda; \
57688 rm -f no-such-file || : ; \
57689 CONFIG_SITE=no-such-file $(SHELL) \
57690 $$s/$$module_srcdir/configure \
57691 --srcdir=$${topdir}/$$module_srcdir \
57692 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
57693 --target=${target_alias} \
57694 || exit 1
57695 @endif target-rda
57696
57697
57698
57699
57700
57701 .PHONY: all-target-rda maybe-all-target-rda
57702 maybe-all-target-rda:
57703 @if gcc-bootstrap
57704 all-target-rda: stage_current
57705 @endif gcc-bootstrap
57706 @if target-rda
57707 TARGET-target-rda=all
57708 maybe-all-target-rda: all-target-rda
57709 all-target-rda: configure-target-rda
57710 @: $(MAKE); $(unstage)
57711 @r=`${PWD_COMMAND}`; export r; \
57712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57713 $(NORMAL_TARGET_EXPORTS) \
57714 (cd $(TARGET_SUBDIR)/rda && \
57715 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
57716 $(TARGET-target-rda))
57717 @endif target-rda
57718
57719
57720
57721
57722
57723 .PHONY: check-target-rda maybe-check-target-rda
57724 maybe-check-target-rda:
57725 @if target-rda
57726 maybe-check-target-rda: check-target-rda
57727
57728 check-target-rda:
57729 @: $(MAKE); $(unstage)
57730 @r=`${PWD_COMMAND}`; export r; \
57731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57732 $(NORMAL_TARGET_EXPORTS) \
57733 (cd $(TARGET_SUBDIR)/rda && \
57734 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
57735
57736 @endif target-rda
57737
57738 .PHONY: install-target-rda maybe-install-target-rda
57739 maybe-install-target-rda:
57740 @if target-rda
57741 maybe-install-target-rda: install-target-rda
57742
57743 install-target-rda: installdirs
57744 @: $(MAKE); $(unstage)
57745 @r=`${PWD_COMMAND}`; export r; \
57746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57747 $(NORMAL_TARGET_EXPORTS) \
57748 (cd $(TARGET_SUBDIR)/rda && \
57749 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
57750
57751 @endif target-rda
57752
57753 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
57754 maybe-install-strip-target-rda:
57755 @if target-rda
57756 maybe-install-strip-target-rda: install-strip-target-rda
57757
57758 install-strip-target-rda: installdirs
57759 @: $(MAKE); $(unstage)
57760 @r=`${PWD_COMMAND}`; export r; \
57761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57762 $(NORMAL_TARGET_EXPORTS) \
57763 (cd $(TARGET_SUBDIR)/rda && \
57764 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
57765
57766 @endif target-rda
57767
57768 # Other targets (info, dvi, pdf, etc.)
57769
57770 .PHONY: maybe-info-target-rda info-target-rda
57771 maybe-info-target-rda:
57772 @if target-rda
57773 maybe-info-target-rda: info-target-rda
57774
57775 info-target-rda: \
57776 configure-target-rda
57777 @: $(MAKE); $(unstage)
57778 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57779 r=`${PWD_COMMAND}`; export r; \
57780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57781 $(NORMAL_TARGET_EXPORTS) \
57782 echo "Doing info in $(TARGET_SUBDIR)/rda"; \
57783 for flag in $(EXTRA_TARGET_FLAGS); do \
57784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57785 done; \
57786 (cd $(TARGET_SUBDIR)/rda && \
57787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57789 "RANLIB=$${RANLIB}" \
57790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57791 info) \
57792 || exit 1
57793
57794 @endif target-rda
57795
57796 .PHONY: maybe-dvi-target-rda dvi-target-rda
57797 maybe-dvi-target-rda:
57798 @if target-rda
57799 maybe-dvi-target-rda: dvi-target-rda
57800
57801 dvi-target-rda: \
57802 configure-target-rda
57803 @: $(MAKE); $(unstage)
57804 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57805 r=`${PWD_COMMAND}`; export r; \
57806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57807 $(NORMAL_TARGET_EXPORTS) \
57808 echo "Doing dvi in $(TARGET_SUBDIR)/rda"; \
57809 for flag in $(EXTRA_TARGET_FLAGS); do \
57810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57811 done; \
57812 (cd $(TARGET_SUBDIR)/rda && \
57813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57815 "RANLIB=$${RANLIB}" \
57816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57817 dvi) \
57818 || exit 1
57819
57820 @endif target-rda
57821
57822 .PHONY: maybe-pdf-target-rda pdf-target-rda
57823 maybe-pdf-target-rda:
57824 @if target-rda
57825 maybe-pdf-target-rda: pdf-target-rda
57826
57827 pdf-target-rda: \
57828 configure-target-rda
57829 @: $(MAKE); $(unstage)
57830 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57831 r=`${PWD_COMMAND}`; export r; \
57832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57833 $(NORMAL_TARGET_EXPORTS) \
57834 echo "Doing pdf in $(TARGET_SUBDIR)/rda"; \
57835 for flag in $(EXTRA_TARGET_FLAGS); do \
57836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57837 done; \
57838 (cd $(TARGET_SUBDIR)/rda && \
57839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57841 "RANLIB=$${RANLIB}" \
57842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57843 pdf) \
57844 || exit 1
57845
57846 @endif target-rda
57847
57848 .PHONY: maybe-html-target-rda html-target-rda
57849 maybe-html-target-rda:
57850 @if target-rda
57851 maybe-html-target-rda: html-target-rda
57852
57853 html-target-rda: \
57854 configure-target-rda
57855 @: $(MAKE); $(unstage)
57856 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57857 r=`${PWD_COMMAND}`; export r; \
57858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57859 $(NORMAL_TARGET_EXPORTS) \
57860 echo "Doing html in $(TARGET_SUBDIR)/rda"; \
57861 for flag in $(EXTRA_TARGET_FLAGS); do \
57862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57863 done; \
57864 (cd $(TARGET_SUBDIR)/rda && \
57865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57867 "RANLIB=$${RANLIB}" \
57868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57869 html) \
57870 || exit 1
57871
57872 @endif target-rda
57873
57874 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
57875 maybe-TAGS-target-rda:
57876 @if target-rda
57877 maybe-TAGS-target-rda: TAGS-target-rda
57878
57879 TAGS-target-rda: \
57880 configure-target-rda
57881 @: $(MAKE); $(unstage)
57882 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57883 r=`${PWD_COMMAND}`; export r; \
57884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57885 $(NORMAL_TARGET_EXPORTS) \
57886 echo "Doing TAGS in $(TARGET_SUBDIR)/rda"; \
57887 for flag in $(EXTRA_TARGET_FLAGS); do \
57888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57889 done; \
57890 (cd $(TARGET_SUBDIR)/rda && \
57891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57893 "RANLIB=$${RANLIB}" \
57894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57895 TAGS) \
57896 || exit 1
57897
57898 @endif target-rda
57899
57900 .PHONY: maybe-install-info-target-rda install-info-target-rda
57901 maybe-install-info-target-rda:
57902 @if target-rda
57903 maybe-install-info-target-rda: install-info-target-rda
57904
57905 install-info-target-rda: \
57906 configure-target-rda \
57907 info-target-rda
57908 @: $(MAKE); $(unstage)
57909 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57910 r=`${PWD_COMMAND}`; export r; \
57911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57912 $(NORMAL_TARGET_EXPORTS) \
57913 echo "Doing install-info in $(TARGET_SUBDIR)/rda"; \
57914 for flag in $(EXTRA_TARGET_FLAGS); do \
57915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57916 done; \
57917 (cd $(TARGET_SUBDIR)/rda && \
57918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57920 "RANLIB=$${RANLIB}" \
57921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57922 install-info) \
57923 || exit 1
57924
57925 @endif target-rda
57926
57927 .PHONY: maybe-install-dvi-target-rda install-dvi-target-rda
57928 maybe-install-dvi-target-rda:
57929 @if target-rda
57930 maybe-install-dvi-target-rda: install-dvi-target-rda
57931
57932 install-dvi-target-rda: \
57933 configure-target-rda \
57934 dvi-target-rda
57935 @: $(MAKE); $(unstage)
57936 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57937 r=`${PWD_COMMAND}`; export r; \
57938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57939 $(NORMAL_TARGET_EXPORTS) \
57940 echo "Doing install-dvi in $(TARGET_SUBDIR)/rda"; \
57941 for flag in $(EXTRA_TARGET_FLAGS); do \
57942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57943 done; \
57944 (cd $(TARGET_SUBDIR)/rda && \
57945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57947 "RANLIB=$${RANLIB}" \
57948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57949 install-dvi) \
57950 || exit 1
57951
57952 @endif target-rda
57953
57954 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
57955 maybe-install-pdf-target-rda:
57956 @if target-rda
57957 maybe-install-pdf-target-rda: install-pdf-target-rda
57958
57959 install-pdf-target-rda: \
57960 configure-target-rda \
57961 pdf-target-rda
57962 @: $(MAKE); $(unstage)
57963 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57964 r=`${PWD_COMMAND}`; export r; \
57965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57966 $(NORMAL_TARGET_EXPORTS) \
57967 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda"; \
57968 for flag in $(EXTRA_TARGET_FLAGS); do \
57969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57970 done; \
57971 (cd $(TARGET_SUBDIR)/rda && \
57972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
57973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
57974 "RANLIB=$${RANLIB}" \
57975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
57976 install-pdf) \
57977 || exit 1
57978
57979 @endif target-rda
57980
57981 .PHONY: maybe-install-html-target-rda install-html-target-rda
57982 maybe-install-html-target-rda:
57983 @if target-rda
57984 maybe-install-html-target-rda: install-html-target-rda
57985
57986 install-html-target-rda: \
57987 configure-target-rda \
57988 html-target-rda
57989 @: $(MAKE); $(unstage)
57990 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
57991 r=`${PWD_COMMAND}`; export r; \
57992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57993 $(NORMAL_TARGET_EXPORTS) \
57994 echo "Doing install-html in $(TARGET_SUBDIR)/rda"; \
57995 for flag in $(EXTRA_TARGET_FLAGS); do \
57996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
57997 done; \
57998 (cd $(TARGET_SUBDIR)/rda && \
57999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58001 "RANLIB=$${RANLIB}" \
58002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58003 install-html) \
58004 || exit 1
58005
58006 @endif target-rda
58007
58008 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
58009 maybe-installcheck-target-rda:
58010 @if target-rda
58011 maybe-installcheck-target-rda: installcheck-target-rda
58012
58013 installcheck-target-rda: \
58014 configure-target-rda
58015 @: $(MAKE); $(unstage)
58016 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
58017 r=`${PWD_COMMAND}`; export r; \
58018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58019 $(NORMAL_TARGET_EXPORTS) \
58020 echo "Doing installcheck in $(TARGET_SUBDIR)/rda"; \
58021 for flag in $(EXTRA_TARGET_FLAGS); do \
58022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58023 done; \
58024 (cd $(TARGET_SUBDIR)/rda && \
58025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58027 "RANLIB=$${RANLIB}" \
58028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58029 installcheck) \
58030 || exit 1
58031
58032 @endif target-rda
58033
58034 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
58035 maybe-mostlyclean-target-rda:
58036 @if target-rda
58037 maybe-mostlyclean-target-rda: mostlyclean-target-rda
58038
58039 mostlyclean-target-rda:
58040 @: $(MAKE); $(unstage)
58041 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
58042 r=`${PWD_COMMAND}`; export r; \
58043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58044 $(NORMAL_TARGET_EXPORTS) \
58045 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda"; \
58046 for flag in $(EXTRA_TARGET_FLAGS); do \
58047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58048 done; \
58049 (cd $(TARGET_SUBDIR)/rda && \
58050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58052 "RANLIB=$${RANLIB}" \
58053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58054 mostlyclean) \
58055 || exit 1
58056
58057 @endif target-rda
58058
58059 .PHONY: maybe-clean-target-rda clean-target-rda
58060 maybe-clean-target-rda:
58061 @if target-rda
58062 maybe-clean-target-rda: clean-target-rda
58063
58064 clean-target-rda:
58065 @: $(MAKE); $(unstage)
58066 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
58067 r=`${PWD_COMMAND}`; export r; \
58068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58069 $(NORMAL_TARGET_EXPORTS) \
58070 echo "Doing clean in $(TARGET_SUBDIR)/rda"; \
58071 for flag in $(EXTRA_TARGET_FLAGS); do \
58072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58073 done; \
58074 (cd $(TARGET_SUBDIR)/rda && \
58075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58077 "RANLIB=$${RANLIB}" \
58078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58079 clean) \
58080 || exit 1
58081
58082 @endif target-rda
58083
58084 .PHONY: maybe-distclean-target-rda distclean-target-rda
58085 maybe-distclean-target-rda:
58086 @if target-rda
58087 maybe-distclean-target-rda: distclean-target-rda
58088
58089 distclean-target-rda:
58090 @: $(MAKE); $(unstage)
58091 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
58092 r=`${PWD_COMMAND}`; export r; \
58093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58094 $(NORMAL_TARGET_EXPORTS) \
58095 echo "Doing distclean in $(TARGET_SUBDIR)/rda"; \
58096 for flag in $(EXTRA_TARGET_FLAGS); do \
58097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58098 done; \
58099 (cd $(TARGET_SUBDIR)/rda && \
58100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58102 "RANLIB=$${RANLIB}" \
58103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58104 distclean) \
58105 || exit 1
58106
58107 @endif target-rda
58108
58109 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
58110 maybe-maintainer-clean-target-rda:
58111 @if target-rda
58112 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
58113
58114 maintainer-clean-target-rda:
58115 @: $(MAKE); $(unstage)
58116 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0; \
58117 r=`${PWD_COMMAND}`; export r; \
58118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58119 $(NORMAL_TARGET_EXPORTS) \
58120 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda"; \
58121 for flag in $(EXTRA_TARGET_FLAGS); do \
58122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58123 done; \
58124 (cd $(TARGET_SUBDIR)/rda && \
58125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58127 "RANLIB=$${RANLIB}" \
58128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58129 maintainer-clean) \
58130 || exit 1
58131
58132 @endif target-rda
58133
58134
58135
58136
58137
58138 .PHONY: configure-target-libada maybe-configure-target-libada
58139 maybe-configure-target-libada:
58140 @if gcc-bootstrap
58141 configure-target-libada: stage_current
58142 @endif gcc-bootstrap
58143 @if target-libada
58144 maybe-configure-target-libada: configure-target-libada
58145 configure-target-libada:
58146 @: $(MAKE); $(unstage)
58147 @r=`${PWD_COMMAND}`; export r; \
58148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58149 echo "Checking multilib configuration for libada..."; \
58150 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
58151 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null; \
58152 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
58153 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
58154 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
58155 else \
58156 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
58157 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
58158 fi; \
58159 else \
58160 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
58161 fi; \
58162 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
58163 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada; \
58164 $(NORMAL_TARGET_EXPORTS) \
58165 echo Configuring in $(TARGET_SUBDIR)/libada; \
58166 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
58167 case $(srcdir) in \
58168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
58169 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
58170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
58171 esac; \
58172 module_srcdir=libada; \
58173 rm -f no-such-file || : ; \
58174 CONFIG_SITE=no-such-file $(SHELL) \
58175 $$s/$$module_srcdir/configure \
58176 --srcdir=$${topdir}/$$module_srcdir \
58177 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
58178 --target=${target_alias} \
58179 || exit 1
58180 @endif target-libada
58181
58182
58183
58184
58185
58186 .PHONY: all-target-libada maybe-all-target-libada
58187 maybe-all-target-libada:
58188 @if gcc-bootstrap
58189 all-target-libada: stage_current
58190 @endif gcc-bootstrap
58191 @if target-libada
58192 TARGET-target-libada=all
58193 maybe-all-target-libada: all-target-libada
58194 all-target-libada: configure-target-libada
58195 @: $(MAKE); $(unstage)
58196 @r=`${PWD_COMMAND}`; export r; \
58197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58198 $(NORMAL_TARGET_EXPORTS) \
58199 (cd $(TARGET_SUBDIR)/libada && \
58200 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
58201 $(TARGET-target-libada))
58202 @endif target-libada
58203
58204
58205
58206
58207
58208 .PHONY: check-target-libada maybe-check-target-libada
58209 maybe-check-target-libada:
58210 @if target-libada
58211 maybe-check-target-libada: check-target-libada
58212
58213 check-target-libada:
58214 @: $(MAKE); $(unstage)
58215 @r=`${PWD_COMMAND}`; export r; \
58216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58217 $(NORMAL_TARGET_EXPORTS) \
58218 (cd $(TARGET_SUBDIR)/libada && \
58219 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
58220
58221 @endif target-libada
58222
58223 .PHONY: install-target-libada maybe-install-target-libada
58224 maybe-install-target-libada:
58225 @if target-libada
58226 maybe-install-target-libada: install-target-libada
58227
58228 install-target-libada: installdirs
58229 @: $(MAKE); $(unstage)
58230 @r=`${PWD_COMMAND}`; export r; \
58231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58232 $(NORMAL_TARGET_EXPORTS) \
58233 (cd $(TARGET_SUBDIR)/libada && \
58234 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
58235
58236 @endif target-libada
58237
58238 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
58239 maybe-install-strip-target-libada:
58240 @if target-libada
58241 maybe-install-strip-target-libada: install-strip-target-libada
58242
58243 install-strip-target-libada: installdirs
58244 @: $(MAKE); $(unstage)
58245 @r=`${PWD_COMMAND}`; export r; \
58246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58247 $(NORMAL_TARGET_EXPORTS) \
58248 (cd $(TARGET_SUBDIR)/libada && \
58249 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
58250
58251 @endif target-libada
58252
58253 # Other targets (info, dvi, pdf, etc.)
58254
58255 .PHONY: maybe-info-target-libada info-target-libada
58256 maybe-info-target-libada:
58257 @if target-libada
58258 maybe-info-target-libada: info-target-libada
58259
58260 info-target-libada: \
58261 configure-target-libada
58262 @: $(MAKE); $(unstage)
58263 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58264 r=`${PWD_COMMAND}`; export r; \
58265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58266 $(NORMAL_TARGET_EXPORTS) \
58267 echo "Doing info in $(TARGET_SUBDIR)/libada"; \
58268 for flag in $(EXTRA_TARGET_FLAGS); do \
58269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58270 done; \
58271 (cd $(TARGET_SUBDIR)/libada && \
58272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58274 "RANLIB=$${RANLIB}" \
58275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58276 info) \
58277 || exit 1
58278
58279 @endif target-libada
58280
58281 .PHONY: maybe-dvi-target-libada dvi-target-libada
58282 maybe-dvi-target-libada:
58283 @if target-libada
58284 maybe-dvi-target-libada: dvi-target-libada
58285
58286 dvi-target-libada: \
58287 configure-target-libada
58288 @: $(MAKE); $(unstage)
58289 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58290 r=`${PWD_COMMAND}`; export r; \
58291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58292 $(NORMAL_TARGET_EXPORTS) \
58293 echo "Doing dvi in $(TARGET_SUBDIR)/libada"; \
58294 for flag in $(EXTRA_TARGET_FLAGS); do \
58295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58296 done; \
58297 (cd $(TARGET_SUBDIR)/libada && \
58298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58300 "RANLIB=$${RANLIB}" \
58301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58302 dvi) \
58303 || exit 1
58304
58305 @endif target-libada
58306
58307 .PHONY: maybe-pdf-target-libada pdf-target-libada
58308 maybe-pdf-target-libada:
58309 @if target-libada
58310 maybe-pdf-target-libada: pdf-target-libada
58311
58312 pdf-target-libada: \
58313 configure-target-libada
58314 @: $(MAKE); $(unstage)
58315 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58316 r=`${PWD_COMMAND}`; export r; \
58317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58318 $(NORMAL_TARGET_EXPORTS) \
58319 echo "Doing pdf in $(TARGET_SUBDIR)/libada"; \
58320 for flag in $(EXTRA_TARGET_FLAGS); do \
58321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58322 done; \
58323 (cd $(TARGET_SUBDIR)/libada && \
58324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58326 "RANLIB=$${RANLIB}" \
58327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58328 pdf) \
58329 || exit 1
58330
58331 @endif target-libada
58332
58333 .PHONY: maybe-html-target-libada html-target-libada
58334 maybe-html-target-libada:
58335 @if target-libada
58336 maybe-html-target-libada: html-target-libada
58337
58338 html-target-libada: \
58339 configure-target-libada
58340 @: $(MAKE); $(unstage)
58341 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58342 r=`${PWD_COMMAND}`; export r; \
58343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58344 $(NORMAL_TARGET_EXPORTS) \
58345 echo "Doing html in $(TARGET_SUBDIR)/libada"; \
58346 for flag in $(EXTRA_TARGET_FLAGS); do \
58347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58348 done; \
58349 (cd $(TARGET_SUBDIR)/libada && \
58350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58352 "RANLIB=$${RANLIB}" \
58353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58354 html) \
58355 || exit 1
58356
58357 @endif target-libada
58358
58359 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
58360 maybe-TAGS-target-libada:
58361 @if target-libada
58362 maybe-TAGS-target-libada: TAGS-target-libada
58363
58364 TAGS-target-libada: \
58365 configure-target-libada
58366 @: $(MAKE); $(unstage)
58367 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58368 r=`${PWD_COMMAND}`; export r; \
58369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58370 $(NORMAL_TARGET_EXPORTS) \
58371 echo "Doing TAGS in $(TARGET_SUBDIR)/libada"; \
58372 for flag in $(EXTRA_TARGET_FLAGS); do \
58373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58374 done; \
58375 (cd $(TARGET_SUBDIR)/libada && \
58376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58378 "RANLIB=$${RANLIB}" \
58379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58380 TAGS) \
58381 || exit 1
58382
58383 @endif target-libada
58384
58385 .PHONY: maybe-install-info-target-libada install-info-target-libada
58386 maybe-install-info-target-libada:
58387 @if target-libada
58388 maybe-install-info-target-libada: install-info-target-libada
58389
58390 install-info-target-libada: \
58391 configure-target-libada \
58392 info-target-libada
58393 @: $(MAKE); $(unstage)
58394 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58395 r=`${PWD_COMMAND}`; export r; \
58396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58397 $(NORMAL_TARGET_EXPORTS) \
58398 echo "Doing install-info in $(TARGET_SUBDIR)/libada"; \
58399 for flag in $(EXTRA_TARGET_FLAGS); do \
58400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58401 done; \
58402 (cd $(TARGET_SUBDIR)/libada && \
58403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58405 "RANLIB=$${RANLIB}" \
58406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58407 install-info) \
58408 || exit 1
58409
58410 @endif target-libada
58411
58412 .PHONY: maybe-install-dvi-target-libada install-dvi-target-libada
58413 maybe-install-dvi-target-libada:
58414 @if target-libada
58415 maybe-install-dvi-target-libada: install-dvi-target-libada
58416
58417 install-dvi-target-libada: \
58418 configure-target-libada \
58419 dvi-target-libada
58420 @: $(MAKE); $(unstage)
58421 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58422 r=`${PWD_COMMAND}`; export r; \
58423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58424 $(NORMAL_TARGET_EXPORTS) \
58425 echo "Doing install-dvi in $(TARGET_SUBDIR)/libada"; \
58426 for flag in $(EXTRA_TARGET_FLAGS); do \
58427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58428 done; \
58429 (cd $(TARGET_SUBDIR)/libada && \
58430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58432 "RANLIB=$${RANLIB}" \
58433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58434 install-dvi) \
58435 || exit 1
58436
58437 @endif target-libada
58438
58439 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
58440 maybe-install-pdf-target-libada:
58441 @if target-libada
58442 maybe-install-pdf-target-libada: install-pdf-target-libada
58443
58444 install-pdf-target-libada: \
58445 configure-target-libada \
58446 pdf-target-libada
58447 @: $(MAKE); $(unstage)
58448 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58449 r=`${PWD_COMMAND}`; export r; \
58450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58451 $(NORMAL_TARGET_EXPORTS) \
58452 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada"; \
58453 for flag in $(EXTRA_TARGET_FLAGS); do \
58454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58455 done; \
58456 (cd $(TARGET_SUBDIR)/libada && \
58457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58459 "RANLIB=$${RANLIB}" \
58460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58461 install-pdf) \
58462 || exit 1
58463
58464 @endif target-libada
58465
58466 .PHONY: maybe-install-html-target-libada install-html-target-libada
58467 maybe-install-html-target-libada:
58468 @if target-libada
58469 maybe-install-html-target-libada: install-html-target-libada
58470
58471 install-html-target-libada: \
58472 configure-target-libada \
58473 html-target-libada
58474 @: $(MAKE); $(unstage)
58475 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58476 r=`${PWD_COMMAND}`; export r; \
58477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58478 $(NORMAL_TARGET_EXPORTS) \
58479 echo "Doing install-html in $(TARGET_SUBDIR)/libada"; \
58480 for flag in $(EXTRA_TARGET_FLAGS); do \
58481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58482 done; \
58483 (cd $(TARGET_SUBDIR)/libada && \
58484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58486 "RANLIB=$${RANLIB}" \
58487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58488 install-html) \
58489 || exit 1
58490
58491 @endif target-libada
58492
58493 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
58494 maybe-installcheck-target-libada:
58495 @if target-libada
58496 maybe-installcheck-target-libada: installcheck-target-libada
58497
58498 installcheck-target-libada: \
58499 configure-target-libada
58500 @: $(MAKE); $(unstage)
58501 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58502 r=`${PWD_COMMAND}`; export r; \
58503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58504 $(NORMAL_TARGET_EXPORTS) \
58505 echo "Doing installcheck in $(TARGET_SUBDIR)/libada"; \
58506 for flag in $(EXTRA_TARGET_FLAGS); do \
58507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58508 done; \
58509 (cd $(TARGET_SUBDIR)/libada && \
58510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58512 "RANLIB=$${RANLIB}" \
58513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58514 installcheck) \
58515 || exit 1
58516
58517 @endif target-libada
58518
58519 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
58520 maybe-mostlyclean-target-libada:
58521 @if target-libada
58522 maybe-mostlyclean-target-libada: mostlyclean-target-libada
58523
58524 mostlyclean-target-libada:
58525 @: $(MAKE); $(unstage)
58526 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58527 r=`${PWD_COMMAND}`; export r; \
58528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58529 $(NORMAL_TARGET_EXPORTS) \
58530 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada"; \
58531 for flag in $(EXTRA_TARGET_FLAGS); do \
58532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58533 done; \
58534 (cd $(TARGET_SUBDIR)/libada && \
58535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58537 "RANLIB=$${RANLIB}" \
58538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58539 mostlyclean) \
58540 || exit 1
58541
58542 @endif target-libada
58543
58544 .PHONY: maybe-clean-target-libada clean-target-libada
58545 maybe-clean-target-libada:
58546 @if target-libada
58547 maybe-clean-target-libada: clean-target-libada
58548
58549 clean-target-libada:
58550 @: $(MAKE); $(unstage)
58551 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58552 r=`${PWD_COMMAND}`; export r; \
58553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58554 $(NORMAL_TARGET_EXPORTS) \
58555 echo "Doing clean in $(TARGET_SUBDIR)/libada"; \
58556 for flag in $(EXTRA_TARGET_FLAGS); do \
58557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58558 done; \
58559 (cd $(TARGET_SUBDIR)/libada && \
58560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58562 "RANLIB=$${RANLIB}" \
58563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58564 clean) \
58565 || exit 1
58566
58567 @endif target-libada
58568
58569 .PHONY: maybe-distclean-target-libada distclean-target-libada
58570 maybe-distclean-target-libada:
58571 @if target-libada
58572 maybe-distclean-target-libada: distclean-target-libada
58573
58574 distclean-target-libada:
58575 @: $(MAKE); $(unstage)
58576 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58577 r=`${PWD_COMMAND}`; export r; \
58578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58579 $(NORMAL_TARGET_EXPORTS) \
58580 echo "Doing distclean in $(TARGET_SUBDIR)/libada"; \
58581 for flag in $(EXTRA_TARGET_FLAGS); do \
58582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58583 done; \
58584 (cd $(TARGET_SUBDIR)/libada && \
58585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58587 "RANLIB=$${RANLIB}" \
58588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58589 distclean) \
58590 || exit 1
58591
58592 @endif target-libada
58593
58594 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
58595 maybe-maintainer-clean-target-libada:
58596 @if target-libada
58597 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
58598
58599 maintainer-clean-target-libada:
58600 @: $(MAKE); $(unstage)
58601 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0; \
58602 r=`${PWD_COMMAND}`; export r; \
58603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58604 $(NORMAL_TARGET_EXPORTS) \
58605 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada"; \
58606 for flag in $(EXTRA_TARGET_FLAGS); do \
58607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
58608 done; \
58609 (cd $(TARGET_SUBDIR)/libada && \
58610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
58611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
58612 "RANLIB=$${RANLIB}" \
58613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
58614 maintainer-clean) \
58615 || exit 1
58616
58617 @endif target-libada
58618
58619
58620
58621
58622
58623 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
58624 maybe-configure-target-libgomp:
58625 @if gcc-bootstrap
58626 configure-target-libgomp: stage_current
58627 @endif gcc-bootstrap
58628 @if target-libgomp
58629 maybe-configure-target-libgomp: configure-target-libgomp
58630 configure-target-libgomp:
58631 @r=`${PWD_COMMAND}`; export r; \
58632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58633 echo "Checking multilib configuration for libgomp..."; \
58634 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
58635 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
58636 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58637 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58638 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
58639 else \
58640 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
58641 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58642 fi; \
58643 else \
58644 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58645 fi; \
58646 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
58647 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
58648 $(NORMAL_TARGET_EXPORTS) \
58649 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
58650 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
58651 case $(srcdir) in \
58652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
58653 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
58654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
58655 esac; \
58656 module_srcdir=libgomp; \
58657 rm -f no-such-file || : ; \
58658 CONFIG_SITE=no-such-file $(SHELL) \
58659 $$s/$$module_srcdir/configure \
58660 --srcdir=$${topdir}/$$module_srcdir \
58661 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
58662 --target=${target_alias} \
58663 || exit 1
58664 @endif target-libgomp
58665
58666
58667
58668 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
58669 maybe-configure-stage1-target-libgomp:
58670 @if target-libgomp-bootstrap
58671 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
58672 configure-stage1-target-libgomp:
58673 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
58674 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
58675 @r=`${PWD_COMMAND}`; export r; \
58676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58677 TFLAGS="$(STAGE1_TFLAGS)"; \
58678 echo "Checking multilib configuration for libgomp..."; \
58679 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
58680 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58681 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58682 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
58683 else \
58684 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
58685 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58686 fi; \
58687 else \
58688 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58689 fi; \
58690 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
58691 $(NORMAL_TARGET_EXPORTS) \
58692 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
58693 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
58694 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
58695 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp; \
58696 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
58697 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
58698 case $(srcdir) in \
58699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
58700 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
58701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
58702 esac; \
58703 module_srcdir=libgomp; \
58704 $(SHELL) $$s/$$module_srcdir/configure \
58705 --srcdir=$${topdir}/$$module_srcdir \
58706 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
58707 --target=${target_alias} \
58708 \
58709 $(STAGE1_CONFIGURE_FLAGS)
58710 @endif target-libgomp-bootstrap
58711
58712 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
58713 maybe-configure-stage2-target-libgomp:
58714 @if target-libgomp-bootstrap
58715 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
58716 configure-stage2-target-libgomp:
58717 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
58718 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
58719 @r=`${PWD_COMMAND}`; export r; \
58720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58721 TFLAGS="$(STAGE2_TFLAGS)"; \
58722 echo "Checking multilib configuration for libgomp..."; \
58723 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
58724 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58725 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58726 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
58727 else \
58728 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
58729 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58730 fi; \
58731 else \
58732 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58733 fi; \
58734 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
58735 $(NORMAL_TARGET_EXPORTS) \
58736 \
58737 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
58738 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
58739 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
58740 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp; \
58741 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
58742 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
58743 case $(srcdir) in \
58744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
58745 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
58746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
58747 esac; \
58748 module_srcdir=libgomp; \
58749 $(SHELL) $$s/$$module_srcdir/configure \
58750 --srcdir=$${topdir}/$$module_srcdir \
58751 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
58752 --target=${target_alias} \
58753 --with-build-libsubdir=$(HOST_SUBDIR) \
58754 $(STAGE2_CONFIGURE_FLAGS)
58755 @endif target-libgomp-bootstrap
58756
58757 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
58758 maybe-configure-stage3-target-libgomp:
58759 @if target-libgomp-bootstrap
58760 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
58761 configure-stage3-target-libgomp:
58762 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
58763 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
58764 @r=`${PWD_COMMAND}`; export r; \
58765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58766 TFLAGS="$(STAGE3_TFLAGS)"; \
58767 echo "Checking multilib configuration for libgomp..."; \
58768 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
58769 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58770 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58771 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
58772 else \
58773 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
58774 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58775 fi; \
58776 else \
58777 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58778 fi; \
58779 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
58780 $(NORMAL_TARGET_EXPORTS) \
58781 \
58782 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
58783 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
58784 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
58785 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp; \
58786 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
58787 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
58788 case $(srcdir) in \
58789 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
58790 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
58791 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
58792 esac; \
58793 module_srcdir=libgomp; \
58794 $(SHELL) $$s/$$module_srcdir/configure \
58795 --srcdir=$${topdir}/$$module_srcdir \
58796 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
58797 --target=${target_alias} \
58798 --with-build-libsubdir=$(HOST_SUBDIR) \
58799 $(STAGE3_CONFIGURE_FLAGS)
58800 @endif target-libgomp-bootstrap
58801
58802 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
58803 maybe-configure-stage4-target-libgomp:
58804 @if target-libgomp-bootstrap
58805 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
58806 configure-stage4-target-libgomp:
58807 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
58808 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
58809 @r=`${PWD_COMMAND}`; export r; \
58810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58811 TFLAGS="$(STAGE4_TFLAGS)"; \
58812 echo "Checking multilib configuration for libgomp..."; \
58813 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
58814 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58815 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58816 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
58817 else \
58818 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
58819 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58820 fi; \
58821 else \
58822 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58823 fi; \
58824 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
58825 $(NORMAL_TARGET_EXPORTS) \
58826 \
58827 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
58828 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
58829 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
58830 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp; \
58831 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
58832 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
58833 case $(srcdir) in \
58834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
58835 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
58836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
58837 esac; \
58838 module_srcdir=libgomp; \
58839 $(SHELL) $$s/$$module_srcdir/configure \
58840 --srcdir=$${topdir}/$$module_srcdir \
58841 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
58842 --target=${target_alias} \
58843 --with-build-libsubdir=$(HOST_SUBDIR) \
58844 $(STAGE4_CONFIGURE_FLAGS)
58845 @endif target-libgomp-bootstrap
58846
58847 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
58848 maybe-configure-stageprofile-target-libgomp:
58849 @if target-libgomp-bootstrap
58850 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
58851 configure-stageprofile-target-libgomp:
58852 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
58853 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
58854 @r=`${PWD_COMMAND}`; export r; \
58855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58856 TFLAGS="$(STAGEprofile_TFLAGS)"; \
58857 echo "Checking multilib configuration for libgomp..."; \
58858 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
58859 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58860 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58861 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
58862 else \
58863 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
58864 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58865 fi; \
58866 else \
58867 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58868 fi; \
58869 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
58870 $(NORMAL_TARGET_EXPORTS) \
58871 \
58872 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
58873 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
58874 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
58875 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp; \
58876 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
58877 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
58878 case $(srcdir) in \
58879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
58880 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
58881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
58882 esac; \
58883 module_srcdir=libgomp; \
58884 $(SHELL) $$s/$$module_srcdir/configure \
58885 --srcdir=$${topdir}/$$module_srcdir \
58886 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
58887 --target=${target_alias} \
58888 --with-build-libsubdir=$(HOST_SUBDIR) \
58889 $(STAGEprofile_CONFIGURE_FLAGS)
58890 @endif target-libgomp-bootstrap
58891
58892 .PHONY: configure-stagetrain-target-libgomp maybe-configure-stagetrain-target-libgomp
58893 maybe-configure-stagetrain-target-libgomp:
58894 @if target-libgomp-bootstrap
58895 maybe-configure-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
58896 configure-stagetrain-target-libgomp:
58897 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
58898 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
58899 @r=`${PWD_COMMAND}`; export r; \
58900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58901 TFLAGS="$(STAGEtrain_TFLAGS)"; \
58902 echo "Checking multilib configuration for libgomp..."; \
58903 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
58904 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58905 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58906 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
58907 else \
58908 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
58909 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58910 fi; \
58911 else \
58912 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58913 fi; \
58914 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
58915 $(NORMAL_TARGET_EXPORTS) \
58916 \
58917 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
58918 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
58919 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
58920 echo Configuring stage train in $(TARGET_SUBDIR)/libgomp; \
58921 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
58922 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
58923 case $(srcdir) in \
58924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
58925 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
58926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
58927 esac; \
58928 module_srcdir=libgomp; \
58929 $(SHELL) $$s/$$module_srcdir/configure \
58930 --srcdir=$${topdir}/$$module_srcdir \
58931 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
58932 --target=${target_alias} \
58933 --with-build-libsubdir=$(HOST_SUBDIR) \
58934 $(STAGEtrain_CONFIGURE_FLAGS)
58935 @endif target-libgomp-bootstrap
58936
58937 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
58938 maybe-configure-stagefeedback-target-libgomp:
58939 @if target-libgomp-bootstrap
58940 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
58941 configure-stagefeedback-target-libgomp:
58942 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
58943 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
58944 @r=`${PWD_COMMAND}`; export r; \
58945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58946 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
58947 echo "Checking multilib configuration for libgomp..."; \
58948 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
58949 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58950 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58951 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
58952 else \
58953 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
58954 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58955 fi; \
58956 else \
58957 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
58958 fi; \
58959 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
58960 $(NORMAL_TARGET_EXPORTS) \
58961 \
58962 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
58963 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
58964 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
58965 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp; \
58966 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
58967 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
58968 case $(srcdir) in \
58969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
58970 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
58971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
58972 esac; \
58973 module_srcdir=libgomp; \
58974 $(SHELL) $$s/$$module_srcdir/configure \
58975 --srcdir=$${topdir}/$$module_srcdir \
58976 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
58977 --target=${target_alias} \
58978 --with-build-libsubdir=$(HOST_SUBDIR) \
58979 $(STAGEfeedback_CONFIGURE_FLAGS)
58980 @endif target-libgomp-bootstrap
58981
58982 .PHONY: configure-stageautoprofile-target-libgomp maybe-configure-stageautoprofile-target-libgomp
58983 maybe-configure-stageautoprofile-target-libgomp:
58984 @if target-libgomp-bootstrap
58985 maybe-configure-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
58986 configure-stageautoprofile-target-libgomp:
58987 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
58988 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
58989 @r=`${PWD_COMMAND}`; export r; \
58990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58991 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
58992 echo "Checking multilib configuration for libgomp..."; \
58993 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
58994 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58995 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
58996 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
58997 else \
58998 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
58999 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59000 fi; \
59001 else \
59002 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59003 fi; \
59004 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
59005 $(NORMAL_TARGET_EXPORTS) \
59006 \
59007 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
59008 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
59009 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
59010 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libgomp; \
59011 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
59012 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
59013 case $(srcdir) in \
59014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
59015 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
59016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
59017 esac; \
59018 module_srcdir=libgomp; \
59019 $(SHELL) $$s/$$module_srcdir/configure \
59020 --srcdir=$${topdir}/$$module_srcdir \
59021 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
59022 --target=${target_alias} \
59023 --with-build-libsubdir=$(HOST_SUBDIR) \
59024 $(STAGEautoprofile_CONFIGURE_FLAGS)
59025 @endif target-libgomp-bootstrap
59026
59027 .PHONY: configure-stageautofeedback-target-libgomp maybe-configure-stageautofeedback-target-libgomp
59028 maybe-configure-stageautofeedback-target-libgomp:
59029 @if target-libgomp-bootstrap
59030 maybe-configure-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
59031 configure-stageautofeedback-target-libgomp:
59032 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
59033 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
59034 @r=`${PWD_COMMAND}`; export r; \
59035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59036 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
59037 echo "Checking multilib configuration for libgomp..."; \
59038 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null; \
59039 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59040 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
59041 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
59042 else \
59043 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
59044 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59045 fi; \
59046 else \
59047 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
59048 fi; \
59049 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
59050 $(NORMAL_TARGET_EXPORTS) \
59051 \
59052 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
59053 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
59054 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
59055 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libgomp; \
59056 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp; \
59057 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
59058 case $(srcdir) in \
59059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
59060 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
59061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
59062 esac; \
59063 module_srcdir=libgomp; \
59064 $(SHELL) $$s/$$module_srcdir/configure \
59065 --srcdir=$${topdir}/$$module_srcdir \
59066 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
59067 --target=${target_alias} \
59068 --with-build-libsubdir=$(HOST_SUBDIR) \
59069 $(STAGEautofeedback_CONFIGURE_FLAGS)
59070 @endif target-libgomp-bootstrap
59071
59072
59073
59074
59075
59076 .PHONY: all-target-libgomp maybe-all-target-libgomp
59077 maybe-all-target-libgomp:
59078 @if gcc-bootstrap
59079 all-target-libgomp: stage_current
59080 @endif gcc-bootstrap
59081 @if target-libgomp
59082 TARGET-target-libgomp=all
59083 maybe-all-target-libgomp: all-target-libgomp
59084 all-target-libgomp: configure-target-libgomp
59085 @r=`${PWD_COMMAND}`; export r; \
59086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59087 $(NORMAL_TARGET_EXPORTS) \
59088 (cd $(TARGET_SUBDIR)/libgomp && \
59089 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
59090 $(TARGET-target-libgomp))
59091 @endif target-libgomp
59092
59093
59094
59095 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
59096 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
59097 maybe-all-stage1-target-libgomp:
59098 maybe-clean-stage1-target-libgomp:
59099 @if target-libgomp-bootstrap
59100 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
59101 all-stage1: all-stage1-target-libgomp
59102 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
59103 all-stage1-target-libgomp: configure-stage1-target-libgomp
59104 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
59105 @r=`${PWD_COMMAND}`; export r; \
59106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59107 TFLAGS="$(STAGE1_TFLAGS)"; \
59108 $(NORMAL_TARGET_EXPORTS) \
59109 cd $(TARGET_SUBDIR)/libgomp && \
59110 \
59111 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59112 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59113 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59114 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59115 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59116 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59117 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59118 $(EXTRA_TARGET_FLAGS) \
59119 \
59120 TFLAGS="$(STAGE1_TFLAGS)" \
59121 $(TARGET-stage1-target-libgomp)
59122
59123 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
59124 clean-stage1: clean-stage1-target-libgomp
59125 clean-stage1-target-libgomp:
59126 @if [ $(current_stage) = stage1 ]; then \
59127 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59128 else \
59129 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
59130 $(MAKE) stage1-start; \
59131 fi; \
59132 cd $(TARGET_SUBDIR)/libgomp && \
59133 $(MAKE) $(EXTRA_TARGET_FLAGS) \
59134 clean
59135 @endif target-libgomp-bootstrap
59136
59137
59138 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
59139 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
59140 maybe-all-stage2-target-libgomp:
59141 maybe-clean-stage2-target-libgomp:
59142 @if target-libgomp-bootstrap
59143 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
59144 all-stage2: all-stage2-target-libgomp
59145 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
59146 all-stage2-target-libgomp: configure-stage2-target-libgomp
59147 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
59148 @r=`${PWD_COMMAND}`; export r; \
59149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59150 TFLAGS="$(STAGE2_TFLAGS)"; \
59151 $(NORMAL_TARGET_EXPORTS) \
59152 \
59153 cd $(TARGET_SUBDIR)/libgomp && \
59154 \
59155 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59156 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59157 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59158 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59159 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59160 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59161 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59162 $(EXTRA_TARGET_FLAGS) \
59163 TFLAGS="$(STAGE2_TFLAGS)" \
59164 $(TARGET-stage2-target-libgomp)
59165
59166 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
59167 clean-stage2: clean-stage2-target-libgomp
59168 clean-stage2-target-libgomp:
59169 @if [ $(current_stage) = stage2 ]; then \
59170 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59171 else \
59172 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
59173 $(MAKE) stage2-start; \
59174 fi; \
59175 cd $(TARGET_SUBDIR)/libgomp && \
59176 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59177 @endif target-libgomp-bootstrap
59178
59179
59180 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
59181 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
59182 maybe-all-stage3-target-libgomp:
59183 maybe-clean-stage3-target-libgomp:
59184 @if target-libgomp-bootstrap
59185 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
59186 all-stage3: all-stage3-target-libgomp
59187 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
59188 all-stage3-target-libgomp: configure-stage3-target-libgomp
59189 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
59190 @r=`${PWD_COMMAND}`; export r; \
59191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59192 TFLAGS="$(STAGE3_TFLAGS)"; \
59193 $(NORMAL_TARGET_EXPORTS) \
59194 \
59195 cd $(TARGET_SUBDIR)/libgomp && \
59196 \
59197 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59198 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59200 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59201 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59202 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59203 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59204 $(EXTRA_TARGET_FLAGS) \
59205 TFLAGS="$(STAGE3_TFLAGS)" \
59206 $(TARGET-stage3-target-libgomp)
59207
59208 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
59209 clean-stage3: clean-stage3-target-libgomp
59210 clean-stage3-target-libgomp:
59211 @if [ $(current_stage) = stage3 ]; then \
59212 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59213 else \
59214 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
59215 $(MAKE) stage3-start; \
59216 fi; \
59217 cd $(TARGET_SUBDIR)/libgomp && \
59218 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59219 @endif target-libgomp-bootstrap
59220
59221
59222 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
59223 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
59224 maybe-all-stage4-target-libgomp:
59225 maybe-clean-stage4-target-libgomp:
59226 @if target-libgomp-bootstrap
59227 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
59228 all-stage4: all-stage4-target-libgomp
59229 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
59230 all-stage4-target-libgomp: configure-stage4-target-libgomp
59231 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
59232 @r=`${PWD_COMMAND}`; export r; \
59233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59234 TFLAGS="$(STAGE4_TFLAGS)"; \
59235 $(NORMAL_TARGET_EXPORTS) \
59236 \
59237 cd $(TARGET_SUBDIR)/libgomp && \
59238 \
59239 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59240 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59241 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59242 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59243 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59244 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59245 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59246 $(EXTRA_TARGET_FLAGS) \
59247 TFLAGS="$(STAGE4_TFLAGS)" \
59248 $(TARGET-stage4-target-libgomp)
59249
59250 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
59251 clean-stage4: clean-stage4-target-libgomp
59252 clean-stage4-target-libgomp:
59253 @if [ $(current_stage) = stage4 ]; then \
59254 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59255 else \
59256 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
59257 $(MAKE) stage4-start; \
59258 fi; \
59259 cd $(TARGET_SUBDIR)/libgomp && \
59260 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59261 @endif target-libgomp-bootstrap
59262
59263
59264 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
59265 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
59266 maybe-all-stageprofile-target-libgomp:
59267 maybe-clean-stageprofile-target-libgomp:
59268 @if target-libgomp-bootstrap
59269 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
59270 all-stageprofile: all-stageprofile-target-libgomp
59271 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
59272 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
59273 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
59274 @r=`${PWD_COMMAND}`; export r; \
59275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59276 TFLAGS="$(STAGEprofile_TFLAGS)"; \
59277 $(NORMAL_TARGET_EXPORTS) \
59278 \
59279 cd $(TARGET_SUBDIR)/libgomp && \
59280 \
59281 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59282 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59283 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59284 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59285 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59286 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59287 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59288 $(EXTRA_TARGET_FLAGS) \
59289 TFLAGS="$(STAGEprofile_TFLAGS)" \
59290 $(TARGET-stageprofile-target-libgomp)
59291
59292 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
59293 clean-stageprofile: clean-stageprofile-target-libgomp
59294 clean-stageprofile-target-libgomp:
59295 @if [ $(current_stage) = stageprofile ]; then \
59296 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59297 else \
59298 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
59299 $(MAKE) stageprofile-start; \
59300 fi; \
59301 cd $(TARGET_SUBDIR)/libgomp && \
59302 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59303 @endif target-libgomp-bootstrap
59304
59305
59306 .PHONY: all-stagetrain-target-libgomp maybe-all-stagetrain-target-libgomp
59307 .PHONY: clean-stagetrain-target-libgomp maybe-clean-stagetrain-target-libgomp
59308 maybe-all-stagetrain-target-libgomp:
59309 maybe-clean-stagetrain-target-libgomp:
59310 @if target-libgomp-bootstrap
59311 maybe-all-stagetrain-target-libgomp: all-stagetrain-target-libgomp
59312 all-stagetrain: all-stagetrain-target-libgomp
59313 TARGET-stagetrain-target-libgomp = $(TARGET-target-libgomp)
59314 all-stagetrain-target-libgomp: configure-stagetrain-target-libgomp
59315 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
59316 @r=`${PWD_COMMAND}`; export r; \
59317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59318 TFLAGS="$(STAGEtrain_TFLAGS)"; \
59319 $(NORMAL_TARGET_EXPORTS) \
59320 \
59321 cd $(TARGET_SUBDIR)/libgomp && \
59322 \
59323 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59324 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59325 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59326 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59327 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59328 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59329 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59330 $(EXTRA_TARGET_FLAGS) \
59331 TFLAGS="$(STAGEtrain_TFLAGS)" \
59332 $(TARGET-stagetrain-target-libgomp)
59333
59334 maybe-clean-stagetrain-target-libgomp: clean-stagetrain-target-libgomp
59335 clean-stagetrain: clean-stagetrain-target-libgomp
59336 clean-stagetrain-target-libgomp:
59337 @if [ $(current_stage) = stagetrain ]; then \
59338 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59339 else \
59340 [ -f $(TARGET_SUBDIR)/stagetrain-libgomp/Makefile ] || exit 0; \
59341 $(MAKE) stagetrain-start; \
59342 fi; \
59343 cd $(TARGET_SUBDIR)/libgomp && \
59344 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59345 @endif target-libgomp-bootstrap
59346
59347
59348 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
59349 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
59350 maybe-all-stagefeedback-target-libgomp:
59351 maybe-clean-stagefeedback-target-libgomp:
59352 @if target-libgomp-bootstrap
59353 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
59354 all-stagefeedback: all-stagefeedback-target-libgomp
59355 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
59356 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
59357 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
59358 @r=`${PWD_COMMAND}`; export r; \
59359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59360 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
59361 $(NORMAL_TARGET_EXPORTS) \
59362 \
59363 cd $(TARGET_SUBDIR)/libgomp && \
59364 \
59365 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59366 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59367 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59368 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59369 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59370 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59371 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59372 $(EXTRA_TARGET_FLAGS) \
59373 TFLAGS="$(STAGEfeedback_TFLAGS)" \
59374 $(TARGET-stagefeedback-target-libgomp)
59375
59376 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
59377 clean-stagefeedback: clean-stagefeedback-target-libgomp
59378 clean-stagefeedback-target-libgomp:
59379 @if [ $(current_stage) = stagefeedback ]; then \
59380 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59381 else \
59382 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
59383 $(MAKE) stagefeedback-start; \
59384 fi; \
59385 cd $(TARGET_SUBDIR)/libgomp && \
59386 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59387 @endif target-libgomp-bootstrap
59388
59389
59390 .PHONY: all-stageautoprofile-target-libgomp maybe-all-stageautoprofile-target-libgomp
59391 .PHONY: clean-stageautoprofile-target-libgomp maybe-clean-stageautoprofile-target-libgomp
59392 maybe-all-stageautoprofile-target-libgomp:
59393 maybe-clean-stageautoprofile-target-libgomp:
59394 @if target-libgomp-bootstrap
59395 maybe-all-stageautoprofile-target-libgomp: all-stageautoprofile-target-libgomp
59396 all-stageautoprofile: all-stageautoprofile-target-libgomp
59397 TARGET-stageautoprofile-target-libgomp = $(TARGET-target-libgomp)
59398 all-stageautoprofile-target-libgomp: configure-stageautoprofile-target-libgomp
59399 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
59400 @r=`${PWD_COMMAND}`; export r; \
59401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59402 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
59403 $(NORMAL_TARGET_EXPORTS) \
59404 \
59405 cd $(TARGET_SUBDIR)/libgomp && \
59406 $$s/gcc/config/i386/$(AUTO_PROFILE) \
59407 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59408 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59409 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59410 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59411 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59412 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59413 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59414 $(EXTRA_TARGET_FLAGS) \
59415 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
59416 $(TARGET-stageautoprofile-target-libgomp)
59417
59418 maybe-clean-stageautoprofile-target-libgomp: clean-stageautoprofile-target-libgomp
59419 clean-stageautoprofile: clean-stageautoprofile-target-libgomp
59420 clean-stageautoprofile-target-libgomp:
59421 @if [ $(current_stage) = stageautoprofile ]; then \
59422 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59423 else \
59424 [ -f $(TARGET_SUBDIR)/stageautoprofile-libgomp/Makefile ] || exit 0; \
59425 $(MAKE) stageautoprofile-start; \
59426 fi; \
59427 cd $(TARGET_SUBDIR)/libgomp && \
59428 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59429 @endif target-libgomp-bootstrap
59430
59431
59432 .PHONY: all-stageautofeedback-target-libgomp maybe-all-stageautofeedback-target-libgomp
59433 .PHONY: clean-stageautofeedback-target-libgomp maybe-clean-stageautofeedback-target-libgomp
59434 maybe-all-stageautofeedback-target-libgomp:
59435 maybe-clean-stageautofeedback-target-libgomp:
59436 @if target-libgomp-bootstrap
59437 maybe-all-stageautofeedback-target-libgomp: all-stageautofeedback-target-libgomp
59438 all-stageautofeedback: all-stageautofeedback-target-libgomp
59439 TARGET-stageautofeedback-target-libgomp = $(TARGET-target-libgomp)
59440 all-stageautofeedback-target-libgomp: configure-stageautofeedback-target-libgomp
59441 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
59442 @r=`${PWD_COMMAND}`; export r; \
59443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59444 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
59445 $(NORMAL_TARGET_EXPORTS) \
59446 \
59447 cd $(TARGET_SUBDIR)/libgomp && \
59448 \
59449 $(MAKE) $(BASE_FLAGS_TO_PASS) \
59450 CFLAGS="$(CFLAGS_FOR_TARGET)" \
59451 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
59452 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
59453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
59454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
59455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
59456 $(EXTRA_TARGET_FLAGS) \
59457 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
59458 $(TARGET-stageautofeedback-target-libgomp)
59459
59460 maybe-clean-stageautofeedback-target-libgomp: clean-stageautofeedback-target-libgomp
59461 clean-stageautofeedback: clean-stageautofeedback-target-libgomp
59462 clean-stageautofeedback-target-libgomp:
59463 @if [ $(current_stage) = stageautofeedback ]; then \
59464 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59465 else \
59466 [ -f $(TARGET_SUBDIR)/stageautofeedback-libgomp/Makefile ] || exit 0; \
59467 $(MAKE) stageautofeedback-start; \
59468 fi; \
59469 cd $(TARGET_SUBDIR)/libgomp && \
59470 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
59471 @endif target-libgomp-bootstrap
59472
59473
59474
59475
59476
59477
59478 .PHONY: check-target-libgomp maybe-check-target-libgomp
59479 maybe-check-target-libgomp:
59480 @if target-libgomp
59481 maybe-check-target-libgomp: check-target-libgomp
59482
59483 check-target-libgomp:
59484 @: $(MAKE); $(unstage)
59485 @r=`${PWD_COMMAND}`; export r; \
59486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59487 $(NORMAL_TARGET_EXPORTS) \
59488 (cd $(TARGET_SUBDIR)/libgomp && \
59489 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
59490
59491 @endif target-libgomp
59492
59493 .PHONY: install-target-libgomp maybe-install-target-libgomp
59494 maybe-install-target-libgomp:
59495 @if target-libgomp
59496 maybe-install-target-libgomp: install-target-libgomp
59497
59498 install-target-libgomp: installdirs
59499 @: $(MAKE); $(unstage)
59500 @r=`${PWD_COMMAND}`; export r; \
59501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59502 $(NORMAL_TARGET_EXPORTS) \
59503 (cd $(TARGET_SUBDIR)/libgomp && \
59504 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
59505
59506 @endif target-libgomp
59507
59508 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
59509 maybe-install-strip-target-libgomp:
59510 @if target-libgomp
59511 maybe-install-strip-target-libgomp: install-strip-target-libgomp
59512
59513 install-strip-target-libgomp: installdirs
59514 @: $(MAKE); $(unstage)
59515 @r=`${PWD_COMMAND}`; export r; \
59516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59517 $(NORMAL_TARGET_EXPORTS) \
59518 (cd $(TARGET_SUBDIR)/libgomp && \
59519 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
59520
59521 @endif target-libgomp
59522
59523 # Other targets (info, dvi, pdf, etc.)
59524
59525 .PHONY: maybe-info-target-libgomp info-target-libgomp
59526 maybe-info-target-libgomp:
59527 @if target-libgomp
59528 maybe-info-target-libgomp: info-target-libgomp
59529
59530 info-target-libgomp: \
59531 configure-target-libgomp
59532 @: $(MAKE); $(unstage)
59533 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59534 r=`${PWD_COMMAND}`; export r; \
59535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59536 $(NORMAL_TARGET_EXPORTS) \
59537 echo "Doing info in $(TARGET_SUBDIR)/libgomp"; \
59538 for flag in $(EXTRA_TARGET_FLAGS); do \
59539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59540 done; \
59541 (cd $(TARGET_SUBDIR)/libgomp && \
59542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59544 "RANLIB=$${RANLIB}" \
59545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59546 info) \
59547 || exit 1
59548
59549 @endif target-libgomp
59550
59551 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
59552 maybe-dvi-target-libgomp:
59553 @if target-libgomp
59554 maybe-dvi-target-libgomp: dvi-target-libgomp
59555
59556 dvi-target-libgomp: \
59557 configure-target-libgomp
59558 @: $(MAKE); $(unstage)
59559 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59560 r=`${PWD_COMMAND}`; export r; \
59561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59562 $(NORMAL_TARGET_EXPORTS) \
59563 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp"; \
59564 for flag in $(EXTRA_TARGET_FLAGS); do \
59565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59566 done; \
59567 (cd $(TARGET_SUBDIR)/libgomp && \
59568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59570 "RANLIB=$${RANLIB}" \
59571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59572 dvi) \
59573 || exit 1
59574
59575 @endif target-libgomp
59576
59577 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
59578 maybe-pdf-target-libgomp:
59579 @if target-libgomp
59580 maybe-pdf-target-libgomp: pdf-target-libgomp
59581
59582 pdf-target-libgomp: \
59583 configure-target-libgomp
59584 @: $(MAKE); $(unstage)
59585 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59586 r=`${PWD_COMMAND}`; export r; \
59587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59588 $(NORMAL_TARGET_EXPORTS) \
59589 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp"; \
59590 for flag in $(EXTRA_TARGET_FLAGS); do \
59591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59592 done; \
59593 (cd $(TARGET_SUBDIR)/libgomp && \
59594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59596 "RANLIB=$${RANLIB}" \
59597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59598 pdf) \
59599 || exit 1
59600
59601 @endif target-libgomp
59602
59603 .PHONY: maybe-html-target-libgomp html-target-libgomp
59604 maybe-html-target-libgomp:
59605 @if target-libgomp
59606 maybe-html-target-libgomp: html-target-libgomp
59607
59608 html-target-libgomp: \
59609 configure-target-libgomp
59610 @: $(MAKE); $(unstage)
59611 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59612 r=`${PWD_COMMAND}`; export r; \
59613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59614 $(NORMAL_TARGET_EXPORTS) \
59615 echo "Doing html in $(TARGET_SUBDIR)/libgomp"; \
59616 for flag in $(EXTRA_TARGET_FLAGS); do \
59617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59618 done; \
59619 (cd $(TARGET_SUBDIR)/libgomp && \
59620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59622 "RANLIB=$${RANLIB}" \
59623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59624 html) \
59625 || exit 1
59626
59627 @endif target-libgomp
59628
59629 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
59630 maybe-TAGS-target-libgomp:
59631 @if target-libgomp
59632 maybe-TAGS-target-libgomp: TAGS-target-libgomp
59633
59634 TAGS-target-libgomp: \
59635 configure-target-libgomp
59636 @: $(MAKE); $(unstage)
59637 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59638 r=`${PWD_COMMAND}`; export r; \
59639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59640 $(NORMAL_TARGET_EXPORTS) \
59641 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp"; \
59642 for flag in $(EXTRA_TARGET_FLAGS); do \
59643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59644 done; \
59645 (cd $(TARGET_SUBDIR)/libgomp && \
59646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59648 "RANLIB=$${RANLIB}" \
59649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59650 TAGS) \
59651 || exit 1
59652
59653 @endif target-libgomp
59654
59655 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
59656 maybe-install-info-target-libgomp:
59657 @if target-libgomp
59658 maybe-install-info-target-libgomp: install-info-target-libgomp
59659
59660 install-info-target-libgomp: \
59661 configure-target-libgomp \
59662 info-target-libgomp
59663 @: $(MAKE); $(unstage)
59664 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59665 r=`${PWD_COMMAND}`; export r; \
59666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59667 $(NORMAL_TARGET_EXPORTS) \
59668 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp"; \
59669 for flag in $(EXTRA_TARGET_FLAGS); do \
59670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59671 done; \
59672 (cd $(TARGET_SUBDIR)/libgomp && \
59673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59675 "RANLIB=$${RANLIB}" \
59676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59677 install-info) \
59678 || exit 1
59679
59680 @endif target-libgomp
59681
59682 .PHONY: maybe-install-dvi-target-libgomp install-dvi-target-libgomp
59683 maybe-install-dvi-target-libgomp:
59684 @if target-libgomp
59685 maybe-install-dvi-target-libgomp: install-dvi-target-libgomp
59686
59687 install-dvi-target-libgomp: \
59688 configure-target-libgomp \
59689 dvi-target-libgomp
59690 @: $(MAKE); $(unstage)
59691 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59692 r=`${PWD_COMMAND}`; export r; \
59693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59694 $(NORMAL_TARGET_EXPORTS) \
59695 echo "Doing install-dvi in $(TARGET_SUBDIR)/libgomp"; \
59696 for flag in $(EXTRA_TARGET_FLAGS); do \
59697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59698 done; \
59699 (cd $(TARGET_SUBDIR)/libgomp && \
59700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59702 "RANLIB=$${RANLIB}" \
59703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59704 install-dvi) \
59705 || exit 1
59706
59707 @endif target-libgomp
59708
59709 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
59710 maybe-install-pdf-target-libgomp:
59711 @if target-libgomp
59712 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
59713
59714 install-pdf-target-libgomp: \
59715 configure-target-libgomp \
59716 pdf-target-libgomp
59717 @: $(MAKE); $(unstage)
59718 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59719 r=`${PWD_COMMAND}`; export r; \
59720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59721 $(NORMAL_TARGET_EXPORTS) \
59722 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp"; \
59723 for flag in $(EXTRA_TARGET_FLAGS); do \
59724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59725 done; \
59726 (cd $(TARGET_SUBDIR)/libgomp && \
59727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59729 "RANLIB=$${RANLIB}" \
59730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59731 install-pdf) \
59732 || exit 1
59733
59734 @endif target-libgomp
59735
59736 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
59737 maybe-install-html-target-libgomp:
59738 @if target-libgomp
59739 maybe-install-html-target-libgomp: install-html-target-libgomp
59740
59741 install-html-target-libgomp: \
59742 configure-target-libgomp \
59743 html-target-libgomp
59744 @: $(MAKE); $(unstage)
59745 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59746 r=`${PWD_COMMAND}`; export r; \
59747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59748 $(NORMAL_TARGET_EXPORTS) \
59749 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp"; \
59750 for flag in $(EXTRA_TARGET_FLAGS); do \
59751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59752 done; \
59753 (cd $(TARGET_SUBDIR)/libgomp && \
59754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59756 "RANLIB=$${RANLIB}" \
59757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59758 install-html) \
59759 || exit 1
59760
59761 @endif target-libgomp
59762
59763 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
59764 maybe-installcheck-target-libgomp:
59765 @if target-libgomp
59766 maybe-installcheck-target-libgomp: installcheck-target-libgomp
59767
59768 installcheck-target-libgomp: \
59769 configure-target-libgomp
59770 @: $(MAKE); $(unstage)
59771 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59772 r=`${PWD_COMMAND}`; export r; \
59773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59774 $(NORMAL_TARGET_EXPORTS) \
59775 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp"; \
59776 for flag in $(EXTRA_TARGET_FLAGS); do \
59777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59778 done; \
59779 (cd $(TARGET_SUBDIR)/libgomp && \
59780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59782 "RANLIB=$${RANLIB}" \
59783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59784 installcheck) \
59785 || exit 1
59786
59787 @endif target-libgomp
59788
59789 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
59790 maybe-mostlyclean-target-libgomp:
59791 @if target-libgomp
59792 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
59793
59794 mostlyclean-target-libgomp:
59795 @: $(MAKE); $(unstage)
59796 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59797 r=`${PWD_COMMAND}`; export r; \
59798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59799 $(NORMAL_TARGET_EXPORTS) \
59800 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp"; \
59801 for flag in $(EXTRA_TARGET_FLAGS); do \
59802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59803 done; \
59804 (cd $(TARGET_SUBDIR)/libgomp && \
59805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59807 "RANLIB=$${RANLIB}" \
59808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59809 mostlyclean) \
59810 || exit 1
59811
59812 @endif target-libgomp
59813
59814 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
59815 maybe-clean-target-libgomp:
59816 @if target-libgomp
59817 maybe-clean-target-libgomp: clean-target-libgomp
59818
59819 clean-target-libgomp:
59820 @: $(MAKE); $(unstage)
59821 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59822 r=`${PWD_COMMAND}`; export r; \
59823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59824 $(NORMAL_TARGET_EXPORTS) \
59825 echo "Doing clean in $(TARGET_SUBDIR)/libgomp"; \
59826 for flag in $(EXTRA_TARGET_FLAGS); do \
59827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59828 done; \
59829 (cd $(TARGET_SUBDIR)/libgomp && \
59830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59832 "RANLIB=$${RANLIB}" \
59833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59834 clean) \
59835 || exit 1
59836
59837 @endif target-libgomp
59838
59839 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
59840 maybe-distclean-target-libgomp:
59841 @if target-libgomp
59842 maybe-distclean-target-libgomp: distclean-target-libgomp
59843
59844 distclean-target-libgomp:
59845 @: $(MAKE); $(unstage)
59846 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59847 r=`${PWD_COMMAND}`; export r; \
59848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59849 $(NORMAL_TARGET_EXPORTS) \
59850 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp"; \
59851 for flag in $(EXTRA_TARGET_FLAGS); do \
59852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59853 done; \
59854 (cd $(TARGET_SUBDIR)/libgomp && \
59855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59857 "RANLIB=$${RANLIB}" \
59858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59859 distclean) \
59860 || exit 1
59861
59862 @endif target-libgomp
59863
59864 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
59865 maybe-maintainer-clean-target-libgomp:
59866 @if target-libgomp
59867 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
59868
59869 maintainer-clean-target-libgomp:
59870 @: $(MAKE); $(unstage)
59871 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
59872 r=`${PWD_COMMAND}`; export r; \
59873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59874 $(NORMAL_TARGET_EXPORTS) \
59875 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp"; \
59876 for flag in $(EXTRA_TARGET_FLAGS); do \
59877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
59878 done; \
59879 (cd $(TARGET_SUBDIR)/libgomp && \
59880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
59881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
59882 "RANLIB=$${RANLIB}" \
59883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
59884 maintainer-clean) \
59885 || exit 1
59886
59887 @endif target-libgomp
59888
59889
59890
59891
59892
59893 .PHONY: configure-target-libitm maybe-configure-target-libitm
59894 maybe-configure-target-libitm:
59895 @if gcc-bootstrap
59896 configure-target-libitm: stage_current
59897 @endif gcc-bootstrap
59898 @if target-libitm
59899 maybe-configure-target-libitm: configure-target-libitm
59900 configure-target-libitm:
59901 @: $(MAKE); $(unstage)
59902 @r=`${PWD_COMMAND}`; export r; \
59903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59904 echo "Checking multilib configuration for libitm..."; \
59905 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
59906 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null; \
59907 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
59908 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
59909 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
59910 else \
59911 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
59912 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
59913 fi; \
59914 else \
59915 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
59916 fi; \
59917 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
59918 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm; \
59919 $(NORMAL_TARGET_EXPORTS) \
59920 echo Configuring in $(TARGET_SUBDIR)/libitm; \
59921 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
59922 case $(srcdir) in \
59923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
59924 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
59925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
59926 esac; \
59927 module_srcdir=libitm; \
59928 rm -f no-such-file || : ; \
59929 CONFIG_SITE=no-such-file $(SHELL) \
59930 $$s/$$module_srcdir/configure \
59931 --srcdir=$${topdir}/$$module_srcdir \
59932 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
59933 --target=${target_alias} \
59934 || exit 1
59935 @endif target-libitm
59936
59937
59938
59939
59940
59941 .PHONY: all-target-libitm maybe-all-target-libitm
59942 maybe-all-target-libitm:
59943 @if gcc-bootstrap
59944 all-target-libitm: stage_current
59945 @endif gcc-bootstrap
59946 @if target-libitm
59947 TARGET-target-libitm=all
59948 maybe-all-target-libitm: all-target-libitm
59949 all-target-libitm: configure-target-libitm
59950 @: $(MAKE); $(unstage)
59951 @r=`${PWD_COMMAND}`; export r; \
59952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59953 $(NORMAL_TARGET_EXPORTS) \
59954 (cd $(TARGET_SUBDIR)/libitm && \
59955 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
59956 $(TARGET-target-libitm))
59957 @endif target-libitm
59958
59959
59960
59961
59962
59963 .PHONY: check-target-libitm maybe-check-target-libitm
59964 maybe-check-target-libitm:
59965 @if target-libitm
59966 maybe-check-target-libitm: check-target-libitm
59967
59968 check-target-libitm:
59969 @: $(MAKE); $(unstage)
59970 @r=`${PWD_COMMAND}`; export r; \
59971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59972 $(NORMAL_TARGET_EXPORTS) \
59973 (cd $(TARGET_SUBDIR)/libitm && \
59974 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
59975
59976 @endif target-libitm
59977
59978 .PHONY: install-target-libitm maybe-install-target-libitm
59979 maybe-install-target-libitm:
59980 @if target-libitm
59981 maybe-install-target-libitm: install-target-libitm
59982
59983 install-target-libitm: installdirs
59984 @: $(MAKE); $(unstage)
59985 @r=`${PWD_COMMAND}`; export r; \
59986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
59987 $(NORMAL_TARGET_EXPORTS) \
59988 (cd $(TARGET_SUBDIR)/libitm && \
59989 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
59990
59991 @endif target-libitm
59992
59993 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
59994 maybe-install-strip-target-libitm:
59995 @if target-libitm
59996 maybe-install-strip-target-libitm: install-strip-target-libitm
59997
59998 install-strip-target-libitm: installdirs
59999 @: $(MAKE); $(unstage)
60000 @r=`${PWD_COMMAND}`; export r; \
60001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60002 $(NORMAL_TARGET_EXPORTS) \
60003 (cd $(TARGET_SUBDIR)/libitm && \
60004 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
60005
60006 @endif target-libitm
60007
60008 # Other targets (info, dvi, pdf, etc.)
60009
60010 .PHONY: maybe-info-target-libitm info-target-libitm
60011 maybe-info-target-libitm:
60012 @if target-libitm
60013 maybe-info-target-libitm: info-target-libitm
60014
60015 info-target-libitm: \
60016 configure-target-libitm
60017 @: $(MAKE); $(unstage)
60018 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60019 r=`${PWD_COMMAND}`; export r; \
60020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60021 $(NORMAL_TARGET_EXPORTS) \
60022 echo "Doing info in $(TARGET_SUBDIR)/libitm"; \
60023 for flag in $(EXTRA_TARGET_FLAGS); do \
60024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60025 done; \
60026 (cd $(TARGET_SUBDIR)/libitm && \
60027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60029 "RANLIB=$${RANLIB}" \
60030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60031 info) \
60032 || exit 1
60033
60034 @endif target-libitm
60035
60036 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
60037 maybe-dvi-target-libitm:
60038 @if target-libitm
60039 maybe-dvi-target-libitm: dvi-target-libitm
60040
60041 dvi-target-libitm: \
60042 configure-target-libitm
60043 @: $(MAKE); $(unstage)
60044 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60045 r=`${PWD_COMMAND}`; export r; \
60046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60047 $(NORMAL_TARGET_EXPORTS) \
60048 echo "Doing dvi in $(TARGET_SUBDIR)/libitm"; \
60049 for flag in $(EXTRA_TARGET_FLAGS); do \
60050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60051 done; \
60052 (cd $(TARGET_SUBDIR)/libitm && \
60053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60055 "RANLIB=$${RANLIB}" \
60056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60057 dvi) \
60058 || exit 1
60059
60060 @endif target-libitm
60061
60062 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
60063 maybe-pdf-target-libitm:
60064 @if target-libitm
60065 maybe-pdf-target-libitm: pdf-target-libitm
60066
60067 pdf-target-libitm: \
60068 configure-target-libitm
60069 @: $(MAKE); $(unstage)
60070 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60071 r=`${PWD_COMMAND}`; export r; \
60072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60073 $(NORMAL_TARGET_EXPORTS) \
60074 echo "Doing pdf in $(TARGET_SUBDIR)/libitm"; \
60075 for flag in $(EXTRA_TARGET_FLAGS); do \
60076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60077 done; \
60078 (cd $(TARGET_SUBDIR)/libitm && \
60079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60081 "RANLIB=$${RANLIB}" \
60082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60083 pdf) \
60084 || exit 1
60085
60086 @endif target-libitm
60087
60088 .PHONY: maybe-html-target-libitm html-target-libitm
60089 maybe-html-target-libitm:
60090 @if target-libitm
60091 maybe-html-target-libitm: html-target-libitm
60092
60093 html-target-libitm: \
60094 configure-target-libitm
60095 @: $(MAKE); $(unstage)
60096 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60097 r=`${PWD_COMMAND}`; export r; \
60098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60099 $(NORMAL_TARGET_EXPORTS) \
60100 echo "Doing html in $(TARGET_SUBDIR)/libitm"; \
60101 for flag in $(EXTRA_TARGET_FLAGS); do \
60102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60103 done; \
60104 (cd $(TARGET_SUBDIR)/libitm && \
60105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60107 "RANLIB=$${RANLIB}" \
60108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60109 html) \
60110 || exit 1
60111
60112 @endif target-libitm
60113
60114 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
60115 maybe-TAGS-target-libitm:
60116 @if target-libitm
60117 maybe-TAGS-target-libitm: TAGS-target-libitm
60118
60119 TAGS-target-libitm: \
60120 configure-target-libitm
60121 @: $(MAKE); $(unstage)
60122 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60123 r=`${PWD_COMMAND}`; export r; \
60124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60125 $(NORMAL_TARGET_EXPORTS) \
60126 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm"; \
60127 for flag in $(EXTRA_TARGET_FLAGS); do \
60128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60129 done; \
60130 (cd $(TARGET_SUBDIR)/libitm && \
60131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60133 "RANLIB=$${RANLIB}" \
60134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60135 TAGS) \
60136 || exit 1
60137
60138 @endif target-libitm
60139
60140 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
60141 maybe-install-info-target-libitm:
60142 @if target-libitm
60143 maybe-install-info-target-libitm: install-info-target-libitm
60144
60145 install-info-target-libitm: \
60146 configure-target-libitm \
60147 info-target-libitm
60148 @: $(MAKE); $(unstage)
60149 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60150 r=`${PWD_COMMAND}`; export r; \
60151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60152 $(NORMAL_TARGET_EXPORTS) \
60153 echo "Doing install-info in $(TARGET_SUBDIR)/libitm"; \
60154 for flag in $(EXTRA_TARGET_FLAGS); do \
60155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60156 done; \
60157 (cd $(TARGET_SUBDIR)/libitm && \
60158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60160 "RANLIB=$${RANLIB}" \
60161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60162 install-info) \
60163 || exit 1
60164
60165 @endif target-libitm
60166
60167 .PHONY: maybe-install-dvi-target-libitm install-dvi-target-libitm
60168 maybe-install-dvi-target-libitm:
60169 @if target-libitm
60170 maybe-install-dvi-target-libitm: install-dvi-target-libitm
60171
60172 install-dvi-target-libitm: \
60173 configure-target-libitm \
60174 dvi-target-libitm
60175 @: $(MAKE); $(unstage)
60176 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60177 r=`${PWD_COMMAND}`; export r; \
60178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60179 $(NORMAL_TARGET_EXPORTS) \
60180 echo "Doing install-dvi in $(TARGET_SUBDIR)/libitm"; \
60181 for flag in $(EXTRA_TARGET_FLAGS); do \
60182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60183 done; \
60184 (cd $(TARGET_SUBDIR)/libitm && \
60185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60187 "RANLIB=$${RANLIB}" \
60188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60189 install-dvi) \
60190 || exit 1
60191
60192 @endif target-libitm
60193
60194 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
60195 maybe-install-pdf-target-libitm:
60196 @if target-libitm
60197 maybe-install-pdf-target-libitm: install-pdf-target-libitm
60198
60199 install-pdf-target-libitm: \
60200 configure-target-libitm \
60201 pdf-target-libitm
60202 @: $(MAKE); $(unstage)
60203 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60204 r=`${PWD_COMMAND}`; export r; \
60205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60206 $(NORMAL_TARGET_EXPORTS) \
60207 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm"; \
60208 for flag in $(EXTRA_TARGET_FLAGS); do \
60209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60210 done; \
60211 (cd $(TARGET_SUBDIR)/libitm && \
60212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60214 "RANLIB=$${RANLIB}" \
60215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60216 install-pdf) \
60217 || exit 1
60218
60219 @endif target-libitm
60220
60221 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
60222 maybe-install-html-target-libitm:
60223 @if target-libitm
60224 maybe-install-html-target-libitm: install-html-target-libitm
60225
60226 install-html-target-libitm: \
60227 configure-target-libitm \
60228 html-target-libitm
60229 @: $(MAKE); $(unstage)
60230 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60231 r=`${PWD_COMMAND}`; export r; \
60232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60233 $(NORMAL_TARGET_EXPORTS) \
60234 echo "Doing install-html in $(TARGET_SUBDIR)/libitm"; \
60235 for flag in $(EXTRA_TARGET_FLAGS); do \
60236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60237 done; \
60238 (cd $(TARGET_SUBDIR)/libitm && \
60239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60241 "RANLIB=$${RANLIB}" \
60242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60243 install-html) \
60244 || exit 1
60245
60246 @endif target-libitm
60247
60248 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
60249 maybe-installcheck-target-libitm:
60250 @if target-libitm
60251 maybe-installcheck-target-libitm: installcheck-target-libitm
60252
60253 installcheck-target-libitm: \
60254 configure-target-libitm
60255 @: $(MAKE); $(unstage)
60256 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60257 r=`${PWD_COMMAND}`; export r; \
60258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60259 $(NORMAL_TARGET_EXPORTS) \
60260 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm"; \
60261 for flag in $(EXTRA_TARGET_FLAGS); do \
60262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60263 done; \
60264 (cd $(TARGET_SUBDIR)/libitm && \
60265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60267 "RANLIB=$${RANLIB}" \
60268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60269 installcheck) \
60270 || exit 1
60271
60272 @endif target-libitm
60273
60274 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
60275 maybe-mostlyclean-target-libitm:
60276 @if target-libitm
60277 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
60278
60279 mostlyclean-target-libitm:
60280 @: $(MAKE); $(unstage)
60281 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60282 r=`${PWD_COMMAND}`; export r; \
60283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60284 $(NORMAL_TARGET_EXPORTS) \
60285 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm"; \
60286 for flag in $(EXTRA_TARGET_FLAGS); do \
60287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60288 done; \
60289 (cd $(TARGET_SUBDIR)/libitm && \
60290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60292 "RANLIB=$${RANLIB}" \
60293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60294 mostlyclean) \
60295 || exit 1
60296
60297 @endif target-libitm
60298
60299 .PHONY: maybe-clean-target-libitm clean-target-libitm
60300 maybe-clean-target-libitm:
60301 @if target-libitm
60302 maybe-clean-target-libitm: clean-target-libitm
60303
60304 clean-target-libitm:
60305 @: $(MAKE); $(unstage)
60306 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60307 r=`${PWD_COMMAND}`; export r; \
60308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60309 $(NORMAL_TARGET_EXPORTS) \
60310 echo "Doing clean in $(TARGET_SUBDIR)/libitm"; \
60311 for flag in $(EXTRA_TARGET_FLAGS); do \
60312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60313 done; \
60314 (cd $(TARGET_SUBDIR)/libitm && \
60315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60317 "RANLIB=$${RANLIB}" \
60318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60319 clean) \
60320 || exit 1
60321
60322 @endif target-libitm
60323
60324 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
60325 maybe-distclean-target-libitm:
60326 @if target-libitm
60327 maybe-distclean-target-libitm: distclean-target-libitm
60328
60329 distclean-target-libitm:
60330 @: $(MAKE); $(unstage)
60331 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60332 r=`${PWD_COMMAND}`; export r; \
60333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60334 $(NORMAL_TARGET_EXPORTS) \
60335 echo "Doing distclean in $(TARGET_SUBDIR)/libitm"; \
60336 for flag in $(EXTRA_TARGET_FLAGS); do \
60337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60338 done; \
60339 (cd $(TARGET_SUBDIR)/libitm && \
60340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60342 "RANLIB=$${RANLIB}" \
60343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60344 distclean) \
60345 || exit 1
60346
60347 @endif target-libitm
60348
60349 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
60350 maybe-maintainer-clean-target-libitm:
60351 @if target-libitm
60352 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
60353
60354 maintainer-clean-target-libitm:
60355 @: $(MAKE); $(unstage)
60356 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0; \
60357 r=`${PWD_COMMAND}`; export r; \
60358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60359 $(NORMAL_TARGET_EXPORTS) \
60360 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm"; \
60361 for flag in $(EXTRA_TARGET_FLAGS); do \
60362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
60363 done; \
60364 (cd $(TARGET_SUBDIR)/libitm && \
60365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
60366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
60367 "RANLIB=$${RANLIB}" \
60368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
60369 maintainer-clean) \
60370 || exit 1
60371
60372 @endif target-libitm
60373
60374
60375
60376
60377
60378 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
60379 maybe-configure-target-libatomic:
60380 @if gcc-bootstrap
60381 configure-target-libatomic: stage_current
60382 @endif gcc-bootstrap
60383 @if target-libatomic
60384 maybe-configure-target-libatomic: configure-target-libatomic
60385 configure-target-libatomic:
60386 @r=`${PWD_COMMAND}`; export r; \
60387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60388 echo "Checking multilib configuration for libatomic..."; \
60389 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60390 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60391 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60392 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60393 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60394 else \
60395 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60396 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60397 fi; \
60398 else \
60399 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60400 fi; \
60401 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60402 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60403 $(NORMAL_TARGET_EXPORTS) \
60404 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
60405 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
60406 case $(srcdir) in \
60407 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60408 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60409 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60410 esac; \
60411 module_srcdir=libatomic; \
60412 rm -f no-such-file || : ; \
60413 CONFIG_SITE=no-such-file $(SHELL) \
60414 $$s/$$module_srcdir/configure \
60415 --srcdir=$${topdir}/$$module_srcdir \
60416 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60417 --target=${target_alias} \
60418 || exit 1
60419 @endif target-libatomic
60420
60421
60422
60423 .PHONY: configure-stage1-target-libatomic maybe-configure-stage1-target-libatomic
60424 maybe-configure-stage1-target-libatomic:
60425 @if target-libatomic-bootstrap
60426 maybe-configure-stage1-target-libatomic: configure-stage1-target-libatomic
60427 configure-stage1-target-libatomic:
60428 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
60429 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60430 @r=`${PWD_COMMAND}`; export r; \
60431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60432 TFLAGS="$(STAGE1_TFLAGS)"; \
60433 echo "Checking multilib configuration for libatomic..."; \
60434 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60435 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60436 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60437 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60438 else \
60439 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60440 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60441 fi; \
60442 else \
60443 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60444 fi; \
60445 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60446 $(NORMAL_TARGET_EXPORTS) \
60447 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60448 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60449 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60450 echo Configuring stage 1 in $(TARGET_SUBDIR)/libatomic; \
60451 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60452 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60453 case $(srcdir) in \
60454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60455 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60457 esac; \
60458 module_srcdir=libatomic; \
60459 $(SHELL) $$s/$$module_srcdir/configure \
60460 --srcdir=$${topdir}/$$module_srcdir \
60461 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60462 --target=${target_alias} \
60463 \
60464 $(STAGE1_CONFIGURE_FLAGS)
60465 @endif target-libatomic-bootstrap
60466
60467 .PHONY: configure-stage2-target-libatomic maybe-configure-stage2-target-libatomic
60468 maybe-configure-stage2-target-libatomic:
60469 @if target-libatomic-bootstrap
60470 maybe-configure-stage2-target-libatomic: configure-stage2-target-libatomic
60471 configure-stage2-target-libatomic:
60472 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
60473 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60474 @r=`${PWD_COMMAND}`; export r; \
60475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60476 TFLAGS="$(STAGE2_TFLAGS)"; \
60477 echo "Checking multilib configuration for libatomic..."; \
60478 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60479 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60480 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60481 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60482 else \
60483 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60484 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60485 fi; \
60486 else \
60487 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60488 fi; \
60489 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60490 $(NORMAL_TARGET_EXPORTS) \
60491 \
60492 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60493 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60494 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60495 echo Configuring stage 2 in $(TARGET_SUBDIR)/libatomic; \
60496 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60497 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60498 case $(srcdir) in \
60499 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60500 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60501 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60502 esac; \
60503 module_srcdir=libatomic; \
60504 $(SHELL) $$s/$$module_srcdir/configure \
60505 --srcdir=$${topdir}/$$module_srcdir \
60506 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60507 --target=${target_alias} \
60508 --with-build-libsubdir=$(HOST_SUBDIR) \
60509 $(STAGE2_CONFIGURE_FLAGS)
60510 @endif target-libatomic-bootstrap
60511
60512 .PHONY: configure-stage3-target-libatomic maybe-configure-stage3-target-libatomic
60513 maybe-configure-stage3-target-libatomic:
60514 @if target-libatomic-bootstrap
60515 maybe-configure-stage3-target-libatomic: configure-stage3-target-libatomic
60516 configure-stage3-target-libatomic:
60517 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
60518 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60519 @r=`${PWD_COMMAND}`; export r; \
60520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60521 TFLAGS="$(STAGE3_TFLAGS)"; \
60522 echo "Checking multilib configuration for libatomic..."; \
60523 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60524 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60525 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60526 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60527 else \
60528 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60529 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60530 fi; \
60531 else \
60532 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60533 fi; \
60534 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60535 $(NORMAL_TARGET_EXPORTS) \
60536 \
60537 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60538 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60539 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60540 echo Configuring stage 3 in $(TARGET_SUBDIR)/libatomic; \
60541 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60542 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60543 case $(srcdir) in \
60544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60545 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60547 esac; \
60548 module_srcdir=libatomic; \
60549 $(SHELL) $$s/$$module_srcdir/configure \
60550 --srcdir=$${topdir}/$$module_srcdir \
60551 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60552 --target=${target_alias} \
60553 --with-build-libsubdir=$(HOST_SUBDIR) \
60554 $(STAGE3_CONFIGURE_FLAGS)
60555 @endif target-libatomic-bootstrap
60556
60557 .PHONY: configure-stage4-target-libatomic maybe-configure-stage4-target-libatomic
60558 maybe-configure-stage4-target-libatomic:
60559 @if target-libatomic-bootstrap
60560 maybe-configure-stage4-target-libatomic: configure-stage4-target-libatomic
60561 configure-stage4-target-libatomic:
60562 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
60563 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60564 @r=`${PWD_COMMAND}`; export r; \
60565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60566 TFLAGS="$(STAGE4_TFLAGS)"; \
60567 echo "Checking multilib configuration for libatomic..."; \
60568 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60569 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60570 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60571 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60572 else \
60573 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60574 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60575 fi; \
60576 else \
60577 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60578 fi; \
60579 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60580 $(NORMAL_TARGET_EXPORTS) \
60581 \
60582 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60583 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60584 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60585 echo Configuring stage 4 in $(TARGET_SUBDIR)/libatomic; \
60586 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60587 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60588 case $(srcdir) in \
60589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60590 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60592 esac; \
60593 module_srcdir=libatomic; \
60594 $(SHELL) $$s/$$module_srcdir/configure \
60595 --srcdir=$${topdir}/$$module_srcdir \
60596 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60597 --target=${target_alias} \
60598 --with-build-libsubdir=$(HOST_SUBDIR) \
60599 $(STAGE4_CONFIGURE_FLAGS)
60600 @endif target-libatomic-bootstrap
60601
60602 .PHONY: configure-stageprofile-target-libatomic maybe-configure-stageprofile-target-libatomic
60603 maybe-configure-stageprofile-target-libatomic:
60604 @if target-libatomic-bootstrap
60605 maybe-configure-stageprofile-target-libatomic: configure-stageprofile-target-libatomic
60606 configure-stageprofile-target-libatomic:
60607 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
60608 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60609 @r=`${PWD_COMMAND}`; export r; \
60610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60611 TFLAGS="$(STAGEprofile_TFLAGS)"; \
60612 echo "Checking multilib configuration for libatomic..."; \
60613 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60614 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60615 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60616 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60617 else \
60618 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60619 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60620 fi; \
60621 else \
60622 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60623 fi; \
60624 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60625 $(NORMAL_TARGET_EXPORTS) \
60626 \
60627 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60628 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60629 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60630 echo Configuring stage profile in $(TARGET_SUBDIR)/libatomic; \
60631 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60632 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60633 case $(srcdir) in \
60634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60635 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60637 esac; \
60638 module_srcdir=libatomic; \
60639 $(SHELL) $$s/$$module_srcdir/configure \
60640 --srcdir=$${topdir}/$$module_srcdir \
60641 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60642 --target=${target_alias} \
60643 --with-build-libsubdir=$(HOST_SUBDIR) \
60644 $(STAGEprofile_CONFIGURE_FLAGS)
60645 @endif target-libatomic-bootstrap
60646
60647 .PHONY: configure-stagetrain-target-libatomic maybe-configure-stagetrain-target-libatomic
60648 maybe-configure-stagetrain-target-libatomic:
60649 @if target-libatomic-bootstrap
60650 maybe-configure-stagetrain-target-libatomic: configure-stagetrain-target-libatomic
60651 configure-stagetrain-target-libatomic:
60652 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
60653 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60654 @r=`${PWD_COMMAND}`; export r; \
60655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60656 TFLAGS="$(STAGEtrain_TFLAGS)"; \
60657 echo "Checking multilib configuration for libatomic..."; \
60658 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60659 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60660 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60661 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60662 else \
60663 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60664 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60665 fi; \
60666 else \
60667 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60668 fi; \
60669 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60670 $(NORMAL_TARGET_EXPORTS) \
60671 \
60672 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60673 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60674 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60675 echo Configuring stage train in $(TARGET_SUBDIR)/libatomic; \
60676 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60677 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60678 case $(srcdir) in \
60679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60680 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60682 esac; \
60683 module_srcdir=libatomic; \
60684 $(SHELL) $$s/$$module_srcdir/configure \
60685 --srcdir=$${topdir}/$$module_srcdir \
60686 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60687 --target=${target_alias} \
60688 --with-build-libsubdir=$(HOST_SUBDIR) \
60689 $(STAGEtrain_CONFIGURE_FLAGS)
60690 @endif target-libatomic-bootstrap
60691
60692 .PHONY: configure-stagefeedback-target-libatomic maybe-configure-stagefeedback-target-libatomic
60693 maybe-configure-stagefeedback-target-libatomic:
60694 @if target-libatomic-bootstrap
60695 maybe-configure-stagefeedback-target-libatomic: configure-stagefeedback-target-libatomic
60696 configure-stagefeedback-target-libatomic:
60697 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
60698 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60699 @r=`${PWD_COMMAND}`; export r; \
60700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60701 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
60702 echo "Checking multilib configuration for libatomic..."; \
60703 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60704 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60705 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60706 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60707 else \
60708 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60709 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60710 fi; \
60711 else \
60712 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60713 fi; \
60714 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60715 $(NORMAL_TARGET_EXPORTS) \
60716 \
60717 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60718 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60719 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60720 echo Configuring stage feedback in $(TARGET_SUBDIR)/libatomic; \
60721 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60722 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60723 case $(srcdir) in \
60724 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60725 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60726 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60727 esac; \
60728 module_srcdir=libatomic; \
60729 $(SHELL) $$s/$$module_srcdir/configure \
60730 --srcdir=$${topdir}/$$module_srcdir \
60731 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60732 --target=${target_alias} \
60733 --with-build-libsubdir=$(HOST_SUBDIR) \
60734 $(STAGEfeedback_CONFIGURE_FLAGS)
60735 @endif target-libatomic-bootstrap
60736
60737 .PHONY: configure-stageautoprofile-target-libatomic maybe-configure-stageautoprofile-target-libatomic
60738 maybe-configure-stageautoprofile-target-libatomic:
60739 @if target-libatomic-bootstrap
60740 maybe-configure-stageautoprofile-target-libatomic: configure-stageautoprofile-target-libatomic
60741 configure-stageautoprofile-target-libatomic:
60742 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
60743 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60744 @r=`${PWD_COMMAND}`; export r; \
60745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60746 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
60747 echo "Checking multilib configuration for libatomic..."; \
60748 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60749 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60750 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60751 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60752 else \
60753 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60754 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60755 fi; \
60756 else \
60757 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60758 fi; \
60759 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60760 $(NORMAL_TARGET_EXPORTS) \
60761 \
60762 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60763 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60764 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60765 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libatomic; \
60766 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60767 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60768 case $(srcdir) in \
60769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60770 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60772 esac; \
60773 module_srcdir=libatomic; \
60774 $(SHELL) $$s/$$module_srcdir/configure \
60775 --srcdir=$${topdir}/$$module_srcdir \
60776 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60777 --target=${target_alias} \
60778 --with-build-libsubdir=$(HOST_SUBDIR) \
60779 $(STAGEautoprofile_CONFIGURE_FLAGS)
60780 @endif target-libatomic-bootstrap
60781
60782 .PHONY: configure-stageautofeedback-target-libatomic maybe-configure-stageautofeedback-target-libatomic
60783 maybe-configure-stageautofeedback-target-libatomic:
60784 @if target-libatomic-bootstrap
60785 maybe-configure-stageautofeedback-target-libatomic: configure-stageautofeedback-target-libatomic
60786 configure-stageautofeedback-target-libatomic:
60787 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
60788 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60789 @r=`${PWD_COMMAND}`; export r; \
60790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60791 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
60792 echo "Checking multilib configuration for libatomic..."; \
60793 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60794 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60795 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60796 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60797 else \
60798 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60799 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60800 fi; \
60801 else \
60802 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60803 fi; \
60804 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60805 $(NORMAL_TARGET_EXPORTS) \
60806 \
60807 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60808 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60809 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60810 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libatomic; \
60811 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60812 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60813 case $(srcdir) in \
60814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60815 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60817 esac; \
60818 module_srcdir=libatomic; \
60819 $(SHELL) $$s/$$module_srcdir/configure \
60820 --srcdir=$${topdir}/$$module_srcdir \
60821 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60822 --target=${target_alias} \
60823 --with-build-libsubdir=$(HOST_SUBDIR) \
60824 $(STAGEautofeedback_CONFIGURE_FLAGS)
60825 @endif target-libatomic-bootstrap
60826
60827
60828
60829
60830
60831 .PHONY: all-target-libatomic maybe-all-target-libatomic
60832 maybe-all-target-libatomic:
60833 @if gcc-bootstrap
60834 all-target-libatomic: stage_current
60835 @endif gcc-bootstrap
60836 @if target-libatomic
60837 TARGET-target-libatomic=all
60838 maybe-all-target-libatomic: all-target-libatomic
60839 all-target-libatomic: configure-target-libatomic
60840 @r=`${PWD_COMMAND}`; export r; \
60841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60842 $(NORMAL_TARGET_EXPORTS) \
60843 (cd $(TARGET_SUBDIR)/libatomic && \
60844 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
60845 $(TARGET-target-libatomic))
60846 @endif target-libatomic
60847
60848
60849
60850 .PHONY: all-stage1-target-libatomic maybe-all-stage1-target-libatomic
60851 .PHONY: clean-stage1-target-libatomic maybe-clean-stage1-target-libatomic
60852 maybe-all-stage1-target-libatomic:
60853 maybe-clean-stage1-target-libatomic:
60854 @if target-libatomic-bootstrap
60855 maybe-all-stage1-target-libatomic: all-stage1-target-libatomic
60856 all-stage1: all-stage1-target-libatomic
60857 TARGET-stage1-target-libatomic = $(TARGET-target-libatomic)
60858 all-stage1-target-libatomic: configure-stage1-target-libatomic
60859 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
60860 @r=`${PWD_COMMAND}`; export r; \
60861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60862 TFLAGS="$(STAGE1_TFLAGS)"; \
60863 $(NORMAL_TARGET_EXPORTS) \
60864 cd $(TARGET_SUBDIR)/libatomic && \
60865 \
60866 $(MAKE) $(BASE_FLAGS_TO_PASS) \
60867 CFLAGS="$(CFLAGS_FOR_TARGET)" \
60868 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
60869 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
60870 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
60871 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
60872 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
60873 $(EXTRA_TARGET_FLAGS) \
60874 \
60875 TFLAGS="$(STAGE1_TFLAGS)" \
60876 $(TARGET-stage1-target-libatomic)
60877
60878 maybe-clean-stage1-target-libatomic: clean-stage1-target-libatomic
60879 clean-stage1: clean-stage1-target-libatomic
60880 clean-stage1-target-libatomic:
60881 @if [ $(current_stage) = stage1 ]; then \
60882 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
60883 else \
60884 [ -f $(TARGET_SUBDIR)/stage1-libatomic/Makefile ] || exit 0; \
60885 $(MAKE) stage1-start; \
60886 fi; \
60887 cd $(TARGET_SUBDIR)/libatomic && \
60888 $(MAKE) $(EXTRA_TARGET_FLAGS) \
60889 clean
60890 @endif target-libatomic-bootstrap
60891
60892
60893 .PHONY: all-stage2-target-libatomic maybe-all-stage2-target-libatomic
60894 .PHONY: clean-stage2-target-libatomic maybe-clean-stage2-target-libatomic
60895 maybe-all-stage2-target-libatomic:
60896 maybe-clean-stage2-target-libatomic:
60897 @if target-libatomic-bootstrap
60898 maybe-all-stage2-target-libatomic: all-stage2-target-libatomic
60899 all-stage2: all-stage2-target-libatomic
60900 TARGET-stage2-target-libatomic = $(TARGET-target-libatomic)
60901 all-stage2-target-libatomic: configure-stage2-target-libatomic
60902 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
60903 @r=`${PWD_COMMAND}`; export r; \
60904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60905 TFLAGS="$(STAGE2_TFLAGS)"; \
60906 $(NORMAL_TARGET_EXPORTS) \
60907 \
60908 cd $(TARGET_SUBDIR)/libatomic && \
60909 \
60910 $(MAKE) $(BASE_FLAGS_TO_PASS) \
60911 CFLAGS="$(CFLAGS_FOR_TARGET)" \
60912 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
60913 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
60914 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
60915 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
60916 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
60917 $(EXTRA_TARGET_FLAGS) \
60918 TFLAGS="$(STAGE2_TFLAGS)" \
60919 $(TARGET-stage2-target-libatomic)
60920
60921 maybe-clean-stage2-target-libatomic: clean-stage2-target-libatomic
60922 clean-stage2: clean-stage2-target-libatomic
60923 clean-stage2-target-libatomic:
60924 @if [ $(current_stage) = stage2 ]; then \
60925 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
60926 else \
60927 [ -f $(TARGET_SUBDIR)/stage2-libatomic/Makefile ] || exit 0; \
60928 $(MAKE) stage2-start; \
60929 fi; \
60930 cd $(TARGET_SUBDIR)/libatomic && \
60931 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
60932 @endif target-libatomic-bootstrap
60933
60934
60935 .PHONY: all-stage3-target-libatomic maybe-all-stage3-target-libatomic
60936 .PHONY: clean-stage3-target-libatomic maybe-clean-stage3-target-libatomic
60937 maybe-all-stage3-target-libatomic:
60938 maybe-clean-stage3-target-libatomic:
60939 @if target-libatomic-bootstrap
60940 maybe-all-stage3-target-libatomic: all-stage3-target-libatomic
60941 all-stage3: all-stage3-target-libatomic
60942 TARGET-stage3-target-libatomic = $(TARGET-target-libatomic)
60943 all-stage3-target-libatomic: configure-stage3-target-libatomic
60944 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
60945 @r=`${PWD_COMMAND}`; export r; \
60946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60947 TFLAGS="$(STAGE3_TFLAGS)"; \
60948 $(NORMAL_TARGET_EXPORTS) \
60949 \
60950 cd $(TARGET_SUBDIR)/libatomic && \
60951 \
60952 $(MAKE) $(BASE_FLAGS_TO_PASS) \
60953 CFLAGS="$(CFLAGS_FOR_TARGET)" \
60954 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
60955 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
60956 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
60957 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
60958 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
60959 $(EXTRA_TARGET_FLAGS) \
60960 TFLAGS="$(STAGE3_TFLAGS)" \
60961 $(TARGET-stage3-target-libatomic)
60962
60963 maybe-clean-stage3-target-libatomic: clean-stage3-target-libatomic
60964 clean-stage3: clean-stage3-target-libatomic
60965 clean-stage3-target-libatomic:
60966 @if [ $(current_stage) = stage3 ]; then \
60967 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
60968 else \
60969 [ -f $(TARGET_SUBDIR)/stage3-libatomic/Makefile ] || exit 0; \
60970 $(MAKE) stage3-start; \
60971 fi; \
60972 cd $(TARGET_SUBDIR)/libatomic && \
60973 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
60974 @endif target-libatomic-bootstrap
60975
60976
60977 .PHONY: all-stage4-target-libatomic maybe-all-stage4-target-libatomic
60978 .PHONY: clean-stage4-target-libatomic maybe-clean-stage4-target-libatomic
60979 maybe-all-stage4-target-libatomic:
60980 maybe-clean-stage4-target-libatomic:
60981 @if target-libatomic-bootstrap
60982 maybe-all-stage4-target-libatomic: all-stage4-target-libatomic
60983 all-stage4: all-stage4-target-libatomic
60984 TARGET-stage4-target-libatomic = $(TARGET-target-libatomic)
60985 all-stage4-target-libatomic: configure-stage4-target-libatomic
60986 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
60987 @r=`${PWD_COMMAND}`; export r; \
60988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60989 TFLAGS="$(STAGE4_TFLAGS)"; \
60990 $(NORMAL_TARGET_EXPORTS) \
60991 \
60992 cd $(TARGET_SUBDIR)/libatomic && \
60993 \
60994 $(MAKE) $(BASE_FLAGS_TO_PASS) \
60995 CFLAGS="$(CFLAGS_FOR_TARGET)" \
60996 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
60997 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
60998 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
60999 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61000 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61001 $(EXTRA_TARGET_FLAGS) \
61002 TFLAGS="$(STAGE4_TFLAGS)" \
61003 $(TARGET-stage4-target-libatomic)
61004
61005 maybe-clean-stage4-target-libatomic: clean-stage4-target-libatomic
61006 clean-stage4: clean-stage4-target-libatomic
61007 clean-stage4-target-libatomic:
61008 @if [ $(current_stage) = stage4 ]; then \
61009 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61010 else \
61011 [ -f $(TARGET_SUBDIR)/stage4-libatomic/Makefile ] || exit 0; \
61012 $(MAKE) stage4-start; \
61013 fi; \
61014 cd $(TARGET_SUBDIR)/libatomic && \
61015 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61016 @endif target-libatomic-bootstrap
61017
61018
61019 .PHONY: all-stageprofile-target-libatomic maybe-all-stageprofile-target-libatomic
61020 .PHONY: clean-stageprofile-target-libatomic maybe-clean-stageprofile-target-libatomic
61021 maybe-all-stageprofile-target-libatomic:
61022 maybe-clean-stageprofile-target-libatomic:
61023 @if target-libatomic-bootstrap
61024 maybe-all-stageprofile-target-libatomic: all-stageprofile-target-libatomic
61025 all-stageprofile: all-stageprofile-target-libatomic
61026 TARGET-stageprofile-target-libatomic = $(TARGET-target-libatomic)
61027 all-stageprofile-target-libatomic: configure-stageprofile-target-libatomic
61028 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
61029 @r=`${PWD_COMMAND}`; export r; \
61030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61031 TFLAGS="$(STAGEprofile_TFLAGS)"; \
61032 $(NORMAL_TARGET_EXPORTS) \
61033 \
61034 cd $(TARGET_SUBDIR)/libatomic && \
61035 \
61036 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61037 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61038 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61039 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61040 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61041 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61042 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61043 $(EXTRA_TARGET_FLAGS) \
61044 TFLAGS="$(STAGEprofile_TFLAGS)" \
61045 $(TARGET-stageprofile-target-libatomic)
61046
61047 maybe-clean-stageprofile-target-libatomic: clean-stageprofile-target-libatomic
61048 clean-stageprofile: clean-stageprofile-target-libatomic
61049 clean-stageprofile-target-libatomic:
61050 @if [ $(current_stage) = stageprofile ]; then \
61051 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61052 else \
61053 [ -f $(TARGET_SUBDIR)/stageprofile-libatomic/Makefile ] || exit 0; \
61054 $(MAKE) stageprofile-start; \
61055 fi; \
61056 cd $(TARGET_SUBDIR)/libatomic && \
61057 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61058 @endif target-libatomic-bootstrap
61059
61060
61061 .PHONY: all-stagetrain-target-libatomic maybe-all-stagetrain-target-libatomic
61062 .PHONY: clean-stagetrain-target-libatomic maybe-clean-stagetrain-target-libatomic
61063 maybe-all-stagetrain-target-libatomic:
61064 maybe-clean-stagetrain-target-libatomic:
61065 @if target-libatomic-bootstrap
61066 maybe-all-stagetrain-target-libatomic: all-stagetrain-target-libatomic
61067 all-stagetrain: all-stagetrain-target-libatomic
61068 TARGET-stagetrain-target-libatomic = $(TARGET-target-libatomic)
61069 all-stagetrain-target-libatomic: configure-stagetrain-target-libatomic
61070 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
61071 @r=`${PWD_COMMAND}`; export r; \
61072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61073 TFLAGS="$(STAGEtrain_TFLAGS)"; \
61074 $(NORMAL_TARGET_EXPORTS) \
61075 \
61076 cd $(TARGET_SUBDIR)/libatomic && \
61077 \
61078 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61079 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61080 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61081 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61082 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61083 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61084 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61085 $(EXTRA_TARGET_FLAGS) \
61086 TFLAGS="$(STAGEtrain_TFLAGS)" \
61087 $(TARGET-stagetrain-target-libatomic)
61088
61089 maybe-clean-stagetrain-target-libatomic: clean-stagetrain-target-libatomic
61090 clean-stagetrain: clean-stagetrain-target-libatomic
61091 clean-stagetrain-target-libatomic:
61092 @if [ $(current_stage) = stagetrain ]; then \
61093 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61094 else \
61095 [ -f $(TARGET_SUBDIR)/stagetrain-libatomic/Makefile ] || exit 0; \
61096 $(MAKE) stagetrain-start; \
61097 fi; \
61098 cd $(TARGET_SUBDIR)/libatomic && \
61099 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61100 @endif target-libatomic-bootstrap
61101
61102
61103 .PHONY: all-stagefeedback-target-libatomic maybe-all-stagefeedback-target-libatomic
61104 .PHONY: clean-stagefeedback-target-libatomic maybe-clean-stagefeedback-target-libatomic
61105 maybe-all-stagefeedback-target-libatomic:
61106 maybe-clean-stagefeedback-target-libatomic:
61107 @if target-libatomic-bootstrap
61108 maybe-all-stagefeedback-target-libatomic: all-stagefeedback-target-libatomic
61109 all-stagefeedback: all-stagefeedback-target-libatomic
61110 TARGET-stagefeedback-target-libatomic = $(TARGET-target-libatomic)
61111 all-stagefeedback-target-libatomic: configure-stagefeedback-target-libatomic
61112 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
61113 @r=`${PWD_COMMAND}`; export r; \
61114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61115 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
61116 $(NORMAL_TARGET_EXPORTS) \
61117 \
61118 cd $(TARGET_SUBDIR)/libatomic && \
61119 \
61120 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61121 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61122 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61123 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61124 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61125 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61126 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61127 $(EXTRA_TARGET_FLAGS) \
61128 TFLAGS="$(STAGEfeedback_TFLAGS)" \
61129 $(TARGET-stagefeedback-target-libatomic)
61130
61131 maybe-clean-stagefeedback-target-libatomic: clean-stagefeedback-target-libatomic
61132 clean-stagefeedback: clean-stagefeedback-target-libatomic
61133 clean-stagefeedback-target-libatomic:
61134 @if [ $(current_stage) = stagefeedback ]; then \
61135 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61136 else \
61137 [ -f $(TARGET_SUBDIR)/stagefeedback-libatomic/Makefile ] || exit 0; \
61138 $(MAKE) stagefeedback-start; \
61139 fi; \
61140 cd $(TARGET_SUBDIR)/libatomic && \
61141 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61142 @endif target-libatomic-bootstrap
61143
61144
61145 .PHONY: all-stageautoprofile-target-libatomic maybe-all-stageautoprofile-target-libatomic
61146 .PHONY: clean-stageautoprofile-target-libatomic maybe-clean-stageautoprofile-target-libatomic
61147 maybe-all-stageautoprofile-target-libatomic:
61148 maybe-clean-stageautoprofile-target-libatomic:
61149 @if target-libatomic-bootstrap
61150 maybe-all-stageautoprofile-target-libatomic: all-stageautoprofile-target-libatomic
61151 all-stageautoprofile: all-stageautoprofile-target-libatomic
61152 TARGET-stageautoprofile-target-libatomic = $(TARGET-target-libatomic)
61153 all-stageautoprofile-target-libatomic: configure-stageautoprofile-target-libatomic
61154 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
61155 @r=`${PWD_COMMAND}`; export r; \
61156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61157 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
61158 $(NORMAL_TARGET_EXPORTS) \
61159 \
61160 cd $(TARGET_SUBDIR)/libatomic && \
61161 $$s/gcc/config/i386/$(AUTO_PROFILE) \
61162 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61163 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61164 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61165 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61166 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61167 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61168 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61169 $(EXTRA_TARGET_FLAGS) \
61170 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
61171 $(TARGET-stageautoprofile-target-libatomic)
61172
61173 maybe-clean-stageautoprofile-target-libatomic: clean-stageautoprofile-target-libatomic
61174 clean-stageautoprofile: clean-stageautoprofile-target-libatomic
61175 clean-stageautoprofile-target-libatomic:
61176 @if [ $(current_stage) = stageautoprofile ]; then \
61177 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61178 else \
61179 [ -f $(TARGET_SUBDIR)/stageautoprofile-libatomic/Makefile ] || exit 0; \
61180 $(MAKE) stageautoprofile-start; \
61181 fi; \
61182 cd $(TARGET_SUBDIR)/libatomic && \
61183 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61184 @endif target-libatomic-bootstrap
61185
61186
61187 .PHONY: all-stageautofeedback-target-libatomic maybe-all-stageautofeedback-target-libatomic
61188 .PHONY: clean-stageautofeedback-target-libatomic maybe-clean-stageautofeedback-target-libatomic
61189 maybe-all-stageautofeedback-target-libatomic:
61190 maybe-clean-stageautofeedback-target-libatomic:
61191 @if target-libatomic-bootstrap
61192 maybe-all-stageautofeedback-target-libatomic: all-stageautofeedback-target-libatomic
61193 all-stageautofeedback: all-stageautofeedback-target-libatomic
61194 TARGET-stageautofeedback-target-libatomic = $(TARGET-target-libatomic)
61195 all-stageautofeedback-target-libatomic: configure-stageautofeedback-target-libatomic
61196 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
61197 @r=`${PWD_COMMAND}`; export r; \
61198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61199 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
61200 $(NORMAL_TARGET_EXPORTS) \
61201 \
61202 cd $(TARGET_SUBDIR)/libatomic && \
61203 \
61204 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61205 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61206 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61207 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61208 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61209 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61210 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61211 $(EXTRA_TARGET_FLAGS) \
61212 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
61213 $(TARGET-stageautofeedback-target-libatomic)
61214
61215 maybe-clean-stageautofeedback-target-libatomic: clean-stageautofeedback-target-libatomic
61216 clean-stageautofeedback: clean-stageautofeedback-target-libatomic
61217 clean-stageautofeedback-target-libatomic:
61218 @if [ $(current_stage) = stageautofeedback ]; then \
61219 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61220 else \
61221 [ -f $(TARGET_SUBDIR)/stageautofeedback-libatomic/Makefile ] || exit 0; \
61222 $(MAKE) stageautofeedback-start; \
61223 fi; \
61224 cd $(TARGET_SUBDIR)/libatomic && \
61225 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61226 @endif target-libatomic-bootstrap
61227
61228
61229
61230
61231
61232
61233 .PHONY: check-target-libatomic maybe-check-target-libatomic
61234 maybe-check-target-libatomic:
61235 @if target-libatomic
61236 maybe-check-target-libatomic: check-target-libatomic
61237
61238 check-target-libatomic:
61239 @: $(MAKE); $(unstage)
61240 @r=`${PWD_COMMAND}`; export r; \
61241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61242 $(NORMAL_TARGET_EXPORTS) \
61243 (cd $(TARGET_SUBDIR)/libatomic && \
61244 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
61245
61246 @endif target-libatomic
61247
61248 .PHONY: install-target-libatomic maybe-install-target-libatomic
61249 maybe-install-target-libatomic:
61250 @if target-libatomic
61251 maybe-install-target-libatomic: install-target-libatomic
61252
61253 install-target-libatomic: installdirs
61254 @: $(MAKE); $(unstage)
61255 @r=`${PWD_COMMAND}`; export r; \
61256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61257 $(NORMAL_TARGET_EXPORTS) \
61258 (cd $(TARGET_SUBDIR)/libatomic && \
61259 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
61260
61261 @endif target-libatomic
61262
61263 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
61264 maybe-install-strip-target-libatomic:
61265 @if target-libatomic
61266 maybe-install-strip-target-libatomic: install-strip-target-libatomic
61267
61268 install-strip-target-libatomic: installdirs
61269 @: $(MAKE); $(unstage)
61270 @r=`${PWD_COMMAND}`; export r; \
61271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61272 $(NORMAL_TARGET_EXPORTS) \
61273 (cd $(TARGET_SUBDIR)/libatomic && \
61274 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
61275
61276 @endif target-libatomic
61277
61278 # Other targets (info, dvi, pdf, etc.)
61279
61280 .PHONY: maybe-info-target-libatomic info-target-libatomic
61281 maybe-info-target-libatomic:
61282 @if target-libatomic
61283 maybe-info-target-libatomic: info-target-libatomic
61284
61285 info-target-libatomic: \
61286 configure-target-libatomic
61287 @: $(MAKE); $(unstage)
61288 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61289 r=`${PWD_COMMAND}`; export r; \
61290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61291 $(NORMAL_TARGET_EXPORTS) \
61292 echo "Doing info in $(TARGET_SUBDIR)/libatomic"; \
61293 for flag in $(EXTRA_TARGET_FLAGS); do \
61294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61295 done; \
61296 (cd $(TARGET_SUBDIR)/libatomic && \
61297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61299 "RANLIB=$${RANLIB}" \
61300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61301 info) \
61302 || exit 1
61303
61304 @endif target-libatomic
61305
61306 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
61307 maybe-dvi-target-libatomic:
61308 @if target-libatomic
61309 maybe-dvi-target-libatomic: dvi-target-libatomic
61310
61311 dvi-target-libatomic: \
61312 configure-target-libatomic
61313 @: $(MAKE); $(unstage)
61314 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61315 r=`${PWD_COMMAND}`; export r; \
61316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61317 $(NORMAL_TARGET_EXPORTS) \
61318 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic"; \
61319 for flag in $(EXTRA_TARGET_FLAGS); do \
61320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61321 done; \
61322 (cd $(TARGET_SUBDIR)/libatomic && \
61323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61325 "RANLIB=$${RANLIB}" \
61326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61327 dvi) \
61328 || exit 1
61329
61330 @endif target-libatomic
61331
61332 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
61333 maybe-pdf-target-libatomic:
61334 @if target-libatomic
61335 maybe-pdf-target-libatomic: pdf-target-libatomic
61336
61337 pdf-target-libatomic: \
61338 configure-target-libatomic
61339 @: $(MAKE); $(unstage)
61340 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61341 r=`${PWD_COMMAND}`; export r; \
61342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61343 $(NORMAL_TARGET_EXPORTS) \
61344 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic"; \
61345 for flag in $(EXTRA_TARGET_FLAGS); do \
61346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61347 done; \
61348 (cd $(TARGET_SUBDIR)/libatomic && \
61349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61351 "RANLIB=$${RANLIB}" \
61352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61353 pdf) \
61354 || exit 1
61355
61356 @endif target-libatomic
61357
61358 .PHONY: maybe-html-target-libatomic html-target-libatomic
61359 maybe-html-target-libatomic:
61360 @if target-libatomic
61361 maybe-html-target-libatomic: html-target-libatomic
61362
61363 html-target-libatomic: \
61364 configure-target-libatomic
61365 @: $(MAKE); $(unstage)
61366 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61367 r=`${PWD_COMMAND}`; export r; \
61368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61369 $(NORMAL_TARGET_EXPORTS) \
61370 echo "Doing html in $(TARGET_SUBDIR)/libatomic"; \
61371 for flag in $(EXTRA_TARGET_FLAGS); do \
61372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61373 done; \
61374 (cd $(TARGET_SUBDIR)/libatomic && \
61375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61377 "RANLIB=$${RANLIB}" \
61378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61379 html) \
61380 || exit 1
61381
61382 @endif target-libatomic
61383
61384 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
61385 maybe-TAGS-target-libatomic:
61386 @if target-libatomic
61387 maybe-TAGS-target-libatomic: TAGS-target-libatomic
61388
61389 TAGS-target-libatomic: \
61390 configure-target-libatomic
61391 @: $(MAKE); $(unstage)
61392 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61393 r=`${PWD_COMMAND}`; export r; \
61394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61395 $(NORMAL_TARGET_EXPORTS) \
61396 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic"; \
61397 for flag in $(EXTRA_TARGET_FLAGS); do \
61398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61399 done; \
61400 (cd $(TARGET_SUBDIR)/libatomic && \
61401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61403 "RANLIB=$${RANLIB}" \
61404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61405 TAGS) \
61406 || exit 1
61407
61408 @endif target-libatomic
61409
61410 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
61411 maybe-install-info-target-libatomic:
61412 @if target-libatomic
61413 maybe-install-info-target-libatomic: install-info-target-libatomic
61414
61415 install-info-target-libatomic: \
61416 configure-target-libatomic \
61417 info-target-libatomic
61418 @: $(MAKE); $(unstage)
61419 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61420 r=`${PWD_COMMAND}`; export r; \
61421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61422 $(NORMAL_TARGET_EXPORTS) \
61423 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic"; \
61424 for flag in $(EXTRA_TARGET_FLAGS); do \
61425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61426 done; \
61427 (cd $(TARGET_SUBDIR)/libatomic && \
61428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61430 "RANLIB=$${RANLIB}" \
61431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61432 install-info) \
61433 || exit 1
61434
61435 @endif target-libatomic
61436
61437 .PHONY: maybe-install-dvi-target-libatomic install-dvi-target-libatomic
61438 maybe-install-dvi-target-libatomic:
61439 @if target-libatomic
61440 maybe-install-dvi-target-libatomic: install-dvi-target-libatomic
61441
61442 install-dvi-target-libatomic: \
61443 configure-target-libatomic \
61444 dvi-target-libatomic
61445 @: $(MAKE); $(unstage)
61446 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61447 r=`${PWD_COMMAND}`; export r; \
61448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61449 $(NORMAL_TARGET_EXPORTS) \
61450 echo "Doing install-dvi in $(TARGET_SUBDIR)/libatomic"; \
61451 for flag in $(EXTRA_TARGET_FLAGS); do \
61452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61453 done; \
61454 (cd $(TARGET_SUBDIR)/libatomic && \
61455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61457 "RANLIB=$${RANLIB}" \
61458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61459 install-dvi) \
61460 || exit 1
61461
61462 @endif target-libatomic
61463
61464 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
61465 maybe-install-pdf-target-libatomic:
61466 @if target-libatomic
61467 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
61468
61469 install-pdf-target-libatomic: \
61470 configure-target-libatomic \
61471 pdf-target-libatomic
61472 @: $(MAKE); $(unstage)
61473 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61474 r=`${PWD_COMMAND}`; export r; \
61475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61476 $(NORMAL_TARGET_EXPORTS) \
61477 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic"; \
61478 for flag in $(EXTRA_TARGET_FLAGS); do \
61479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61480 done; \
61481 (cd $(TARGET_SUBDIR)/libatomic && \
61482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61484 "RANLIB=$${RANLIB}" \
61485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61486 install-pdf) \
61487 || exit 1
61488
61489 @endif target-libatomic
61490
61491 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
61492 maybe-install-html-target-libatomic:
61493 @if target-libatomic
61494 maybe-install-html-target-libatomic: install-html-target-libatomic
61495
61496 install-html-target-libatomic: \
61497 configure-target-libatomic \
61498 html-target-libatomic
61499 @: $(MAKE); $(unstage)
61500 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61501 r=`${PWD_COMMAND}`; export r; \
61502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61503 $(NORMAL_TARGET_EXPORTS) \
61504 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic"; \
61505 for flag in $(EXTRA_TARGET_FLAGS); do \
61506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61507 done; \
61508 (cd $(TARGET_SUBDIR)/libatomic && \
61509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61511 "RANLIB=$${RANLIB}" \
61512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61513 install-html) \
61514 || exit 1
61515
61516 @endif target-libatomic
61517
61518 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
61519 maybe-installcheck-target-libatomic:
61520 @if target-libatomic
61521 maybe-installcheck-target-libatomic: installcheck-target-libatomic
61522
61523 installcheck-target-libatomic: \
61524 configure-target-libatomic
61525 @: $(MAKE); $(unstage)
61526 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61527 r=`${PWD_COMMAND}`; export r; \
61528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61529 $(NORMAL_TARGET_EXPORTS) \
61530 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic"; \
61531 for flag in $(EXTRA_TARGET_FLAGS); do \
61532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61533 done; \
61534 (cd $(TARGET_SUBDIR)/libatomic && \
61535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61537 "RANLIB=$${RANLIB}" \
61538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61539 installcheck) \
61540 || exit 1
61541
61542 @endif target-libatomic
61543
61544 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
61545 maybe-mostlyclean-target-libatomic:
61546 @if target-libatomic
61547 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
61548
61549 mostlyclean-target-libatomic:
61550 @: $(MAKE); $(unstage)
61551 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61552 r=`${PWD_COMMAND}`; export r; \
61553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61554 $(NORMAL_TARGET_EXPORTS) \
61555 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic"; \
61556 for flag in $(EXTRA_TARGET_FLAGS); do \
61557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61558 done; \
61559 (cd $(TARGET_SUBDIR)/libatomic && \
61560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61562 "RANLIB=$${RANLIB}" \
61563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61564 mostlyclean) \
61565 || exit 1
61566
61567 @endif target-libatomic
61568
61569 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
61570 maybe-clean-target-libatomic:
61571 @if target-libatomic
61572 maybe-clean-target-libatomic: clean-target-libatomic
61573
61574 clean-target-libatomic:
61575 @: $(MAKE); $(unstage)
61576 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61577 r=`${PWD_COMMAND}`; export r; \
61578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61579 $(NORMAL_TARGET_EXPORTS) \
61580 echo "Doing clean in $(TARGET_SUBDIR)/libatomic"; \
61581 for flag in $(EXTRA_TARGET_FLAGS); do \
61582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61583 done; \
61584 (cd $(TARGET_SUBDIR)/libatomic && \
61585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61587 "RANLIB=$${RANLIB}" \
61588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61589 clean) \
61590 || exit 1
61591
61592 @endif target-libatomic
61593
61594 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
61595 maybe-distclean-target-libatomic:
61596 @if target-libatomic
61597 maybe-distclean-target-libatomic: distclean-target-libatomic
61598
61599 distclean-target-libatomic:
61600 @: $(MAKE); $(unstage)
61601 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61602 r=`${PWD_COMMAND}`; export r; \
61603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61604 $(NORMAL_TARGET_EXPORTS) \
61605 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic"; \
61606 for flag in $(EXTRA_TARGET_FLAGS); do \
61607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61608 done; \
61609 (cd $(TARGET_SUBDIR)/libatomic && \
61610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61612 "RANLIB=$${RANLIB}" \
61613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61614 distclean) \
61615 || exit 1
61616
61617 @endif target-libatomic
61618
61619 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
61620 maybe-maintainer-clean-target-libatomic:
61621 @if target-libatomic
61622 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
61623
61624 maintainer-clean-target-libatomic:
61625 @: $(MAKE); $(unstage)
61626 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61627 r=`${PWD_COMMAND}`; export r; \
61628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61629 $(NORMAL_TARGET_EXPORTS) \
61630 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic"; \
61631 for flag in $(EXTRA_TARGET_FLAGS); do \
61632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
61633 done; \
61634 (cd $(TARGET_SUBDIR)/libatomic && \
61635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
61636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
61637 "RANLIB=$${RANLIB}" \
61638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
61639 maintainer-clean) \
61640 || exit 1
61641
61642 @endif target-libatomic
61643
61644
61645
61646 @if target-libgomp
61647 .PHONY: check-target-libgomp-c++
61648 check-target-libgomp-c++:
61649 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
61650
61651 .PHONY: check-target-libgomp-fortran
61652 check-target-libgomp-fortran:
61653 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
61654
61655 @endif target-libgomp
61656
61657 @if target-libitm
61658 .PHONY: check-target-libitm-c++
61659 check-target-libitm-c++:
61660 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
61661
61662 @endif target-libitm
61663
61664 # ----------
61665 # GCC module
61666 # ----------
61667
61668 @if gcc-no-bootstrap
61669 .PHONY: cross
61670 cross: all-build all-gas all-ld
61671 @r=`${PWD_COMMAND}`; export r; \
61672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61673 $(HOST_EXPORTS) \
61674 echo "Building the C and C++ compiler"; \
61675 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
61676 @r=`${PWD_COMMAND}`; export r; \
61677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61678 echo "Building runtime libraries"; \
61679 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
61680 @endif gcc-no-bootstrap
61681
61682 @if gcc
61683
61684 .PHONY: check-gcc-c check-c
61685 check-gcc-c:
61686 r=`${PWD_COMMAND}`; export r; \
61687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61688 $(HOST_EXPORTS) \
61689 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
61690 check-c: check-gcc-c
61691
61692 .PHONY: check-gcc-c++ check-c++
61693 check-gcc-c++:
61694 r=`${PWD_COMMAND}`; export r; \
61695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61696 $(HOST_EXPORTS) \
61697 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
61698 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
61699
61700 .PHONY: check-gcc-fortran check-fortran
61701 check-gcc-fortran:
61702 r=`${PWD_COMMAND}`; export r; \
61703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61704 $(HOST_EXPORTS) \
61705 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
61706 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran check-target-libgomp-fortran
61707
61708 .PHONY: check-gcc-ada check-ada
61709 check-gcc-ada:
61710 r=`${PWD_COMMAND}`; export r; \
61711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61712 $(HOST_EXPORTS) \
61713 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
61714 check-ada: check-gcc-ada check-target-libada
61715
61716 .PHONY: check-gcc-objc check-objc
61717 check-gcc-objc:
61718 r=`${PWD_COMMAND}`; export r; \
61719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61720 $(HOST_EXPORTS) \
61721 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
61722 check-objc: check-gcc-objc check-target-libobjc
61723
61724 .PHONY: check-gcc-obj-c++ check-obj-c++
61725 check-gcc-obj-c++:
61726 r=`${PWD_COMMAND}`; export r; \
61727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61728 $(HOST_EXPORTS) \
61729 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
61730 check-obj-c++: check-gcc-obj-c++
61731
61732 .PHONY: check-gcc-go check-go
61733 check-gcc-go:
61734 r=`${PWD_COMMAND}`; export r; \
61735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61736 $(HOST_EXPORTS) \
61737 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
61738 check-go: check-gcc-go check-target-libgo check-gotools
61739
61740 .PHONY: check-gcc-d check-d
61741 check-gcc-d:
61742 r=`${PWD_COMMAND}`; export r; \
61743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61744 $(HOST_EXPORTS) \
61745 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-d);
61746 check-d: check-gcc-d check-target-libphobos
61747
61748 .PHONY: check-gcc-jit check-jit
61749 check-gcc-jit:
61750 r=`${PWD_COMMAND}`; export r; \
61751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61752 $(HOST_EXPORTS) \
61753 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-jit);
61754 check-jit: check-gcc-jit
61755
61756
61757 # The gcc part of install-no-fixedincludes, which relies on an intimate
61758 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
61759 .PHONY: gcc-install-no-fixedincludes
61760 gcc-install-no-fixedincludes:
61761 @if [ -f ./gcc/Makefile ]; then \
61762 r=`${PWD_COMMAND}`; export r; \
61763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61764 $(HOST_EXPORTS) \
61765 (cd ./gcc \
61766 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
61767 else true; fi
61768 @endif gcc
61769
61770 # ---------------------
61771 # GCC bootstrap support
61772 # ---------------------
61773
61774 # We track the current stage (the one in 'gcc') in the stage_current file.
61775 # stage_last instead tracks the stage that was built last. These targets
61776 # are dummy when toplevel bootstrap is not active.
61777
61778 # While making host and target tools, symlinks to the final stage must be
61779 # there, so $(unstage) should be run at various points. To avoid excessive
61780 # recursive invocations of make, we "inline" them using a variable. These
61781 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
61782 # to avoid warnings from the GNU Make job server.
61783
61784 unstage = :
61785 stage = :
61786 current_stage = ""
61787
61788 @if gcc-bootstrap
61789 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
61790 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
61791 current_stage = "`cat stage_current 2> /dev/null`"
61792 @endif gcc-bootstrap
61793
61794 .PHONY: unstage stage
61795 unstage:
61796 @: $(MAKE); $(unstage)
61797 stage:
61798 @: $(MAKE); $(stage)
61799
61800 # Disable commands for lean bootstrap.
61801 LEAN = false
61802
61803 # We name the build directories for the various stages "stage1-gcc",
61804 # "stage2-gcc","stage3-gcc", etc.
61805
61806 # Since the 'compare' process will fail (on debugging information) if any
61807 # directory names are different, we need to link the gcc directory for
61808 # the previous stage to a constant name ('prev-gcc'), and to make the name of
61809 # the build directories constant as well. For the latter, we use naked names
61810 # like 'gcc', because the scripts in that directory assume it. We use
61811 # mv on platforms where symlinks to directories do not work or are not
61812 # reliable.
61813
61814 # 'touch' doesn't work right on some platforms.
61815 STAMP = echo timestamp >
61816
61817 # We only want to compare .o files, so set this!
61818 objext = .o
61819
61820
61821 .PHONY: stage1-start stage1-end
61822
61823 stage1-start::
61824 @: $(MAKE); $(stage); \
61825 echo stage1 > stage_current; \
61826 echo stage1 > stage_last; \
61827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
61828 @if bfd
61829 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
61830 mkdir stage1-bfd; \
61831 mv stage1-bfd bfd
61832 @endif bfd
61833 @if opcodes
61834 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
61835 mkdir stage1-opcodes; \
61836 mv stage1-opcodes opcodes
61837 @endif opcodes
61838 @if binutils
61839 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
61840 mkdir stage1-binutils; \
61841 mv stage1-binutils binutils
61842 @endif binutils
61843 @if fixincludes
61844 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
61845 mkdir stage1-fixincludes; \
61846 mv stage1-fixincludes fixincludes
61847 @endif fixincludes
61848 @if gas
61849 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
61850 mkdir stage1-gas; \
61851 mv stage1-gas gas
61852 @endif gas
61853 @if gcc
61854 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
61855 mkdir stage1-gcc; \
61856 mv stage1-gcc gcc
61857 @endif gcc
61858 @if gmp
61859 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
61860 mkdir stage1-gmp; \
61861 mv stage1-gmp gmp
61862 @endif gmp
61863 @if mpfr
61864 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
61865 mkdir stage1-mpfr; \
61866 mv stage1-mpfr mpfr
61867 @endif mpfr
61868 @if mpc
61869 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
61870 mkdir stage1-mpc; \
61871 mv stage1-mpc mpc
61872 @endif mpc
61873 @if isl
61874 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
61875 mkdir stage1-isl; \
61876 mv stage1-isl isl
61877 @endif isl
61878 @if libelf
61879 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
61880 mkdir stage1-libelf; \
61881 mv stage1-libelf libelf
61882 @endif libelf
61883 @if gold
61884 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
61885 mkdir stage1-gold; \
61886 mv stage1-gold gold
61887 @endif gold
61888 @if intl
61889 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
61890 mkdir stage1-intl; \
61891 mv stage1-intl intl
61892 @endif intl
61893 @if ld
61894 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
61895 mkdir stage1-ld; \
61896 mv stage1-ld ld
61897 @endif ld
61898 @if libbacktrace
61899 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
61900 mkdir stage1-libbacktrace; \
61901 mv stage1-libbacktrace libbacktrace
61902 @endif libbacktrace
61903 @if libcpp
61904 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
61905 mkdir stage1-libcpp; \
61906 mv stage1-libcpp libcpp
61907 @endif libcpp
61908 @if libcody
61909 @cd $(HOST_SUBDIR); [ -d stage1-libcody ] || \
61910 mkdir stage1-libcody; \
61911 mv stage1-libcody libcody
61912 @endif libcody
61913 @if libdecnumber
61914 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
61915 mkdir stage1-libdecnumber; \
61916 mv stage1-libdecnumber libdecnumber
61917 @endif libdecnumber
61918 @if libiberty
61919 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
61920 mkdir stage1-libiberty; \
61921 mv stage1-libiberty libiberty
61922 @endif libiberty
61923 @if libiberty-linker-plugin
61924 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
61925 mkdir stage1-libiberty-linker-plugin; \
61926 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
61927 @endif libiberty-linker-plugin
61928 @if libiconv
61929 @cd $(HOST_SUBDIR); [ -d stage1-libiconv ] || \
61930 mkdir stage1-libiconv; \
61931 mv stage1-libiconv libiconv
61932 @endif libiconv
61933 @if zlib
61934 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
61935 mkdir stage1-zlib; \
61936 mv stage1-zlib zlib
61937 @endif zlib
61938 @if lto-plugin
61939 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
61940 mkdir stage1-lto-plugin; \
61941 mv stage1-lto-plugin lto-plugin
61942 @endif lto-plugin
61943 @if libctf
61944 @cd $(HOST_SUBDIR); [ -d stage1-libctf ] || \
61945 mkdir stage1-libctf; \
61946 mv stage1-libctf libctf
61947 @endif libctf
61948 @[ -d stage1-$(TARGET_SUBDIR) ] || \
61949 mkdir stage1-$(TARGET_SUBDIR); \
61950 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
61951
61952 stage1-end::
61953 @if bfd
61954 @if test -d $(HOST_SUBDIR)/bfd; then \
61955 cd $(HOST_SUBDIR); mv bfd stage1-bfd; \
61956 fi
61957 @endif bfd
61958 @if opcodes
61959 @if test -d $(HOST_SUBDIR)/opcodes; then \
61960 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes; \
61961 fi
61962 @endif opcodes
61963 @if binutils
61964 @if test -d $(HOST_SUBDIR)/binutils; then \
61965 cd $(HOST_SUBDIR); mv binutils stage1-binutils; \
61966 fi
61967 @endif binutils
61968 @if fixincludes
61969 @if test -d $(HOST_SUBDIR)/fixincludes; then \
61970 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes; \
61971 fi
61972 @endif fixincludes
61973 @if gas
61974 @if test -d $(HOST_SUBDIR)/gas; then \
61975 cd $(HOST_SUBDIR); mv gas stage1-gas; \
61976 fi
61977 @endif gas
61978 @if gcc
61979 @if test -d $(HOST_SUBDIR)/gcc; then \
61980 cd $(HOST_SUBDIR); mv gcc stage1-gcc; \
61981 fi
61982 @endif gcc
61983 @if gmp
61984 @if test -d $(HOST_SUBDIR)/gmp; then \
61985 cd $(HOST_SUBDIR); mv gmp stage1-gmp; \
61986 fi
61987 @endif gmp
61988 @if mpfr
61989 @if test -d $(HOST_SUBDIR)/mpfr; then \
61990 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr; \
61991 fi
61992 @endif mpfr
61993 @if mpc
61994 @if test -d $(HOST_SUBDIR)/mpc; then \
61995 cd $(HOST_SUBDIR); mv mpc stage1-mpc; \
61996 fi
61997 @endif mpc
61998 @if isl
61999 @if test -d $(HOST_SUBDIR)/isl; then \
62000 cd $(HOST_SUBDIR); mv isl stage1-isl; \
62001 fi
62002 @endif isl
62003 @if libelf
62004 @if test -d $(HOST_SUBDIR)/libelf; then \
62005 cd $(HOST_SUBDIR); mv libelf stage1-libelf; \
62006 fi
62007 @endif libelf
62008 @if gold
62009 @if test -d $(HOST_SUBDIR)/gold; then \
62010 cd $(HOST_SUBDIR); mv gold stage1-gold; \
62011 fi
62012 @endif gold
62013 @if intl
62014 @if test -d $(HOST_SUBDIR)/intl; then \
62015 cd $(HOST_SUBDIR); mv intl stage1-intl; \
62016 fi
62017 @endif intl
62018 @if ld
62019 @if test -d $(HOST_SUBDIR)/ld; then \
62020 cd $(HOST_SUBDIR); mv ld stage1-ld; \
62021 fi
62022 @endif ld
62023 @if libbacktrace
62024 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
62025 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace; \
62026 fi
62027 @endif libbacktrace
62028 @if libcpp
62029 @if test -d $(HOST_SUBDIR)/libcpp; then \
62030 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp; \
62031 fi
62032 @endif libcpp
62033 @if libcody
62034 @if test -d $(HOST_SUBDIR)/libcody; then \
62035 cd $(HOST_SUBDIR); mv libcody stage1-libcody; \
62036 fi
62037 @endif libcody
62038 @if libdecnumber
62039 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
62040 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber; \
62041 fi
62042 @endif libdecnumber
62043 @if libiberty
62044 @if test -d $(HOST_SUBDIR)/libiberty; then \
62045 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty; \
62046 fi
62047 @endif libiberty
62048 @if libiberty-linker-plugin
62049 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
62050 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin; \
62051 fi
62052 @endif libiberty-linker-plugin
62053 @if libiconv
62054 @if test -d $(HOST_SUBDIR)/libiconv; then \
62055 cd $(HOST_SUBDIR); mv libiconv stage1-libiconv; \
62056 fi
62057 @endif libiconv
62058 @if zlib
62059 @if test -d $(HOST_SUBDIR)/zlib; then \
62060 cd $(HOST_SUBDIR); mv zlib stage1-zlib; \
62061 fi
62062 @endif zlib
62063 @if lto-plugin
62064 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
62065 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin; \
62066 fi
62067 @endif lto-plugin
62068 @if libctf
62069 @if test -d $(HOST_SUBDIR)/libctf; then \
62070 cd $(HOST_SUBDIR); mv libctf stage1-libctf; \
62071 fi
62072 @endif libctf
62073 @if test -d $(TARGET_SUBDIR); then \
62074 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); \
62075 fi
62076 rm -f stage_current
62077
62078 # Bubble a bug fix through all the stages up to stage 1. They are
62079 # remade, but not reconfigured. The next stage (if any) will not be
62080 # reconfigured either.
62081 .PHONY: stage1-bubble
62082 stage1-bubble::
62083 @r=`${PWD_COMMAND}`; export r; \
62084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62085 if test -f stage1-lean ; then \
62086 echo Skipping rebuild of stage1; \
62087 else \
62088 $(MAKE) stage1-start; \
62089 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
62090 fi
62091
62092 .PHONY: all-stage1 clean-stage1
62093 do-clean: clean-stage1
62094
62095 # FIXME: Will not need to be conditional when toplevel bootstrap is the
62096 # only possibility, but now it conflicts with no-bootstrap rules
62097 @if gcc-bootstrap
62098
62099
62100
62101
62102 # Rules to wipe a stage and all the following ones, also used for cleanstrap
62103
62104 .PHONY: distclean-stage1
62105 distclean-stage1::
62106 @: $(MAKE); $(stage)
62107 @test "`cat stage_last`" != stage1 || rm -f stage_last
62108 rm -rf stage1-*
62109
62110
62111 @endif gcc-bootstrap
62112
62113
62114 .PHONY: stage2-start stage2-end
62115
62116 stage2-start::
62117 @: $(MAKE); $(stage); \
62118 echo stage2 > stage_current; \
62119 echo stage2 > stage_last; \
62120 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
62121 @if bfd
62122 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
62123 mkdir stage2-bfd; \
62124 mv stage2-bfd bfd; \
62125 mv stage1-bfd prev-bfd || test -f stage1-lean
62126 @endif bfd
62127 @if opcodes
62128 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
62129 mkdir stage2-opcodes; \
62130 mv stage2-opcodes opcodes; \
62131 mv stage1-opcodes prev-opcodes || test -f stage1-lean
62132 @endif opcodes
62133 @if binutils
62134 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
62135 mkdir stage2-binutils; \
62136 mv stage2-binutils binutils; \
62137 mv stage1-binutils prev-binutils || test -f stage1-lean
62138 @endif binutils
62139 @if fixincludes
62140 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
62141 mkdir stage2-fixincludes; \
62142 mv stage2-fixincludes fixincludes; \
62143 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
62144 @endif fixincludes
62145 @if gas
62146 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
62147 mkdir stage2-gas; \
62148 mv stage2-gas gas; \
62149 mv stage1-gas prev-gas || test -f stage1-lean
62150 @endif gas
62151 @if gcc
62152 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
62153 mkdir stage2-gcc; \
62154 mv stage2-gcc gcc; \
62155 mv stage1-gcc prev-gcc || test -f stage1-lean
62156 @endif gcc
62157 @if gmp
62158 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
62159 mkdir stage2-gmp; \
62160 mv stage2-gmp gmp; \
62161 mv stage1-gmp prev-gmp || test -f stage1-lean
62162 @endif gmp
62163 @if mpfr
62164 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
62165 mkdir stage2-mpfr; \
62166 mv stage2-mpfr mpfr; \
62167 mv stage1-mpfr prev-mpfr || test -f stage1-lean
62168 @endif mpfr
62169 @if mpc
62170 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
62171 mkdir stage2-mpc; \
62172 mv stage2-mpc mpc; \
62173 mv stage1-mpc prev-mpc || test -f stage1-lean
62174 @endif mpc
62175 @if isl
62176 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
62177 mkdir stage2-isl; \
62178 mv stage2-isl isl; \
62179 mv stage1-isl prev-isl || test -f stage1-lean
62180 @endif isl
62181 @if libelf
62182 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
62183 mkdir stage2-libelf; \
62184 mv stage2-libelf libelf; \
62185 mv stage1-libelf prev-libelf || test -f stage1-lean
62186 @endif libelf
62187 @if gold
62188 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
62189 mkdir stage2-gold; \
62190 mv stage2-gold gold; \
62191 mv stage1-gold prev-gold || test -f stage1-lean
62192 @endif gold
62193 @if intl
62194 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
62195 mkdir stage2-intl; \
62196 mv stage2-intl intl; \
62197 mv stage1-intl prev-intl || test -f stage1-lean
62198 @endif intl
62199 @if ld
62200 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
62201 mkdir stage2-ld; \
62202 mv stage2-ld ld; \
62203 mv stage1-ld prev-ld || test -f stage1-lean
62204 @endif ld
62205 @if libbacktrace
62206 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
62207 mkdir stage2-libbacktrace; \
62208 mv stage2-libbacktrace libbacktrace; \
62209 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
62210 @endif libbacktrace
62211 @if libcpp
62212 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
62213 mkdir stage2-libcpp; \
62214 mv stage2-libcpp libcpp; \
62215 mv stage1-libcpp prev-libcpp || test -f stage1-lean
62216 @endif libcpp
62217 @if libcody
62218 @cd $(HOST_SUBDIR); [ -d stage2-libcody ] || \
62219 mkdir stage2-libcody; \
62220 mv stage2-libcody libcody; \
62221 mv stage1-libcody prev-libcody || test -f stage1-lean
62222 @endif libcody
62223 @if libdecnumber
62224 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
62225 mkdir stage2-libdecnumber; \
62226 mv stage2-libdecnumber libdecnumber; \
62227 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
62228 @endif libdecnumber
62229 @if libiberty
62230 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
62231 mkdir stage2-libiberty; \
62232 mv stage2-libiberty libiberty; \
62233 mv stage1-libiberty prev-libiberty || test -f stage1-lean
62234 @endif libiberty
62235 @if libiberty-linker-plugin
62236 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
62237 mkdir stage2-libiberty-linker-plugin; \
62238 mv stage2-libiberty-linker-plugin libiberty-linker-plugin; \
62239 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
62240 @endif libiberty-linker-plugin
62241 @if libiconv
62242 @cd $(HOST_SUBDIR); [ -d stage2-libiconv ] || \
62243 mkdir stage2-libiconv; \
62244 mv stage2-libiconv libiconv; \
62245 mv stage1-libiconv prev-libiconv || test -f stage1-lean
62246 @endif libiconv
62247 @if zlib
62248 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
62249 mkdir stage2-zlib; \
62250 mv stage2-zlib zlib; \
62251 mv stage1-zlib prev-zlib || test -f stage1-lean
62252 @endif zlib
62253 @if lto-plugin
62254 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
62255 mkdir stage2-lto-plugin; \
62256 mv stage2-lto-plugin lto-plugin; \
62257 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
62258 @endif lto-plugin
62259 @if libctf
62260 @cd $(HOST_SUBDIR); [ -d stage2-libctf ] || \
62261 mkdir stage2-libctf; \
62262 mv stage2-libctf libctf; \
62263 mv stage1-libctf prev-libctf || test -f stage1-lean
62264 @endif libctf
62265 @[ -d stage2-$(TARGET_SUBDIR) ] || \
62266 mkdir stage2-$(TARGET_SUBDIR); \
62267 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
62268 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
62269
62270 stage2-end::
62271 @if bfd
62272 @if test -d $(HOST_SUBDIR)/bfd; then \
62273 cd $(HOST_SUBDIR); mv bfd stage2-bfd; \
62274 mv prev-bfd stage1-bfd; : ; \
62275 fi
62276 @endif bfd
62277 @if opcodes
62278 @if test -d $(HOST_SUBDIR)/opcodes; then \
62279 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes; \
62280 mv prev-opcodes stage1-opcodes; : ; \
62281 fi
62282 @endif opcodes
62283 @if binutils
62284 @if test -d $(HOST_SUBDIR)/binutils; then \
62285 cd $(HOST_SUBDIR); mv binutils stage2-binutils; \
62286 mv prev-binutils stage1-binutils; : ; \
62287 fi
62288 @endif binutils
62289 @if fixincludes
62290 @if test -d $(HOST_SUBDIR)/fixincludes; then \
62291 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes; \
62292 mv prev-fixincludes stage1-fixincludes; : ; \
62293 fi
62294 @endif fixincludes
62295 @if gas
62296 @if test -d $(HOST_SUBDIR)/gas; then \
62297 cd $(HOST_SUBDIR); mv gas stage2-gas; \
62298 mv prev-gas stage1-gas; : ; \
62299 fi
62300 @endif gas
62301 @if gcc
62302 @if test -d $(HOST_SUBDIR)/gcc; then \
62303 cd $(HOST_SUBDIR); mv gcc stage2-gcc; \
62304 mv prev-gcc stage1-gcc; : ; \
62305 fi
62306 @endif gcc
62307 @if gmp
62308 @if test -d $(HOST_SUBDIR)/gmp; then \
62309 cd $(HOST_SUBDIR); mv gmp stage2-gmp; \
62310 mv prev-gmp stage1-gmp; : ; \
62311 fi
62312 @endif gmp
62313 @if mpfr
62314 @if test -d $(HOST_SUBDIR)/mpfr; then \
62315 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr; \
62316 mv prev-mpfr stage1-mpfr; : ; \
62317 fi
62318 @endif mpfr
62319 @if mpc
62320 @if test -d $(HOST_SUBDIR)/mpc; then \
62321 cd $(HOST_SUBDIR); mv mpc stage2-mpc; \
62322 mv prev-mpc stage1-mpc; : ; \
62323 fi
62324 @endif mpc
62325 @if isl
62326 @if test -d $(HOST_SUBDIR)/isl; then \
62327 cd $(HOST_SUBDIR); mv isl stage2-isl; \
62328 mv prev-isl stage1-isl; : ; \
62329 fi
62330 @endif isl
62331 @if libelf
62332 @if test -d $(HOST_SUBDIR)/libelf; then \
62333 cd $(HOST_SUBDIR); mv libelf stage2-libelf; \
62334 mv prev-libelf stage1-libelf; : ; \
62335 fi
62336 @endif libelf
62337 @if gold
62338 @if test -d $(HOST_SUBDIR)/gold; then \
62339 cd $(HOST_SUBDIR); mv gold stage2-gold; \
62340 mv prev-gold stage1-gold; : ; \
62341 fi
62342 @endif gold
62343 @if intl
62344 @if test -d $(HOST_SUBDIR)/intl; then \
62345 cd $(HOST_SUBDIR); mv intl stage2-intl; \
62346 mv prev-intl stage1-intl; : ; \
62347 fi
62348 @endif intl
62349 @if ld
62350 @if test -d $(HOST_SUBDIR)/ld; then \
62351 cd $(HOST_SUBDIR); mv ld stage2-ld; \
62352 mv prev-ld stage1-ld; : ; \
62353 fi
62354 @endif ld
62355 @if libbacktrace
62356 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
62357 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace; \
62358 mv prev-libbacktrace stage1-libbacktrace; : ; \
62359 fi
62360 @endif libbacktrace
62361 @if libcpp
62362 @if test -d $(HOST_SUBDIR)/libcpp; then \
62363 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp; \
62364 mv prev-libcpp stage1-libcpp; : ; \
62365 fi
62366 @endif libcpp
62367 @if libcody
62368 @if test -d $(HOST_SUBDIR)/libcody; then \
62369 cd $(HOST_SUBDIR); mv libcody stage2-libcody; \
62370 mv prev-libcody stage1-libcody; : ; \
62371 fi
62372 @endif libcody
62373 @if libdecnumber
62374 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
62375 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber; \
62376 mv prev-libdecnumber stage1-libdecnumber; : ; \
62377 fi
62378 @endif libdecnumber
62379 @if libiberty
62380 @if test -d $(HOST_SUBDIR)/libiberty; then \
62381 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty; \
62382 mv prev-libiberty stage1-libiberty; : ; \
62383 fi
62384 @endif libiberty
62385 @if libiberty-linker-plugin
62386 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
62387 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin; \
62388 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
62389 fi
62390 @endif libiberty-linker-plugin
62391 @if libiconv
62392 @if test -d $(HOST_SUBDIR)/libiconv; then \
62393 cd $(HOST_SUBDIR); mv libiconv stage2-libiconv; \
62394 mv prev-libiconv stage1-libiconv; : ; \
62395 fi
62396 @endif libiconv
62397 @if zlib
62398 @if test -d $(HOST_SUBDIR)/zlib; then \
62399 cd $(HOST_SUBDIR); mv zlib stage2-zlib; \
62400 mv prev-zlib stage1-zlib; : ; \
62401 fi
62402 @endif zlib
62403 @if lto-plugin
62404 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
62405 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin; \
62406 mv prev-lto-plugin stage1-lto-plugin; : ; \
62407 fi
62408 @endif lto-plugin
62409 @if libctf
62410 @if test -d $(HOST_SUBDIR)/libctf; then \
62411 cd $(HOST_SUBDIR); mv libctf stage2-libctf; \
62412 mv prev-libctf stage1-libctf; : ; \
62413 fi
62414 @endif libctf
62415 @if test -d $(TARGET_SUBDIR); then \
62416 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); \
62417 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
62418 fi
62419 rm -f stage_current
62420
62421 # Bubble a bug fix through all the stages up to stage 2. They are
62422 # remade, but not reconfigured. The next stage (if any) will not be
62423 # reconfigured either.
62424 .PHONY: stage2-bubble
62425 stage2-bubble:: stage1-bubble
62426 @r=`${PWD_COMMAND}`; export r; \
62427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62428 if test -f stage2-lean || test -f stage1-lean ; then \
62429 echo Skipping rebuild of stage2; \
62430 else \
62431 $(MAKE) stage2-start; \
62432 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
62433 fi
62434
62435 .PHONY: all-stage2 clean-stage2
62436 do-clean: clean-stage2
62437
62438 # FIXME: Will not need to be conditional when toplevel bootstrap is the
62439 # only possibility, but now it conflicts with no-bootstrap rules
62440 @if gcc-bootstrap
62441
62442
62443
62444 .PHONY: bootstrap2 bootstrap2-lean
62445 bootstrap2:
62446 echo stage2 > stage_final
62447 @r=`${PWD_COMMAND}`; export r; \
62448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62449 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
62450 @: $(MAKE); $(unstage)
62451 @r=`${PWD_COMMAND}`; export r; \
62452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62453 TFLAGS="$(STAGE2_TFLAGS)"; \
62454 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
62455
62456 bootstrap2-lean:
62457 echo stage2 > stage_final
62458 @r=`${PWD_COMMAND}`; export r; \
62459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62460 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
62461 @: $(MAKE); $(unstage)
62462 @r=`${PWD_COMMAND}`; export r; \
62463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62464 TFLAGS="$(STAGE2_TFLAGS)"; \
62465 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
62466
62467
62468 # Rules to wipe a stage and all the following ones, also used for cleanstrap
62469 distclean-stage1:: distclean-stage2
62470 .PHONY: distclean-stage2
62471 distclean-stage2::
62472 @: $(MAKE); $(stage)
62473 @test "`cat stage_last`" != stage2 || rm -f stage_last
62474 rm -rf stage2-*
62475
62476
62477 @endif gcc-bootstrap
62478
62479
62480 .PHONY: stage3-start stage3-end
62481
62482 stage3-start::
62483 @: $(MAKE); $(stage); \
62484 echo stage3 > stage_current; \
62485 echo stage3 > stage_last; \
62486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
62487 @if bfd
62488 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
62489 mkdir stage3-bfd; \
62490 mv stage3-bfd bfd; \
62491 mv stage2-bfd prev-bfd || test -f stage2-lean
62492 @endif bfd
62493 @if opcodes
62494 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
62495 mkdir stage3-opcodes; \
62496 mv stage3-opcodes opcodes; \
62497 mv stage2-opcodes prev-opcodes || test -f stage2-lean
62498 @endif opcodes
62499 @if binutils
62500 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
62501 mkdir stage3-binutils; \
62502 mv stage3-binutils binutils; \
62503 mv stage2-binutils prev-binutils || test -f stage2-lean
62504 @endif binutils
62505 @if fixincludes
62506 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
62507 mkdir stage3-fixincludes; \
62508 mv stage3-fixincludes fixincludes; \
62509 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
62510 @endif fixincludes
62511 @if gas
62512 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
62513 mkdir stage3-gas; \
62514 mv stage3-gas gas; \
62515 mv stage2-gas prev-gas || test -f stage2-lean
62516 @endif gas
62517 @if gcc
62518 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
62519 mkdir stage3-gcc; \
62520 mv stage3-gcc gcc; \
62521 mv stage2-gcc prev-gcc || test -f stage2-lean
62522 @endif gcc
62523 @if gmp
62524 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
62525 mkdir stage3-gmp; \
62526 mv stage3-gmp gmp; \
62527 mv stage2-gmp prev-gmp || test -f stage2-lean
62528 @endif gmp
62529 @if mpfr
62530 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
62531 mkdir stage3-mpfr; \
62532 mv stage3-mpfr mpfr; \
62533 mv stage2-mpfr prev-mpfr || test -f stage2-lean
62534 @endif mpfr
62535 @if mpc
62536 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
62537 mkdir stage3-mpc; \
62538 mv stage3-mpc mpc; \
62539 mv stage2-mpc prev-mpc || test -f stage2-lean
62540 @endif mpc
62541 @if isl
62542 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
62543 mkdir stage3-isl; \
62544 mv stage3-isl isl; \
62545 mv stage2-isl prev-isl || test -f stage2-lean
62546 @endif isl
62547 @if libelf
62548 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
62549 mkdir stage3-libelf; \
62550 mv stage3-libelf libelf; \
62551 mv stage2-libelf prev-libelf || test -f stage2-lean
62552 @endif libelf
62553 @if gold
62554 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
62555 mkdir stage3-gold; \
62556 mv stage3-gold gold; \
62557 mv stage2-gold prev-gold || test -f stage2-lean
62558 @endif gold
62559 @if intl
62560 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
62561 mkdir stage3-intl; \
62562 mv stage3-intl intl; \
62563 mv stage2-intl prev-intl || test -f stage2-lean
62564 @endif intl
62565 @if ld
62566 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
62567 mkdir stage3-ld; \
62568 mv stage3-ld ld; \
62569 mv stage2-ld prev-ld || test -f stage2-lean
62570 @endif ld
62571 @if libbacktrace
62572 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
62573 mkdir stage3-libbacktrace; \
62574 mv stage3-libbacktrace libbacktrace; \
62575 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
62576 @endif libbacktrace
62577 @if libcpp
62578 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
62579 mkdir stage3-libcpp; \
62580 mv stage3-libcpp libcpp; \
62581 mv stage2-libcpp prev-libcpp || test -f stage2-lean
62582 @endif libcpp
62583 @if libcody
62584 @cd $(HOST_SUBDIR); [ -d stage3-libcody ] || \
62585 mkdir stage3-libcody; \
62586 mv stage3-libcody libcody; \
62587 mv stage2-libcody prev-libcody || test -f stage2-lean
62588 @endif libcody
62589 @if libdecnumber
62590 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
62591 mkdir stage3-libdecnumber; \
62592 mv stage3-libdecnumber libdecnumber; \
62593 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
62594 @endif libdecnumber
62595 @if libiberty
62596 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
62597 mkdir stage3-libiberty; \
62598 mv stage3-libiberty libiberty; \
62599 mv stage2-libiberty prev-libiberty || test -f stage2-lean
62600 @endif libiberty
62601 @if libiberty-linker-plugin
62602 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
62603 mkdir stage3-libiberty-linker-plugin; \
62604 mv stage3-libiberty-linker-plugin libiberty-linker-plugin; \
62605 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
62606 @endif libiberty-linker-plugin
62607 @if libiconv
62608 @cd $(HOST_SUBDIR); [ -d stage3-libiconv ] || \
62609 mkdir stage3-libiconv; \
62610 mv stage3-libiconv libiconv; \
62611 mv stage2-libiconv prev-libiconv || test -f stage2-lean
62612 @endif libiconv
62613 @if zlib
62614 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
62615 mkdir stage3-zlib; \
62616 mv stage3-zlib zlib; \
62617 mv stage2-zlib prev-zlib || test -f stage2-lean
62618 @endif zlib
62619 @if lto-plugin
62620 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
62621 mkdir stage3-lto-plugin; \
62622 mv stage3-lto-plugin lto-plugin; \
62623 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
62624 @endif lto-plugin
62625 @if libctf
62626 @cd $(HOST_SUBDIR); [ -d stage3-libctf ] || \
62627 mkdir stage3-libctf; \
62628 mv stage3-libctf libctf; \
62629 mv stage2-libctf prev-libctf || test -f stage2-lean
62630 @endif libctf
62631 @[ -d stage3-$(TARGET_SUBDIR) ] || \
62632 mkdir stage3-$(TARGET_SUBDIR); \
62633 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
62634 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
62635
62636 stage3-end::
62637 @if bfd
62638 @if test -d $(HOST_SUBDIR)/bfd; then \
62639 cd $(HOST_SUBDIR); mv bfd stage3-bfd; \
62640 mv prev-bfd stage2-bfd; : ; \
62641 fi
62642 @endif bfd
62643 @if opcodes
62644 @if test -d $(HOST_SUBDIR)/opcodes; then \
62645 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes; \
62646 mv prev-opcodes stage2-opcodes; : ; \
62647 fi
62648 @endif opcodes
62649 @if binutils
62650 @if test -d $(HOST_SUBDIR)/binutils; then \
62651 cd $(HOST_SUBDIR); mv binutils stage3-binutils; \
62652 mv prev-binutils stage2-binutils; : ; \
62653 fi
62654 @endif binutils
62655 @if fixincludes
62656 @if test -d $(HOST_SUBDIR)/fixincludes; then \
62657 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes; \
62658 mv prev-fixincludes stage2-fixincludes; : ; \
62659 fi
62660 @endif fixincludes
62661 @if gas
62662 @if test -d $(HOST_SUBDIR)/gas; then \
62663 cd $(HOST_SUBDIR); mv gas stage3-gas; \
62664 mv prev-gas stage2-gas; : ; \
62665 fi
62666 @endif gas
62667 @if gcc
62668 @if test -d $(HOST_SUBDIR)/gcc; then \
62669 cd $(HOST_SUBDIR); mv gcc stage3-gcc; \
62670 mv prev-gcc stage2-gcc; : ; \
62671 fi
62672 @endif gcc
62673 @if gmp
62674 @if test -d $(HOST_SUBDIR)/gmp; then \
62675 cd $(HOST_SUBDIR); mv gmp stage3-gmp; \
62676 mv prev-gmp stage2-gmp; : ; \
62677 fi
62678 @endif gmp
62679 @if mpfr
62680 @if test -d $(HOST_SUBDIR)/mpfr; then \
62681 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr; \
62682 mv prev-mpfr stage2-mpfr; : ; \
62683 fi
62684 @endif mpfr
62685 @if mpc
62686 @if test -d $(HOST_SUBDIR)/mpc; then \
62687 cd $(HOST_SUBDIR); mv mpc stage3-mpc; \
62688 mv prev-mpc stage2-mpc; : ; \
62689 fi
62690 @endif mpc
62691 @if isl
62692 @if test -d $(HOST_SUBDIR)/isl; then \
62693 cd $(HOST_SUBDIR); mv isl stage3-isl; \
62694 mv prev-isl stage2-isl; : ; \
62695 fi
62696 @endif isl
62697 @if libelf
62698 @if test -d $(HOST_SUBDIR)/libelf; then \
62699 cd $(HOST_SUBDIR); mv libelf stage3-libelf; \
62700 mv prev-libelf stage2-libelf; : ; \
62701 fi
62702 @endif libelf
62703 @if gold
62704 @if test -d $(HOST_SUBDIR)/gold; then \
62705 cd $(HOST_SUBDIR); mv gold stage3-gold; \
62706 mv prev-gold stage2-gold; : ; \
62707 fi
62708 @endif gold
62709 @if intl
62710 @if test -d $(HOST_SUBDIR)/intl; then \
62711 cd $(HOST_SUBDIR); mv intl stage3-intl; \
62712 mv prev-intl stage2-intl; : ; \
62713 fi
62714 @endif intl
62715 @if ld
62716 @if test -d $(HOST_SUBDIR)/ld; then \
62717 cd $(HOST_SUBDIR); mv ld stage3-ld; \
62718 mv prev-ld stage2-ld; : ; \
62719 fi
62720 @endif ld
62721 @if libbacktrace
62722 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
62723 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace; \
62724 mv prev-libbacktrace stage2-libbacktrace; : ; \
62725 fi
62726 @endif libbacktrace
62727 @if libcpp
62728 @if test -d $(HOST_SUBDIR)/libcpp; then \
62729 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp; \
62730 mv prev-libcpp stage2-libcpp; : ; \
62731 fi
62732 @endif libcpp
62733 @if libcody
62734 @if test -d $(HOST_SUBDIR)/libcody; then \
62735 cd $(HOST_SUBDIR); mv libcody stage3-libcody; \
62736 mv prev-libcody stage2-libcody; : ; \
62737 fi
62738 @endif libcody
62739 @if libdecnumber
62740 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
62741 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber; \
62742 mv prev-libdecnumber stage2-libdecnumber; : ; \
62743 fi
62744 @endif libdecnumber
62745 @if libiberty
62746 @if test -d $(HOST_SUBDIR)/libiberty; then \
62747 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty; \
62748 mv prev-libiberty stage2-libiberty; : ; \
62749 fi
62750 @endif libiberty
62751 @if libiberty-linker-plugin
62752 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
62753 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin; \
62754 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin; : ; \
62755 fi
62756 @endif libiberty-linker-plugin
62757 @if libiconv
62758 @if test -d $(HOST_SUBDIR)/libiconv; then \
62759 cd $(HOST_SUBDIR); mv libiconv stage3-libiconv; \
62760 mv prev-libiconv stage2-libiconv; : ; \
62761 fi
62762 @endif libiconv
62763 @if zlib
62764 @if test -d $(HOST_SUBDIR)/zlib; then \
62765 cd $(HOST_SUBDIR); mv zlib stage3-zlib; \
62766 mv prev-zlib stage2-zlib; : ; \
62767 fi
62768 @endif zlib
62769 @if lto-plugin
62770 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
62771 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin; \
62772 mv prev-lto-plugin stage2-lto-plugin; : ; \
62773 fi
62774 @endif lto-plugin
62775 @if libctf
62776 @if test -d $(HOST_SUBDIR)/libctf; then \
62777 cd $(HOST_SUBDIR); mv libctf stage3-libctf; \
62778 mv prev-libctf stage2-libctf; : ; \
62779 fi
62780 @endif libctf
62781 @if test -d $(TARGET_SUBDIR); then \
62782 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); \
62783 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR); : ; \
62784 fi
62785 rm -f stage_current
62786
62787 # Bubble a bug fix through all the stages up to stage 3. They are
62788 # remade, but not reconfigured. The next stage (if any) will not be
62789 # reconfigured either.
62790 .PHONY: stage3-bubble
62791 stage3-bubble:: stage2-bubble
62792 @r=`${PWD_COMMAND}`; export r; \
62793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62794 if test -f stage3-lean || test -f stage2-lean ; then \
62795 echo Skipping rebuild of stage3; \
62796 else \
62797 $(MAKE) stage3-start; \
62798 if $(LEAN); then \
62799 rm -rf stage1-*; \
62800 $(STAMP) stage1-lean; \
62801 fi; \
62802 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
62803 fi
62804 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
62805
62806 .PHONY: all-stage3 clean-stage3
62807 do-clean: clean-stage3
62808
62809 # FIXME: Will not need to be conditional when toplevel bootstrap is the
62810 # only possibility, but now it conflicts with no-bootstrap rules
62811 @if gcc-bootstrap
62812
62813 compare:
62814 @r=`${PWD_COMMAND}`; export r; \
62815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62816 if test -f stage2-lean; then \
62817 echo Cannot compare object files as stage 2 was deleted.; \
62818 exit 0; \
62819 fi; \
62820 : $(MAKE); $(stage); \
62821 rm -f .bad_compare; \
62822 echo Comparing stages 2 and 3; \
62823 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
62824 files=`find stage3-* -name "*$(objext)" -print | \
62825 sed -n s,^stage$$sed-,,p`; \
62826 for file in $${files} ${extra-compare}; do \
62827 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
62828 if test ! -f $$f1; then continue; fi; \
62829 $(do-compare) > /dev/null 2>&1; \
62830 if test $$? -eq 1; then \
62831 case $$file in \
62832 @compare_exclusions@) \
62833 echo warning: $$file differs ;; \
62834 *) \
62835 echo $$file differs >> .bad_compare ;; \
62836 esac; \
62837 fi; \
62838 done; \
62839 if [ -f .bad_compare ]; then \
62840 echo "Bootstrap comparison failure!"; \
62841 cat .bad_compare; \
62842 exit 1; \
62843 else \
62844 echo Comparison successful.; \
62845 fi; \
62846 $(STAMP) compare
62847 if $(LEAN); then \
62848 rm -rf stage2-*; \
62849 $(STAMP) stage2-lean; \
62850 fi
62851
62852
62853
62854 .PHONY: bootstrap bootstrap-lean
62855 bootstrap:
62856 echo stage3 > stage_final
62857 @r=`${PWD_COMMAND}`; export r; \
62858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62859 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
62860 @: $(MAKE); $(unstage)
62861 @r=`${PWD_COMMAND}`; export r; \
62862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62863 TFLAGS="$(STAGE3_TFLAGS)"; \
62864 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
62865
62866 bootstrap-lean:
62867 echo stage3 > stage_final
62868 @r=`${PWD_COMMAND}`; export r; \
62869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62870 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
62871 @: $(MAKE); $(unstage)
62872 @r=`${PWD_COMMAND}`; export r; \
62873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62874 TFLAGS="$(STAGE3_TFLAGS)"; \
62875 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
62876
62877
62878 # Rules to wipe a stage and all the following ones, also used for cleanstrap
62879 distclean-stage2:: distclean-stage3
62880 .PHONY: distclean-stage3
62881 distclean-stage3::
62882 @: $(MAKE); $(stage)
62883 @test "`cat stage_last`" != stage3 || rm -f stage_last
62884 rm -rf stage3-* compare
62885
62886
62887 .PHONY: cleanstrap
62888 cleanstrap: do-distclean local-clean
62889 echo stage3 > stage_final
62890 @r=`${PWD_COMMAND}`; export r; \
62891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62892 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
62893 @: $(MAKE); $(unstage)
62894 @r=`${PWD_COMMAND}`; export r; \
62895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
62896 TFLAGS="$(STAGE3_TFLAGS)"; \
62897 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
62898
62899 @endif gcc-bootstrap
62900
62901
62902 .PHONY: stage4-start stage4-end
62903
62904 stage4-start::
62905 @: $(MAKE); $(stage); \
62906 echo stage4 > stage_current; \
62907 echo stage4 > stage_last; \
62908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
62909 @if bfd
62910 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
62911 mkdir stage4-bfd; \
62912 mv stage4-bfd bfd; \
62913 mv stage3-bfd prev-bfd || test -f stage3-lean
62914 @endif bfd
62915 @if opcodes
62916 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
62917 mkdir stage4-opcodes; \
62918 mv stage4-opcodes opcodes; \
62919 mv stage3-opcodes prev-opcodes || test -f stage3-lean
62920 @endif opcodes
62921 @if binutils
62922 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
62923 mkdir stage4-binutils; \
62924 mv stage4-binutils binutils; \
62925 mv stage3-binutils prev-binutils || test -f stage3-lean
62926 @endif binutils
62927 @if fixincludes
62928 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
62929 mkdir stage4-fixincludes; \
62930 mv stage4-fixincludes fixincludes; \
62931 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
62932 @endif fixincludes
62933 @if gas
62934 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
62935 mkdir stage4-gas; \
62936 mv stage4-gas gas; \
62937 mv stage3-gas prev-gas || test -f stage3-lean
62938 @endif gas
62939 @if gcc
62940 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
62941 mkdir stage4-gcc; \
62942 mv stage4-gcc gcc; \
62943 mv stage3-gcc prev-gcc || test -f stage3-lean
62944 @endif gcc
62945 @if gmp
62946 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
62947 mkdir stage4-gmp; \
62948 mv stage4-gmp gmp; \
62949 mv stage3-gmp prev-gmp || test -f stage3-lean
62950 @endif gmp
62951 @if mpfr
62952 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
62953 mkdir stage4-mpfr; \
62954 mv stage4-mpfr mpfr; \
62955 mv stage3-mpfr prev-mpfr || test -f stage3-lean
62956 @endif mpfr
62957 @if mpc
62958 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
62959 mkdir stage4-mpc; \
62960 mv stage4-mpc mpc; \
62961 mv stage3-mpc prev-mpc || test -f stage3-lean
62962 @endif mpc
62963 @if isl
62964 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
62965 mkdir stage4-isl; \
62966 mv stage4-isl isl; \
62967 mv stage3-isl prev-isl || test -f stage3-lean
62968 @endif isl
62969 @if libelf
62970 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
62971 mkdir stage4-libelf; \
62972 mv stage4-libelf libelf; \
62973 mv stage3-libelf prev-libelf || test -f stage3-lean
62974 @endif libelf
62975 @if gold
62976 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
62977 mkdir stage4-gold; \
62978 mv stage4-gold gold; \
62979 mv stage3-gold prev-gold || test -f stage3-lean
62980 @endif gold
62981 @if intl
62982 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
62983 mkdir stage4-intl; \
62984 mv stage4-intl intl; \
62985 mv stage3-intl prev-intl || test -f stage3-lean
62986 @endif intl
62987 @if ld
62988 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
62989 mkdir stage4-ld; \
62990 mv stage4-ld ld; \
62991 mv stage3-ld prev-ld || test -f stage3-lean
62992 @endif ld
62993 @if libbacktrace
62994 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
62995 mkdir stage4-libbacktrace; \
62996 mv stage4-libbacktrace libbacktrace; \
62997 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
62998 @endif libbacktrace
62999 @if libcpp
63000 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
63001 mkdir stage4-libcpp; \
63002 mv stage4-libcpp libcpp; \
63003 mv stage3-libcpp prev-libcpp || test -f stage3-lean
63004 @endif libcpp
63005 @if libcody
63006 @cd $(HOST_SUBDIR); [ -d stage4-libcody ] || \
63007 mkdir stage4-libcody; \
63008 mv stage4-libcody libcody; \
63009 mv stage3-libcody prev-libcody || test -f stage3-lean
63010 @endif libcody
63011 @if libdecnumber
63012 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
63013 mkdir stage4-libdecnumber; \
63014 mv stage4-libdecnumber libdecnumber; \
63015 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
63016 @endif libdecnumber
63017 @if libiberty
63018 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
63019 mkdir stage4-libiberty; \
63020 mv stage4-libiberty libiberty; \
63021 mv stage3-libiberty prev-libiberty || test -f stage3-lean
63022 @endif libiberty
63023 @if libiberty-linker-plugin
63024 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
63025 mkdir stage4-libiberty-linker-plugin; \
63026 mv stage4-libiberty-linker-plugin libiberty-linker-plugin; \
63027 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
63028 @endif libiberty-linker-plugin
63029 @if libiconv
63030 @cd $(HOST_SUBDIR); [ -d stage4-libiconv ] || \
63031 mkdir stage4-libiconv; \
63032 mv stage4-libiconv libiconv; \
63033 mv stage3-libiconv prev-libiconv || test -f stage3-lean
63034 @endif libiconv
63035 @if zlib
63036 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
63037 mkdir stage4-zlib; \
63038 mv stage4-zlib zlib; \
63039 mv stage3-zlib prev-zlib || test -f stage3-lean
63040 @endif zlib
63041 @if lto-plugin
63042 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
63043 mkdir stage4-lto-plugin; \
63044 mv stage4-lto-plugin lto-plugin; \
63045 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
63046 @endif lto-plugin
63047 @if libctf
63048 @cd $(HOST_SUBDIR); [ -d stage4-libctf ] || \
63049 mkdir stage4-libctf; \
63050 mv stage4-libctf libctf; \
63051 mv stage3-libctf prev-libctf || test -f stage3-lean
63052 @endif libctf
63053 @[ -d stage4-$(TARGET_SUBDIR) ] || \
63054 mkdir stage4-$(TARGET_SUBDIR); \
63055 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
63056 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
63057
63058 stage4-end::
63059 @if bfd
63060 @if test -d $(HOST_SUBDIR)/bfd; then \
63061 cd $(HOST_SUBDIR); mv bfd stage4-bfd; \
63062 mv prev-bfd stage3-bfd; : ; \
63063 fi
63064 @endif bfd
63065 @if opcodes
63066 @if test -d $(HOST_SUBDIR)/opcodes; then \
63067 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes; \
63068 mv prev-opcodes stage3-opcodes; : ; \
63069 fi
63070 @endif opcodes
63071 @if binutils
63072 @if test -d $(HOST_SUBDIR)/binutils; then \
63073 cd $(HOST_SUBDIR); mv binutils stage4-binutils; \
63074 mv prev-binutils stage3-binutils; : ; \
63075 fi
63076 @endif binutils
63077 @if fixincludes
63078 @if test -d $(HOST_SUBDIR)/fixincludes; then \
63079 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes; \
63080 mv prev-fixincludes stage3-fixincludes; : ; \
63081 fi
63082 @endif fixincludes
63083 @if gas
63084 @if test -d $(HOST_SUBDIR)/gas; then \
63085 cd $(HOST_SUBDIR); mv gas stage4-gas; \
63086 mv prev-gas stage3-gas; : ; \
63087 fi
63088 @endif gas
63089 @if gcc
63090 @if test -d $(HOST_SUBDIR)/gcc; then \
63091 cd $(HOST_SUBDIR); mv gcc stage4-gcc; \
63092 mv prev-gcc stage3-gcc; : ; \
63093 fi
63094 @endif gcc
63095 @if gmp
63096 @if test -d $(HOST_SUBDIR)/gmp; then \
63097 cd $(HOST_SUBDIR); mv gmp stage4-gmp; \
63098 mv prev-gmp stage3-gmp; : ; \
63099 fi
63100 @endif gmp
63101 @if mpfr
63102 @if test -d $(HOST_SUBDIR)/mpfr; then \
63103 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr; \
63104 mv prev-mpfr stage3-mpfr; : ; \
63105 fi
63106 @endif mpfr
63107 @if mpc
63108 @if test -d $(HOST_SUBDIR)/mpc; then \
63109 cd $(HOST_SUBDIR); mv mpc stage4-mpc; \
63110 mv prev-mpc stage3-mpc; : ; \
63111 fi
63112 @endif mpc
63113 @if isl
63114 @if test -d $(HOST_SUBDIR)/isl; then \
63115 cd $(HOST_SUBDIR); mv isl stage4-isl; \
63116 mv prev-isl stage3-isl; : ; \
63117 fi
63118 @endif isl
63119 @if libelf
63120 @if test -d $(HOST_SUBDIR)/libelf; then \
63121 cd $(HOST_SUBDIR); mv libelf stage4-libelf; \
63122 mv prev-libelf stage3-libelf; : ; \
63123 fi
63124 @endif libelf
63125 @if gold
63126 @if test -d $(HOST_SUBDIR)/gold; then \
63127 cd $(HOST_SUBDIR); mv gold stage4-gold; \
63128 mv prev-gold stage3-gold; : ; \
63129 fi
63130 @endif gold
63131 @if intl
63132 @if test -d $(HOST_SUBDIR)/intl; then \
63133 cd $(HOST_SUBDIR); mv intl stage4-intl; \
63134 mv prev-intl stage3-intl; : ; \
63135 fi
63136 @endif intl
63137 @if ld
63138 @if test -d $(HOST_SUBDIR)/ld; then \
63139 cd $(HOST_SUBDIR); mv ld stage4-ld; \
63140 mv prev-ld stage3-ld; : ; \
63141 fi
63142 @endif ld
63143 @if libbacktrace
63144 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
63145 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace; \
63146 mv prev-libbacktrace stage3-libbacktrace; : ; \
63147 fi
63148 @endif libbacktrace
63149 @if libcpp
63150 @if test -d $(HOST_SUBDIR)/libcpp; then \
63151 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp; \
63152 mv prev-libcpp stage3-libcpp; : ; \
63153 fi
63154 @endif libcpp
63155 @if libcody
63156 @if test -d $(HOST_SUBDIR)/libcody; then \
63157 cd $(HOST_SUBDIR); mv libcody stage4-libcody; \
63158 mv prev-libcody stage3-libcody; : ; \
63159 fi
63160 @endif libcody
63161 @if libdecnumber
63162 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
63163 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber; \
63164 mv prev-libdecnumber stage3-libdecnumber; : ; \
63165 fi
63166 @endif libdecnumber
63167 @if libiberty
63168 @if test -d $(HOST_SUBDIR)/libiberty; then \
63169 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty; \
63170 mv prev-libiberty stage3-libiberty; : ; \
63171 fi
63172 @endif libiberty
63173 @if libiberty-linker-plugin
63174 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
63175 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin; \
63176 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin; : ; \
63177 fi
63178 @endif libiberty-linker-plugin
63179 @if libiconv
63180 @if test -d $(HOST_SUBDIR)/libiconv; then \
63181 cd $(HOST_SUBDIR); mv libiconv stage4-libiconv; \
63182 mv prev-libiconv stage3-libiconv; : ; \
63183 fi
63184 @endif libiconv
63185 @if zlib
63186 @if test -d $(HOST_SUBDIR)/zlib; then \
63187 cd $(HOST_SUBDIR); mv zlib stage4-zlib; \
63188 mv prev-zlib stage3-zlib; : ; \
63189 fi
63190 @endif zlib
63191 @if lto-plugin
63192 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
63193 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin; \
63194 mv prev-lto-plugin stage3-lto-plugin; : ; \
63195 fi
63196 @endif lto-plugin
63197 @if libctf
63198 @if test -d $(HOST_SUBDIR)/libctf; then \
63199 cd $(HOST_SUBDIR); mv libctf stage4-libctf; \
63200 mv prev-libctf stage3-libctf; : ; \
63201 fi
63202 @endif libctf
63203 @if test -d $(TARGET_SUBDIR); then \
63204 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR); \
63205 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR); : ; \
63206 fi
63207 rm -f stage_current
63208
63209 # Bubble a bug fix through all the stages up to stage 4. They are
63210 # remade, but not reconfigured. The next stage (if any) will not be
63211 # reconfigured either.
63212 .PHONY: stage4-bubble
63213 stage4-bubble:: stage3-bubble
63214 @r=`${PWD_COMMAND}`; export r; \
63215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63216 if test -f stage4-lean || test -f stage3-lean ; then \
63217 echo Skipping rebuild of stage4; \
63218 else \
63219 $(MAKE) stage4-start; \
63220 if $(LEAN); then \
63221 rm -rf stage2-*; \
63222 $(STAMP) stage2-lean; \
63223 fi; \
63224 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
63225 fi
63226 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
63227
63228 .PHONY: all-stage4 clean-stage4
63229 do-clean: clean-stage4
63230
63231 # FIXME: Will not need to be conditional when toplevel bootstrap is the
63232 # only possibility, but now it conflicts with no-bootstrap rules
63233 @if gcc-bootstrap
63234
63235 compare3:
63236 @r=`${PWD_COMMAND}`; export r; \
63237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63238 if test -f stage3-lean; then \
63239 echo Cannot compare object files as stage 3 was deleted.; \
63240 exit 0; \
63241 fi; \
63242 : $(MAKE); $(stage); \
63243 rm -f .bad_compare; \
63244 echo Comparing stages 3 and 4; \
63245 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
63246 files=`find stage4-* -name "*$(objext)" -print | \
63247 sed -n s,^stage$$sed-,,p`; \
63248 for file in $${files} ${extra-compare}; do \
63249 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
63250 if test ! -f $$f1; then continue; fi; \
63251 $(do-compare3) > /dev/null 2>&1; \
63252 if test $$? -eq 1; then \
63253 case $$file in \
63254 @compare_exclusions@) \
63255 echo warning: $$file differs ;; \
63256 *) \
63257 echo $$file differs >> .bad_compare ;; \
63258 esac; \
63259 fi; \
63260 done; \
63261 if [ -f .bad_compare ]; then \
63262 echo "Bootstrap comparison failure!"; \
63263 cat .bad_compare; \
63264 exit 1; \
63265 else \
63266 echo Comparison successful.; \
63267 fi; \
63268 $(STAMP) compare3
63269 if $(LEAN); then \
63270 rm -rf stage3-*; \
63271 $(STAMP) stage3-lean; \
63272 fi
63273
63274
63275
63276 .PHONY: bootstrap4 bootstrap4-lean
63277 bootstrap4:
63278 echo stage4 > stage_final
63279 @r=`${PWD_COMMAND}`; export r; \
63280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63281 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
63282 @: $(MAKE); $(unstage)
63283 @r=`${PWD_COMMAND}`; export r; \
63284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63285 TFLAGS="$(STAGE4_TFLAGS)"; \
63286 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
63287
63288 bootstrap4-lean:
63289 echo stage4 > stage_final
63290 @r=`${PWD_COMMAND}`; export r; \
63291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63292 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
63293 @: $(MAKE); $(unstage)
63294 @r=`${PWD_COMMAND}`; export r; \
63295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63296 TFLAGS="$(STAGE4_TFLAGS)"; \
63297 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
63298
63299
63300 # Rules to wipe a stage and all the following ones, also used for cleanstrap
63301 distclean-stage3:: distclean-stage4
63302 .PHONY: distclean-stage4
63303 distclean-stage4::
63304 @: $(MAKE); $(stage)
63305 @test "`cat stage_last`" != stage4 || rm -f stage_last
63306 rm -rf stage4-* compare3
63307
63308
63309 @endif gcc-bootstrap
63310
63311
63312 .PHONY: stageprofile-start stageprofile-end
63313
63314 stageprofile-start::
63315 @: $(MAKE); $(stage); \
63316 echo stageprofile > stage_current; \
63317 echo stageprofile > stage_last; \
63318 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
63319 @if bfd
63320 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
63321 mkdir stageprofile-bfd; \
63322 mv stageprofile-bfd bfd; \
63323 mv stage1-bfd prev-bfd || test -f stage1-lean
63324 @endif bfd
63325 @if opcodes
63326 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
63327 mkdir stageprofile-opcodes; \
63328 mv stageprofile-opcodes opcodes; \
63329 mv stage1-opcodes prev-opcodes || test -f stage1-lean
63330 @endif opcodes
63331 @if binutils
63332 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
63333 mkdir stageprofile-binutils; \
63334 mv stageprofile-binutils binutils; \
63335 mv stage1-binutils prev-binutils || test -f stage1-lean
63336 @endif binutils
63337 @if fixincludes
63338 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
63339 mkdir stageprofile-fixincludes; \
63340 mv stageprofile-fixincludes fixincludes; \
63341 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
63342 @endif fixincludes
63343 @if gas
63344 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
63345 mkdir stageprofile-gas; \
63346 mv stageprofile-gas gas; \
63347 mv stage1-gas prev-gas || test -f stage1-lean
63348 @endif gas
63349 @if gcc
63350 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
63351 mkdir stageprofile-gcc; \
63352 mv stageprofile-gcc gcc; \
63353 mv stage1-gcc prev-gcc || test -f stage1-lean
63354 @endif gcc
63355 @if gmp
63356 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
63357 mkdir stageprofile-gmp; \
63358 mv stageprofile-gmp gmp; \
63359 mv stage1-gmp prev-gmp || test -f stage1-lean
63360 @endif gmp
63361 @if mpfr
63362 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
63363 mkdir stageprofile-mpfr; \
63364 mv stageprofile-mpfr mpfr; \
63365 mv stage1-mpfr prev-mpfr || test -f stage1-lean
63366 @endif mpfr
63367 @if mpc
63368 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
63369 mkdir stageprofile-mpc; \
63370 mv stageprofile-mpc mpc; \
63371 mv stage1-mpc prev-mpc || test -f stage1-lean
63372 @endif mpc
63373 @if isl
63374 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
63375 mkdir stageprofile-isl; \
63376 mv stageprofile-isl isl; \
63377 mv stage1-isl prev-isl || test -f stage1-lean
63378 @endif isl
63379 @if libelf
63380 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
63381 mkdir stageprofile-libelf; \
63382 mv stageprofile-libelf libelf; \
63383 mv stage1-libelf prev-libelf || test -f stage1-lean
63384 @endif libelf
63385 @if gold
63386 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
63387 mkdir stageprofile-gold; \
63388 mv stageprofile-gold gold; \
63389 mv stage1-gold prev-gold || test -f stage1-lean
63390 @endif gold
63391 @if intl
63392 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
63393 mkdir stageprofile-intl; \
63394 mv stageprofile-intl intl; \
63395 mv stage1-intl prev-intl || test -f stage1-lean
63396 @endif intl
63397 @if ld
63398 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
63399 mkdir stageprofile-ld; \
63400 mv stageprofile-ld ld; \
63401 mv stage1-ld prev-ld || test -f stage1-lean
63402 @endif ld
63403 @if libbacktrace
63404 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
63405 mkdir stageprofile-libbacktrace; \
63406 mv stageprofile-libbacktrace libbacktrace; \
63407 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
63408 @endif libbacktrace
63409 @if libcpp
63410 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
63411 mkdir stageprofile-libcpp; \
63412 mv stageprofile-libcpp libcpp; \
63413 mv stage1-libcpp prev-libcpp || test -f stage1-lean
63414 @endif libcpp
63415 @if libcody
63416 @cd $(HOST_SUBDIR); [ -d stageprofile-libcody ] || \
63417 mkdir stageprofile-libcody; \
63418 mv stageprofile-libcody libcody; \
63419 mv stage1-libcody prev-libcody || test -f stage1-lean
63420 @endif libcody
63421 @if libdecnumber
63422 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
63423 mkdir stageprofile-libdecnumber; \
63424 mv stageprofile-libdecnumber libdecnumber; \
63425 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
63426 @endif libdecnumber
63427 @if libiberty
63428 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
63429 mkdir stageprofile-libiberty; \
63430 mv stageprofile-libiberty libiberty; \
63431 mv stage1-libiberty prev-libiberty || test -f stage1-lean
63432 @endif libiberty
63433 @if libiberty-linker-plugin
63434 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
63435 mkdir stageprofile-libiberty-linker-plugin; \
63436 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin; \
63437 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
63438 @endif libiberty-linker-plugin
63439 @if libiconv
63440 @cd $(HOST_SUBDIR); [ -d stageprofile-libiconv ] || \
63441 mkdir stageprofile-libiconv; \
63442 mv stageprofile-libiconv libiconv; \
63443 mv stage1-libiconv prev-libiconv || test -f stage1-lean
63444 @endif libiconv
63445 @if zlib
63446 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
63447 mkdir stageprofile-zlib; \
63448 mv stageprofile-zlib zlib; \
63449 mv stage1-zlib prev-zlib || test -f stage1-lean
63450 @endif zlib
63451 @if lto-plugin
63452 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
63453 mkdir stageprofile-lto-plugin; \
63454 mv stageprofile-lto-plugin lto-plugin; \
63455 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
63456 @endif lto-plugin
63457 @if libctf
63458 @cd $(HOST_SUBDIR); [ -d stageprofile-libctf ] || \
63459 mkdir stageprofile-libctf; \
63460 mv stageprofile-libctf libctf; \
63461 mv stage1-libctf prev-libctf || test -f stage1-lean
63462 @endif libctf
63463 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
63464 mkdir stageprofile-$(TARGET_SUBDIR); \
63465 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
63466 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
63467
63468 stageprofile-end::
63469 @if bfd
63470 @if test -d $(HOST_SUBDIR)/bfd; then \
63471 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd; \
63472 mv prev-bfd stage1-bfd; : ; \
63473 fi
63474 @endif bfd
63475 @if opcodes
63476 @if test -d $(HOST_SUBDIR)/opcodes; then \
63477 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes; \
63478 mv prev-opcodes stage1-opcodes; : ; \
63479 fi
63480 @endif opcodes
63481 @if binutils
63482 @if test -d $(HOST_SUBDIR)/binutils; then \
63483 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils; \
63484 mv prev-binutils stage1-binutils; : ; \
63485 fi
63486 @endif binutils
63487 @if fixincludes
63488 @if test -d $(HOST_SUBDIR)/fixincludes; then \
63489 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes; \
63490 mv prev-fixincludes stage1-fixincludes; : ; \
63491 fi
63492 @endif fixincludes
63493 @if gas
63494 @if test -d $(HOST_SUBDIR)/gas; then \
63495 cd $(HOST_SUBDIR); mv gas stageprofile-gas; \
63496 mv prev-gas stage1-gas; : ; \
63497 fi
63498 @endif gas
63499 @if gcc
63500 @if test -d $(HOST_SUBDIR)/gcc; then \
63501 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc; \
63502 mv prev-gcc stage1-gcc; : ; \
63503 fi
63504 @endif gcc
63505 @if gmp
63506 @if test -d $(HOST_SUBDIR)/gmp; then \
63507 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp; \
63508 mv prev-gmp stage1-gmp; : ; \
63509 fi
63510 @endif gmp
63511 @if mpfr
63512 @if test -d $(HOST_SUBDIR)/mpfr; then \
63513 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr; \
63514 mv prev-mpfr stage1-mpfr; : ; \
63515 fi
63516 @endif mpfr
63517 @if mpc
63518 @if test -d $(HOST_SUBDIR)/mpc; then \
63519 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc; \
63520 mv prev-mpc stage1-mpc; : ; \
63521 fi
63522 @endif mpc
63523 @if isl
63524 @if test -d $(HOST_SUBDIR)/isl; then \
63525 cd $(HOST_SUBDIR); mv isl stageprofile-isl; \
63526 mv prev-isl stage1-isl; : ; \
63527 fi
63528 @endif isl
63529 @if libelf
63530 @if test -d $(HOST_SUBDIR)/libelf; then \
63531 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf; \
63532 mv prev-libelf stage1-libelf; : ; \
63533 fi
63534 @endif libelf
63535 @if gold
63536 @if test -d $(HOST_SUBDIR)/gold; then \
63537 cd $(HOST_SUBDIR); mv gold stageprofile-gold; \
63538 mv prev-gold stage1-gold; : ; \
63539 fi
63540 @endif gold
63541 @if intl
63542 @if test -d $(HOST_SUBDIR)/intl; then \
63543 cd $(HOST_SUBDIR); mv intl stageprofile-intl; \
63544 mv prev-intl stage1-intl; : ; \
63545 fi
63546 @endif intl
63547 @if ld
63548 @if test -d $(HOST_SUBDIR)/ld; then \
63549 cd $(HOST_SUBDIR); mv ld stageprofile-ld; \
63550 mv prev-ld stage1-ld; : ; \
63551 fi
63552 @endif ld
63553 @if libbacktrace
63554 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
63555 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace; \
63556 mv prev-libbacktrace stage1-libbacktrace; : ; \
63557 fi
63558 @endif libbacktrace
63559 @if libcpp
63560 @if test -d $(HOST_SUBDIR)/libcpp; then \
63561 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp; \
63562 mv prev-libcpp stage1-libcpp; : ; \
63563 fi
63564 @endif libcpp
63565 @if libcody
63566 @if test -d $(HOST_SUBDIR)/libcody; then \
63567 cd $(HOST_SUBDIR); mv libcody stageprofile-libcody; \
63568 mv prev-libcody stage1-libcody; : ; \
63569 fi
63570 @endif libcody
63571 @if libdecnumber
63572 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
63573 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber; \
63574 mv prev-libdecnumber stage1-libdecnumber; : ; \
63575 fi
63576 @endif libdecnumber
63577 @if libiberty
63578 @if test -d $(HOST_SUBDIR)/libiberty; then \
63579 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty; \
63580 mv prev-libiberty stage1-libiberty; : ; \
63581 fi
63582 @endif libiberty
63583 @if libiberty-linker-plugin
63584 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
63585 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin; \
63586 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
63587 fi
63588 @endif libiberty-linker-plugin
63589 @if libiconv
63590 @if test -d $(HOST_SUBDIR)/libiconv; then \
63591 cd $(HOST_SUBDIR); mv libiconv stageprofile-libiconv; \
63592 mv prev-libiconv stage1-libiconv; : ; \
63593 fi
63594 @endif libiconv
63595 @if zlib
63596 @if test -d $(HOST_SUBDIR)/zlib; then \
63597 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib; \
63598 mv prev-zlib stage1-zlib; : ; \
63599 fi
63600 @endif zlib
63601 @if lto-plugin
63602 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
63603 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin; \
63604 mv prev-lto-plugin stage1-lto-plugin; : ; \
63605 fi
63606 @endif lto-plugin
63607 @if libctf
63608 @if test -d $(HOST_SUBDIR)/libctf; then \
63609 cd $(HOST_SUBDIR); mv libctf stageprofile-libctf; \
63610 mv prev-libctf stage1-libctf; : ; \
63611 fi
63612 @endif libctf
63613 @if test -d $(TARGET_SUBDIR); then \
63614 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); \
63615 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
63616 fi
63617 rm -f stage_current
63618
63619 # Bubble a bug fix through all the stages up to stage profile. They are
63620 # remade, but not reconfigured. The next stage (if any) will not be
63621 # reconfigured either.
63622 .PHONY: stageprofile-bubble
63623 stageprofile-bubble:: stage1-bubble
63624 @r=`${PWD_COMMAND}`; export r; \
63625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63626 if test -f stageprofile-lean || test -f stage1-lean ; then \
63627 echo Skipping rebuild of stageprofile; \
63628 else \
63629 $(MAKE) stageprofile-start; \
63630 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
63631 fi
63632
63633 .PHONY: all-stageprofile clean-stageprofile
63634 do-clean: clean-stageprofile
63635
63636 # FIXME: Will not need to be conditional when toplevel bootstrap is the
63637 # only possibility, but now it conflicts with no-bootstrap rules
63638 @if gcc-bootstrap
63639
63640
63641
63642
63643 # Rules to wipe a stage and all the following ones, also used for cleanstrap
63644 distclean-stage1:: distclean-stageprofile
63645 .PHONY: distclean-stageprofile
63646 distclean-stageprofile::
63647 @: $(MAKE); $(stage)
63648 @test "`cat stage_last`" != stageprofile || rm -f stage_last
63649 rm -rf stageprofile-*
63650
63651
63652 @endif gcc-bootstrap
63653
63654
63655 .PHONY: stagetrain-start stagetrain-end
63656
63657 stagetrain-start::
63658 @: $(MAKE); $(stage); \
63659 echo stagetrain > stage_current; \
63660 echo stagetrain > stage_last; \
63661 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
63662 @if bfd
63663 @cd $(HOST_SUBDIR); [ -d stagetrain-bfd ] || \
63664 mkdir stagetrain-bfd; \
63665 mv stagetrain-bfd bfd; \
63666 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
63667 @endif bfd
63668 @if opcodes
63669 @cd $(HOST_SUBDIR); [ -d stagetrain-opcodes ] || \
63670 mkdir stagetrain-opcodes; \
63671 mv stagetrain-opcodes opcodes; \
63672 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
63673 @endif opcodes
63674 @if binutils
63675 @cd $(HOST_SUBDIR); [ -d stagetrain-binutils ] || \
63676 mkdir stagetrain-binutils; \
63677 mv stagetrain-binutils binutils; \
63678 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
63679 @endif binutils
63680 @if fixincludes
63681 @cd $(HOST_SUBDIR); [ -d stagetrain-fixincludes ] || \
63682 mkdir stagetrain-fixincludes; \
63683 mv stagetrain-fixincludes fixincludes; \
63684 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
63685 @endif fixincludes
63686 @if gas
63687 @cd $(HOST_SUBDIR); [ -d stagetrain-gas ] || \
63688 mkdir stagetrain-gas; \
63689 mv stagetrain-gas gas; \
63690 mv stageprofile-gas prev-gas || test -f stageprofile-lean
63691 @endif gas
63692 @if gcc
63693 @cd $(HOST_SUBDIR); [ -d stagetrain-gcc ] || \
63694 mkdir stagetrain-gcc; \
63695 mv stagetrain-gcc gcc; \
63696 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
63697 @endif gcc
63698 @if gmp
63699 @cd $(HOST_SUBDIR); [ -d stagetrain-gmp ] || \
63700 mkdir stagetrain-gmp; \
63701 mv stagetrain-gmp gmp; \
63702 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
63703 @endif gmp
63704 @if mpfr
63705 @cd $(HOST_SUBDIR); [ -d stagetrain-mpfr ] || \
63706 mkdir stagetrain-mpfr; \
63707 mv stagetrain-mpfr mpfr; \
63708 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
63709 @endif mpfr
63710 @if mpc
63711 @cd $(HOST_SUBDIR); [ -d stagetrain-mpc ] || \
63712 mkdir stagetrain-mpc; \
63713 mv stagetrain-mpc mpc; \
63714 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
63715 @endif mpc
63716 @if isl
63717 @cd $(HOST_SUBDIR); [ -d stagetrain-isl ] || \
63718 mkdir stagetrain-isl; \
63719 mv stagetrain-isl isl; \
63720 mv stageprofile-isl prev-isl || test -f stageprofile-lean
63721 @endif isl
63722 @if libelf
63723 @cd $(HOST_SUBDIR); [ -d stagetrain-libelf ] || \
63724 mkdir stagetrain-libelf; \
63725 mv stagetrain-libelf libelf; \
63726 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
63727 @endif libelf
63728 @if gold
63729 @cd $(HOST_SUBDIR); [ -d stagetrain-gold ] || \
63730 mkdir stagetrain-gold; \
63731 mv stagetrain-gold gold; \
63732 mv stageprofile-gold prev-gold || test -f stageprofile-lean
63733 @endif gold
63734 @if intl
63735 @cd $(HOST_SUBDIR); [ -d stagetrain-intl ] || \
63736 mkdir stagetrain-intl; \
63737 mv stagetrain-intl intl; \
63738 mv stageprofile-intl prev-intl || test -f stageprofile-lean
63739 @endif intl
63740 @if ld
63741 @cd $(HOST_SUBDIR); [ -d stagetrain-ld ] || \
63742 mkdir stagetrain-ld; \
63743 mv stagetrain-ld ld; \
63744 mv stageprofile-ld prev-ld || test -f stageprofile-lean
63745 @endif ld
63746 @if libbacktrace
63747 @cd $(HOST_SUBDIR); [ -d stagetrain-libbacktrace ] || \
63748 mkdir stagetrain-libbacktrace; \
63749 mv stagetrain-libbacktrace libbacktrace; \
63750 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
63751 @endif libbacktrace
63752 @if libcpp
63753 @cd $(HOST_SUBDIR); [ -d stagetrain-libcpp ] || \
63754 mkdir stagetrain-libcpp; \
63755 mv stagetrain-libcpp libcpp; \
63756 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
63757 @endif libcpp
63758 @if libcody
63759 @cd $(HOST_SUBDIR); [ -d stagetrain-libcody ] || \
63760 mkdir stagetrain-libcody; \
63761 mv stagetrain-libcody libcody; \
63762 mv stageprofile-libcody prev-libcody || test -f stageprofile-lean
63763 @endif libcody
63764 @if libdecnumber
63765 @cd $(HOST_SUBDIR); [ -d stagetrain-libdecnumber ] || \
63766 mkdir stagetrain-libdecnumber; \
63767 mv stagetrain-libdecnumber libdecnumber; \
63768 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
63769 @endif libdecnumber
63770 @if libiberty
63771 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty ] || \
63772 mkdir stagetrain-libiberty; \
63773 mv stagetrain-libiberty libiberty; \
63774 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
63775 @endif libiberty
63776 @if libiberty-linker-plugin
63777 @cd $(HOST_SUBDIR); [ -d stagetrain-libiberty-linker-plugin ] || \
63778 mkdir stagetrain-libiberty-linker-plugin; \
63779 mv stagetrain-libiberty-linker-plugin libiberty-linker-plugin; \
63780 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
63781 @endif libiberty-linker-plugin
63782 @if libiconv
63783 @cd $(HOST_SUBDIR); [ -d stagetrain-libiconv ] || \
63784 mkdir stagetrain-libiconv; \
63785 mv stagetrain-libiconv libiconv; \
63786 mv stageprofile-libiconv prev-libiconv || test -f stageprofile-lean
63787 @endif libiconv
63788 @if zlib
63789 @cd $(HOST_SUBDIR); [ -d stagetrain-zlib ] || \
63790 mkdir stagetrain-zlib; \
63791 mv stagetrain-zlib zlib; \
63792 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
63793 @endif zlib
63794 @if lto-plugin
63795 @cd $(HOST_SUBDIR); [ -d stagetrain-lto-plugin ] || \
63796 mkdir stagetrain-lto-plugin; \
63797 mv stagetrain-lto-plugin lto-plugin; \
63798 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
63799 @endif lto-plugin
63800 @if libctf
63801 @cd $(HOST_SUBDIR); [ -d stagetrain-libctf ] || \
63802 mkdir stagetrain-libctf; \
63803 mv stagetrain-libctf libctf; \
63804 mv stageprofile-libctf prev-libctf || test -f stageprofile-lean
63805 @endif libctf
63806 @[ -d stagetrain-$(TARGET_SUBDIR) ] || \
63807 mkdir stagetrain-$(TARGET_SUBDIR); \
63808 mv stagetrain-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
63809 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
63810
63811 stagetrain-end::
63812 @if bfd
63813 @if test -d $(HOST_SUBDIR)/bfd; then \
63814 cd $(HOST_SUBDIR); mv bfd stagetrain-bfd; \
63815 mv prev-bfd stageprofile-bfd; : ; \
63816 fi
63817 @endif bfd
63818 @if opcodes
63819 @if test -d $(HOST_SUBDIR)/opcodes; then \
63820 cd $(HOST_SUBDIR); mv opcodes stagetrain-opcodes; \
63821 mv prev-opcodes stageprofile-opcodes; : ; \
63822 fi
63823 @endif opcodes
63824 @if binutils
63825 @if test -d $(HOST_SUBDIR)/binutils; then \
63826 cd $(HOST_SUBDIR); mv binutils stagetrain-binutils; \
63827 mv prev-binutils stageprofile-binutils; : ; \
63828 fi
63829 @endif binutils
63830 @if fixincludes
63831 @if test -d $(HOST_SUBDIR)/fixincludes; then \
63832 cd $(HOST_SUBDIR); mv fixincludes stagetrain-fixincludes; \
63833 mv prev-fixincludes stageprofile-fixincludes; : ; \
63834 fi
63835 @endif fixincludes
63836 @if gas
63837 @if test -d $(HOST_SUBDIR)/gas; then \
63838 cd $(HOST_SUBDIR); mv gas stagetrain-gas; \
63839 mv prev-gas stageprofile-gas; : ; \
63840 fi
63841 @endif gas
63842 @if gcc
63843 @if test -d $(HOST_SUBDIR)/gcc; then \
63844 cd $(HOST_SUBDIR); mv gcc stagetrain-gcc; \
63845 mv prev-gcc stageprofile-gcc; : ; \
63846 fi
63847 @endif gcc
63848 @if gmp
63849 @if test -d $(HOST_SUBDIR)/gmp; then \
63850 cd $(HOST_SUBDIR); mv gmp stagetrain-gmp; \
63851 mv prev-gmp stageprofile-gmp; : ; \
63852 fi
63853 @endif gmp
63854 @if mpfr
63855 @if test -d $(HOST_SUBDIR)/mpfr; then \
63856 cd $(HOST_SUBDIR); mv mpfr stagetrain-mpfr; \
63857 mv prev-mpfr stageprofile-mpfr; : ; \
63858 fi
63859 @endif mpfr
63860 @if mpc
63861 @if test -d $(HOST_SUBDIR)/mpc; then \
63862 cd $(HOST_SUBDIR); mv mpc stagetrain-mpc; \
63863 mv prev-mpc stageprofile-mpc; : ; \
63864 fi
63865 @endif mpc
63866 @if isl
63867 @if test -d $(HOST_SUBDIR)/isl; then \
63868 cd $(HOST_SUBDIR); mv isl stagetrain-isl; \
63869 mv prev-isl stageprofile-isl; : ; \
63870 fi
63871 @endif isl
63872 @if libelf
63873 @if test -d $(HOST_SUBDIR)/libelf; then \
63874 cd $(HOST_SUBDIR); mv libelf stagetrain-libelf; \
63875 mv prev-libelf stageprofile-libelf; : ; \
63876 fi
63877 @endif libelf
63878 @if gold
63879 @if test -d $(HOST_SUBDIR)/gold; then \
63880 cd $(HOST_SUBDIR); mv gold stagetrain-gold; \
63881 mv prev-gold stageprofile-gold; : ; \
63882 fi
63883 @endif gold
63884 @if intl
63885 @if test -d $(HOST_SUBDIR)/intl; then \
63886 cd $(HOST_SUBDIR); mv intl stagetrain-intl; \
63887 mv prev-intl stageprofile-intl; : ; \
63888 fi
63889 @endif intl
63890 @if ld
63891 @if test -d $(HOST_SUBDIR)/ld; then \
63892 cd $(HOST_SUBDIR); mv ld stagetrain-ld; \
63893 mv prev-ld stageprofile-ld; : ; \
63894 fi
63895 @endif ld
63896 @if libbacktrace
63897 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
63898 cd $(HOST_SUBDIR); mv libbacktrace stagetrain-libbacktrace; \
63899 mv prev-libbacktrace stageprofile-libbacktrace; : ; \
63900 fi
63901 @endif libbacktrace
63902 @if libcpp
63903 @if test -d $(HOST_SUBDIR)/libcpp; then \
63904 cd $(HOST_SUBDIR); mv libcpp stagetrain-libcpp; \
63905 mv prev-libcpp stageprofile-libcpp; : ; \
63906 fi
63907 @endif libcpp
63908 @if libcody
63909 @if test -d $(HOST_SUBDIR)/libcody; then \
63910 cd $(HOST_SUBDIR); mv libcody stagetrain-libcody; \
63911 mv prev-libcody stageprofile-libcody; : ; \
63912 fi
63913 @endif libcody
63914 @if libdecnumber
63915 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
63916 cd $(HOST_SUBDIR); mv libdecnumber stagetrain-libdecnumber; \
63917 mv prev-libdecnumber stageprofile-libdecnumber; : ; \
63918 fi
63919 @endif libdecnumber
63920 @if libiberty
63921 @if test -d $(HOST_SUBDIR)/libiberty; then \
63922 cd $(HOST_SUBDIR); mv libiberty stagetrain-libiberty; \
63923 mv prev-libiberty stageprofile-libiberty; : ; \
63924 fi
63925 @endif libiberty
63926 @if libiberty-linker-plugin
63927 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
63928 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagetrain-libiberty-linker-plugin; \
63929 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin; : ; \
63930 fi
63931 @endif libiberty-linker-plugin
63932 @if libiconv
63933 @if test -d $(HOST_SUBDIR)/libiconv; then \
63934 cd $(HOST_SUBDIR); mv libiconv stagetrain-libiconv; \
63935 mv prev-libiconv stageprofile-libiconv; : ; \
63936 fi
63937 @endif libiconv
63938 @if zlib
63939 @if test -d $(HOST_SUBDIR)/zlib; then \
63940 cd $(HOST_SUBDIR); mv zlib stagetrain-zlib; \
63941 mv prev-zlib stageprofile-zlib; : ; \
63942 fi
63943 @endif zlib
63944 @if lto-plugin
63945 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
63946 cd $(HOST_SUBDIR); mv lto-plugin stagetrain-lto-plugin; \
63947 mv prev-lto-plugin stageprofile-lto-plugin; : ; \
63948 fi
63949 @endif lto-plugin
63950 @if libctf
63951 @if test -d $(HOST_SUBDIR)/libctf; then \
63952 cd $(HOST_SUBDIR); mv libctf stagetrain-libctf; \
63953 mv prev-libctf stageprofile-libctf; : ; \
63954 fi
63955 @endif libctf
63956 @if test -d $(TARGET_SUBDIR); then \
63957 mv $(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); \
63958 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR); : ; \
63959 fi
63960 rm -f stage_current
63961
63962 # Bubble a bug fix through all the stages up to stage train. They are
63963 # remade, but not reconfigured. The next stage (if any) will not be
63964 # reconfigured either.
63965 .PHONY: stagetrain-bubble
63966 stagetrain-bubble:: stageprofile-bubble
63967 @r=`${PWD_COMMAND}`; export r; \
63968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
63969 if test -f stagetrain-lean || test -f stageprofile-lean ; then \
63970 echo Skipping rebuild of stagetrain; \
63971 else \
63972 $(MAKE) stagetrain-start; \
63973 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagetrain; \
63974 fi
63975
63976 .PHONY: all-stagetrain clean-stagetrain
63977 do-clean: clean-stagetrain
63978
63979 # FIXME: Will not need to be conditional when toplevel bootstrap is the
63980 # only possibility, but now it conflicts with no-bootstrap rules
63981 @if gcc-bootstrap
63982
63983
63984
63985
63986 # Rules to wipe a stage and all the following ones, also used for cleanstrap
63987 distclean-stageprofile:: distclean-stagetrain
63988 .PHONY: distclean-stagetrain
63989 distclean-stagetrain::
63990 @: $(MAKE); $(stage)
63991 @test "`cat stage_last`" != stagetrain || rm -f stage_last
63992 rm -rf stagetrain-*
63993
63994
63995 @endif gcc-bootstrap
63996
63997
63998 .PHONY: stagefeedback-start stagefeedback-end
63999
64000 stagefeedback-start::
64001 @: $(MAKE); $(stage); \
64002 echo stagefeedback > stage_current; \
64003 echo stagefeedback > stage_last; \
64004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
64005 @if bfd
64006 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
64007 mkdir stagefeedback-bfd; \
64008 mv stagefeedback-bfd bfd; \
64009 mv stagetrain-bfd prev-bfd || test -f stagetrain-lean
64010 @endif bfd
64011 @if opcodes
64012 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
64013 mkdir stagefeedback-opcodes; \
64014 mv stagefeedback-opcodes opcodes; \
64015 mv stagetrain-opcodes prev-opcodes || test -f stagetrain-lean
64016 @endif opcodes
64017 @if binutils
64018 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
64019 mkdir stagefeedback-binutils; \
64020 mv stagefeedback-binutils binutils; \
64021 mv stagetrain-binutils prev-binutils || test -f stagetrain-lean
64022 @endif binutils
64023 @if fixincludes
64024 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
64025 mkdir stagefeedback-fixincludes; \
64026 mv stagefeedback-fixincludes fixincludes; \
64027 mv stagetrain-fixincludes prev-fixincludes || test -f stagetrain-lean
64028 @endif fixincludes
64029 @if gas
64030 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
64031 mkdir stagefeedback-gas; \
64032 mv stagefeedback-gas gas; \
64033 mv stagetrain-gas prev-gas || test -f stagetrain-lean
64034 @endif gas
64035 @if gcc
64036 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
64037 mkdir stagefeedback-gcc; \
64038 mv stagefeedback-gcc gcc; \
64039 mv stagetrain-gcc prev-gcc || test -f stagetrain-lean
64040 @endif gcc
64041 @if gmp
64042 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
64043 mkdir stagefeedback-gmp; \
64044 mv stagefeedback-gmp gmp; \
64045 mv stagetrain-gmp prev-gmp || test -f stagetrain-lean
64046 @endif gmp
64047 @if mpfr
64048 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
64049 mkdir stagefeedback-mpfr; \
64050 mv stagefeedback-mpfr mpfr; \
64051 mv stagetrain-mpfr prev-mpfr || test -f stagetrain-lean
64052 @endif mpfr
64053 @if mpc
64054 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
64055 mkdir stagefeedback-mpc; \
64056 mv stagefeedback-mpc mpc; \
64057 mv stagetrain-mpc prev-mpc || test -f stagetrain-lean
64058 @endif mpc
64059 @if isl
64060 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
64061 mkdir stagefeedback-isl; \
64062 mv stagefeedback-isl isl; \
64063 mv stagetrain-isl prev-isl || test -f stagetrain-lean
64064 @endif isl
64065 @if libelf
64066 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
64067 mkdir stagefeedback-libelf; \
64068 mv stagefeedback-libelf libelf; \
64069 mv stagetrain-libelf prev-libelf || test -f stagetrain-lean
64070 @endif libelf
64071 @if gold
64072 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
64073 mkdir stagefeedback-gold; \
64074 mv stagefeedback-gold gold; \
64075 mv stagetrain-gold prev-gold || test -f stagetrain-lean
64076 @endif gold
64077 @if intl
64078 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
64079 mkdir stagefeedback-intl; \
64080 mv stagefeedback-intl intl; \
64081 mv stagetrain-intl prev-intl || test -f stagetrain-lean
64082 @endif intl
64083 @if ld
64084 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
64085 mkdir stagefeedback-ld; \
64086 mv stagefeedback-ld ld; \
64087 mv stagetrain-ld prev-ld || test -f stagetrain-lean
64088 @endif ld
64089 @if libbacktrace
64090 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
64091 mkdir stagefeedback-libbacktrace; \
64092 mv stagefeedback-libbacktrace libbacktrace; \
64093 mv stagetrain-libbacktrace prev-libbacktrace || test -f stagetrain-lean
64094 @endif libbacktrace
64095 @if libcpp
64096 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
64097 mkdir stagefeedback-libcpp; \
64098 mv stagefeedback-libcpp libcpp; \
64099 mv stagetrain-libcpp prev-libcpp || test -f stagetrain-lean
64100 @endif libcpp
64101 @if libcody
64102 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcody ] || \
64103 mkdir stagefeedback-libcody; \
64104 mv stagefeedback-libcody libcody; \
64105 mv stagetrain-libcody prev-libcody || test -f stagetrain-lean
64106 @endif libcody
64107 @if libdecnumber
64108 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
64109 mkdir stagefeedback-libdecnumber; \
64110 mv stagefeedback-libdecnumber libdecnumber; \
64111 mv stagetrain-libdecnumber prev-libdecnumber || test -f stagetrain-lean
64112 @endif libdecnumber
64113 @if libiberty
64114 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
64115 mkdir stagefeedback-libiberty; \
64116 mv stagefeedback-libiberty libiberty; \
64117 mv stagetrain-libiberty prev-libiberty || test -f stagetrain-lean
64118 @endif libiberty
64119 @if libiberty-linker-plugin
64120 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
64121 mkdir stagefeedback-libiberty-linker-plugin; \
64122 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin; \
64123 mv stagetrain-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stagetrain-lean
64124 @endif libiberty-linker-plugin
64125 @if libiconv
64126 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiconv ] || \
64127 mkdir stagefeedback-libiconv; \
64128 mv stagefeedback-libiconv libiconv; \
64129 mv stagetrain-libiconv prev-libiconv || test -f stagetrain-lean
64130 @endif libiconv
64131 @if zlib
64132 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
64133 mkdir stagefeedback-zlib; \
64134 mv stagefeedback-zlib zlib; \
64135 mv stagetrain-zlib prev-zlib || test -f stagetrain-lean
64136 @endif zlib
64137 @if lto-plugin
64138 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
64139 mkdir stagefeedback-lto-plugin; \
64140 mv stagefeedback-lto-plugin lto-plugin; \
64141 mv stagetrain-lto-plugin prev-lto-plugin || test -f stagetrain-lean
64142 @endif lto-plugin
64143 @if libctf
64144 @cd $(HOST_SUBDIR); [ -d stagefeedback-libctf ] || \
64145 mkdir stagefeedback-libctf; \
64146 mv stagefeedback-libctf libctf; \
64147 mv stagetrain-libctf prev-libctf || test -f stagetrain-lean
64148 @endif libctf
64149 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
64150 mkdir stagefeedback-$(TARGET_SUBDIR); \
64151 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
64152 mv stagetrain-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stagetrain-lean
64153
64154 stagefeedback-end::
64155 @if bfd
64156 @if test -d $(HOST_SUBDIR)/bfd; then \
64157 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd; \
64158 mv prev-bfd stagetrain-bfd; : ; \
64159 fi
64160 @endif bfd
64161 @if opcodes
64162 @if test -d $(HOST_SUBDIR)/opcodes; then \
64163 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes; \
64164 mv prev-opcodes stagetrain-opcodes; : ; \
64165 fi
64166 @endif opcodes
64167 @if binutils
64168 @if test -d $(HOST_SUBDIR)/binutils; then \
64169 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils; \
64170 mv prev-binutils stagetrain-binutils; : ; \
64171 fi
64172 @endif binutils
64173 @if fixincludes
64174 @if test -d $(HOST_SUBDIR)/fixincludes; then \
64175 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes; \
64176 mv prev-fixincludes stagetrain-fixincludes; : ; \
64177 fi
64178 @endif fixincludes
64179 @if gas
64180 @if test -d $(HOST_SUBDIR)/gas; then \
64181 cd $(HOST_SUBDIR); mv gas stagefeedback-gas; \
64182 mv prev-gas stagetrain-gas; : ; \
64183 fi
64184 @endif gas
64185 @if gcc
64186 @if test -d $(HOST_SUBDIR)/gcc; then \
64187 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc; \
64188 mv prev-gcc stagetrain-gcc; : ; \
64189 fi
64190 @endif gcc
64191 @if gmp
64192 @if test -d $(HOST_SUBDIR)/gmp; then \
64193 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp; \
64194 mv prev-gmp stagetrain-gmp; : ; \
64195 fi
64196 @endif gmp
64197 @if mpfr
64198 @if test -d $(HOST_SUBDIR)/mpfr; then \
64199 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr; \
64200 mv prev-mpfr stagetrain-mpfr; : ; \
64201 fi
64202 @endif mpfr
64203 @if mpc
64204 @if test -d $(HOST_SUBDIR)/mpc; then \
64205 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc; \
64206 mv prev-mpc stagetrain-mpc; : ; \
64207 fi
64208 @endif mpc
64209 @if isl
64210 @if test -d $(HOST_SUBDIR)/isl; then \
64211 cd $(HOST_SUBDIR); mv isl stagefeedback-isl; \
64212 mv prev-isl stagetrain-isl; : ; \
64213 fi
64214 @endif isl
64215 @if libelf
64216 @if test -d $(HOST_SUBDIR)/libelf; then \
64217 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf; \
64218 mv prev-libelf stagetrain-libelf; : ; \
64219 fi
64220 @endif libelf
64221 @if gold
64222 @if test -d $(HOST_SUBDIR)/gold; then \
64223 cd $(HOST_SUBDIR); mv gold stagefeedback-gold; \
64224 mv prev-gold stagetrain-gold; : ; \
64225 fi
64226 @endif gold
64227 @if intl
64228 @if test -d $(HOST_SUBDIR)/intl; then \
64229 cd $(HOST_SUBDIR); mv intl stagefeedback-intl; \
64230 mv prev-intl stagetrain-intl; : ; \
64231 fi
64232 @endif intl
64233 @if ld
64234 @if test -d $(HOST_SUBDIR)/ld; then \
64235 cd $(HOST_SUBDIR); mv ld stagefeedback-ld; \
64236 mv prev-ld stagetrain-ld; : ; \
64237 fi
64238 @endif ld
64239 @if libbacktrace
64240 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
64241 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace; \
64242 mv prev-libbacktrace stagetrain-libbacktrace; : ; \
64243 fi
64244 @endif libbacktrace
64245 @if libcpp
64246 @if test -d $(HOST_SUBDIR)/libcpp; then \
64247 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp; \
64248 mv prev-libcpp stagetrain-libcpp; : ; \
64249 fi
64250 @endif libcpp
64251 @if libcody
64252 @if test -d $(HOST_SUBDIR)/libcody; then \
64253 cd $(HOST_SUBDIR); mv libcody stagefeedback-libcody; \
64254 mv prev-libcody stagetrain-libcody; : ; \
64255 fi
64256 @endif libcody
64257 @if libdecnumber
64258 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
64259 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber; \
64260 mv prev-libdecnumber stagetrain-libdecnumber; : ; \
64261 fi
64262 @endif libdecnumber
64263 @if libiberty
64264 @if test -d $(HOST_SUBDIR)/libiberty; then \
64265 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty; \
64266 mv prev-libiberty stagetrain-libiberty; : ; \
64267 fi
64268 @endif libiberty
64269 @if libiberty-linker-plugin
64270 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
64271 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin; \
64272 mv prev-libiberty-linker-plugin stagetrain-libiberty-linker-plugin; : ; \
64273 fi
64274 @endif libiberty-linker-plugin
64275 @if libiconv
64276 @if test -d $(HOST_SUBDIR)/libiconv; then \
64277 cd $(HOST_SUBDIR); mv libiconv stagefeedback-libiconv; \
64278 mv prev-libiconv stagetrain-libiconv; : ; \
64279 fi
64280 @endif libiconv
64281 @if zlib
64282 @if test -d $(HOST_SUBDIR)/zlib; then \
64283 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib; \
64284 mv prev-zlib stagetrain-zlib; : ; \
64285 fi
64286 @endif zlib
64287 @if lto-plugin
64288 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
64289 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin; \
64290 mv prev-lto-plugin stagetrain-lto-plugin; : ; \
64291 fi
64292 @endif lto-plugin
64293 @if libctf
64294 @if test -d $(HOST_SUBDIR)/libctf; then \
64295 cd $(HOST_SUBDIR); mv libctf stagefeedback-libctf; \
64296 mv prev-libctf stagetrain-libctf; : ; \
64297 fi
64298 @endif libctf
64299 @if test -d $(TARGET_SUBDIR); then \
64300 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR); \
64301 mv prev-$(TARGET_SUBDIR) stagetrain-$(TARGET_SUBDIR); : ; \
64302 fi
64303 rm -f stage_current
64304
64305 # Bubble a bug fix through all the stages up to stage feedback. They are
64306 # remade, but not reconfigured. The next stage (if any) will not be
64307 # reconfigured either.
64308 .PHONY: stagefeedback-bubble
64309 stagefeedback-bubble:: stagetrain-bubble
64310 @r=`${PWD_COMMAND}`; export r; \
64311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
64312 if test -f stagefeedback-lean || test -f stagetrain-lean ; then \
64313 echo Skipping rebuild of stagefeedback; \
64314 else \
64315 $(MAKE) stagefeedback-start; \
64316 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
64317 fi
64318
64319 .PHONY: all-stagefeedback clean-stagefeedback
64320 do-clean: clean-stagefeedback
64321
64322 # FIXME: Will not need to be conditional when toplevel bootstrap is the
64323 # only possibility, but now it conflicts with no-bootstrap rules
64324 @if gcc-bootstrap
64325
64326
64327
64328 .PHONY: profiledbootstrap profiledbootstrap-lean
64329 profiledbootstrap:
64330 echo stagefeedback > stage_final
64331 @r=`${PWD_COMMAND}`; export r; \
64332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
64333 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
64334 @: $(MAKE); $(unstage)
64335 @r=`${PWD_COMMAND}`; export r; \
64336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
64337 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
64338 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
64339
64340 profiledbootstrap-lean:
64341 echo stagefeedback > stage_final
64342 @r=`${PWD_COMMAND}`; export r; \
64343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
64344 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
64345 @: $(MAKE); $(unstage)
64346 @r=`${PWD_COMMAND}`; export r; \
64347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
64348 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
64349 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
64350
64351
64352 # Rules to wipe a stage and all the following ones, also used for cleanstrap
64353 distclean-stagetrain:: distclean-stagefeedback
64354 .PHONY: distclean-stagefeedback
64355 distclean-stagefeedback::
64356 @: $(MAKE); $(stage)
64357 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
64358 rm -rf stagefeedback-*
64359
64360
64361 @endif gcc-bootstrap
64362
64363
64364 .PHONY: stageautoprofile-start stageautoprofile-end
64365
64366 stageautoprofile-start::
64367 @: $(MAKE); $(stage); \
64368 echo stageautoprofile > stage_current; \
64369 echo stageautoprofile > stage_last; \
64370 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
64371 @if bfd
64372 @cd $(HOST_SUBDIR); [ -d stageautoprofile-bfd ] || \
64373 mkdir stageautoprofile-bfd; \
64374 mv stageautoprofile-bfd bfd; \
64375 mv stage1-bfd prev-bfd || test -f stage1-lean
64376 @endif bfd
64377 @if opcodes
64378 @cd $(HOST_SUBDIR); [ -d stageautoprofile-opcodes ] || \
64379 mkdir stageautoprofile-opcodes; \
64380 mv stageautoprofile-opcodes opcodes; \
64381 mv stage1-opcodes prev-opcodes || test -f stage1-lean
64382 @endif opcodes
64383 @if binutils
64384 @cd $(HOST_SUBDIR); [ -d stageautoprofile-binutils ] || \
64385 mkdir stageautoprofile-binutils; \
64386 mv stageautoprofile-binutils binutils; \
64387 mv stage1-binutils prev-binutils || test -f stage1-lean
64388 @endif binutils
64389 @if fixincludes
64390 @cd $(HOST_SUBDIR); [ -d stageautoprofile-fixincludes ] || \
64391 mkdir stageautoprofile-fixincludes; \
64392 mv stageautoprofile-fixincludes fixincludes; \
64393 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
64394 @endif fixincludes
64395 @if gas
64396 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gas ] || \
64397 mkdir stageautoprofile-gas; \
64398 mv stageautoprofile-gas gas; \
64399 mv stage1-gas prev-gas || test -f stage1-lean
64400 @endif gas
64401 @if gcc
64402 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gcc ] || \
64403 mkdir stageautoprofile-gcc; \
64404 mv stageautoprofile-gcc gcc; \
64405 mv stage1-gcc prev-gcc || test -f stage1-lean
64406 @endif gcc
64407 @if gmp
64408 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gmp ] || \
64409 mkdir stageautoprofile-gmp; \
64410 mv stageautoprofile-gmp gmp; \
64411 mv stage1-gmp prev-gmp || test -f stage1-lean
64412 @endif gmp
64413 @if mpfr
64414 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpfr ] || \
64415 mkdir stageautoprofile-mpfr; \
64416 mv stageautoprofile-mpfr mpfr; \
64417 mv stage1-mpfr prev-mpfr || test -f stage1-lean
64418 @endif mpfr
64419 @if mpc
64420 @cd $(HOST_SUBDIR); [ -d stageautoprofile-mpc ] || \
64421 mkdir stageautoprofile-mpc; \
64422 mv stageautoprofile-mpc mpc; \
64423 mv stage1-mpc prev-mpc || test -f stage1-lean
64424 @endif mpc
64425 @if isl
64426 @cd $(HOST_SUBDIR); [ -d stageautoprofile-isl ] || \
64427 mkdir stageautoprofile-isl; \
64428 mv stageautoprofile-isl isl; \
64429 mv stage1-isl prev-isl || test -f stage1-lean
64430 @endif isl
64431 @if libelf
64432 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libelf ] || \
64433 mkdir stageautoprofile-libelf; \
64434 mv stageautoprofile-libelf libelf; \
64435 mv stage1-libelf prev-libelf || test -f stage1-lean
64436 @endif libelf
64437 @if gold
64438 @cd $(HOST_SUBDIR); [ -d stageautoprofile-gold ] || \
64439 mkdir stageautoprofile-gold; \
64440 mv stageautoprofile-gold gold; \
64441 mv stage1-gold prev-gold || test -f stage1-lean
64442 @endif gold
64443 @if intl
64444 @cd $(HOST_SUBDIR); [ -d stageautoprofile-intl ] || \
64445 mkdir stageautoprofile-intl; \
64446 mv stageautoprofile-intl intl; \
64447 mv stage1-intl prev-intl || test -f stage1-lean
64448 @endif intl
64449 @if ld
64450 @cd $(HOST_SUBDIR); [ -d stageautoprofile-ld ] || \
64451 mkdir stageautoprofile-ld; \
64452 mv stageautoprofile-ld ld; \
64453 mv stage1-ld prev-ld || test -f stage1-lean
64454 @endif ld
64455 @if libbacktrace
64456 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libbacktrace ] || \
64457 mkdir stageautoprofile-libbacktrace; \
64458 mv stageautoprofile-libbacktrace libbacktrace; \
64459 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
64460 @endif libbacktrace
64461 @if libcpp
64462 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcpp ] || \
64463 mkdir stageautoprofile-libcpp; \
64464 mv stageautoprofile-libcpp libcpp; \
64465 mv stage1-libcpp prev-libcpp || test -f stage1-lean
64466 @endif libcpp
64467 @if libcody
64468 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libcody ] || \
64469 mkdir stageautoprofile-libcody; \
64470 mv stageautoprofile-libcody libcody; \
64471 mv stage1-libcody prev-libcody || test -f stage1-lean
64472 @endif libcody
64473 @if libdecnumber
64474 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libdecnumber ] || \
64475 mkdir stageautoprofile-libdecnumber; \
64476 mv stageautoprofile-libdecnumber libdecnumber; \
64477 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
64478 @endif libdecnumber
64479 @if libiberty
64480 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty ] || \
64481 mkdir stageautoprofile-libiberty; \
64482 mv stageautoprofile-libiberty libiberty; \
64483 mv stage1-libiberty prev-libiberty || test -f stage1-lean
64484 @endif libiberty
64485 @if libiberty-linker-plugin
64486 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiberty-linker-plugin ] || \
64487 mkdir stageautoprofile-libiberty-linker-plugin; \
64488 mv stageautoprofile-libiberty-linker-plugin libiberty-linker-plugin; \
64489 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
64490 @endif libiberty-linker-plugin
64491 @if libiconv
64492 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libiconv ] || \
64493 mkdir stageautoprofile-libiconv; \
64494 mv stageautoprofile-libiconv libiconv; \
64495 mv stage1-libiconv prev-libiconv || test -f stage1-lean
64496 @endif libiconv
64497 @if zlib
64498 @cd $(HOST_SUBDIR); [ -d stageautoprofile-zlib ] || \
64499 mkdir stageautoprofile-zlib; \
64500 mv stageautoprofile-zlib zlib; \
64501 mv stage1-zlib prev-zlib || test -f stage1-lean
64502 @endif zlib
64503 @if lto-plugin
64504 @cd $(HOST_SUBDIR); [ -d stageautoprofile-lto-plugin ] || \
64505 mkdir stageautoprofile-lto-plugin; \
64506 mv stageautoprofile-lto-plugin lto-plugin; \
64507 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
64508 @endif lto-plugin
64509 @if libctf
64510 @cd $(HOST_SUBDIR); [ -d stageautoprofile-libctf ] || \
64511 mkdir stageautoprofile-libctf; \
64512 mv stageautoprofile-libctf libctf; \
64513 mv stage1-libctf prev-libctf || test -f stage1-lean
64514 @endif libctf
64515 @[ -d stageautoprofile-$(TARGET_SUBDIR) ] || \
64516 mkdir stageautoprofile-$(TARGET_SUBDIR); \
64517 mv stageautoprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
64518 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
64519
64520 stageautoprofile-end::
64521 @if bfd
64522 @if test -d $(HOST_SUBDIR)/bfd; then \
64523 cd $(HOST_SUBDIR); mv bfd stageautoprofile-bfd; \
64524 mv prev-bfd stage1-bfd; : ; \
64525 fi
64526 @endif bfd
64527 @if opcodes
64528 @if test -d $(HOST_SUBDIR)/opcodes; then \
64529 cd $(HOST_SUBDIR); mv opcodes stageautoprofile-opcodes; \
64530 mv prev-opcodes stage1-opcodes; : ; \
64531 fi
64532 @endif opcodes
64533 @if binutils
64534 @if test -d $(HOST_SUBDIR)/binutils; then \
64535 cd $(HOST_SUBDIR); mv binutils stageautoprofile-binutils; \
64536 mv prev-binutils stage1-binutils; : ; \
64537 fi
64538 @endif binutils
64539 @if fixincludes
64540 @if test -d $(HOST_SUBDIR)/fixincludes; then \
64541 cd $(HOST_SUBDIR); mv fixincludes stageautoprofile-fixincludes; \
64542 mv prev-fixincludes stage1-fixincludes; : ; \
64543 fi
64544 @endif fixincludes
64545 @if gas
64546 @if test -d $(HOST_SUBDIR)/gas; then \
64547 cd $(HOST_SUBDIR); mv gas stageautoprofile-gas; \
64548 mv prev-gas stage1-gas; : ; \
64549 fi
64550 @endif gas
64551 @if gcc
64552 @if test -d $(HOST_SUBDIR)/gcc; then \
64553 cd $(HOST_SUBDIR); mv gcc stageautoprofile-gcc; \
64554 mv prev-gcc stage1-gcc; : ; \
64555 fi
64556 @endif gcc
64557 @if gmp
64558 @if test -d $(HOST_SUBDIR)/gmp; then \
64559 cd $(HOST_SUBDIR); mv gmp stageautoprofile-gmp; \
64560 mv prev-gmp stage1-gmp; : ; \
64561 fi
64562 @endif gmp
64563 @if mpfr
64564 @if test -d $(HOST_SUBDIR)/mpfr; then \
64565 cd $(HOST_SUBDIR); mv mpfr stageautoprofile-mpfr; \
64566 mv prev-mpfr stage1-mpfr; : ; \
64567 fi
64568 @endif mpfr
64569 @if mpc
64570 @if test -d $(HOST_SUBDIR)/mpc; then \
64571 cd $(HOST_SUBDIR); mv mpc stageautoprofile-mpc; \
64572 mv prev-mpc stage1-mpc; : ; \
64573 fi
64574 @endif mpc
64575 @if isl
64576 @if test -d $(HOST_SUBDIR)/isl; then \
64577 cd $(HOST_SUBDIR); mv isl stageautoprofile-isl; \
64578 mv prev-isl stage1-isl; : ; \
64579 fi
64580 @endif isl
64581 @if libelf
64582 @if test -d $(HOST_SUBDIR)/libelf; then \
64583 cd $(HOST_SUBDIR); mv libelf stageautoprofile-libelf; \
64584 mv prev-libelf stage1-libelf; : ; \
64585 fi
64586 @endif libelf
64587 @if gold
64588 @if test -d $(HOST_SUBDIR)/gold; then \
64589 cd $(HOST_SUBDIR); mv gold stageautoprofile-gold; \
64590 mv prev-gold stage1-gold; : ; \
64591 fi
64592 @endif gold
64593 @if intl
64594 @if test -d $(HOST_SUBDIR)/intl; then \
64595 cd $(HOST_SUBDIR); mv intl stageautoprofile-intl; \
64596 mv prev-intl stage1-intl; : ; \
64597 fi
64598 @endif intl
64599 @if ld
64600 @if test -d $(HOST_SUBDIR)/ld; then \
64601 cd $(HOST_SUBDIR); mv ld stageautoprofile-ld; \
64602 mv prev-ld stage1-ld; : ; \
64603 fi
64604 @endif ld
64605 @if libbacktrace
64606 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
64607 cd $(HOST_SUBDIR); mv libbacktrace stageautoprofile-libbacktrace; \
64608 mv prev-libbacktrace stage1-libbacktrace; : ; \
64609 fi
64610 @endif libbacktrace
64611 @if libcpp
64612 @if test -d $(HOST_SUBDIR)/libcpp; then \
64613 cd $(HOST_SUBDIR); mv libcpp stageautoprofile-libcpp; \
64614 mv prev-libcpp stage1-libcpp; : ; \
64615 fi
64616 @endif libcpp
64617 @if libcody
64618 @if test -d $(HOST_SUBDIR)/libcody; then \
64619 cd $(HOST_SUBDIR); mv libcody stageautoprofile-libcody; \
64620 mv prev-libcody stage1-libcody; : ; \
64621 fi
64622 @endif libcody
64623 @if libdecnumber
64624 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
64625 cd $(HOST_SUBDIR); mv libdecnumber stageautoprofile-libdecnumber; \
64626 mv prev-libdecnumber stage1-libdecnumber; : ; \
64627 fi
64628 @endif libdecnumber
64629 @if libiberty
64630 @if test -d $(HOST_SUBDIR)/libiberty; then \
64631 cd $(HOST_SUBDIR); mv libiberty stageautoprofile-libiberty; \
64632 mv prev-libiberty stage1-libiberty; : ; \
64633 fi
64634 @endif libiberty
64635 @if libiberty-linker-plugin
64636 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
64637 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; \
64638 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin; : ; \
64639 fi
64640 @endif libiberty-linker-plugin
64641 @if libiconv
64642 @if test -d $(HOST_SUBDIR)/libiconv; then \
64643 cd $(HOST_SUBDIR); mv libiconv stageautoprofile-libiconv; \
64644 mv prev-libiconv stage1-libiconv; : ; \
64645 fi
64646 @endif libiconv
64647 @if zlib
64648 @if test -d $(HOST_SUBDIR)/zlib; then \
64649 cd $(HOST_SUBDIR); mv zlib stageautoprofile-zlib; \
64650 mv prev-zlib stage1-zlib; : ; \
64651 fi
64652 @endif zlib
64653 @if lto-plugin
64654 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
64655 cd $(HOST_SUBDIR); mv lto-plugin stageautoprofile-lto-plugin; \
64656 mv prev-lto-plugin stage1-lto-plugin; : ; \
64657 fi
64658 @endif lto-plugin
64659 @if libctf
64660 @if test -d $(HOST_SUBDIR)/libctf; then \
64661 cd $(HOST_SUBDIR); mv libctf stageautoprofile-libctf; \
64662 mv prev-libctf stage1-libctf; : ; \
64663 fi
64664 @endif libctf
64665 @if test -d $(TARGET_SUBDIR); then \
64666 mv $(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); \
64667 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR); : ; \
64668 fi
64669 rm -f stage_current
64670
64671 # Bubble a bug fix through all the stages up to stage autoprofile. They are
64672 # remade, but not reconfigured. The next stage (if any) will not be
64673 # reconfigured either.
64674 .PHONY: stageautoprofile-bubble
64675 stageautoprofile-bubble:: stage1-bubble
64676 @r=`${PWD_COMMAND}`; export r; \
64677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
64678 if test -f stageautoprofile-lean || test -f stage1-lean ; then \
64679 echo Skipping rebuild of stageautoprofile; \
64680 else \
64681 $(MAKE) stageautoprofile-start; \
64682 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautoprofile; \
64683 fi
64684
64685 .PHONY: all-stageautoprofile clean-stageautoprofile
64686 do-clean: clean-stageautoprofile
64687
64688 # FIXME: Will not need to be conditional when toplevel bootstrap is the
64689 # only possibility, but now it conflicts with no-bootstrap rules
64690 @if gcc-bootstrap
64691
64692
64693
64694
64695 # Rules to wipe a stage and all the following ones, also used for cleanstrap
64696 distclean-stage1:: distclean-stageautoprofile
64697 .PHONY: distclean-stageautoprofile
64698 distclean-stageautoprofile::
64699 @: $(MAKE); $(stage)
64700 @test "`cat stage_last`" != stageautoprofile || rm -f stage_last
64701 rm -rf stageautoprofile-*
64702
64703
64704 @endif gcc-bootstrap
64705
64706
64707 .PHONY: stageautofeedback-start stageautofeedback-end
64708
64709 stageautofeedback-start::
64710 @: $(MAKE); $(stage); \
64711 echo stageautofeedback > stage_current; \
64712 echo stageautofeedback > stage_last; \
64713 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
64714 @if bfd
64715 @cd $(HOST_SUBDIR); [ -d stageautofeedback-bfd ] || \
64716 mkdir stageautofeedback-bfd; \
64717 mv stageautofeedback-bfd bfd; \
64718 mv stageautoprofile-bfd prev-bfd || test -f stageautoprofile-lean
64719 @endif bfd
64720 @if opcodes
64721 @cd $(HOST_SUBDIR); [ -d stageautofeedback-opcodes ] || \
64722 mkdir stageautofeedback-opcodes; \
64723 mv stageautofeedback-opcodes opcodes; \
64724 mv stageautoprofile-opcodes prev-opcodes || test -f stageautoprofile-lean
64725 @endif opcodes
64726 @if binutils
64727 @cd $(HOST_SUBDIR); [ -d stageautofeedback-binutils ] || \
64728 mkdir stageautofeedback-binutils; \
64729 mv stageautofeedback-binutils binutils; \
64730 mv stageautoprofile-binutils prev-binutils || test -f stageautoprofile-lean
64731 @endif binutils
64732 @if fixincludes
64733 @cd $(HOST_SUBDIR); [ -d stageautofeedback-fixincludes ] || \
64734 mkdir stageautofeedback-fixincludes; \
64735 mv stageautofeedback-fixincludes fixincludes; \
64736 mv stageautoprofile-fixincludes prev-fixincludes || test -f stageautoprofile-lean
64737 @endif fixincludes
64738 @if gas
64739 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gas ] || \
64740 mkdir stageautofeedback-gas; \
64741 mv stageautofeedback-gas gas; \
64742 mv stageautoprofile-gas prev-gas || test -f stageautoprofile-lean
64743 @endif gas
64744 @if gcc
64745 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gcc ] || \
64746 mkdir stageautofeedback-gcc; \
64747 mv stageautofeedback-gcc gcc; \
64748 mv stageautoprofile-gcc prev-gcc || test -f stageautoprofile-lean
64749 @endif gcc
64750 @if gmp
64751 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gmp ] || \
64752 mkdir stageautofeedback-gmp; \
64753 mv stageautofeedback-gmp gmp; \
64754 mv stageautoprofile-gmp prev-gmp || test -f stageautoprofile-lean
64755 @endif gmp
64756 @if mpfr
64757 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpfr ] || \
64758 mkdir stageautofeedback-mpfr; \
64759 mv stageautofeedback-mpfr mpfr; \
64760 mv stageautoprofile-mpfr prev-mpfr || test -f stageautoprofile-lean
64761 @endif mpfr
64762 @if mpc
64763 @cd $(HOST_SUBDIR); [ -d stageautofeedback-mpc ] || \
64764 mkdir stageautofeedback-mpc; \
64765 mv stageautofeedback-mpc mpc; \
64766 mv stageautoprofile-mpc prev-mpc || test -f stageautoprofile-lean
64767 @endif mpc
64768 @if isl
64769 @cd $(HOST_SUBDIR); [ -d stageautofeedback-isl ] || \
64770 mkdir stageautofeedback-isl; \
64771 mv stageautofeedback-isl isl; \
64772 mv stageautoprofile-isl prev-isl || test -f stageautoprofile-lean
64773 @endif isl
64774 @if libelf
64775 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libelf ] || \
64776 mkdir stageautofeedback-libelf; \
64777 mv stageautofeedback-libelf libelf; \
64778 mv stageautoprofile-libelf prev-libelf || test -f stageautoprofile-lean
64779 @endif libelf
64780 @if gold
64781 @cd $(HOST_SUBDIR); [ -d stageautofeedback-gold ] || \
64782 mkdir stageautofeedback-gold; \
64783 mv stageautofeedback-gold gold; \
64784 mv stageautoprofile-gold prev-gold || test -f stageautoprofile-lean
64785 @endif gold
64786 @if intl
64787 @cd $(HOST_SUBDIR); [ -d stageautofeedback-intl ] || \
64788 mkdir stageautofeedback-intl; \
64789 mv stageautofeedback-intl intl; \
64790 mv stageautoprofile-intl prev-intl || test -f stageautoprofile-lean
64791 @endif intl
64792 @if ld
64793 @cd $(HOST_SUBDIR); [ -d stageautofeedback-ld ] || \
64794 mkdir stageautofeedback-ld; \
64795 mv stageautofeedback-ld ld; \
64796 mv stageautoprofile-ld prev-ld || test -f stageautoprofile-lean
64797 @endif ld
64798 @if libbacktrace
64799 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libbacktrace ] || \
64800 mkdir stageautofeedback-libbacktrace; \
64801 mv stageautofeedback-libbacktrace libbacktrace; \
64802 mv stageautoprofile-libbacktrace prev-libbacktrace || test -f stageautoprofile-lean
64803 @endif libbacktrace
64804 @if libcpp
64805 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcpp ] || \
64806 mkdir stageautofeedback-libcpp; \
64807 mv stageautofeedback-libcpp libcpp; \
64808 mv stageautoprofile-libcpp prev-libcpp || test -f stageautoprofile-lean
64809 @endif libcpp
64810 @if libcody
64811 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libcody ] || \
64812 mkdir stageautofeedback-libcody; \
64813 mv stageautofeedback-libcody libcody; \
64814 mv stageautoprofile-libcody prev-libcody || test -f stageautoprofile-lean
64815 @endif libcody
64816 @if libdecnumber
64817 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libdecnumber ] || \
64818 mkdir stageautofeedback-libdecnumber; \
64819 mv stageautofeedback-libdecnumber libdecnumber; \
64820 mv stageautoprofile-libdecnumber prev-libdecnumber || test -f stageautoprofile-lean
64821 @endif libdecnumber
64822 @if libiberty
64823 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty ] || \
64824 mkdir stageautofeedback-libiberty; \
64825 mv stageautofeedback-libiberty libiberty; \
64826 mv stageautoprofile-libiberty prev-libiberty || test -f stageautoprofile-lean
64827 @endif libiberty
64828 @if libiberty-linker-plugin
64829 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiberty-linker-plugin ] || \
64830 mkdir stageautofeedback-libiberty-linker-plugin; \
64831 mv stageautofeedback-libiberty-linker-plugin libiberty-linker-plugin; \
64832 mv stageautoprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageautoprofile-lean
64833 @endif libiberty-linker-plugin
64834 @if libiconv
64835 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libiconv ] || \
64836 mkdir stageautofeedback-libiconv; \
64837 mv stageautofeedback-libiconv libiconv; \
64838 mv stageautoprofile-libiconv prev-libiconv || test -f stageautoprofile-lean
64839 @endif libiconv
64840 @if zlib
64841 @cd $(HOST_SUBDIR); [ -d stageautofeedback-zlib ] || \
64842 mkdir stageautofeedback-zlib; \
64843 mv stageautofeedback-zlib zlib; \
64844 mv stageautoprofile-zlib prev-zlib || test -f stageautoprofile-lean
64845 @endif zlib
64846 @if lto-plugin
64847 @cd $(HOST_SUBDIR); [ -d stageautofeedback-lto-plugin ] || \
64848 mkdir stageautofeedback-lto-plugin; \
64849 mv stageautofeedback-lto-plugin lto-plugin; \
64850 mv stageautoprofile-lto-plugin prev-lto-plugin || test -f stageautoprofile-lean
64851 @endif lto-plugin
64852 @if libctf
64853 @cd $(HOST_SUBDIR); [ -d stageautofeedback-libctf ] || \
64854 mkdir stageautofeedback-libctf; \
64855 mv stageautofeedback-libctf libctf; \
64856 mv stageautoprofile-libctf prev-libctf || test -f stageautoprofile-lean
64857 @endif libctf
64858 @[ -d stageautofeedback-$(TARGET_SUBDIR) ] || \
64859 mkdir stageautofeedback-$(TARGET_SUBDIR); \
64860 mv stageautofeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR); \
64861 mv stageautoprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageautoprofile-lean
64862
64863 stageautofeedback-end::
64864 @if bfd
64865 @if test -d $(HOST_SUBDIR)/bfd; then \
64866 cd $(HOST_SUBDIR); mv bfd stageautofeedback-bfd; \
64867 mv prev-bfd stageautoprofile-bfd; : ; \
64868 fi
64869 @endif bfd
64870 @if opcodes
64871 @if test -d $(HOST_SUBDIR)/opcodes; then \
64872 cd $(HOST_SUBDIR); mv opcodes stageautofeedback-opcodes; \
64873 mv prev-opcodes stageautoprofile-opcodes; : ; \
64874 fi
64875 @endif opcodes
64876 @if binutils
64877 @if test -d $(HOST_SUBDIR)/binutils; then \
64878 cd $(HOST_SUBDIR); mv binutils stageautofeedback-binutils; \
64879 mv prev-binutils stageautoprofile-binutils; : ; \
64880 fi
64881 @endif binutils
64882 @if fixincludes
64883 @if test -d $(HOST_SUBDIR)/fixincludes; then \
64884 cd $(HOST_SUBDIR); mv fixincludes stageautofeedback-fixincludes; \
64885 mv prev-fixincludes stageautoprofile-fixincludes; : ; \
64886 fi
64887 @endif fixincludes
64888 @if gas
64889 @if test -d $(HOST_SUBDIR)/gas; then \
64890 cd $(HOST_SUBDIR); mv gas stageautofeedback-gas; \
64891 mv prev-gas stageautoprofile-gas; : ; \
64892 fi
64893 @endif gas
64894 @if gcc
64895 @if test -d $(HOST_SUBDIR)/gcc; then \
64896 cd $(HOST_SUBDIR); mv gcc stageautofeedback-gcc; \
64897 mv prev-gcc stageautoprofile-gcc; : ; \
64898 fi
64899 @endif gcc
64900 @if gmp
64901 @if test -d $(HOST_SUBDIR)/gmp; then \
64902 cd $(HOST_SUBDIR); mv gmp stageautofeedback-gmp; \
64903 mv prev-gmp stageautoprofile-gmp; : ; \
64904 fi
64905 @endif gmp
64906 @if mpfr
64907 @if test -d $(HOST_SUBDIR)/mpfr; then \
64908 cd $(HOST_SUBDIR); mv mpfr stageautofeedback-mpfr; \
64909 mv prev-mpfr stageautoprofile-mpfr; : ; \
64910 fi
64911 @endif mpfr
64912 @if mpc
64913 @if test -d $(HOST_SUBDIR)/mpc; then \
64914 cd $(HOST_SUBDIR); mv mpc stageautofeedback-mpc; \
64915 mv prev-mpc stageautoprofile-mpc; : ; \
64916 fi
64917 @endif mpc
64918 @if isl
64919 @if test -d $(HOST_SUBDIR)/isl; then \
64920 cd $(HOST_SUBDIR); mv isl stageautofeedback-isl; \
64921 mv prev-isl stageautoprofile-isl; : ; \
64922 fi
64923 @endif isl
64924 @if libelf
64925 @if test -d $(HOST_SUBDIR)/libelf; then \
64926 cd $(HOST_SUBDIR); mv libelf stageautofeedback-libelf; \
64927 mv prev-libelf stageautoprofile-libelf; : ; \
64928 fi
64929 @endif libelf
64930 @if gold
64931 @if test -d $(HOST_SUBDIR)/gold; then \
64932 cd $(HOST_SUBDIR); mv gold stageautofeedback-gold; \
64933 mv prev-gold stageautoprofile-gold; : ; \
64934 fi
64935 @endif gold
64936 @if intl
64937 @if test -d $(HOST_SUBDIR)/intl; then \
64938 cd $(HOST_SUBDIR); mv intl stageautofeedback-intl; \
64939 mv prev-intl stageautoprofile-intl; : ; \
64940 fi
64941 @endif intl
64942 @if ld
64943 @if test -d $(HOST_SUBDIR)/ld; then \
64944 cd $(HOST_SUBDIR); mv ld stageautofeedback-ld; \
64945 mv prev-ld stageautoprofile-ld; : ; \
64946 fi
64947 @endif ld
64948 @if libbacktrace
64949 @if test -d $(HOST_SUBDIR)/libbacktrace; then \
64950 cd $(HOST_SUBDIR); mv libbacktrace stageautofeedback-libbacktrace; \
64951 mv prev-libbacktrace stageautoprofile-libbacktrace; : ; \
64952 fi
64953 @endif libbacktrace
64954 @if libcpp
64955 @if test -d $(HOST_SUBDIR)/libcpp; then \
64956 cd $(HOST_SUBDIR); mv libcpp stageautofeedback-libcpp; \
64957 mv prev-libcpp stageautoprofile-libcpp; : ; \
64958 fi
64959 @endif libcpp
64960 @if libcody
64961 @if test -d $(HOST_SUBDIR)/libcody; then \
64962 cd $(HOST_SUBDIR); mv libcody stageautofeedback-libcody; \
64963 mv prev-libcody stageautoprofile-libcody; : ; \
64964 fi
64965 @endif libcody
64966 @if libdecnumber
64967 @if test -d $(HOST_SUBDIR)/libdecnumber; then \
64968 cd $(HOST_SUBDIR); mv libdecnumber stageautofeedback-libdecnumber; \
64969 mv prev-libdecnumber stageautoprofile-libdecnumber; : ; \
64970 fi
64971 @endif libdecnumber
64972 @if libiberty
64973 @if test -d $(HOST_SUBDIR)/libiberty; then \
64974 cd $(HOST_SUBDIR); mv libiberty stageautofeedback-libiberty; \
64975 mv prev-libiberty stageautoprofile-libiberty; : ; \
64976 fi
64977 @endif libiberty
64978 @if libiberty-linker-plugin
64979 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin; then \
64980 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageautofeedback-libiberty-linker-plugin; \
64981 mv prev-libiberty-linker-plugin stageautoprofile-libiberty-linker-plugin; : ; \
64982 fi
64983 @endif libiberty-linker-plugin
64984 @if libiconv
64985 @if test -d $(HOST_SUBDIR)/libiconv; then \
64986 cd $(HOST_SUBDIR); mv libiconv stageautofeedback-libiconv; \
64987 mv prev-libiconv stageautoprofile-libiconv; : ; \
64988 fi
64989 @endif libiconv
64990 @if zlib
64991 @if test -d $(HOST_SUBDIR)/zlib; then \
64992 cd $(HOST_SUBDIR); mv zlib stageautofeedback-zlib; \
64993 mv prev-zlib stageautoprofile-zlib; : ; \
64994 fi
64995 @endif zlib
64996 @if lto-plugin
64997 @if test -d $(HOST_SUBDIR)/lto-plugin; then \
64998 cd $(HOST_SUBDIR); mv lto-plugin stageautofeedback-lto-plugin; \
64999 mv prev-lto-plugin stageautoprofile-lto-plugin; : ; \
65000 fi
65001 @endif lto-plugin
65002 @if libctf
65003 @if test -d $(HOST_SUBDIR)/libctf; then \
65004 cd $(HOST_SUBDIR); mv libctf stageautofeedback-libctf; \
65005 mv prev-libctf stageautoprofile-libctf; : ; \
65006 fi
65007 @endif libctf
65008 @if test -d $(TARGET_SUBDIR); then \
65009 mv $(TARGET_SUBDIR) stageautofeedback-$(TARGET_SUBDIR); \
65010 mv prev-$(TARGET_SUBDIR) stageautoprofile-$(TARGET_SUBDIR); : ; \
65011 fi
65012 rm -f stage_current
65013
65014 # Bubble a bug fix through all the stages up to stage autofeedback. They are
65015 # remade, but not reconfigured. The next stage (if any) will not be
65016 # reconfigured either.
65017 .PHONY: stageautofeedback-bubble
65018 stageautofeedback-bubble:: stageautoprofile-bubble
65019 @r=`${PWD_COMMAND}`; export r; \
65020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
65021 if test -f stageautofeedback-lean || test -f stageautoprofile-lean ; then \
65022 echo Skipping rebuild of stageautofeedback; \
65023 else \
65024 $(MAKE) stageautofeedback-start; \
65025 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageautofeedback; \
65026 fi
65027
65028 .PHONY: all-stageautofeedback clean-stageautofeedback
65029 do-clean: clean-stageautofeedback
65030
65031 # FIXME: Will not need to be conditional when toplevel bootstrap is the
65032 # only possibility, but now it conflicts with no-bootstrap rules
65033 @if gcc-bootstrap
65034
65035
65036
65037 .PHONY: autoprofiledbootstrap autoprofiledbootstrap-lean
65038 autoprofiledbootstrap:
65039 echo stageautofeedback > stage_final
65040 @r=`${PWD_COMMAND}`; export r; \
65041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
65042 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageautofeedback-bubble
65043 @: $(MAKE); $(unstage)
65044 @r=`${PWD_COMMAND}`; export r; \
65045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
65046 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
65047 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
65048
65049 autoprofiledbootstrap-lean:
65050 echo stageautofeedback > stage_final
65051 @r=`${PWD_COMMAND}`; export r; \
65052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
65053 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageautofeedback-bubble
65054 @: $(MAKE); $(unstage)
65055 @r=`${PWD_COMMAND}`; export r; \
65056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
65057 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
65058 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
65059
65060
65061 # Rules to wipe a stage and all the following ones, also used for cleanstrap
65062 distclean-stageautoprofile:: distclean-stageautofeedback
65063 .PHONY: distclean-stageautofeedback
65064 distclean-stageautofeedback::
65065 @: $(MAKE); $(stage)
65066 @test "`cat stage_last`" != stageautofeedback || rm -f stage_last
65067 rm -rf stageautofeedback-*
65068
65069
65070 @endif gcc-bootstrap
65071
65072
65073
65074 stageprofile-end::
65075 $(MAKE) distclean-stagefeedback
65076
65077 stagefeedback-start::
65078 @r=`${PWD_COMMAND}`; export r; \
65079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
65080 for i in prev-*; do \
65081 j=`echo $$i | sed s/^prev-//`; \
65082 cd $$r/$$i && \
65083 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL); } && \
65084 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL); }; \
65085 done
65086
65087 @if gcc-bootstrap
65088 do-distclean: distclean-stage1
65089
65090 # Provide a GCC build when we're building target libraries. This does
65091 # not work as a dependency, just as the minimum necessary to avoid errors.
65092 stage_last:
65093 @r=`${PWD_COMMAND}`; export r; \
65094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
65095 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
65096
65097 # Same as unstage, but not phony and defaulting to stage1-start. We place
65098 # it in the dependency so that for example `make -j3 all-gcc' works.
65099 stage_current:
65100 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
65101
65102 .PHONY: restrap
65103 restrap::
65104 @: $(MAKE); $(stage)
65105 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagetrain-* stagefeedback-* stageautoprofile-* stageautofeedback-*
65106 restrap:: all
65107 @endif gcc-bootstrap
65108
65109 # --------------------------------------
65110 # Dependencies between different modules
65111 # --------------------------------------
65112
65113 # Generic dependencies for target modules on host stuff, especially gcc
65114 @if gcc-bootstrap
65115 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
65116 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
65117 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
65118 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
65119 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
65120 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-gcc
65121 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
65122 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-gcc
65123 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-gcc
65124 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
65125 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
65126 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
65127 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
65128 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
65129 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-gcc
65130 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
65131 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-gcc
65132 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-gcc
65133 configure-stage1-target-libvtv: maybe-all-stage1-gcc
65134 configure-stage2-target-libvtv: maybe-all-stage2-gcc
65135 configure-stage3-target-libvtv: maybe-all-stage3-gcc
65136 configure-stage4-target-libvtv: maybe-all-stage4-gcc
65137 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
65138 configure-stagetrain-target-libvtv: maybe-all-stagetrain-gcc
65139 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
65140 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-gcc
65141 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-gcc
65142 configure-target-liboffloadmic: stage_last
65143 configure-target-libssp: stage_last
65144 configure-target-newlib: stage_last
65145 configure-stage1-target-libgcc: maybe-all-stage1-gcc
65146 configure-stage2-target-libgcc: maybe-all-stage2-gcc
65147 configure-stage3-target-libgcc: maybe-all-stage3-gcc
65148 configure-stage4-target-libgcc: maybe-all-stage4-gcc
65149 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
65150 configure-stagetrain-target-libgcc: maybe-all-stagetrain-gcc
65151 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
65152 configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
65153 configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
65154 configure-stage1-target-libbacktrace: maybe-all-stage1-gcc
65155 configure-stage2-target-libbacktrace: maybe-all-stage2-gcc
65156 configure-stage3-target-libbacktrace: maybe-all-stage3-gcc
65157 configure-stage4-target-libbacktrace: maybe-all-stage4-gcc
65158 configure-stageprofile-target-libbacktrace: maybe-all-stageprofile-gcc
65159 configure-stagetrain-target-libbacktrace: maybe-all-stagetrain-gcc
65160 configure-stagefeedback-target-libbacktrace: maybe-all-stagefeedback-gcc
65161 configure-stageautoprofile-target-libbacktrace: maybe-all-stageautoprofile-gcc
65162 configure-stageautofeedback-target-libbacktrace: maybe-all-stageautofeedback-gcc
65163 configure-target-libquadmath: stage_last
65164 configure-target-libgfortran: stage_last
65165 configure-target-libobjc: stage_last
65166 configure-target-libgo: stage_last
65167 configure-stage1-target-libphobos: maybe-all-stage1-gcc
65168 configure-stage2-target-libphobos: maybe-all-stage2-gcc
65169 configure-stage3-target-libphobos: maybe-all-stage3-gcc
65170 configure-stage4-target-libphobos: maybe-all-stage4-gcc
65171 configure-stageprofile-target-libphobos: maybe-all-stageprofile-gcc
65172 configure-stagetrain-target-libphobos: maybe-all-stagetrain-gcc
65173 configure-stagefeedback-target-libphobos: maybe-all-stagefeedback-gcc
65174 configure-stageautoprofile-target-libphobos: maybe-all-stageautoprofile-gcc
65175 configure-stageautofeedback-target-libphobos: maybe-all-stageautofeedback-gcc
65176 configure-target-libtermcap: stage_last
65177 configure-target-winsup: stage_last
65178 configure-target-libgloss: stage_last
65179 configure-target-libffi: stage_last
65180 configure-stage1-target-zlib: maybe-all-stage1-gcc
65181 configure-stage2-target-zlib: maybe-all-stage2-gcc
65182 configure-stage3-target-zlib: maybe-all-stage3-gcc
65183 configure-stage4-target-zlib: maybe-all-stage4-gcc
65184 configure-stageprofile-target-zlib: maybe-all-stageprofile-gcc
65185 configure-stagetrain-target-zlib: maybe-all-stagetrain-gcc
65186 configure-stagefeedback-target-zlib: maybe-all-stagefeedback-gcc
65187 configure-stageautoprofile-target-zlib: maybe-all-stageautoprofile-gcc
65188 configure-stageautofeedback-target-zlib: maybe-all-stageautofeedback-gcc
65189 configure-target-rda: stage_last
65190 configure-target-libada: stage_last
65191 configure-stage1-target-libgomp: maybe-all-stage1-gcc
65192 configure-stage2-target-libgomp: maybe-all-stage2-gcc
65193 configure-stage3-target-libgomp: maybe-all-stage3-gcc
65194 configure-stage4-target-libgomp: maybe-all-stage4-gcc
65195 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
65196 configure-stagetrain-target-libgomp: maybe-all-stagetrain-gcc
65197 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
65198 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
65199 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
65200 configure-target-libitm: stage_last
65201 configure-stage1-target-libatomic: maybe-all-stage1-gcc
65202 configure-stage2-target-libatomic: maybe-all-stage2-gcc
65203 configure-stage3-target-libatomic: maybe-all-stage3-gcc
65204 configure-stage4-target-libatomic: maybe-all-stage4-gcc
65205 configure-stageprofile-target-libatomic: maybe-all-stageprofile-gcc
65206 configure-stagetrain-target-libatomic: maybe-all-stagetrain-gcc
65207 configure-stagefeedback-target-libatomic: maybe-all-stagefeedback-gcc
65208 configure-stageautoprofile-target-libatomic: maybe-all-stageautoprofile-gcc
65209 configure-stageautofeedback-target-libatomic: maybe-all-stageautofeedback-gcc
65210 @endif gcc-bootstrap
65211
65212 @if gcc-no-bootstrap
65213 configure-target-libstdc++-v3: maybe-all-gcc
65214 configure-target-libsanitizer: maybe-all-gcc
65215 configure-target-libvtv: maybe-all-gcc
65216 configure-target-liboffloadmic: maybe-all-gcc
65217 configure-target-libssp: maybe-all-gcc
65218 configure-target-newlib: maybe-all-gcc
65219 configure-target-libgcc: maybe-all-gcc
65220 configure-target-libbacktrace: maybe-all-gcc
65221 configure-target-libquadmath: maybe-all-gcc
65222 configure-target-libgfortran: maybe-all-gcc
65223 configure-target-libobjc: maybe-all-gcc
65224 configure-target-libgo: maybe-all-gcc
65225 configure-target-libphobos: maybe-all-gcc
65226 configure-target-libtermcap: maybe-all-gcc
65227 configure-target-winsup: maybe-all-gcc
65228 configure-target-libgloss: maybe-all-gcc
65229 configure-target-libffi: maybe-all-gcc
65230 configure-target-zlib: maybe-all-gcc
65231 configure-target-rda: maybe-all-gcc
65232 configure-target-libada: maybe-all-gcc
65233 configure-target-libgomp: maybe-all-gcc
65234 configure-target-libitm: maybe-all-gcc
65235 configure-target-libatomic: maybe-all-gcc
65236 @endif gcc-no-bootstrap
65237
65238
65239 # There are two types of dependencies here: 'hard' dependencies, where one
65240 # module simply won't build without the other; and 'soft' dependencies, where
65241 # if the depended-on module is missing, the depending module will do without
65242 # or find a substitute somewhere (perhaps installed). Soft dependencies
65243 # are made here to depend on a 'maybe-' target. If you're not sure,
65244 # it's safer to use a soft dependency.
65245
65246
65247
65248
65249
65250
65251 # With all the machinery above in place, it is pretty easy to generate
65252 # dependencies. Host dependencies are a bit more complex because we have
65253 # to check for bootstrap/prebootstrap dependencies. To resolve
65254 # prebootstrap dependencies, prebootstrap modules are gathered in
65255 # a hash table.
65256 all-build-bison: maybe-all-build-texinfo
65257 all-build-flex: maybe-all-build-texinfo
65258 all-build-flex: maybe-all-build-bison
65259 all-build-flex: maybe-all-build-m4
65260 all-build-libiberty: maybe-all-build-texinfo
65261 all-build-m4: maybe-all-build-texinfo
65262 all-build-fixincludes: maybe-all-build-libiberty
65263 all-build-libcpp: maybe-all-build-libiberty
65264 configure-gcc: maybe-configure-intl
65265 configure-stage1-gcc: maybe-configure-stage1-intl
65266 configure-stage2-gcc: maybe-configure-stage2-intl
65267 configure-stage3-gcc: maybe-configure-stage3-intl
65268 configure-stage4-gcc: maybe-configure-stage4-intl
65269 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
65270 configure-stagetrain-gcc: maybe-configure-stagetrain-intl
65271 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
65272 configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl
65273 configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl
65274 configure-gcc: maybe-all-gmp
65275 configure-stage1-gcc: maybe-all-stage1-gmp
65276 configure-stage2-gcc: maybe-all-stage2-gmp
65277 configure-stage3-gcc: maybe-all-stage3-gmp
65278 configure-stage4-gcc: maybe-all-stage4-gmp
65279 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
65280 configure-stagetrain-gcc: maybe-all-stagetrain-gmp
65281 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
65282 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
65283 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
65284 configure-gcc: maybe-all-mpfr
65285 configure-stage1-gcc: maybe-all-stage1-mpfr
65286 configure-stage2-gcc: maybe-all-stage2-mpfr
65287 configure-stage3-gcc: maybe-all-stage3-mpfr
65288 configure-stage4-gcc: maybe-all-stage4-mpfr
65289 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
65290 configure-stagetrain-gcc: maybe-all-stagetrain-mpfr
65291 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
65292 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
65293 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
65294 configure-gcc: maybe-all-mpc
65295 configure-stage1-gcc: maybe-all-stage1-mpc
65296 configure-stage2-gcc: maybe-all-stage2-mpc
65297 configure-stage3-gcc: maybe-all-stage3-mpc
65298 configure-stage4-gcc: maybe-all-stage4-mpc
65299 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
65300 configure-stagetrain-gcc: maybe-all-stagetrain-mpc
65301 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
65302 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
65303 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
65304 configure-gcc: maybe-all-isl
65305 configure-stage1-gcc: maybe-all-stage1-isl
65306 configure-stage2-gcc: maybe-all-stage2-isl
65307 configure-stage3-gcc: maybe-all-stage3-isl
65308 configure-stage4-gcc: maybe-all-stage4-isl
65309 configure-stageprofile-gcc: maybe-all-stageprofile-isl
65310 configure-stagetrain-gcc: maybe-all-stagetrain-isl
65311 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
65312 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
65313 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
65314 configure-gcc: maybe-all-lto-plugin
65315 configure-stage1-gcc: maybe-all-stage1-lto-plugin
65316 configure-stage2-gcc: maybe-all-stage2-lto-plugin
65317 configure-stage3-gcc: maybe-all-stage3-lto-plugin
65318 configure-stage4-gcc: maybe-all-stage4-lto-plugin
65319 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
65320 configure-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
65321 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
65322 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
65323 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
65324 configure-gcc: maybe-all-binutils
65325 configure-stage1-gcc: maybe-all-stage1-binutils
65326 configure-stage2-gcc: maybe-all-stage2-binutils
65327 configure-stage3-gcc: maybe-all-stage3-binutils
65328 configure-stage4-gcc: maybe-all-stage4-binutils
65329 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
65330 configure-stagetrain-gcc: maybe-all-stagetrain-binutils
65331 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
65332 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
65333 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
65334 configure-gcc: maybe-all-gas
65335 configure-stage1-gcc: maybe-all-stage1-gas
65336 configure-stage2-gcc: maybe-all-stage2-gas
65337 configure-stage3-gcc: maybe-all-stage3-gas
65338 configure-stage4-gcc: maybe-all-stage4-gas
65339 configure-stageprofile-gcc: maybe-all-stageprofile-gas
65340 configure-stagetrain-gcc: maybe-all-stagetrain-gas
65341 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
65342 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
65343 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
65344 configure-gcc: maybe-all-ld
65345 configure-stage1-gcc: maybe-all-stage1-ld
65346 configure-stage2-gcc: maybe-all-stage2-ld
65347 configure-stage3-gcc: maybe-all-stage3-ld
65348 configure-stage4-gcc: maybe-all-stage4-ld
65349 configure-stageprofile-gcc: maybe-all-stageprofile-ld
65350 configure-stagetrain-gcc: maybe-all-stagetrain-ld
65351 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
65352 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
65353 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
65354 configure-gcc: maybe-all-gold
65355 configure-stage1-gcc: maybe-all-stage1-gold
65356 configure-stage2-gcc: maybe-all-stage2-gold
65357 configure-stage3-gcc: maybe-all-stage3-gold
65358 configure-stage4-gcc: maybe-all-stage4-gold
65359 configure-stageprofile-gcc: maybe-all-stageprofile-gold
65360 configure-stagetrain-gcc: maybe-all-stagetrain-gold
65361 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
65362 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
65363 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
65364 configure-gcc: maybe-all-libelf
65365 configure-stage1-gcc: maybe-all-stage1-libelf
65366 configure-stage2-gcc: maybe-all-stage2-libelf
65367 configure-stage3-gcc: maybe-all-stage3-libelf
65368 configure-stage4-gcc: maybe-all-stage4-libelf
65369 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
65370 configure-stagetrain-gcc: maybe-all-stagetrain-libelf
65371 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
65372 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libelf
65373 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libelf
65374 configure-gcc: maybe-all-libiconv
65375 configure-stage1-gcc: maybe-all-stage1-libiconv
65376 configure-stage2-gcc: maybe-all-stage2-libiconv
65377 configure-stage3-gcc: maybe-all-stage3-libiconv
65378 configure-stage4-gcc: maybe-all-stage4-libiconv
65379 configure-stageprofile-gcc: maybe-all-stageprofile-libiconv
65380 configure-stagetrain-gcc: maybe-all-stagetrain-libiconv
65381 configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
65382 configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
65383 configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
65384 all-gcc: all-libiberty
65385 all-stage1-gcc: all-stage1-libiberty
65386 all-stage2-gcc: all-stage2-libiberty
65387 all-stage3-gcc: all-stage3-libiberty
65388 all-stage4-gcc: all-stage4-libiberty
65389 all-stageprofile-gcc: all-stageprofile-libiberty
65390 all-stagetrain-gcc: all-stagetrain-libiberty
65391 all-stagefeedback-gcc: all-stagefeedback-libiberty
65392 all-stageautoprofile-gcc: all-stageautoprofile-libiberty
65393 all-stageautofeedback-gcc: all-stageautofeedback-libiberty
65394 all-gcc: maybe-all-intl
65395 all-stage1-gcc: maybe-all-stage1-intl
65396 all-stage2-gcc: maybe-all-stage2-intl
65397 all-stage3-gcc: maybe-all-stage3-intl
65398 all-stage4-gcc: maybe-all-stage4-intl
65399 all-stageprofile-gcc: maybe-all-stageprofile-intl
65400 all-stagetrain-gcc: maybe-all-stagetrain-intl
65401 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
65402 all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl
65403 all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl
65404 all-gcc: maybe-all-mpfr
65405 all-stage1-gcc: maybe-all-stage1-mpfr
65406 all-stage2-gcc: maybe-all-stage2-mpfr
65407 all-stage3-gcc: maybe-all-stage3-mpfr
65408 all-stage4-gcc: maybe-all-stage4-mpfr
65409 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
65410 all-stagetrain-gcc: maybe-all-stagetrain-mpfr
65411 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
65412 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
65413 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
65414 all-gcc: maybe-all-mpc
65415 all-stage1-gcc: maybe-all-stage1-mpc
65416 all-stage2-gcc: maybe-all-stage2-mpc
65417 all-stage3-gcc: maybe-all-stage3-mpc
65418 all-stage4-gcc: maybe-all-stage4-mpc
65419 all-stageprofile-gcc: maybe-all-stageprofile-mpc
65420 all-stagetrain-gcc: maybe-all-stagetrain-mpc
65421 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
65422 all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
65423 all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
65424 all-gcc: maybe-all-isl
65425 all-stage1-gcc: maybe-all-stage1-isl
65426 all-stage2-gcc: maybe-all-stage2-isl
65427 all-stage3-gcc: maybe-all-stage3-isl
65428 all-stage4-gcc: maybe-all-stage4-isl
65429 all-stageprofile-gcc: maybe-all-stageprofile-isl
65430 all-stagetrain-gcc: maybe-all-stagetrain-isl
65431 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
65432 all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
65433 all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
65434 all-gcc: maybe-all-build-texinfo
65435 all-stage1-gcc: maybe-all-build-texinfo
65436 all-stage2-gcc: maybe-all-build-texinfo
65437 all-stage3-gcc: maybe-all-build-texinfo
65438 all-stage4-gcc: maybe-all-build-texinfo
65439 all-stageprofile-gcc: maybe-all-build-texinfo
65440 all-stagetrain-gcc: maybe-all-build-texinfo
65441 all-stagefeedback-gcc: maybe-all-build-texinfo
65442 all-stageautoprofile-gcc: maybe-all-build-texinfo
65443 all-stageautofeedback-gcc: maybe-all-build-texinfo
65444 all-gcc: maybe-all-build-bison
65445 all-stage1-gcc: maybe-all-build-bison
65446 all-stage2-gcc: maybe-all-build-bison
65447 all-stage3-gcc: maybe-all-build-bison
65448 all-stage4-gcc: maybe-all-build-bison
65449 all-stageprofile-gcc: maybe-all-build-bison
65450 all-stagetrain-gcc: maybe-all-build-bison
65451 all-stagefeedback-gcc: maybe-all-build-bison
65452 all-stageautoprofile-gcc: maybe-all-build-bison
65453 all-stageautofeedback-gcc: maybe-all-build-bison
65454 all-gcc: maybe-all-build-flex
65455 all-stage1-gcc: maybe-all-build-flex
65456 all-stage2-gcc: maybe-all-build-flex
65457 all-stage3-gcc: maybe-all-build-flex
65458 all-stage4-gcc: maybe-all-build-flex
65459 all-stageprofile-gcc: maybe-all-build-flex
65460 all-stagetrain-gcc: maybe-all-build-flex
65461 all-stagefeedback-gcc: maybe-all-build-flex
65462 all-stageautoprofile-gcc: maybe-all-build-flex
65463 all-stageautofeedback-gcc: maybe-all-build-flex
65464 all-gcc: maybe-all-build-libiberty
65465 all-stage1-gcc: maybe-all-build-libiberty
65466 all-stage2-gcc: maybe-all-build-libiberty
65467 all-stage3-gcc: maybe-all-build-libiberty
65468 all-stage4-gcc: maybe-all-build-libiberty
65469 all-stageprofile-gcc: maybe-all-build-libiberty
65470 all-stagetrain-gcc: maybe-all-build-libiberty
65471 all-stagefeedback-gcc: maybe-all-build-libiberty
65472 all-stageautoprofile-gcc: maybe-all-build-libiberty
65473 all-stageautofeedback-gcc: maybe-all-build-libiberty
65474 all-gcc: maybe-all-build-fixincludes
65475 all-stage1-gcc: maybe-all-build-fixincludes
65476 all-stage2-gcc: maybe-all-build-fixincludes
65477 all-stage3-gcc: maybe-all-build-fixincludes
65478 all-stage4-gcc: maybe-all-build-fixincludes
65479 all-stageprofile-gcc: maybe-all-build-fixincludes
65480 all-stagetrain-gcc: maybe-all-build-fixincludes
65481 all-stagefeedback-gcc: maybe-all-build-fixincludes
65482 all-stageautoprofile-gcc: maybe-all-build-fixincludes
65483 all-stageautofeedback-gcc: maybe-all-build-fixincludes
65484 all-gcc: maybe-all-build-libcpp
65485 all-stage1-gcc: maybe-all-build-libcpp
65486 all-stage2-gcc: maybe-all-build-libcpp
65487 all-stage3-gcc: maybe-all-build-libcpp
65488 all-stage4-gcc: maybe-all-build-libcpp
65489 all-stageprofile-gcc: maybe-all-build-libcpp
65490 all-stagetrain-gcc: maybe-all-build-libcpp
65491 all-stagefeedback-gcc: maybe-all-build-libcpp
65492 all-stageautoprofile-gcc: maybe-all-build-libcpp
65493 all-stageautofeedback-gcc: maybe-all-build-libcpp
65494 all-gcc: maybe-all-zlib
65495 all-stage1-gcc: maybe-all-stage1-zlib
65496 all-stage2-gcc: maybe-all-stage2-zlib
65497 all-stage3-gcc: maybe-all-stage3-zlib
65498 all-stage4-gcc: maybe-all-stage4-zlib
65499 all-stageprofile-gcc: maybe-all-stageprofile-zlib
65500 all-stagetrain-gcc: maybe-all-stagetrain-zlib
65501 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
65502 all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
65503 all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
65504 all-gcc: all-libbacktrace
65505 all-stage1-gcc: all-stage1-libbacktrace
65506 all-stage2-gcc: all-stage2-libbacktrace
65507 all-stage3-gcc: all-stage3-libbacktrace
65508 all-stage4-gcc: all-stage4-libbacktrace
65509 all-stageprofile-gcc: all-stageprofile-libbacktrace
65510 all-stagetrain-gcc: all-stagetrain-libbacktrace
65511 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
65512 all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
65513 all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
65514 all-gcc: all-libcpp
65515 all-stage1-gcc: all-stage1-libcpp
65516 all-stage2-gcc: all-stage2-libcpp
65517 all-stage3-gcc: all-stage3-libcpp
65518 all-stage4-gcc: all-stage4-libcpp
65519 all-stageprofile-gcc: all-stageprofile-libcpp
65520 all-stagetrain-gcc: all-stagetrain-libcpp
65521 all-stagefeedback-gcc: all-stagefeedback-libcpp
65522 all-stageautoprofile-gcc: all-stageautoprofile-libcpp
65523 all-stageautofeedback-gcc: all-stageautofeedback-libcpp
65524 all-gcc: all-libcody
65525 all-stage1-gcc: all-stage1-libcody
65526 all-stage2-gcc: all-stage2-libcody
65527 all-stage3-gcc: all-stage3-libcody
65528 all-stage4-gcc: all-stage4-libcody
65529 all-stageprofile-gcc: all-stageprofile-libcody
65530 all-stagetrain-gcc: all-stagetrain-libcody
65531 all-stagefeedback-gcc: all-stagefeedback-libcody
65532 all-stageautoprofile-gcc: all-stageautoprofile-libcody
65533 all-stageautofeedback-gcc: all-stageautofeedback-libcody
65534 all-gcc: all-libdecnumber
65535 all-stage1-gcc: all-stage1-libdecnumber
65536 all-stage2-gcc: all-stage2-libdecnumber
65537 all-stage3-gcc: all-stage3-libdecnumber
65538 all-stage4-gcc: all-stage4-libdecnumber
65539 all-stageprofile-gcc: all-stageprofile-libdecnumber
65540 all-stagetrain-gcc: all-stagetrain-libdecnumber
65541 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
65542 all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
65543 all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
65544 all-gcc: maybe-all-libiberty
65545 all-stage1-gcc: maybe-all-stage1-libiberty
65546 all-stage2-gcc: maybe-all-stage2-libiberty
65547 all-stage3-gcc: maybe-all-stage3-libiberty
65548 all-stage4-gcc: maybe-all-stage4-libiberty
65549 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
65550 all-stagetrain-gcc: maybe-all-stagetrain-libiberty
65551 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
65552 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
65553 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
65554 all-gcc: maybe-all-fixincludes
65555 all-stage1-gcc: maybe-all-stage1-fixincludes
65556 all-stage2-gcc: maybe-all-stage2-fixincludes
65557 all-stage3-gcc: maybe-all-stage3-fixincludes
65558 all-stage4-gcc: maybe-all-stage4-fixincludes
65559 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
65560 all-stagetrain-gcc: maybe-all-stagetrain-fixincludes
65561 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
65562 all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
65563 all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
65564 all-gcc: maybe-all-lto-plugin
65565 all-stage1-gcc: maybe-all-stage1-lto-plugin
65566 all-stage2-gcc: maybe-all-stage2-lto-plugin
65567 all-stage3-gcc: maybe-all-stage3-lto-plugin
65568 all-stage4-gcc: maybe-all-stage4-lto-plugin
65569 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
65570 all-stagetrain-gcc: maybe-all-stagetrain-lto-plugin
65571 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
65572 all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
65573 all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
65574 all-gcc: maybe-all-libiconv
65575 all-stage1-gcc: maybe-all-stage1-libiconv
65576 all-stage2-gcc: maybe-all-stage2-libiconv
65577 all-stage3-gcc: maybe-all-stage3-libiconv
65578 all-stage4-gcc: maybe-all-stage4-libiconv
65579 all-stageprofile-gcc: maybe-all-stageprofile-libiconv
65580 all-stagetrain-gcc: maybe-all-stagetrain-libiconv
65581 all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
65582 all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
65583 all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
65584 info-gcc: maybe-all-build-libiberty
65585 info-stage1-gcc: maybe-all-build-libiberty
65586 info-stage2-gcc: maybe-all-build-libiberty
65587 info-stage3-gcc: maybe-all-build-libiberty
65588 info-stage4-gcc: maybe-all-build-libiberty
65589 info-stageprofile-gcc: maybe-all-build-libiberty
65590 info-stagetrain-gcc: maybe-all-build-libiberty
65591 info-stagefeedback-gcc: maybe-all-build-libiberty
65592 info-stageautoprofile-gcc: maybe-all-build-libiberty
65593 info-stageautofeedback-gcc: maybe-all-build-libiberty
65594 dvi-gcc: maybe-all-build-libiberty
65595 dvi-stage1-gcc: maybe-all-build-libiberty
65596 dvi-stage2-gcc: maybe-all-build-libiberty
65597 dvi-stage3-gcc: maybe-all-build-libiberty
65598 dvi-stage4-gcc: maybe-all-build-libiberty
65599 dvi-stageprofile-gcc: maybe-all-build-libiberty
65600 dvi-stagetrain-gcc: maybe-all-build-libiberty
65601 dvi-stagefeedback-gcc: maybe-all-build-libiberty
65602 dvi-stageautoprofile-gcc: maybe-all-build-libiberty
65603 dvi-stageautofeedback-gcc: maybe-all-build-libiberty
65604 pdf-gcc: maybe-all-build-libiberty
65605 pdf-stage1-gcc: maybe-all-build-libiberty
65606 pdf-stage2-gcc: maybe-all-build-libiberty
65607 pdf-stage3-gcc: maybe-all-build-libiberty
65608 pdf-stage4-gcc: maybe-all-build-libiberty
65609 pdf-stageprofile-gcc: maybe-all-build-libiberty
65610 pdf-stagetrain-gcc: maybe-all-build-libiberty
65611 pdf-stagefeedback-gcc: maybe-all-build-libiberty
65612 pdf-stageautoprofile-gcc: maybe-all-build-libiberty
65613 pdf-stageautofeedback-gcc: maybe-all-build-libiberty
65614 html-gcc: maybe-all-build-libiberty
65615 html-stage1-gcc: maybe-all-build-libiberty
65616 html-stage2-gcc: maybe-all-build-libiberty
65617 html-stage3-gcc: maybe-all-build-libiberty
65618 html-stage4-gcc: maybe-all-build-libiberty
65619 html-stageprofile-gcc: maybe-all-build-libiberty
65620 html-stagetrain-gcc: maybe-all-build-libiberty
65621 html-stagefeedback-gcc: maybe-all-build-libiberty
65622 html-stageautoprofile-gcc: maybe-all-build-libiberty
65623 html-stageautofeedback-gcc: maybe-all-build-libiberty
65624 install-gcc: maybe-install-fixincludes
65625 install-gcc: maybe-install-lto-plugin
65626 install-strip-gcc: maybe-install-strip-fixincludes
65627 install-strip-gcc: maybe-install-strip-lto-plugin
65628 configure-libcpp: configure-libiberty
65629 configure-stage1-libcpp: configure-stage1-libiberty
65630 configure-stage2-libcpp: configure-stage2-libiberty
65631 configure-stage3-libcpp: configure-stage3-libiberty
65632 configure-stage4-libcpp: configure-stage4-libiberty
65633 configure-stageprofile-libcpp: configure-stageprofile-libiberty
65634 configure-stagetrain-libcpp: configure-stagetrain-libiberty
65635 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
65636 configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
65637 configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
65638 configure-libcpp: maybe-configure-intl
65639 configure-stage1-libcpp: maybe-configure-stage1-intl
65640 configure-stage2-libcpp: maybe-configure-stage2-intl
65641 configure-stage3-libcpp: maybe-configure-stage3-intl
65642 configure-stage4-libcpp: maybe-configure-stage4-intl
65643 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
65644 configure-stagetrain-libcpp: maybe-configure-stagetrain-intl
65645 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
65646 configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl
65647 configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl
65648 configure-libcpp: maybe-all-libiconv
65649 configure-stage1-libcpp: maybe-all-stage1-libiconv
65650 configure-stage2-libcpp: maybe-all-stage2-libiconv
65651 configure-stage3-libcpp: maybe-all-stage3-libiconv
65652 configure-stage4-libcpp: maybe-all-stage4-libiconv
65653 configure-stageprofile-libcpp: maybe-all-stageprofile-libiconv
65654 configure-stagetrain-libcpp: maybe-all-stagetrain-libiconv
65655 configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
65656 configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
65657 configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
65658 all-libcpp: all-libiberty
65659 all-stage1-libcpp: all-stage1-libiberty
65660 all-stage2-libcpp: all-stage2-libiberty
65661 all-stage3-libcpp: all-stage3-libiberty
65662 all-stage4-libcpp: all-stage4-libiberty
65663 all-stageprofile-libcpp: all-stageprofile-libiberty
65664 all-stagetrain-libcpp: all-stagetrain-libiberty
65665 all-stagefeedback-libcpp: all-stagefeedback-libiberty
65666 all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
65667 all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
65668 all-libcpp: maybe-all-intl
65669 all-stage1-libcpp: maybe-all-stage1-intl
65670 all-stage2-libcpp: maybe-all-stage2-intl
65671 all-stage3-libcpp: maybe-all-stage3-intl
65672 all-stage4-libcpp: maybe-all-stage4-intl
65673 all-stageprofile-libcpp: maybe-all-stageprofile-intl
65674 all-stagetrain-libcpp: maybe-all-stagetrain-intl
65675 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
65676 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl
65677 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl
65678 all-libcpp: maybe-all-libiconv
65679 all-stage1-libcpp: maybe-all-stage1-libiconv
65680 all-stage2-libcpp: maybe-all-stage2-libiconv
65681 all-stage3-libcpp: maybe-all-stage3-libiconv
65682 all-stage4-libcpp: maybe-all-stage4-libiconv
65683 all-stageprofile-libcpp: maybe-all-stageprofile-libiconv
65684 all-stagetrain-libcpp: maybe-all-stagetrain-libiconv
65685 all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
65686 all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
65687 all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
65688 all-fixincludes: maybe-all-libiberty
65689 all-stage1-fixincludes: maybe-all-stage1-libiberty
65690 all-stage2-fixincludes: maybe-all-stage2-libiberty
65691 all-stage3-fixincludes: maybe-all-stage3-libiberty
65692 all-stage4-fixincludes: maybe-all-stage4-libiberty
65693 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
65694 all-stagetrain-fixincludes: maybe-all-stagetrain-libiberty
65695 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
65696 all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
65697 all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
65698 all-gnattools: maybe-all-target-libada
65699 all-lto-plugin: maybe-all-libiberty
65700 all-stage1-lto-plugin: maybe-all-stage1-libiberty
65701 all-stage2-lto-plugin: maybe-all-stage2-libiberty
65702 all-stage3-lto-plugin: maybe-all-stage3-libiberty
65703 all-stage4-lto-plugin: maybe-all-stage4-libiberty
65704 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
65705 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty
65706 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
65707 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
65708 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
65709 all-lto-plugin: maybe-all-libiberty-linker-plugin
65710 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
65711 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
65712 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
65713 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
65714 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
65715 all-stagetrain-lto-plugin: maybe-all-stagetrain-libiberty-linker-plugin
65716 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
65717 all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
65718 all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
65719 all-gotools: maybe-all-target-libgo
65720 configure-intl: maybe-all-libiconv
65721 configure-stage1-intl: maybe-all-stage1-libiconv
65722 configure-stage2-intl: maybe-all-stage2-libiconv
65723 configure-stage3-intl: maybe-all-stage3-libiconv
65724 configure-stage4-intl: maybe-all-stage4-libiconv
65725 configure-stageprofile-intl: maybe-all-stageprofile-libiconv
65726 configure-stagetrain-intl: maybe-all-stagetrain-libiconv
65727 configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
65728 configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
65729 configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
65730 configure-mpfr: maybe-all-gmp
65731 configure-stage1-mpfr: maybe-all-stage1-gmp
65732 configure-stage2-mpfr: maybe-all-stage2-gmp
65733 configure-stage3-mpfr: maybe-all-stage3-gmp
65734 configure-stage4-mpfr: maybe-all-stage4-gmp
65735 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
65736 configure-stagetrain-mpfr: maybe-all-stagetrain-gmp
65737 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
65738 configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
65739 configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
65740 configure-mpc: maybe-all-mpfr
65741 configure-stage1-mpc: maybe-all-stage1-mpfr
65742 configure-stage2-mpc: maybe-all-stage2-mpfr
65743 configure-stage3-mpc: maybe-all-stage3-mpfr
65744 configure-stage4-mpc: maybe-all-stage4-mpfr
65745 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
65746 configure-stagetrain-mpc: maybe-all-stagetrain-mpfr
65747 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
65748 configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
65749 configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
65750 configure-isl: maybe-all-gmp
65751 configure-stage1-isl: maybe-all-stage1-gmp
65752 configure-stage2-isl: maybe-all-stage2-gmp
65753 configure-stage3-isl: maybe-all-stage3-gmp
65754 configure-stage4-isl: maybe-all-stage4-gmp
65755 configure-stageprofile-isl: maybe-all-stageprofile-gmp
65756 configure-stagetrain-isl: maybe-all-stagetrain-gmp
65757 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
65758 configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
65759 configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
65760 all-intl: maybe-all-libiconv
65761 all-stage1-intl: maybe-all-stage1-libiconv
65762 all-stage2-intl: maybe-all-stage2-libiconv
65763 all-stage3-intl: maybe-all-stage3-libiconv
65764 all-stage4-intl: maybe-all-stage4-libiconv
65765 all-stageprofile-intl: maybe-all-stageprofile-libiconv
65766 all-stagetrain-intl: maybe-all-stagetrain-libiconv
65767 all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
65768 all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
65769 all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
65770 configure-gdb: maybe-configure-sim
65771 configure-gdb: maybe-all-gnulib
65772 configure-gdb: maybe-all-gdbsupport
65773 all-gdb: maybe-all-gnulib
65774 all-gdb: maybe-all-gdbsupport
65775 all-gdb: maybe-all-readline
65776 all-gdb: maybe-all-build-bison
65777 all-gdb: maybe-all-sim
65778 all-gdb: maybe-all-libtermcap
65779 configure-gdbserver: maybe-all-gnulib
65780 all-gdbserver: maybe-all-gdbsupport
65781 all-gdbserver: maybe-all-gnulib
65782 configure-libgui: maybe-configure-tcl
65783 configure-libgui: maybe-configure-tk
65784 all-libgui: maybe-all-tcl
65785 all-libgui: maybe-all-tk
65786 all-libgui: maybe-all-itcl
65787 configure-gdbsupport: maybe-configure-gnulib
65788 all-gdbsupport: maybe-all-gnulib
65789 configure-bfd: configure-libiberty
65790 configure-stage1-bfd: configure-stage1-libiberty
65791 configure-stage2-bfd: configure-stage2-libiberty
65792 configure-stage3-bfd: configure-stage3-libiberty
65793 configure-stage4-bfd: configure-stage4-libiberty
65794 configure-stageprofile-bfd: configure-stageprofile-libiberty
65795 configure-stagetrain-bfd: configure-stagetrain-libiberty
65796 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
65797 configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
65798 configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
65799 configure-bfd: maybe-configure-intl
65800 configure-stage1-bfd: maybe-configure-stage1-intl
65801 configure-stage2-bfd: maybe-configure-stage2-intl
65802 configure-stage3-bfd: maybe-configure-stage3-intl
65803 configure-stage4-bfd: maybe-configure-stage4-intl
65804 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
65805 configure-stagetrain-bfd: maybe-configure-stagetrain-intl
65806 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
65807 configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl
65808 configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl
65809 all-bfd: maybe-all-libiberty
65810 all-stage1-bfd: maybe-all-stage1-libiberty
65811 all-stage2-bfd: maybe-all-stage2-libiberty
65812 all-stage3-bfd: maybe-all-stage3-libiberty
65813 all-stage4-bfd: maybe-all-stage4-libiberty
65814 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
65815 all-stagetrain-bfd: maybe-all-stagetrain-libiberty
65816 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
65817 all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
65818 all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
65819 all-bfd: maybe-all-intl
65820 all-stage1-bfd: maybe-all-stage1-intl
65821 all-stage2-bfd: maybe-all-stage2-intl
65822 all-stage3-bfd: maybe-all-stage3-intl
65823 all-stage4-bfd: maybe-all-stage4-intl
65824 all-stageprofile-bfd: maybe-all-stageprofile-intl
65825 all-stagetrain-bfd: maybe-all-stagetrain-intl
65826 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
65827 all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl
65828 all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl
65829 all-bfd: maybe-all-zlib
65830 all-stage1-bfd: maybe-all-stage1-zlib
65831 all-stage2-bfd: maybe-all-stage2-zlib
65832 all-stage3-bfd: maybe-all-stage3-zlib
65833 all-stage4-bfd: maybe-all-stage4-zlib
65834 all-stageprofile-bfd: maybe-all-stageprofile-zlib
65835 all-stagetrain-bfd: maybe-all-stagetrain-zlib
65836 all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
65837 all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
65838 all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
65839 configure-opcodes: configure-libiberty
65840 configure-stage1-opcodes: configure-stage1-libiberty
65841 configure-stage2-opcodes: configure-stage2-libiberty
65842 configure-stage3-opcodes: configure-stage3-libiberty
65843 configure-stage4-opcodes: configure-stage4-libiberty
65844 configure-stageprofile-opcodes: configure-stageprofile-libiberty
65845 configure-stagetrain-opcodes: configure-stagetrain-libiberty
65846 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
65847 configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
65848 configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
65849 all-opcodes: maybe-all-libiberty
65850 all-stage1-opcodes: maybe-all-stage1-libiberty
65851 all-stage2-opcodes: maybe-all-stage2-libiberty
65852 all-stage3-opcodes: maybe-all-stage3-libiberty
65853 all-stage4-opcodes: maybe-all-stage4-libiberty
65854 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
65855 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
65856 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
65857 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
65858 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
65859 configure-binutils: maybe-configure-intl
65860 configure-stage1-binutils: maybe-configure-stage1-intl
65861 configure-stage2-binutils: maybe-configure-stage2-intl
65862 configure-stage3-binutils: maybe-configure-stage3-intl
65863 configure-stage4-binutils: maybe-configure-stage4-intl
65864 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
65865 configure-stagetrain-binutils: maybe-configure-stagetrain-intl
65866 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
65867 configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl
65868 configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl
65869 all-binutils: maybe-all-libiberty
65870 all-stage1-binutils: maybe-all-stage1-libiberty
65871 all-stage2-binutils: maybe-all-stage2-libiberty
65872 all-stage3-binutils: maybe-all-stage3-libiberty
65873 all-stage4-binutils: maybe-all-stage4-libiberty
65874 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
65875 all-stagetrain-binutils: maybe-all-stagetrain-libiberty
65876 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
65877 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
65878 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
65879 all-binutils: maybe-all-opcodes
65880 all-stage1-binutils: maybe-all-stage1-opcodes
65881 all-stage2-binutils: maybe-all-stage2-opcodes
65882 all-stage3-binutils: maybe-all-stage3-opcodes
65883 all-stage4-binutils: maybe-all-stage4-opcodes
65884 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
65885 all-stagetrain-binutils: maybe-all-stagetrain-opcodes
65886 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
65887 all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
65888 all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
65889 all-binutils: maybe-all-bfd
65890 all-stage1-binutils: maybe-all-stage1-bfd
65891 all-stage2-binutils: maybe-all-stage2-bfd
65892 all-stage3-binutils: maybe-all-stage3-bfd
65893 all-stage4-binutils: maybe-all-stage4-bfd
65894 all-stageprofile-binutils: maybe-all-stageprofile-bfd
65895 all-stagetrain-binutils: maybe-all-stagetrain-bfd
65896 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
65897 all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
65898 all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
65899 all-binutils: maybe-all-build-flex
65900 all-stage1-binutils: maybe-all-build-flex
65901 all-stage2-binutils: maybe-all-build-flex
65902 all-stage3-binutils: maybe-all-build-flex
65903 all-stage4-binutils: maybe-all-build-flex
65904 all-stageprofile-binutils: maybe-all-build-flex
65905 all-stagetrain-binutils: maybe-all-build-flex
65906 all-stagefeedback-binutils: maybe-all-build-flex
65907 all-stageautoprofile-binutils: maybe-all-build-flex
65908 all-stageautofeedback-binutils: maybe-all-build-flex
65909 all-binutils: maybe-all-build-bison
65910 all-stage1-binutils: maybe-all-build-bison
65911 all-stage2-binutils: maybe-all-build-bison
65912 all-stage3-binutils: maybe-all-build-bison
65913 all-stage4-binutils: maybe-all-build-bison
65914 all-stageprofile-binutils: maybe-all-build-bison
65915 all-stagetrain-binutils: maybe-all-build-bison
65916 all-stagefeedback-binutils: maybe-all-build-bison
65917 all-stageautoprofile-binutils: maybe-all-build-bison
65918 all-stageautofeedback-binutils: maybe-all-build-bison
65919 all-binutils: maybe-all-intl
65920 all-stage1-binutils: maybe-all-stage1-intl
65921 all-stage2-binutils: maybe-all-stage2-intl
65922 all-stage3-binutils: maybe-all-stage3-intl
65923 all-stage4-binutils: maybe-all-stage4-intl
65924 all-stageprofile-binutils: maybe-all-stageprofile-intl
65925 all-stagetrain-binutils: maybe-all-stagetrain-intl
65926 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
65927 all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl
65928 all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl
65929 all-binutils: maybe-all-gas
65930 all-stage1-binutils: maybe-all-stage1-gas
65931 all-stage2-binutils: maybe-all-stage2-gas
65932 all-stage3-binutils: maybe-all-stage3-gas
65933 all-stage4-binutils: maybe-all-stage4-gas
65934 all-stageprofile-binutils: maybe-all-stageprofile-gas
65935 all-stagetrain-binutils: maybe-all-stagetrain-gas
65936 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
65937 all-stageautoprofile-binutils: maybe-all-stageautoprofile-gas
65938 all-stageautofeedback-binutils: maybe-all-stageautofeedback-gas
65939 all-binutils: maybe-all-libctf
65940 all-stage1-binutils: maybe-all-stage1-libctf
65941 all-stage2-binutils: maybe-all-stage2-libctf
65942 all-stage3-binutils: maybe-all-stage3-libctf
65943 all-stage4-binutils: maybe-all-stage4-libctf
65944 all-stageprofile-binutils: maybe-all-stageprofile-libctf
65945 all-stagetrain-binutils: maybe-all-stagetrain-libctf
65946 all-stagefeedback-binutils: maybe-all-stagefeedback-libctf
65947 all-stageautoprofile-binutils: maybe-all-stageautoprofile-libctf
65948 all-stageautofeedback-binutils: maybe-all-stageautofeedback-libctf
65949 all-ld: maybe-all-libctf
65950 all-stage1-ld: maybe-all-stage1-libctf
65951 all-stage2-ld: maybe-all-stage2-libctf
65952 all-stage3-ld: maybe-all-stage3-libctf
65953 all-stage4-ld: maybe-all-stage4-libctf
65954 all-stageprofile-ld: maybe-all-stageprofile-libctf
65955 all-stagetrain-ld: maybe-all-stagetrain-libctf
65956 all-stagefeedback-ld: maybe-all-stagefeedback-libctf
65957 all-stageautoprofile-ld: maybe-all-stageautoprofile-libctf
65958 all-stageautofeedback-ld: maybe-all-stageautofeedback-libctf
65959 install-binutils: maybe-install-opcodes
65960 install-strip-binutils: maybe-install-strip-opcodes
65961 install-libctf: maybe-install-bfd
65962 install-ld: maybe-install-bfd
65963 install-ld: maybe-install-libctf
65964 install-strip-libctf: maybe-install-strip-bfd
65965 install-strip-ld: maybe-install-strip-bfd
65966 install-strip-ld: maybe-install-strip-libctf
65967 configure-opcodes: configure-bfd
65968 configure-stage1-opcodes: configure-stage1-bfd
65969 configure-stage2-opcodes: configure-stage2-bfd
65970 configure-stage3-opcodes: configure-stage3-bfd
65971 configure-stage4-opcodes: configure-stage4-bfd
65972 configure-stageprofile-opcodes: configure-stageprofile-bfd
65973 configure-stagetrain-opcodes: configure-stagetrain-bfd
65974 configure-stagefeedback-opcodes: configure-stagefeedback-bfd
65975 configure-stageautoprofile-opcodes: configure-stageautoprofile-bfd
65976 configure-stageautofeedback-opcodes: configure-stageautofeedback-bfd
65977 install-opcodes: maybe-install-bfd
65978 install-strip-opcodes: maybe-install-strip-bfd
65979 configure-gas: maybe-configure-intl
65980 configure-stage1-gas: maybe-configure-stage1-intl
65981 configure-stage2-gas: maybe-configure-stage2-intl
65982 configure-stage3-gas: maybe-configure-stage3-intl
65983 configure-stage4-gas: maybe-configure-stage4-intl
65984 configure-stageprofile-gas: maybe-configure-stageprofile-intl
65985 configure-stagetrain-gas: maybe-configure-stagetrain-intl
65986 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
65987 configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl
65988 configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl
65989 all-gas: maybe-all-libiberty
65990 all-stage1-gas: maybe-all-stage1-libiberty
65991 all-stage2-gas: maybe-all-stage2-libiberty
65992 all-stage3-gas: maybe-all-stage3-libiberty
65993 all-stage4-gas: maybe-all-stage4-libiberty
65994 all-stageprofile-gas: maybe-all-stageprofile-libiberty
65995 all-stagetrain-gas: maybe-all-stagetrain-libiberty
65996 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
65997 all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
65998 all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
65999 all-gas: maybe-all-opcodes
66000 all-stage1-gas: maybe-all-stage1-opcodes
66001 all-stage2-gas: maybe-all-stage2-opcodes
66002 all-stage3-gas: maybe-all-stage3-opcodes
66003 all-stage4-gas: maybe-all-stage4-opcodes
66004 all-stageprofile-gas: maybe-all-stageprofile-opcodes
66005 all-stagetrain-gas: maybe-all-stagetrain-opcodes
66006 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
66007 all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
66008 all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
66009 all-gas: maybe-all-bfd
66010 all-stage1-gas: maybe-all-stage1-bfd
66011 all-stage2-gas: maybe-all-stage2-bfd
66012 all-stage3-gas: maybe-all-stage3-bfd
66013 all-stage4-gas: maybe-all-stage4-bfd
66014 all-stageprofile-gas: maybe-all-stageprofile-bfd
66015 all-stagetrain-gas: maybe-all-stagetrain-bfd
66016 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
66017 all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
66018 all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
66019 all-gas: maybe-all-intl
66020 all-stage1-gas: maybe-all-stage1-intl
66021 all-stage2-gas: maybe-all-stage2-intl
66022 all-stage3-gas: maybe-all-stage3-intl
66023 all-stage4-gas: maybe-all-stage4-intl
66024 all-stageprofile-gas: maybe-all-stageprofile-intl
66025 all-stagetrain-gas: maybe-all-stagetrain-intl
66026 all-stagefeedback-gas: maybe-all-stagefeedback-intl
66027 all-stageautoprofile-gas: maybe-all-stageautoprofile-intl
66028 all-stageautofeedback-gas: maybe-all-stageautofeedback-intl
66029 configure-ld: maybe-configure-intl
66030 configure-stage1-ld: maybe-configure-stage1-intl
66031 configure-stage2-ld: maybe-configure-stage2-intl
66032 configure-stage3-ld: maybe-configure-stage3-intl
66033 configure-stage4-ld: maybe-configure-stage4-intl
66034 configure-stageprofile-ld: maybe-configure-stageprofile-intl
66035 configure-stagetrain-ld: maybe-configure-stagetrain-intl
66036 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
66037 configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl
66038 configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl
66039 all-ld: maybe-all-libiberty
66040 all-stage1-ld: maybe-all-stage1-libiberty
66041 all-stage2-ld: maybe-all-stage2-libiberty
66042 all-stage3-ld: maybe-all-stage3-libiberty
66043 all-stage4-ld: maybe-all-stage4-libiberty
66044 all-stageprofile-ld: maybe-all-stageprofile-libiberty
66045 all-stagetrain-ld: maybe-all-stagetrain-libiberty
66046 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
66047 all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
66048 all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
66049 all-ld: maybe-all-bfd
66050 all-stage1-ld: maybe-all-stage1-bfd
66051 all-stage2-ld: maybe-all-stage2-bfd
66052 all-stage3-ld: maybe-all-stage3-bfd
66053 all-stage4-ld: maybe-all-stage4-bfd
66054 all-stageprofile-ld: maybe-all-stageprofile-bfd
66055 all-stagetrain-ld: maybe-all-stagetrain-bfd
66056 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
66057 all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
66058 all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
66059 all-ld: maybe-all-opcodes
66060 all-stage1-ld: maybe-all-stage1-opcodes
66061 all-stage2-ld: maybe-all-stage2-opcodes
66062 all-stage3-ld: maybe-all-stage3-opcodes
66063 all-stage4-ld: maybe-all-stage4-opcodes
66064 all-stageprofile-ld: maybe-all-stageprofile-opcodes
66065 all-stagetrain-ld: maybe-all-stagetrain-opcodes
66066 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
66067 all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
66068 all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
66069 all-ld: maybe-all-build-bison
66070 all-stage1-ld: maybe-all-build-bison
66071 all-stage2-ld: maybe-all-build-bison
66072 all-stage3-ld: maybe-all-build-bison
66073 all-stage4-ld: maybe-all-build-bison
66074 all-stageprofile-ld: maybe-all-build-bison
66075 all-stagetrain-ld: maybe-all-build-bison
66076 all-stagefeedback-ld: maybe-all-build-bison
66077 all-stageautoprofile-ld: maybe-all-build-bison
66078 all-stageautofeedback-ld: maybe-all-build-bison
66079 all-ld: maybe-all-build-flex
66080 all-stage1-ld: maybe-all-build-flex
66081 all-stage2-ld: maybe-all-build-flex
66082 all-stage3-ld: maybe-all-build-flex
66083 all-stage4-ld: maybe-all-build-flex
66084 all-stageprofile-ld: maybe-all-build-flex
66085 all-stagetrain-ld: maybe-all-build-flex
66086 all-stagefeedback-ld: maybe-all-build-flex
66087 all-stageautoprofile-ld: maybe-all-build-flex
66088 all-stageautofeedback-ld: maybe-all-build-flex
66089 all-ld: maybe-all-intl
66090 all-stage1-ld: maybe-all-stage1-intl
66091 all-stage2-ld: maybe-all-stage2-intl
66092 all-stage3-ld: maybe-all-stage3-intl
66093 all-stage4-ld: maybe-all-stage4-intl
66094 all-stageprofile-ld: maybe-all-stageprofile-intl
66095 all-stagetrain-ld: maybe-all-stagetrain-intl
66096 all-stagefeedback-ld: maybe-all-stagefeedback-intl
66097 all-stageautoprofile-ld: maybe-all-stageautoprofile-intl
66098 all-stageautofeedback-ld: maybe-all-stageautofeedback-intl
66099 all-ld: maybe-all-gas
66100 all-stage1-ld: maybe-all-stage1-gas
66101 all-stage2-ld: maybe-all-stage2-gas
66102 all-stage3-ld: maybe-all-stage3-gas
66103 all-stage4-ld: maybe-all-stage4-gas
66104 all-stageprofile-ld: maybe-all-stageprofile-gas
66105 all-stagetrain-ld: maybe-all-stagetrain-gas
66106 all-stagefeedback-ld: maybe-all-stagefeedback-gas
66107 all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
66108 all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
66109 all-ld: maybe-all-binutils
66110 all-stage1-ld: maybe-all-stage1-binutils
66111 all-stage2-ld: maybe-all-stage2-binutils
66112 all-stage3-ld: maybe-all-stage3-binutils
66113 all-stage4-ld: maybe-all-stage4-binutils
66114 all-stageprofile-ld: maybe-all-stageprofile-binutils
66115 all-stagetrain-ld: maybe-all-stagetrain-binutils
66116 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
66117 all-stageautoprofile-ld: maybe-all-stageautoprofile-binutils
66118 all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
66119 install-ld: maybe-install-gold
66120 install-strip-ld: maybe-install-strip-gold
66121 configure-gold: maybe-configure-intl
66122 configure-stage1-gold: maybe-configure-stage1-intl
66123 configure-stage2-gold: maybe-configure-stage2-intl
66124 configure-stage3-gold: maybe-configure-stage3-intl
66125 configure-stage4-gold: maybe-configure-stage4-intl
66126 configure-stageprofile-gold: maybe-configure-stageprofile-intl
66127 configure-stagetrain-gold: maybe-configure-stagetrain-intl
66128 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
66129 configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl
66130 configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl
66131 all-gold: maybe-all-libiberty
66132 all-stage1-gold: maybe-all-stage1-libiberty
66133 all-stage2-gold: maybe-all-stage2-libiberty
66134 all-stage3-gold: maybe-all-stage3-libiberty
66135 all-stage4-gold: maybe-all-stage4-libiberty
66136 all-stageprofile-gold: maybe-all-stageprofile-libiberty
66137 all-stagetrain-gold: maybe-all-stagetrain-libiberty
66138 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
66139 all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
66140 all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
66141 all-gold: maybe-all-intl
66142 all-stage1-gold: maybe-all-stage1-intl
66143 all-stage2-gold: maybe-all-stage2-intl
66144 all-stage3-gold: maybe-all-stage3-intl
66145 all-stage4-gold: maybe-all-stage4-intl
66146 all-stageprofile-gold: maybe-all-stageprofile-intl
66147 all-stagetrain-gold: maybe-all-stagetrain-intl
66148 all-stagefeedback-gold: maybe-all-stagefeedback-intl
66149 all-stageautoprofile-gold: maybe-all-stageautoprofile-intl
66150 all-stageautofeedback-gold: maybe-all-stageautofeedback-intl
66151 all-gold: maybe-all-bfd
66152 all-stage1-gold: maybe-all-stage1-bfd
66153 all-stage2-gold: maybe-all-stage2-bfd
66154 all-stage3-gold: maybe-all-stage3-bfd
66155 all-stage4-gold: maybe-all-stage4-bfd
66156 all-stageprofile-gold: maybe-all-stageprofile-bfd
66157 all-stagetrain-gold: maybe-all-stagetrain-bfd
66158 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
66159 all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
66160 all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
66161 all-gold: maybe-all-build-bison
66162 all-stage1-gold: maybe-all-build-bison
66163 all-stage2-gold: maybe-all-build-bison
66164 all-stage3-gold: maybe-all-build-bison
66165 all-stage4-gold: maybe-all-build-bison
66166 all-stageprofile-gold: maybe-all-build-bison
66167 all-stagetrain-gold: maybe-all-build-bison
66168 all-stagefeedback-gold: maybe-all-build-bison
66169 all-stageautoprofile-gold: maybe-all-build-bison
66170 all-stageautofeedback-gold: maybe-all-build-bison
66171 all-gold: maybe-all-gas
66172 all-stage1-gold: maybe-all-stage1-gas
66173 all-stage2-gold: maybe-all-stage2-gas
66174 all-stage3-gold: maybe-all-stage3-gas
66175 all-stage4-gold: maybe-all-stage4-gas
66176 all-stageprofile-gold: maybe-all-stageprofile-gas
66177 all-stagetrain-gold: maybe-all-stagetrain-gas
66178 all-stagefeedback-gold: maybe-all-stagefeedback-gas
66179 all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
66180 all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
66181 check-gold: maybe-all-binutils
66182 check-stage1-gold: maybe-all-stage1-binutils
66183 check-stage2-gold: maybe-all-stage2-binutils
66184 check-stage3-gold: maybe-all-stage3-binutils
66185 check-stage4-gold: maybe-all-stage4-binutils
66186 check-stageprofile-gold: maybe-all-stageprofile-binutils
66187 check-stagetrain-gold: maybe-all-stagetrain-binutils
66188 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
66189 check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
66190 check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
66191 check-gold: maybe-all-gas
66192 check-stage1-gold: maybe-all-stage1-gas
66193 check-stage2-gold: maybe-all-stage2-gas
66194 check-stage3-gold: maybe-all-stage3-gas
66195 check-stage4-gold: maybe-all-stage4-gas
66196 check-stageprofile-gold: maybe-all-stageprofile-gas
66197 check-stagetrain-gold: maybe-all-stagetrain-gas
66198 check-stagefeedback-gold: maybe-all-stagefeedback-gas
66199 check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
66200 check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
66201 configure-opcodes: maybe-configure-intl
66202 configure-stage1-opcodes: maybe-configure-stage1-intl
66203 configure-stage2-opcodes: maybe-configure-stage2-intl
66204 configure-stage3-opcodes: maybe-configure-stage3-intl
66205 configure-stage4-opcodes: maybe-configure-stage4-intl
66206 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
66207 configure-stagetrain-opcodes: maybe-configure-stagetrain-intl
66208 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
66209 configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl
66210 configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl
66211 all-opcodes: maybe-all-bfd
66212 all-stage1-opcodes: maybe-all-stage1-bfd
66213 all-stage2-opcodes: maybe-all-stage2-bfd
66214 all-stage3-opcodes: maybe-all-stage3-bfd
66215 all-stage4-opcodes: maybe-all-stage4-bfd
66216 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
66217 all-stagetrain-opcodes: maybe-all-stagetrain-bfd
66218 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
66219 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
66220 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
66221 all-opcodes: maybe-all-libiberty
66222 all-stage1-opcodes: maybe-all-stage1-libiberty
66223 all-stage2-opcodes: maybe-all-stage2-libiberty
66224 all-stage3-opcodes: maybe-all-stage3-libiberty
66225 all-stage4-opcodes: maybe-all-stage4-libiberty
66226 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
66227 all-stagetrain-opcodes: maybe-all-stagetrain-libiberty
66228 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
66229 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
66230 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
66231 all-opcodes: maybe-all-intl
66232 all-stage1-opcodes: maybe-all-stage1-intl
66233 all-stage2-opcodes: maybe-all-stage2-intl
66234 all-stage3-opcodes: maybe-all-stage3-intl
66235 all-stage4-opcodes: maybe-all-stage4-intl
66236 all-stageprofile-opcodes: maybe-all-stageprofile-intl
66237 all-stagetrain-opcodes: maybe-all-stagetrain-intl
66238 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
66239 all-stageautoprofile-opcodes: maybe-all-stageautoprofile-intl
66240 all-stageautofeedback-opcodes: maybe-all-stageautofeedback-intl
66241 all-dejagnu: maybe-all-tcl
66242 all-dejagnu: maybe-all-expect
66243 all-dejagnu: maybe-all-tk
66244 configure-expect: maybe-configure-tcl
66245 configure-expect: maybe-configure-tk
66246 all-expect: maybe-all-tcl
66247 all-expect: maybe-all-tk
66248 configure-itcl: maybe-configure-tcl
66249 configure-itcl: maybe-configure-tk
66250 all-itcl: maybe-all-tcl
66251 all-itcl: maybe-all-tk
66252 install-itcl: maybe-install-tcl
66253 install-strip-itcl: maybe-install-strip-tcl
66254 configure-tk: maybe-configure-tcl
66255 all-tk: maybe-all-tcl
66256 all-sid: maybe-all-tcl
66257 all-sid: maybe-all-tk
66258 install-sid: maybe-install-tcl
66259 install-strip-sid: maybe-install-strip-tcl
66260 install-sid: maybe-install-tk
66261 install-strip-sid: maybe-install-strip-tk
66262 configure-sim: maybe-all-gnulib
66263 all-sim: maybe-all-readline
66264 all-fastjar: maybe-all-build-texinfo
66265 all-libctf: all-libiberty
66266 all-stage1-libctf: all-stage1-libiberty
66267 all-stage2-libctf: all-stage2-libiberty
66268 all-stage3-libctf: all-stage3-libiberty
66269 all-stage4-libctf: all-stage4-libiberty
66270 all-stageprofile-libctf: all-stageprofile-libiberty
66271 all-stagetrain-libctf: all-stagetrain-libiberty
66272 all-stagefeedback-libctf: all-stagefeedback-libiberty
66273 all-stageautoprofile-libctf: all-stageautoprofile-libiberty
66274 all-stageautofeedback-libctf: all-stageautofeedback-libiberty
66275 all-libctf: maybe-all-bfd
66276 all-stage1-libctf: maybe-all-stage1-bfd
66277 all-stage2-libctf: maybe-all-stage2-bfd
66278 all-stage3-libctf: maybe-all-stage3-bfd
66279 all-stage4-libctf: maybe-all-stage4-bfd
66280 all-stageprofile-libctf: maybe-all-stageprofile-bfd
66281 all-stagetrain-libctf: maybe-all-stagetrain-bfd
66282 all-stagefeedback-libctf: maybe-all-stagefeedback-bfd
66283 all-stageautoprofile-libctf: maybe-all-stageautoprofile-bfd
66284 all-stageautofeedback-libctf: maybe-all-stageautofeedback-bfd
66285 all-libctf: maybe-all-zlib
66286 all-stage1-libctf: maybe-all-stage1-zlib
66287 all-stage2-libctf: maybe-all-stage2-zlib
66288 all-stage3-libctf: maybe-all-stage3-zlib
66289 all-stage4-libctf: maybe-all-stage4-zlib
66290 all-stageprofile-libctf: maybe-all-stageprofile-zlib
66291 all-stagetrain-libctf: maybe-all-stagetrain-zlib
66292 all-stagefeedback-libctf: maybe-all-stagefeedback-zlib
66293 all-stageautoprofile-libctf: maybe-all-stageautoprofile-zlib
66294 all-stageautofeedback-libctf: maybe-all-stageautofeedback-zlib
66295 configure-libctf: maybe-all-bfd
66296 configure-stage1-libctf: maybe-all-stage1-bfd
66297 configure-stage2-libctf: maybe-all-stage2-bfd
66298 configure-stage3-libctf: maybe-all-stage3-bfd
66299 configure-stage4-libctf: maybe-all-stage4-bfd
66300 configure-stageprofile-libctf: maybe-all-stageprofile-bfd
66301 configure-stagetrain-libctf: maybe-all-stagetrain-bfd
66302 configure-stagefeedback-libctf: maybe-all-stagefeedback-bfd
66303 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-bfd
66304 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-bfd
66305 configure-libctf: maybe-all-intl
66306 configure-stage1-libctf: maybe-all-stage1-intl
66307 configure-stage2-libctf: maybe-all-stage2-intl
66308 configure-stage3-libctf: maybe-all-stage3-intl
66309 configure-stage4-libctf: maybe-all-stage4-intl
66310 configure-stageprofile-libctf: maybe-all-stageprofile-intl
66311 configure-stagetrain-libctf: maybe-all-stagetrain-intl
66312 configure-stagefeedback-libctf: maybe-all-stagefeedback-intl
66313 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-intl
66314 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-intl
66315 configure-libctf: maybe-all-zlib
66316 configure-stage1-libctf: maybe-all-stage1-zlib
66317 configure-stage2-libctf: maybe-all-stage2-zlib
66318 configure-stage3-libctf: maybe-all-stage3-zlib
66319 configure-stage4-libctf: maybe-all-stage4-zlib
66320 configure-stageprofile-libctf: maybe-all-stageprofile-zlib
66321 configure-stagetrain-libctf: maybe-all-stagetrain-zlib
66322 configure-stagefeedback-libctf: maybe-all-stagefeedback-zlib
66323 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-zlib
66324 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-zlib
66325 configure-libctf: maybe-all-libiconv
66326 configure-stage1-libctf: maybe-all-stage1-libiconv
66327 configure-stage2-libctf: maybe-all-stage2-libiconv
66328 configure-stage3-libctf: maybe-all-stage3-libiconv
66329 configure-stage4-libctf: maybe-all-stage4-libiconv
66330 configure-stageprofile-libctf: maybe-all-stageprofile-libiconv
66331 configure-stagetrain-libctf: maybe-all-stagetrain-libiconv
66332 configure-stagefeedback-libctf: maybe-all-stagefeedback-libiconv
66333 configure-stageautoprofile-libctf: maybe-all-stageautoprofile-libiconv
66334 configure-stageautofeedback-libctf: maybe-all-stageautofeedback-libiconv
66335 check-libctf: maybe-all-ld
66336 check-stage1-libctf: maybe-all-stage1-ld
66337 check-stage2-libctf: maybe-all-stage2-ld
66338 check-stage3-libctf: maybe-all-stage3-ld
66339 check-stage4-libctf: maybe-all-stage4-ld
66340 check-stageprofile-libctf: maybe-all-stageprofile-ld
66341 check-stagetrain-libctf: maybe-all-stagetrain-ld
66342 check-stagefeedback-libctf: maybe-all-stagefeedback-ld
66343 check-stageautoprofile-libctf: maybe-all-stageautoprofile-ld
66344 check-stageautofeedback-libctf: maybe-all-stageautofeedback-ld
66345 distclean-gnulib: maybe-distclean-gdb
66346 distclean-gnulib: maybe-distclean-gdbserver
66347 all-bison: maybe-all-build-texinfo
66348 all-flex: maybe-all-build-bison
66349 all-flex: maybe-all-m4
66350 all-flex: maybe-all-build-texinfo
66351 all-m4: maybe-all-build-texinfo
66352 configure-target-libgo: maybe-configure-target-libffi
66353 all-target-libgo: maybe-all-target-libffi
66354 configure-target-libphobos: maybe-configure-target-libbacktrace
66355 configure-stage1-target-libphobos: maybe-configure-stage1-target-libbacktrace
66356 configure-stage2-target-libphobos: maybe-configure-stage2-target-libbacktrace
66357 configure-stage3-target-libphobos: maybe-configure-stage3-target-libbacktrace
66358 configure-stage4-target-libphobos: maybe-configure-stage4-target-libbacktrace
66359 configure-stageprofile-target-libphobos: maybe-configure-stageprofile-target-libbacktrace
66360 configure-stagetrain-target-libphobos: maybe-configure-stagetrain-target-libbacktrace
66361 configure-stagefeedback-target-libphobos: maybe-configure-stagefeedback-target-libbacktrace
66362 configure-stageautoprofile-target-libphobos: maybe-configure-stageautoprofile-target-libbacktrace
66363 configure-stageautofeedback-target-libphobos: maybe-configure-stageautofeedback-target-libbacktrace
66364 configure-target-libphobos: maybe-configure-target-zlib
66365 configure-stage1-target-libphobos: maybe-configure-stage1-target-zlib
66366 configure-stage2-target-libphobos: maybe-configure-stage2-target-zlib
66367 configure-stage3-target-libphobos: maybe-configure-stage3-target-zlib
66368 configure-stage4-target-libphobos: maybe-configure-stage4-target-zlib
66369 configure-stageprofile-target-libphobos: maybe-configure-stageprofile-target-zlib
66370 configure-stagetrain-target-libphobos: maybe-configure-stagetrain-target-zlib
66371 configure-stagefeedback-target-libphobos: maybe-configure-stagefeedback-target-zlib
66372 configure-stageautoprofile-target-libphobos: maybe-configure-stageautoprofile-target-zlib
66373 configure-stageautofeedback-target-libphobos: maybe-configure-stageautofeedback-target-zlib
66374 all-target-libphobos: maybe-all-target-libbacktrace
66375 all-stage1-target-libphobos: maybe-all-stage1-target-libbacktrace
66376 all-stage2-target-libphobos: maybe-all-stage2-target-libbacktrace
66377 all-stage3-target-libphobos: maybe-all-stage3-target-libbacktrace
66378 all-stage4-target-libphobos: maybe-all-stage4-target-libbacktrace
66379 all-stageprofile-target-libphobos: maybe-all-stageprofile-target-libbacktrace
66380 all-stagetrain-target-libphobos: maybe-all-stagetrain-target-libbacktrace
66381 all-stagefeedback-target-libphobos: maybe-all-stagefeedback-target-libbacktrace
66382 all-stageautoprofile-target-libphobos: maybe-all-stageautoprofile-target-libbacktrace
66383 all-stageautofeedback-target-libphobos: maybe-all-stageautofeedback-target-libbacktrace
66384 all-target-libphobos: maybe-all-target-zlib
66385 all-stage1-target-libphobos: maybe-all-stage1-target-zlib
66386 all-stage2-target-libphobos: maybe-all-stage2-target-zlib
66387 all-stage3-target-libphobos: maybe-all-stage3-target-zlib
66388 all-stage4-target-libphobos: maybe-all-stage4-target-zlib
66389 all-stageprofile-target-libphobos: maybe-all-stageprofile-target-zlib
66390 all-stagetrain-target-libphobos: maybe-all-stagetrain-target-zlib
66391 all-stagefeedback-target-libphobos: maybe-all-stagefeedback-target-zlib
66392 all-stageautoprofile-target-libphobos: maybe-all-stageautoprofile-target-zlib
66393 all-stageautofeedback-target-libphobos: maybe-all-stageautofeedback-target-zlib
66394 all-target-libphobos: maybe-all-target-libatomic
66395 all-stage1-target-libphobos: maybe-all-stage1-target-libatomic
66396 all-stage2-target-libphobos: maybe-all-stage2-target-libatomic
66397 all-stage3-target-libphobos: maybe-all-stage3-target-libatomic
66398 all-stage4-target-libphobos: maybe-all-stage4-target-libatomic
66399 all-stageprofile-target-libphobos: maybe-all-stageprofile-target-libatomic
66400 all-stagetrain-target-libphobos: maybe-all-stagetrain-target-libatomic
66401 all-stagefeedback-target-libphobos: maybe-all-stagefeedback-target-libatomic
66402 all-stageautoprofile-target-libphobos: maybe-all-stageautoprofile-target-libatomic
66403 all-stageautofeedback-target-libphobos: maybe-all-stageautofeedback-target-libatomic
66404 configure-target-libstdc++-v3: maybe-configure-target-libgomp
66405 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
66406 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
66407 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
66408 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
66409 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
66410 configure-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
66411 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
66412 configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
66413 configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
66414 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
66415 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
66416 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
66417 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
66418 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
66419 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
66420 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libstdc++-v3
66421 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
66422 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
66423 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
66424 configure-target-libvtv: maybe-all-target-libstdc++-v3
66425 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
66426 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
66427 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
66428 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
66429 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
66430 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libstdc++-v3
66431 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
66432 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
66433 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
66434 all-target-libstdc++-v3: maybe-configure-target-libgomp
66435 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
66436 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
66437 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
66438 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
66439 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
66440 all-stagetrain-target-libstdc++-v3: maybe-configure-stagetrain-target-libgomp
66441 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
66442 all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
66443 all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
66444 install-target-libgo: maybe-install-target-libatomic
66445 install-target-libgfortran: maybe-install-target-libquadmath
66446 install-target-libgfortran: maybe-install-target-libgcc
66447 install-target-libphobos: maybe-install-target-libatomic
66448 install-target-libsanitizer: maybe-install-target-libstdc++-v3
66449 install-target-libsanitizer: maybe-install-target-libgcc
66450 install-target-libvtv: maybe-install-target-libstdc++-v3
66451 install-target-libvtv: maybe-install-target-libgcc
66452 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
66453 install-target-liboffloadmic: maybe-install-target-libgcc
66454 install-target-libitm: maybe-install-target-libgcc
66455 install-target-libobjc: maybe-install-target-libgcc
66456 install-target-libstdc++-v3: maybe-install-target-libgcc
66457 all-target-libgloss: maybe-all-target-newlib
66458 all-target-winsup: maybe-all-target-libtermcap
66459 configure-target-libgfortran: maybe-all-target-libquadmath
66460
66461
66462 @if gcc-bootstrap
66463 configure-gnattools: stage_last
66464 configure-libcc1: stage_last
66465 configure-c++tools: stage_last
66466 configure-utils: stage_last
66467 configure-gdb: stage_last
66468 configure-gdbserver: stage_last
66469 configure-gdbsupport: stage_last
66470 configure-gprof: stage_last
66471 configure-sid: stage_last
66472 configure-sim: stage_last
66473 configure-fastjar: stage_last
66474 configure-bison: stage_last
66475 configure-flex: stage_last
66476 configure-m4: stage_last
66477 @endif gcc-bootstrap
66478
66479 @unless gcc-bootstrap
66480 all-gnattools: maybe-all-target-libstdc++-v3
66481 configure-libcc1: maybe-configure-gcc
66482 all-libcc1: maybe-all-gcc
66483 all-c++tools: maybe-all-gcc
66484 all-utils: maybe-all-libiberty
66485 configure-gdb: maybe-all-intl
66486 configure-gdb: maybe-all-bfd
66487 configure-gdb: maybe-all-libiconv
66488 all-gdb: maybe-all-libiberty
66489 all-gdb: maybe-all-libiconv
66490 all-gdb: maybe-all-opcodes
66491 all-gdb: maybe-all-libdecnumber
66492 all-gdb: maybe-all-libctf
66493 all-gdb: maybe-all-libbacktrace
66494 all-gdbserver: maybe-all-libiberty
66495 configure-gdbsupport: maybe-configure-intl
66496 all-gdbsupport: maybe-all-intl
66497 configure-gprof: maybe-configure-intl
66498 all-gprof: maybe-all-libiberty
66499 all-gprof: maybe-all-bfd
66500 all-gprof: maybe-all-opcodes
66501 all-gprof: maybe-all-intl
66502 all-gprof: maybe-all-gas
66503 all-sid: maybe-all-libiberty
66504 all-sid: maybe-all-bfd
66505 all-sid: maybe-all-opcodes
66506 configure-sim: maybe-configure-intl
66507 all-sim: maybe-all-intl
66508 all-sim: maybe-all-libiberty
66509 all-sim: maybe-all-bfd
66510 all-sim: maybe-all-opcodes
66511 all-fastjar: maybe-all-zlib
66512 all-fastjar: maybe-all-libiberty
66513 all-bison: maybe-all-intl
66514 all-flex: maybe-all-intl
66515 all-m4: maybe-all-intl
66516 configure-target-fastjar: maybe-configure-target-zlib
66517 all-target-fastjar: maybe-all-target-zlib
66518 configure-target-libgo: maybe-all-target-libstdc++-v3
66519 configure-target-libffi: maybe-all-target-libstdc++-v3
66520 all-target-libgo: maybe-all-target-libbacktrace
66521 all-target-libgo: maybe-all-target-libatomic
66522 configure-target-liboffloadmic: maybe-configure-target-libgomp
66523 all-target-liboffloadmic: maybe-all-target-libgomp
66524 configure-target-newlib: maybe-all-binutils
66525 configure-target-newlib: maybe-all-ld
66526 configure-target-libgfortran: maybe-all-target-libbacktrace
66527 @endunless gcc-bootstrap
66528
66529 # Dependencies for target modules on other target modules are
66530 # described by lang_env_dependencies; the defaults apply to anything
66531 # not mentioned there.
66532
66533
66534 @if gcc-bootstrap
66535 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
66536 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
66537 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
66538 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
66539 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
66540 configure-stagetrain-target-libstdc++-v3: maybe-all-stagetrain-target-libgcc
66541 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
66542 configure-stageautoprofile-target-libstdc++-v3: maybe-all-stageautoprofile-target-libgcc
66543 configure-stageautofeedback-target-libstdc++-v3: maybe-all-stageautofeedback-target-libgcc
66544 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
66545 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
66546 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
66547 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
66548 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
66549 configure-stagetrain-target-libsanitizer: maybe-all-stagetrain-target-libgcc
66550 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
66551 configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libgcc
66552 configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libgcc
66553 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
66554 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
66555 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
66556 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
66557 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
66558 configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libgcc
66559 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
66560 configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
66561 configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
66562 configure-stage1-target-libbacktrace: maybe-all-stage1-target-libgcc
66563 configure-stage2-target-libbacktrace: maybe-all-stage2-target-libgcc
66564 configure-stage3-target-libbacktrace: maybe-all-stage3-target-libgcc
66565 configure-stage4-target-libbacktrace: maybe-all-stage4-target-libgcc
66566 configure-stageprofile-target-libbacktrace: maybe-all-stageprofile-target-libgcc
66567 configure-stagetrain-target-libbacktrace: maybe-all-stagetrain-target-libgcc
66568 configure-stagefeedback-target-libbacktrace: maybe-all-stagefeedback-target-libgcc
66569 configure-stageautoprofile-target-libbacktrace: maybe-all-stageautoprofile-target-libgcc
66570 configure-stageautofeedback-target-libbacktrace: maybe-all-stageautofeedback-target-libgcc
66571 configure-stage1-target-libphobos: maybe-all-stage1-target-libgcc
66572 configure-stage2-target-libphobos: maybe-all-stage2-target-libgcc
66573 configure-stage3-target-libphobos: maybe-all-stage3-target-libgcc
66574 configure-stage4-target-libphobos: maybe-all-stage4-target-libgcc
66575 configure-stageprofile-target-libphobos: maybe-all-stageprofile-target-libgcc
66576 configure-stagetrain-target-libphobos: maybe-all-stagetrain-target-libgcc
66577 configure-stagefeedback-target-libphobos: maybe-all-stagefeedback-target-libgcc
66578 configure-stageautoprofile-target-libphobos: maybe-all-stageautoprofile-target-libgcc
66579 configure-stageautofeedback-target-libphobos: maybe-all-stageautofeedback-target-libgcc
66580 configure-stage1-target-zlib: maybe-all-stage1-target-libgcc
66581 configure-stage2-target-zlib: maybe-all-stage2-target-libgcc
66582 configure-stage3-target-zlib: maybe-all-stage3-target-libgcc
66583 configure-stage4-target-zlib: maybe-all-stage4-target-libgcc
66584 configure-stageprofile-target-zlib: maybe-all-stageprofile-target-libgcc
66585 configure-stagetrain-target-zlib: maybe-all-stagetrain-target-libgcc
66586 configure-stagefeedback-target-zlib: maybe-all-stagefeedback-target-libgcc
66587 configure-stageautoprofile-target-zlib: maybe-all-stageautoprofile-target-libgcc
66588 configure-stageautofeedback-target-zlib: maybe-all-stageautofeedback-target-libgcc
66589 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
66590 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
66591 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
66592 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
66593 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
66594 configure-stagetrain-target-libgomp: maybe-all-stagetrain-target-libgcc
66595 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
66596 configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
66597 configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
66598 configure-stage1-target-libatomic: maybe-all-stage1-target-libgcc
66599 configure-stage2-target-libatomic: maybe-all-stage2-target-libgcc
66600 configure-stage3-target-libatomic: maybe-all-stage3-target-libgcc
66601 configure-stage4-target-libatomic: maybe-all-stage4-target-libgcc
66602 configure-stageprofile-target-libatomic: maybe-all-stageprofile-target-libgcc
66603 configure-stagetrain-target-libatomic: maybe-all-stagetrain-target-libgcc
66604 configure-stagefeedback-target-libatomic: maybe-all-stagefeedback-target-libgcc
66605 configure-stageautoprofile-target-libatomic: maybe-all-stageautoprofile-target-libgcc
66606 configure-stageautofeedback-target-libatomic: maybe-all-stageautofeedback-target-libgcc
66607 @endif gcc-bootstrap
66608
66609 @if gcc-no-bootstrap
66610 configure-target-libstdc++-v3: maybe-all-target-libgcc
66611 configure-target-libsanitizer: maybe-all-target-libgcc
66612 configure-target-libvtv: maybe-all-target-libgcc
66613 configure-target-liboffloadmic: maybe-all-target-libgcc
66614 configure-target-libssp: maybe-all-target-libgcc
66615 configure-target-newlib: maybe-all-target-libgcc
66616 configure-target-libbacktrace: maybe-all-target-libgcc
66617 configure-target-libquadmath: maybe-all-target-libgcc
66618 configure-target-libgfortran: maybe-all-target-libgcc
66619 configure-target-libobjc: maybe-all-target-libgcc
66620 configure-target-libgo: maybe-all-target-libgcc
66621 configure-target-libphobos: maybe-all-target-libgcc
66622 configure-target-libtermcap: maybe-all-target-libgcc
66623 configure-target-winsup: maybe-all-target-libgcc
66624 configure-target-libgloss: maybe-all-target-libgcc
66625 configure-target-libffi: maybe-all-target-libgcc
66626 configure-target-zlib: maybe-all-target-libgcc
66627 configure-target-rda: maybe-all-target-libgcc
66628 configure-target-libada: maybe-all-target-libgcc
66629 configure-target-libgomp: maybe-all-target-libgcc
66630 configure-target-libitm: maybe-all-target-libgcc
66631 configure-target-libatomic: maybe-all-target-libgcc
66632 @endif gcc-no-bootstrap
66633
66634
66635 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
66636
66637 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
66638
66639 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
66640
66641 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
66642 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
66643
66644 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
66645
66646
66647
66648 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
66649
66650 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
66651
66652 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
66653
66654 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
66655
66656 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
66657
66658 configure-target-libphobos: maybe-all-target-newlib maybe-all-target-libgloss
66659
66660 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
66661
66662 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
66663
66664
66665 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
66666 configure-target-libffi: maybe-all-target-libstdc++-v3
66667
66668 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
66669
66670 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
66671
66672 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
66673
66674 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
66675
66676 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
66677 configure-target-libitm: maybe-all-target-libstdc++-v3
66678
66679 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
66680
66681
66682 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
66683 GDB_TK = @GDB_TK@
66684 INSTALL_GDB_TK = @INSTALL_GDB_TK@
66685 configure-gdb: $(CONFIGURE_GDB_TK)
66686 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
66687 install-gdb: $(INSTALL_GDB_TK)
66688
66689 # Serialization dependencies. Host configures don't work well in parallel to
66690 # each other, due to contention over config.cache. Target configures and
66691 # build configures are similar.
66692 @serialization_dependencies@
66693
66694 # --------------------------------
66695 # Regenerating top level configury
66696 # --------------------------------
66697
66698 # Rebuilding Makefile.in, using autogen.
66699 AUTOGEN = autogen
66700 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
66701 cd $(srcdir) && $(AUTOGEN) Makefile.def
66702
66703 # Rebuilding Makefile.
66704 Makefile: $(srcdir)/Makefile.in config.status
66705 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
66706
66707 config.status: configure
66708 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
66709
66710 # Rebuilding configure.
66711 AUTOCONF = autoconf
66712 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
66713 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 \
66714 $(srcdir)/config/elf.m4 $(srcdir)/config/isl.m4 \
66715 $(srcdir)/libtool.m4 $(srcdir)/ltoptions.m4 $(srcdir)/ltsugar.m4 \
66716 $(srcdir)/ltversion.m4 $(srcdir)/lt~obsolete.m4
66717 cd $(srcdir) && $(AUTOCONF)
66718
66719 # ------------------------------
66720 # Special directives to GNU Make
66721 # ------------------------------
66722
66723 # Don't pass command-line variables to submakes.
66724 .NOEXPORT:
66725 MAKEOVERRIDES=
66726
66727 # end of Makefile.in